I have a Wix installer that has 2 features, each will install a service. If I select either option individually the corresponding service is installed, if I select both options I get an "Error 1923. Service '[Service1 Display Name]' ([ServiceName1]) could not be installed. Verify that you have sufficient privileges to install system services." error for the first service. If I ignore the error for the first service it is installed and started successfully and then I get the "Error 1920. Service [Service2 Display Name]' ([ServiceName2]) failed to start. Verify that you have sufficient privileges to start system services " error for second service and I only have the option to retry or cancel. Retry never works and I have to cancel the installation. The second service does not get installed. How do I configure the ServiceInstall declarations so both services will install in one installation session?
These are ServiceInstall declarations for the two services: <Component Id="RemoteServerService" Guid="*"> <File Id="RoutingHost.exe" Source="..\..\bin\RoutingHost.exe" DiskId="1" KeyPath="yes"/> <ServiceInstall Id="InstallServerService" Name="SymyxRemoteServer" DisplayName="!(loc.Service_ServerDisplayName)" Type="ownProcess" Start="auto" ErrorControl="normal" Description="!(loc.Service_ServerDescription)" Interactive="no" /> <ServiceControl Id="StartServerInstaller" Name="SymyxRemoteServer" Start="install" Wait="yes" /> <ServiceControl Id="StopServerInstaller" Name="SymyxRemoteServer" Stop="both" Wait="yes" Remove="uninstall" /> </Component> <Component Id="RemoteClientService" Guid="*"> <File Id="BalanceHost.exe" Source="..\..\bin\BalanceHost.exe" DiskId="1" KeyPath="yes"/> <ServiceInstall Id="InstallClientService" Name="SymyxRemoteClient" DisplayName="!(loc.Service_ClientDisplayName)" Type="ownProcess" Start="auto" ErrorControl="normal" Description="!(loc.Service_ClientDescription)" Interactive="no" /> <ServiceControl Id="StartClientInstaller" Name="SymyxRemoteClient" Start="install" Wait="yes" /> <ServiceControl Id="StopClientInstaller" Name="SymyxRemoteClient" Stop="both" Wait="yes" Remove="uninstall" /> </Component> Thanks Kevin ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users