I think I understand your scenario and it seems similar to the problem I had; I needed to stop services and applications before my install ran. I tried doing this in the install using but could never get the timing right. My solution that might work for you was to write a separate install that only stopped services and apps and ran this before the main installation using burn.
Neil -----Original Message----- From: Gustavo Gustavo [mailto:[email protected]] Sent: 03 January 2013 19:31 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Custom Bootstrapper I have a doubt regarding an approach to avoid an annoying situation that my installer has.**** ** ** Due to services' dependencies, and other processes, I have a FilesInUse dialog during an Upgrade in Basic Mode (progress bar).**** I've used <Property Id="MSIRESTARTMANAGERCONTROL" Value="Disable" /> to suppress RM on Win 7 and avoid some of these dialogs, but I can - and shouldn't really - disable FilesInUse altogether. The issue is that the processes showed are known ones, and they will eventually be killed during the upgrade process (by means of elevated CAs) to avoid Restart situations.* *** I cannot put my "killing actions" before InstallValidate, since they wouldn't be executed with elevated privileges. So I guess the only way out is to author an elevated bootstrapper that would do the job of killing/stopping things beforehand to avoid this dialog.**** I really need an Installation UI as unattended as possible from the user's perspective (but still, with feedback, ie, not quiet), and having a dialog at the very beginning is bugging.**** ** ** Seems like this is the only way to go?**** ** ** I'm thinking of creating the Exe myself.**** A Burn bootstrapper wouldn't support a CA that would do that, and maybe the only way would be to create a BoostrapperApplication (not quite sure about all the process of doing it though), which seems like a ton of work. Kind Regards ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

