Robert O'Brien wrote: > it possible to include the ServiceControl statement in my "Service1" > component and condition it to do an stop prior to files being processed > during (UPGRADINGPRODUCTCODE Or PATCH) activities and then started after the > (UPGRADINGPRODUCTCODE Or PATCH) activities complete? >
Yes, just tie them to a transitive component with the same condition; let ServiceControl manage starting and stopping services. > Value=""[$(var.SystemFolder)]reg.exe" add > "hklm\system\currentcontrolset\services\NS$EventingMSSolveInstance" > /v ImagePath /t reg_expand_sz /d "[Service1Dir]NSService.exe > ""EventingMSSolveInstance""" /f" /> > That CA will fail on any system with a different SystemFolder than how you define it. And you should use RegistryKey/RegistryValue and let MSI handle uninstall and rollback. Overusing custom actions doesn't lead to robust installers. There are frequently MSI-native alternatives that are more reliable. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users