Hey guys
i have recently had to create a custom .mst for the installation of microsoft project professional 2003 for deployment and have a tricky situation.
the package still hasnt been released for production yet because when installing it, i need to somehow close all other microsoft software that may be open such as anything to do with office and internet explorer, otherwise we get an error accessing the registry
is there a way to prompt users with a dialog that tells them to close all open applications and hit continue to install, if there are open applications?
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Hi ictu packager,

Are you familiar with vbscripting? You could create a custom action as a vbscript that looks for these active processes, and if they are there presents a dialog to the user asking them to shut them down before continuing. You could even kill the processes if they are still active. If you like, I could hack something up that you could modify for your own devices, though it might take me a little while.

Hope that helps


Answered 07/06/2005 by: plangton
Second Degree Blue Belt

Please log in to comment
Here's a sample script pinched from MS which terminates the process named Diagnose.exe.. Hope it helps!


strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcessList = objWMIService.ExecQuery _
("SELECT * FROM Win32_Process WHERE Name = 'Diagnose.exe'")
For Each objProcess in colProcessList
Answered 07/07/2005 by: MSIPackager
Third Degree Black Belt

Please log in to comment