A verbose log might show you why it wants to reboot, and it's not clear to me why an install would offer a FilesInUse situation - you're registering an extension, but I don't see why Outlook is using anything that you're changing. Uninstall is clearly different because you are deleting an extension where the Dll is loaded into the running Outlook. Depending on the OS, you'll be asked for a reboot if Windows can't find a Window for the in-use file(s). That's my guess given that information. The log is the place to look.
The documentation for RebootPrompt doesn't have NO as an option - try Suppress. http://msdn.microsoft.com/en-us/library/windows/desktop/aa371104(v=vs.85).as px Phil W -----Original Message----- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: Thursday, September 27, 2012 8:38 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Getting FileInUse to work on Install (works on Uninstall) Hi all, I have an install that creates an extension in MS Outlook. So outlook needs to close before copying files etc.. and then restart after. (Just like it does on an uninstall) I have a CloseApplication and a set property custom action: <util:CloseApplication Id="CloseMicrosoftOutlook" Property="FileInUseProcess" CloseMessage="no" ElevatedCloseMessage="no" Description="Microsoft Outlook is open and needs to be closed before this installation continues" RebootPrompt="no" Target="OUTLOOK.EXE" /> <CustomAction Id="CA_SetProperty_FileInUseProcess" Execute="immediate" Impersonate="yes" Property="FileInUseProcess" Value="OUTLOOK.EXE"/> <UI> <ProgressText Action="CA_SetProperty_FileInUseProcess">CA: Setting file in use process...</ProgressText> </UI> <InstallExecuteSequence> <Custom Action="CA_SetProperty_FileInUseProcess" Before="InstallValidate"></Custom> <InstallUISequence> <Custom Action="CA_SetProperty_FileInUseProcess" After="AppSearch"></Custom> During install the FileInUse dialog does not appear, and at the end of the install a get a prompt to reboot even though I set the RebootPrompt to NO What am I doing wrong? Thanks, Steve -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Getting-FileIn Use-to-work-on-Install-works-on-Uninstall-tp7580887.html Sent from the wix-users mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users