There is an option you might want to try but it isn't very pretty, schedule a 
call to "net start servicename" after the GAC install.

As someone else said it is better to remove the GAC dependency but I think it 
should work.

Neil

-----Original Message-----
From: Marc Beaudry [mailto:mbeau...@matrox.com] 
Sent: 15 April 2014 19:18
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Service Start Too Early - Can I delay on install?

Hello All,

 

I have a service that is dependent on a DLL that gets installed from within the 
same MSI.  This DLL gets registered with the GAC on install.

 

My service hangs on install.  If I modify my install not the start the service 
on installation through service control, and manually start it once the package 
is installed then everything works fine.

 

Is there a way to delay the ServiceControl start action, to make sure the DLL 
that gets registered with the GAC is properly installed.

 

Thanks for the advice,

Marc

 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to