Reference

LaunchINFSectionExW(3w)

NAME

LaunchINFSectionExW (ADVPACK.@)

SYNOPSIS

HRESULT LaunchINFSectionExW
(
HWND hWnd,
HINSTANCE hInst,
LPWSTR cmdline,
INT show
)

DESCRIPTION

Installs an INF section with BACKUP/ROLLBACK capabilities.

PARAMS

hWnd [In] Handle to parent window, NULL for desktop.

hInst [In] Instance of the process.

cmdline [In] Contains parameters in the order INF,section,CAB,flags,reboot.

show [In] How the window should be shown.

RETURNS

Success: ADV_SUCCESS.

Failure: ADV_FAILURE.

NOTES

INF - Filename of the INF to launch. section - INF section to install. flags - see advpub.h. reboot - smart reboot behavior 'A' Always reboot. 'I' Reboot if needed (default). 'N' No reboot.

BUGS

Doesn't handle the reboot flag.

IMPLEMENTATION

Declared in "advpub.h".

Implemented in "dlls/advpack/install.c".

Debug channel "advpack".

History