I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 21a3657d authored by HungryHobo's avatar HungryHobo
Browse files

Add NT service as an installer option on Windows

parent 3f141e72
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,7 @@
<panels>
<panel classname="HelloPanel"/>
<panel classname="InfoPanel"/>
<panel classname="PacksPanel"><os family="windows" /></panel>
<panel classname="TargetPanel"/>
<panel classname="InstallPanel"/>
<panel classname="ShortcutPanel"><os family="windows" /></panel>
......@@ -178,6 +179,35 @@
<args><arg value="$INSTALL_PATH" /></args></executable>
</pack>
<pack name="Windows Service" required="no">
<description>Automatically start I2P in the background</description>
<os family="windows" />
<!--
<executable targetfile="$INSTALL_PATH/install_i2p_service_winnt.bat" stage="postinstall" failure="warn" keep="true" />
-->
<executable targetfile="$INSTALL_PATH/install_i2p_service_winnt.bat" stage="postinstall" failure="warn" keep="true">
<args>
<arg value="$INSTALL_PATH\wrapper.config" />
<arg value="--nopause" />
</args>
</executable>
<executable targetfile="$INSTALL_PATH/I2Psvc.exe" stage="postinstall" failure="warn" keep="true">
<args>
<arg value="-t" />
<arg value="$INSTALL_PATH\wrapper.config" />
</args>
</executable>
<!--
<executable targetfile="$INSTALL_PATH/uninstall_i2p_service_winnt.bat" stage="uninstall" failure="warn" keep="true" />
-->
<executable targetfile="$INSTALL_PATH/uninstall_i2p_service_winnt.bat" stage="uninstall" failure="warn" keep="true">
<args>
<arg value="$INSTALL_PATH\wrapper.config" />
<arg value="--nopause" />
</args>
</executable>
</pack>
</packs>
</installation>
......@@ -31,5 +31,6 @@ rem
:startup
"%_WRAPPER_EXE%" -i %_WRAPPER_CONF%
if not errorlevel 1 goto :eof
if %2=="--nopause" goto :eof
pause
......@@ -31,5 +31,6 @@ rem
:startup
"%_WRAPPER_EXE%" -r %_WRAPPER_CONF%
if not errorlevel 1 goto :eof
if "%2"=="--nopause" goto :eof
pause
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment