Link the required C++ support Dlls with static linking, that should work fine. It doesn't seem to be a UAC issue as described, just the Vista behavior of not committing the CRT etc Dlls to the SxS directories until after your custom action wants to run.
Phil Wilson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sneha Gharpure Sent: Wednesday, February 06, 2008 6:35 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Windows Service is not started/Custom Actions Fail in vista Thanks for the reply. The problem is that the exe that starts the service is running as a custom action. This exe depends on MSVC DLLs. During installation, this custom action is failing. I believe that this is because the DLLs are not available till InstallFinalize and the custom action is scheduled before InstallFinalize. So is there any way by which these DLLs can be made available to the exe? will static linking of these DLLs with the exe work? How do you disable UAC from User accounts? Also, whats are the general things that we need to take care of so that the installation works fine on vista? We are taking care of the "Impersonate=no and execute=deferred " in custom actions and we are running the MSI as an administrator. Thanks, Sneha Anidil wrote: > > This is a problem with UAC on Windows Vista.Disable UAC from User > accounts,restart the system and try starting the service.. > > > > Sneha Gharpure wrote: >> >> Hi, >> >> The problem is that service is not starting on Vista. The service is >> being started through one of the custom actions which is an exe custom >> action. The exe depends on some MSVC DLLs which are also deployed along >> with the package. >> >> Is the issue with these DLLs? Does these DLLs are not available when the >> exe is trying to start the service? or the problem is with the >> permissions? >> >> Can anyone clarify? >> >> Thanks in Advance, >> Sneha >> > > -- View this message in context: http://www.nabble.com/Windows-Service-is-not-started-Custom-Actions-Fail-in-vista-tp15285631p15306500.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users