Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/wdi-simple.iss
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ Name: "{group}\Uninstall YourApplication"; Filename: "{uninstallexe}"
; -s, --silent silent mode
; -b, --progressbar=[HWND] display a progress bar during install
; an optional HWND can be specified
; -o, --timeout timeout (in millis) to wait for any pending installations
; -l, --log set log level (0 = debug, 4 = none)
; -h, --help display usage
;
Filename: "{app}\wdi-simple.exe"; Flags: "runhidden"; Parameters: " --name ""XBox Controller"" --vid 0x045e --pid 0x0289 --progressbar={wizardhwnd}"; StatusMsg: "Installing YourApplication driver (this may take a few seconds) ...";
Filename: "{app}\wdi-simple.exe"; Flags: "runhidden"; Parameters: " --name ""XBox Controller"" --vid 0x045e --pid 0x0289 --progressbar={wizardhwnd} --timeout 120000"; StatusMsg: "Installing YourApplication driver (this may take a few seconds) ...";

3 changes: 2 additions & 1 deletion examples/wdi-simple.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,12 @@ SectionEnd
; -s, --silent silent mode
; -b, --progressbar=[HWND] display a progress bar during install
; an optional HWND can be specified
; -o, --timeout timeout (in millis) to wait for any pending installations
; -l, --log set log level (0 = debug, 4 = none)
; -h, --help display usage
Section "wdi-simple"
DetailPrint "Running $INSTDIR\wdi-simple.exe"
nsExec::ExecToLog '"$INSTDIR\wdi-simple.exe" --name "XBox Controller" --vid 0x045e --pid 0x0289 --progressbar=$HWNDPARENT'
nsExec::ExecToLog '"$INSTDIR\wdi-simple.exe" --name "XBox Controller" --vid 0x045e --pid 0x0289 --progressbar=$HWNDPARENT --timeout 120000'
SectionEnd

; Uninstaller
Expand Down