hi guys
ive created successful packages for microsoft office 2003 which seems to work fine so far
we have a slight problem though, i need to get the exe file i have created in wps to close certain running processes - internet explorer and that sort of thing - otherwise my package gives an error that it cant install
im not sure of the exact processes at this time - ill find that out soon - but is there a way this can be done so the package can install silently?
thanks for any help
0 Comments   [ + ] Show 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.


Well one way is to use an embedded vbscript custom action - here's and example which stops the diagnose.exe process but you can change that to whatever running process you want to stop (e.g. iexplore.exe)


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


Presumably though you are using the vendor install for Office 2k3? If so I'm surprised you need to bother with this stuff as I'd have thought the MS install would stop any processes as required?!

Good luck,
Answered 09/23/2005 by: MSIPackager
Third Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity