Hi Rob (Hamflett), I've not come across "allusers", where would I find it? ..I'm on WIX 2.0.3719.0 (this in itself could be a problem) Simon
Message: 1 Date: Wed, 05 Jul 2006 15:07:06 +0100 From: Rob Hamflett <[EMAIL PROTECTED]> Subject: Re: [WiX-users] Installing/Starting a service, the simple way. To: wix-users@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: 05 July 2006 16:13 To: 'Simon Topley'; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Installing/Starting a service, the simple way. Usually,
this means your service has some dependency that hasn't been completely
installed by the time StartServices is called. A favorite way to hit this
is to have a managed code service that depends on an assembly that is being
installed to the GAC. Because assemblies aren't committed to the GAC until
InstallFinalize, the assembly won't be found in the GAC until the install is
complete. From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Simon
Topley 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
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. 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