Well, since you know the name of the process, you do not need to handle with custom actions for this simple task, just use the kill-program shipped with windows.

 

Try this out:

 

<CustomAction Id="StartUserExe.Run" Impersonate="yes" Return="asyncNoWait" Directory="INSTALLDIR" ExeCommand='"[INSTALLDIR]User\Aldi.Ews.User.exe"' TerminalServerAware="yes" />

<CustomAction Id="StartUserExe.Kill" Impersonate="yes" Return="ignore" Directory="WinDir" ExeCommand='"System32\kill.exe" /F /IM Aldi.Ews.User.exe' TerminalServerAware="yes"/>

<CustomAction Id="StartUserExe.TSKill" Impersonate="yes" Return="ignore" Directory="WinDir" ExeCommand='"System32\tskill.exe" /F /IM Aldi.Ews.User.exe' TerminalServerAware="yes"/>

<CustomAction Id="StartUserExe.TaskKill" Impersonate="yes" Return="ignore" Directory="WinDir" ExeCommand='"System32\taskkill.exe" /F /IM Aldi.Ews.User.exe' TerminalServerAware="yes"/>

 

Greetings OF

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to