Forum posts for msiexec.exe

how to kill msiexec.exe in wix?

I have a wix application running.and when i am trying to uninstall it,it should prompt for close the application.I would like to kill the msiexec.exe after it prompts.Right now it prompts to close but as soon as i close the dialog box it shows there is some problem in the script and later Fatal error during installation comes.Please help me...

<CustomAction Id='Show' Script='vbscript'>

<![CDATA[

set service = GetObject ('winmgmts:')

for each Process in Service.InstancesOf ('Win32_Process')

If Process.Name = 'CAS.exe' or Process.Name = 'CMSS.exe'

then

msgbox 'CAS is running...Please close it before uninstalling'

WScript.quit

End If

next

]]>

</CustomAction>

<InstallExecuteSequence>
<Custom Action='Show' After='FindRelatedProducts'>REMOVE</Custom>
</InstallExecuteSequence>

View complete forum thread with replies

Other posts related to msiexec.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

how to kill msiexec.exe in wix?
How to use msiexec.exe to uninstall a application? [duplicate]
Cannot open Windows Installer (msiexec.exe)
How to use msiexec.exe to remove a Windows installer
Update msi installer from msiexec.exe command line
C# Setup Project - Faulting Application msiexec.exe, Faulting Module kernel32.dll
WIX 3.8 msiexec.exe /quiet Error 1603
How to write bootstrap EXE, which launch MSIEXEC.EXE and then wait for its completion
PSRemotingTransportException when calling Start-Process &ldquo;MsiExec.exe&rdquo; on remote machine
Visual Studo 2010: Windows Installer using msiexec.exe returns MSI Error 2727
How to analyze the logfile in &ldquo;msiexec.exe /i your.msi /L*v c:logfile.txt&rdquo; inorder to fix e&hellip;
msiexec.exe intermittently fails to uninstall
NSIS: Failed to install using msiexec.exe
WiX: Change MsiExec.exe error message (not Windows Installer error messages)

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.