Custom actions can't run deferred after InstallFinalize, period. It's
probably a rights issue to do with the immediate custom action being
impersonated with an admin running limited.
Phil Wilson
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Fischer
Sent: Thursday, May 17, 2007 11:47 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] problem starting service dependent on GAC on Vista
I'm writing an install that installs a service which is dependent on GAC
files that are also being installed.
Reading through the various threads I figured out why my use of
ServiceControl to Start this service wasn't working. The explanation I
read was that GAC files don't get installed until InstallFinalize and
ServiceControl's Start happens before then.
My workaround (based on another message) was to use CAQuietExec to
launch a command line "command /c net start foo.service" in immediate
mode after InstallFinalize. This worked fine on XP.
On Vista, this no longer works. I don't see an error in the log, but
the service never gets started. In various messages, its been stated
that custom actions can't be run as deferred after InstallFinalize on
Vista.
Is there a way to start a service that depends on files installed to the
GAC on Vista? Perhaps another way to structure my MSI?
Thanks,
Kevin
________________________________
Add some color. Personalize your inbox with your favorite colors. Try
it!
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users