Here's my entire WiX file:
<?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi [http://schemas.microsoft.com/wix/2006/wi]"> <Product Id="5028B1BB-BCDE-470b-8A0D-25E49DE32661" Name="MyService" Language="1031" Version="1.0.0.0" Manufacturer="Me" UpgradeCode="7EAE2B64-7637-4c89-BF85-D288CE0E5E6F"> <Package InstallerVersion="200" Compressed="yes" /> <Condition Message="This application requires Windows XP SP2 or above."> <![CDATA[Installed OR (VersionNT=501 AND ServicePackLevel>=2) OR (VersionNT>501)]]> </Condition> <Media Id="1" Cabinet="MyService.cab" EmbedCab="yes" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="INSTALLLOCATION" Name="MyService"> <Component Id="InstallService" Guid="0A86B4CB-3494-4a12-B88B-66C75B23BCFE" Permanent="no" SharedDllRefCount="no"> <File Id="WindowsService" Name="MyService.exe" Source="D:\...\bin\x86\Release\MyService.exe" KeyPath="yes" Checksum="yes" /> <ServiceInstall Id="MyServiceId" Name="MyService" DisplayName="MyService" Type="ownProcess" Start="auto" ErrorControl="normal" Description="" Interactive="no" Vital="yes" Account="[SERVICEACCOUNT]" Password="[SERVICEPASSWORD]" /> <ServiceControl Id="StartService" Name="MyServiceId" Start="install" Stop="uninstall" Remove="uninstall" /> </Component> </Directory> </Directory> </Directory> <Feature Id="ProductFeature" Title="MyService" Level="1"> <ComponentRef Id="InstallService" /> </Feature> </Product> </Wix> I found this snippet at http://avinashkt.blogspot.com/2007/05/how-to-install-windows-service-using.html [http://avinashkt.blogspot.com/2007/05/how-to-install-windows-service-using.html] I tried removing the Account and Password properties altogether, so it would default to LocalSystem, but that didn't help either. *Von:* "Bob Arnson" <[EMAIL PROTECTED]> *Gesendet:* 31.07.08 23:47:23 *An:* "General discussion for Windows Installer XML toolset." <WIX-USERS@LISTS.SOURCEFORGE.NET> *Betreff:* Re: [WiX-users] ServiceInstall account problem Daniel Rieck wrote: > 1) I'm getting error 1923. > 1923 almost always indicates a problem with the attributes on the ServiceInstall element, such as a bad user/password combination. Can you show what yours looks like? -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users