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
 
 
_________________________________________________________________
Create the ultimate e-mail address book. Import your contacts to Windows Live 
Hotmail.
www.windowslive-hotmail.com/learnmore/managemail2.html?locale=en-us&ocid=TXT_TAGLM_HMWL_reten_impcont_0507
-------------------------------------------------------------------------
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

Reply via email to