I have a .NET service, it relies on several other dll's which my installer installs. All files are installed to the same directory.
<ServiceInstall Id="MyServiceServiceInstall" DisplayName="MyService" Name="MyService" ErrorControl="normal" Start="auto" Type="ownProcess" Vital="yes" /> <ServiceControl Id="MyServiceServiceControl" Name="MyService" Start="install" Stop="uninstall" Remove="uninstall" /> On XP the service starts fine. On Vista the service does not start correctly. The service attempts to start and then crashes. If straight after the installer I then start the service via cmd prompt "Net Start MyService" or via the Services Tool my service starts fine. This is the Exception from the Service: Could not load file or assembly 'MyAssembly, Version=1.4.0.0, Culture=neutral, PublicKeyToken=**********' or one of its dependencies. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. This is the error in application event log. Activation context generation failed for "C:\Program Files\Company\MyAssembly.dll". Dependent Assembly Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="*************",type="win32",version="9.0.21022.8" could not be found. I have the following merge modules: <Merge Id="CRT" Language="0" SourceFile="C:\Program Files\Common Files\Merge Modules\microsoft_vc90_crt_x86.msm" DiskId="1" FileCompression="yes"/> <Merge Id="CRT Policy" Language="0" SourceFile="C:\Program Files\Common Files\Merge Modules\policy_9_0_Microsoft_VC90_CRT_x86.msm" DiskId="1" FileCompression="yes"/> <Merge Id="CRT64" Language="0" SourceFile="C:\Program Files\Common Files\Merge Modules\Microsoft_VC90_CRT_x86_x64.msm" DiskId="1" FileCompression="yes"/> <Merge Id="CRT Policy64" Language="0" SourceFile="C:\Program Files\Common Files\Merge Modules\policy_9_0_Microsoft_VC90_CRT_x86_x64.msm" DiskId="1" FileCompression="yes"/> Any help would be much appreciated. Thanks, Andy -- View this message in context: http://www.nabble.com/Service-Failing-to-Start-on-Vista-tp18008909p18008909.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users