[WiX-users] Edit file in deferred custom action

2012-10-28 Thread Ravi Raj
I want to edit two files just after installer copies files to the system and before start of service. I can do this in two ways (I guess). Either whrn installer copies files to the system, I edit file in custom action (using file IO Operations) or I can generate file at the rum time of the install

Re: [WiX-users] Digitally Signing a Bootstrapper by hand

2012-10-28 Thread Marc Wandschneider
Huge thanks for this article. The key set of commands to codesign my Burn/WiX setup program I'm now using are: insignia -ib MySetup.exe -o tempsetup.exe signtool sign /a tempsetup.exe insignia -ab tempsetup.exe MySetup.exe -o MySetup.exe signtool sign /a MySetup.exe Awesomeness

Re: [WiX-users] Installing Windows Service using WiX

2012-10-28 Thread Ravi Raj
Thanks all, for this cool info, now just one more thing. I want to store some value in the registry just after my service starts. Is there a way to do this via wix? On Mon, Oct 29, 2012 at 2:58 AM, Neil Sleightholm wrote: > You just need to add ServiceControl element to start the service; you als

Re: [WiX-users] Installing Windows Service using WiX

2012-10-28 Thread Neil Sleightholm
You just need to add ServiceControl element to start the service; you also need this to remove the service on uninstall as ServiceInstall doesn't do that. To find out where the start is scheduled open up the MSI with Orca or InstEd and see where StartServices is in the InstallExecuteSequence. T

Re: [WiX-users] Installing Windows Service using WiX

2012-10-28 Thread John H Bergman (XPedient)
Hmm. Well, I've done about a dozen service installers now, they all start after the install completes; I've not done anything explicitly to start the service; it's a .net service - so my understanding is that it simply runs the same type of install as the installutil does. I am not sure which

[WiX-users] Writing registry after deferred custom action

2012-10-28 Thread Ravi Raj
My deferred action set some property and from here I want to write this value to the registry using WiX (and not inside custom action using C#, so that it gets removed automatically during uninstall). How can I do this? -- Thanks and Regards, Ravi Raj -

Re: [WiX-users] Installing Windows Service using WiX

2012-10-28 Thread Ravi Raj
I guess I have to implement start service method. But can I start service WiX after successful install?? Also when/which phase this service deployment start while installing? On Mon, Oct 29, 2012 at 12:45 AM, John H Bergman (XPedient) < john.berg...@xpdnt.com> wrote: > I am curious, why would you

Re: [WiX-users] Installing Windows Service using WiX

2012-10-28 Thread John H Bergman (XPedient)
I am curious, why would you not want to use the built in functionality? -Original Message- From: Ravi Raj [mailto:raviraj.callin...@gmail.com] Sent: Sunday, October 28, 2012 2:05 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Installing Windows Service u

[WiX-users] Installing Windows Service using WiX

2012-10-28 Thread Ravi Raj
I wanted to install a service using WiX but I want to do this in custom actions (C#) and not want to use tags. How can I make this possible?? Just wanted to ask, when this ServiceInstall executes (I know it will be in deferred but when if I have some deferred actions already)?? -- Thanks and Re

[WiX-users] Setting DWORD registry keys

2012-10-28 Thread Neil Sleightholm
In my installation I need to set a dword registry to a default value when the install is first run and remove the key on uninstall but not change it on an upgrade. I am struggling to find a way to do reliably and wondered if anyone had any suggestions. Here is what I have tried: 1. Read