Greetings all.

Just a very quick and probably dumb question.

Using Wise Package Studio we have created an MSI for an application. Installs beautifully and after reboot runs (any way to get it to start straight away?).

The problem comes when trying to uninstall the application. The programs run in the background to do I don't know what, and when we go to uninstall the MSI the uninstall says that we should stop the application first.

I know there is a way to do it with a service, is there a way to get the MSI to close/stop the application running at uninstall?

Many thanks

Collin
0 Comments   [ + ] Show Comments

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.

Answers

0
TASKKILL /IM notepad.exe /f
replace notepad.exe with the program executable that needs to be closed during uninstall
use this in creating a custom action in Wise script and put it in execute immediate and condition it 'if REMOVE~="ALL"'
Answered 01/06/2006 by: bheers
Second Degree Blue Belt

Please log in to comment
0
Many thanks for the speedy reply! I'll give it a go now :)
Answered 01/06/2006 by: CollinF
Senior Yellow Belt

Please log in to comment
0
PsKill.exe works really well too. It even kills task running under the system account when logged on as an administrator. You can get it free from www.systernals.com. I believe the command line works like this pskill.exe -f (force it to close) notepad.exe.
Answered 01/07/2006 by: yarborg
Blue Belt

Please log in to comment
0
The programs run in the background to do I don't know what, and when we go to uninstall the MSI the uninstall says that we should stop the application first.

I don't suppose it runs as a service does it?

If so, you should consider using a combination of the "ServiceInstall" and "ServiceControl" tables.
Answered 01/07/2006 by: WiseUser
Fourth Degree Brown Belt

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