Another question: I assume that if I were to deploy the CRT locally instead of in WinSxS, that would also solve the problem?
-----Original Message----- From: Jeremy Lew [mailto:j...@liquidmachines.com] Sent: Wednesday, January 07, 2009 9:42 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] ServiceInstall fails due to CRT Thanks Bob. Is this a Windows Installer restriction, or a Wix thing? My plan is to make the service enter a "boot" mode in which it will start run but not load the assembly with the CRT dependency until it has been signaled (by a CA config file change) that it is safe to start for real. -----Original Message----- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Wednesday, December 31, 2008 1:36 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] ServiceInstall fails due to CRT Jeremy Lew wrote: > My installer is installing a .NET service using ServiceInstall. The > ServiceInstall is failing to start the service, I'm pretty sure because > of a dependency on the C runtime library. If your service is installed into the GAC, you'll also run into this problem. Assemblies (managed or native, like the CRT native assemblies) are committed during InstallFinalize, which is too late to start services. A custom action is your only option here, assuming it can start the service as a limited user. (After InstallFinalize, CAs can't run with elevated privileges.) -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------ ------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users