Terminate Program and .NET applications

For all your non-technical questions.
rlangham
Posts: 14
Joined: Tue Mar 27, 2007 12:01 pm

Terminate Program and .NET applications

Postby rlangham » Tue Mar 27, 2007 12:20 pm

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

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Sun Apr 01, 2007 8:20 am

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/


Return to “Non-Technical”

Who is online

Users browsing this forum: No registered users and 14 guests