* installer no longer hangs on Windows waiting for the spawned shell process to return

* shell process spawned by the installer on Windows will not create a visible command window
This commit is contained in:
hypercubus
2004-08-30 12:28:08 +00:00
committed by zzz
parent 13f70ad42c
commit 0de8129457
2 changed files with 5 additions and 2 deletions

View File

@ -3,7 +3,10 @@
<processing>
<job name="Launching I2P...">
<os family="windows" />
<executefile name="$INSTALL_PATH/postinstall.bat" />
<!-- start /min cmd /c %INSTALL_PATH%/postinstall.sh %INSTALL_PATH%" -->
<executefile name="C:\Windows\System32\cmd.exe">
<arg>/c</arg><arg>"$INSTALL_PATH\postinstall.bat"</arg>
</executefile>
</job>
<job name="Launching I2P...">
<os family="unix" />

View File

@ -16,4 +16,4 @@ set INSTALL_PATH=%~dp0
copy "%INSTALL_PATH%lib\wrapper\win32\I2Psvc.exe" "%INSTALL_PATH%"
copy "%INSTALL_PATH%lib\wrapper\win32\wrapper.dll" "%INSTALL_PATH%lib"
copy "%INSTALL_PATH%lib\wrapper\win32\wrapper.jar" "%INSTALL_PATH%lib"
"%INSTALL_PATH%i2prouter.bat"
start /b /i /d"%INSTALL_PATH%" i2prouter.bat