11
edits
Changes
FAQ
,→My install command just stalls and never finishes
== My install command just stalls and never finishes ==
A discussion on this topic was held on Bugzilla: [http://bugzilla.wpkg.org/show_bug.cgi?id=123].
As a simple work-around just make sure your commands do not print anything on the console or <br/>redirect the output to a file or NUL by appending <b>">NUL 2>&1" </b> to the command.
For example
<source lang="xml">
<install cmd='%SOFTWARE%\my-installer.exe /S' />
</source>
can be turned into:
<source lang="xml"> <install cmd='%SOFTWARE%\my-installer.exe /S >>NUL 2>&gt;&1' /></source>
or re-directing the output to a file:
<source lang="xml"> <install cmd='%SOFTWARE%\my-installer.exe /S >>%TEMP%\install-log.txt 2>&gt;&1' /></source>
This effectively prevents the buffer to fill up and your commands will finish properly.