I am trying to close Outlook since our product is a add-in for outlook, the
uninstall brings the FileInUseProcess which is great, but I also want this
for the INSTALL
I am doing this but it is not working:
<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>
Any suggestions?
Steve
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CloseApplication-tp6885610p7581420.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://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users