Created
November 18, 2012 10:53
-
-
Save rrreese/4104542 to your computer and use it in GitHub Desktop.
Installing and Starting Windows Services with WiX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ServiceInstall Id="TestServiceID" | |
Name="testService" | |
Type="ownProcess" | |
ErrorControl="normal" | |
Start="auto" > | |
<⁄ServiceInstall> | |
<File Id="testFile1" Name="testFile1.exe" Source="E:\Documents\TestFile1.exe" KeyPath="yes"⁄> | |
<File Id="testFile2" Name="testFile2.txt" Source="E:\Documents\TestFile2.txt" ⁄> | |
<File Id="testFile3" Name="testFile3.txt" Source="E:\Documents\TestFile3.txt" ⁄> | |
<⁄Component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ServiceControl Id="serviceControltestID" | |
Name="testService" | |
Remove="uninstall" | |
Start="install" | |
Stop="uninstall" | |
Wait="yes" ⁄> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment