Title: Re: Installing/Starting a service, the simple way.

Oh sorry, I misunderstood, I have this:  

  <Condition Message="You must be an administrator to install this product.">
    Privileged
    </Condition>

I have managed to resolve the issue, it turns out that for this project the services don't even have to be started! I did however manage to get it to work with a custom action that ran a batchfile.. Tastes like fudge.


Thanks for all the help anyway y'all, I love it when problems fix themselves..

Simon

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED]

Sent: 06 July 2006 12:57
To: wix-users@lists.sourceforge.net
Subject: WiX-users Digest, Vol 2, Issue 24

Send WiX-users mailing list submissions to
        wix-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/wix-users
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific than "Re: Contents of WiX-users digest..."


Today's Topics:

   1. Re: Installing/Starting a service, the simple way. (Rob Hamflett)
   2. (no subject) ([EMAIL PROTECTED])
   3. HTTP Shortcut Woes ([EMAIL PROTECTED])
   4. Re: HTTP Shortcut Woes (Rob Hamflett)
   5. Re: HTTP Shortcut Woes ([EMAIL PROTECTED])
   6. (no subject) (Hanison, Jack)


----------------------------------------------------------------------

Message: 1
Date: Thu, 06 Jul 2006 10:14:41 +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

It's just a property.  Create it like you would any other.  What it will do is enforce you to have administrative rights in order to run the installer.  I suggested it because if that worked then it would definitely be just a rights issue, instead of some setting being wrong.

Rob

Simon Topley wrote:
> 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
> *Sent:* Wednesday, July 05, 2006 6:50 AM
> *To:* 'wix-users@lists.sourceforge.net'
> *Subject:* Re: [WiX-users] Installing/Starting a service, the simple way.
>

>
> 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="">
>
> 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=1216
> 42
>
>
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users




------------------------------

Message: 2
Date: Thu, 06 Jul 2006 07:00:41 -0400
From: [EMAIL PROTECTED]
Subject: [WiX-users] (no subject)
To: wix-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset=ISO-8859-1;     DelSp="Yes";
        format="flowed"





------------------------------

Message: 3
Date: Thu, 06 Jul 2006 07:09:14 -0400
From: [EMAIL PROTECTED]
Subject: [WiX-users] HTTP Shortcut Woes
To: wix-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset=ISO-8859-1;     DelSp="Yes";
        format="flowed"

Hello all,

Apologies for the vague subject, but I couldn't think of anything which better described the problems I'm having :)

I have the following [0] wxs file, which builds fine (is that even the term for candle && light?) the intention being to create a desktop shortcut for deployment via AD. However, when attempting to run (msiexec /i MySample.msi) it fails straight away with Error 2727. 

Could anyone suggest what may cause this? Any ideas what I've done wrong? - I know it'll be user error, but we all start somewhere..

Thanks guys, WiX looks like a great product!,

Dave Hope

[0] http://files.davehope.co.uk/MySample.wxs



------------------------------

Message: 4
Date: Thu, 06 Jul 2006 12:31:03 +0100
From: Rob Hamflett <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] HTTP Shortcut Woes
To: wix-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

According to the docs the errors means
The directory entry '[2]' does not exist in the Directory table.
As for what '[2]' is, you'd have to look in the Windows event log or log the install.

I find this link handy for working out what obscure error numbers mean.
http://msdn.microsoft.com/library/default.asp?url="">

Rob

[EMAIL PROTECTED] wrote:
> Hello all,
>
> Apologies for the vague subject, but I couldn't think of anything
> which better described the problems I'm having :)
>
> I have the following [0] wxs file, which builds fine (is that even the
> term for candle && light?) the intention being to create a desktop
> shortcut for deployment via AD. However, when attempting to run
> (msiexec /i MySample.msi) it fails straight away with Error 2727.
> Could anyone suggest what may cause this? Any ideas what I've done
> wrong? - I know it'll be user error, but we all start somewhere..
>
> Thanks guys, WiX looks like a great product!,
>
> Dave Hope
>
> [0]
http://files.davehope.co.uk/MySample.wxs
>
> 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=1216
> 42




------------------------------

Message: 5
Date: Thu, 06 Jul 2006 07:48:33 -0400
From: [EMAIL PROTECTED]
Subject: Re: [WiX-users] HTTP Shortcut Woes
To: wix-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset=ISO-8859-1;     DelSp="Yes";
        format="flowed"

Quoting Rob Hamflett <[EMAIL PROTECTED]>:
> According to the docs the errors means The directory entry '[2]' does
> not exist in the Directory table.
> As for what '[2]' is, you'd have to look in the Windows event log or 
> log the install.


Hi Rob,

Thanks for the information - I was expecting an error regarding the DesktopFolder, but instead got this:

"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2727. The arguments are: WindowsFolder, , "

Any thoughts as to the cause ?


> I find this link handy for working out what obscure error numbers mean.
> http://msdn.microsoft.com/library/default.asp?url="">
> etup/windows_installer_error_messages.asp


Neat. Consider it bookmarked :)

Thanks,

Dave


> Rob
>
> [EMAIL PROTECTED] wrote:
>> Hello all,
>>
>> Apologies for the vague subject, but I couldn't think of anything
>> which better described the problems I'm having :)
>>
>> I have the following [0] wxs file, which builds fine (is that even
>> the term for candle && light?) the intention being to create a
>> desktop shortcut for deployment via AD. However, when attempting to
>> run (msiexec /i MySample.msi) it fails straight away with Error 2727.
>> Could anyone suggest what may cause this? Any ideas what I've done
>> wrong? - I know it'll be user error, but we all start somewhere..
>>
>> Thanks guys, WiX looks like a great product!,
>>
>> Dave Hope
>>
>> [0]
http://files.davehope.co.uk/MySample.wxs
>>
>> 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=121
>> 642
>
>
> 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=1216
> 42 _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>





------------------------------

Message: 6
Date: Thu, 6 Jul 2006 12:56:59 +0100
From: "Hanison, Jack" <[EMAIL PROTECTED]>
Subject: [WiX-users] (no subject)
To: <wix-users@lists.sourceforge.net>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Hi all,

 

Is it possible to have wix add an existing user to a local NT group, only if the local NT group exists? (I don't want to create the group if it doesn't exist)

 

I suspect that I need to do this in it's own component using a condition node. What condition can I check for?

 

There is no GroupSearch node, is this what I need?

 

I don't really want to have to do this in a custom helper library if I can avoid it.

 

 

Thanks in advance,

 

 

Jack Hanison

 


_____________________________________________________________________
This e-mail has been scanned for viruses by MessageLabs. The information contained in this message is confidential and is intended for the addressee only. If you have received this message in error, please notify Conchango plc as soon as possible. The unauthorised use, disclosure, copying or alteration of this message is prohibited and may be unlawful. The internet cannot guarantee the integrity of this message and therefore Conchango plc will not be liable for the message if modified. 

Reg. Heritage House, Church Road, Egham, Surrey, TW20 9QD T 44 (0) 1784 222 222 F 44 (0) 1784 222 200 E [EMAIL PROTECTED]  No. 2598884

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://sourceforge.net/mailarchive/forum.php?forum=wix-users/attachments/20060706/bbe40653/attachment.html

------------------------------

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


End of WiX-users Digest, Vol 2, Issue 24
****************************************


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

Reply via email to