diff --git a/installer/resources/ProcessPanel.Spec.xml b/installer/resources/ProcessPanel.Spec.xml index edea06fda3932f0c505b9d4f54f75c123712186e..e76bf2190b2e45e2c1c1a7c5dde5295b41277c7c 100644 --- a/installer/resources/ProcessPanel.Spec.xml +++ b/installer/resources/ProcessPanel.Spec.xml @@ -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" /> diff --git a/installer/resources/postinstall.bat b/installer/resources/postinstall.bat index 26049a98221c560cc642cebfbaaa85ed12d490bd..4829ad50da4506053db5f114f15e6814e820d3ea 100644 --- a/installer/resources/postinstall.bat +++ b/installer/resources/postinstall.bat @@ -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