Branch: Tag:

2004-11-16

2004-11-16 13:02:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added registration of service.
FIXME: Ought to use the MSI native method.

Rev: server/etc/RoxenUI.wxs:1.10

15:    <CustomAction Id="CreatePikeLocation" Directory="SERVERDIR"    ExeCommand='"[SERVERDIR]\pike\bin\pike" -e "Stdio.write_file(argv[1], argv[2]);" "pikelocation.txt" "[SERVERDIR]\pike\bin\pike"'    Execute="commit" /> +  <CustomAction Id="InstallRoxenService" Directory="SERVERDIR" +  ExeCommand='"[TARGETDIR]\ntstart" --install' +  Execute="commit" /> +  <CustomAction Id="RemoveRoxenService" Directory="SERVERDIR" +  ExeCommand='"[TARGETDIR]\ntstart" --remove' +  Execute="commit" />    <UI>    <Property Id="ErrorDialog"><![CDATA[ErrorDialog]]></Property>    <Property Id="DefaultUIFont"><![CDATA[VsdDefaultUIFont.524F4245_5254_5341_4C45_534153783400]]></Property>
1141:    <RemoveExistingProducts After="InstallInitialize" />    <Custom Action="CreateConfigInterface" Sequence="4100">REMOVE=""</Custom>    <Custom Action="CreatePikeLocation" After="CreateConfigInterface">REMOVE=""</Custom> +  <Custom Action="RemoveRoxenService" After="CreatePikeLocation">REMOVE&lt;&gt;""</Custom> +  <Custom Action="InstallRoxenService" After="RemoveRoxenService">REMOVE=""</Custom>    </InstallExecuteSequence>    <Binary Id="DefSplashBitmap" src="Splash.bmp" />    <Binary Id="DefBannerBitmap" src="Banner.bmp" />   Newline at end of file added.