Out of interest, what happens if you set the ALLUSERS property to 1?

Rob

Simon Topley wrote:
> I have managed to get it to install my services using the code below, 
> however I still get errored when it tries to start the service. I can 
> start the services manually post installation (if I supress the 
> "StartService" action).
>  
> Any ideas anyone?
>  
> Simon
>  
> 
> ------------------------------------------------------------------------
> *From:* Simon Topley
> *Sent:* 05 July 2006 10:27
> *To:* wix-users@lists.sourceforge.net
> *Subject:* Installing/Starting a service, the simple way.
> 
> Hello again all,
>  
> I'm having real trouble installing and starting a service, I have made a 
> simple installer that just installs one file and tries to install it as 
> a service and start it... I get the standard error message when 
> installing "Failed to start service "My Service"...."
>  
> Here is the wxs file... ANYONE please is there something simple I'm 
> missing here?
>  
> 
> <?xml version='1.0' encoding='windows-1252'?>
> 
> <Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>
> 
> <Product Name='Foobar 1.0' Id='A85C6ED8-D384-4275-9E1A-CA3D9960DC26'
> 
> Language='1033' Codepage='1252' Version='1.0.0' Manufacturer='Acme Ltd.'>
> 
> <Package Id='????????-????-????-????-????????????' Keywords='Installer'
> 
> Description="Acme's Foobar 1.0 Installer"
> 
> Comments='Foobar is a registered trademark of Acme Ltd.' 
> Manufacturer='Acme Ltd.'
> 
> InstallerVersion='100' Languages='1033' Compressed='yes' 
> SummaryCodepage='1252' />
> 
> <Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt="CD-ROM #1" />
> 
> <Property Id='DiskPrompt' Value="Acme's Foobar 1.0 Installation [1]" />
> 
> <Directory Id='TARGETDIR' Name='SourceDir'>
> 
> <Directory Id='ProgramFilesFolder' Name='PFiles'>
> 
> <Directory Id='InstallDir' Name='Acme'>
> 
> <Component Id='ServiceExeComponent' 
> Guid='209C6668-1A64-43e9-AFCC-3373A846A40D'
> 
> SharedDllRefCount='no' KeyPath='no' NeverOverwrite='no' Permanent='no' 
> Transitive='no'
> 
> Win64='no' Location='either'>
> 
> <File Id='ServiceExeFile' Name="WSSESS_1.EXE" LongName="WSSession.exe" 
> src="d:\FWRedist\WSSession.exe"
> 
> ReadOnly='no' Compressed='yes' KeyPath='yes' Vital='yes' Hidden='no' 
> System='no'
> 
> Checksum='no' DiskId="1"/>
> 
> <ServiceInstall Id='MyServiceInstall' DisplayName='My Test Service' 
> Name='MyServiceExeName'
> 
> ErrorControl='normal' Start='auto' Type='ownProcess' Vital='yes' />
> 
> <ServiceControl Id='MyServiceControl' Name='MyServiceExeName'
> 
> Start='install' Stop='uninstall' Remove='uninstall' />
> 
> </Component>
> 
> </Directory>
> 
> </Directory>
> 
> </Directory>
> 
> <Binary Id='CreateTable' SourceFile='CreateTable.sql' />
> 
> <Feature Id='ServiceFeature' Title='SqlFeature' Level='1'>
> 
> <ComponentRef Id='ServiceExeComponent' />
> 
> </Feature>
> 
> </Product>
> 
> </Wix>
> 
>  
> 
> Loads of love,
> 
> Simon
> 
> 
> 
> The information contained in this e-mail is likely to be confidential 
> and may be legally privileged. It is intended only for the addressee. If 
> you have received this message in error please notify the sender 
> immediately at the above address. The disclosure, copying or 
> distribution of this message or its contents without the prior approval 
> of Wallingford Software Ltd. is strictly prohibited. Wallingford 
> Software Ltd. is not liable for unauthorised disclosures nor for 
> subsequent actions or omissions in reliance upon them.
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to