Summary
Information on ending 64bit process
Synopsis
This Knowledge Base article will provide information on how you can have your installation kill a 64 process. Depending on your project type, Basic MSI/InstallScript MSI compared to an InstallScript project, you will have different options available to you.
Discussion
For an InstallScript project, since the InstallScript engine is a 32bit process, you won't be able to kill a 64bit process directly from your script. The InstallScript engine is only capable of ending another 32-bit process.
So if you want to kill a 64-bit process from InstallScript, you will have to do this externally. Meaning you can either write a 64-bit exe that can be launched from InstallScript using LaunchApplication() and then the 64 bit exe in turn will kill the process in question, or you can still use the LaunchApplication() function to call the Taskkill command line utility on a 64bit machine to kill a 64bit process.
For a Basic MSI or InstallScript MSI project, you can simply add a kill process custom action to your setup to handle ending 64bit processes.
For an InstallScript project, you can take a look at the following Microsoft help document on Taskkill to get more information on how to use it and the command line options it takes.
You can then use the LaunchAppAndWait() InstallScript function to launch the Taskkill command.
Example:
LaunchAppAndWait(WINSYSDIR^"cmd.exe", "/c taskkill /F /IM mspaint.exe", LAAW_OPTION_NOWAIT);
For a Basic MSI or InstallScript MSI project type, you can take a look at the following help document Calling a Kill-Process Custom Action for more information on how to add this to your MSI based project.
Related Articles
There Is Not Enough Space on Drive C to Extract the Files 13Number of Views Installation and Uninstallation Conditions 9Number of Views Launch Another Installation or Uninstallation from within an Installation 4Number of Views InstallShield Missing from AdminStudio Installation 5Number of Views Troubleshooting Data Installation And Uninstallation 21Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago