When running an update or uninstall, I need to ensure that the application is closed down. I understand that I can use the 'Terminate Program' command to do this, but it only works with window class names or caption. Neither of these are predictable.
For example, for .NET apps you do not have control over the main window classname, it is created by .NET internally, e.g. WindowsForms10.Window.8.app.0.3e799b
The caption on our application is also not always static. If you open up a document, then our caption changes to show the open document name (as is common with other applications).
What is needed is a way to specify the actual application, or possibly a wildcard for the caption name. Ideally, I would think that InstallAware should detect this automatically and not even require modification to the script. It should scan all files it is getting to overwrite and if they are in use, then prompt user and Abort/Retry install until properly closed.
This is sorta critical in us moving away from current InstallShield.
Thanks
Terminate Program and .NET applications
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Did you try using Check Process (and Check Service)? These would yield the most reliable results.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 14 guests