Is there a way to terminate a process with WiseScript Package Editor? I don't see it on the left hand list in 7.0 SP3.
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.


No built-in way in wise that i know of, but you can use wmi win32_process, which would be my preference since it's on basically every windows machine and runs silently, or a command line utility like tskill.exe or taskkill.exe.
Answered 10/10/2008 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
terminate a process
[left]Exit Installation - This action exits the installation. This does not exit the MSI installation that called this WiseScript. It only exits the WiseScript .EXE. [/left][left]Application Exit Code - If this installation is called by another application, this is the return code to the calling application.[/left][left] [/left][left]Cheers![/left][left]Santro[/left]
Answered 10/10/2008 by: zipsantro
Purple Belt

Please log in to comment
Santro, your actions exit the installer, but do not terminate an external process. It always pays to read the question :) I know, 'cos I've been an offender in the past and will no doubt be again.
Answered 10/10/2008 by: VBScab
Red Belt

Please log in to comment
As we dont have inbuild option to terminate the process.We can also use pskill.exe to terminate the process.No need any comand lines.We need pskill.exe. only we need to give the name of the process need to be terminated.
Action : Execute program in Wisescript editor
The name of the exe is Pskill.exe in the command line pkzip.exe.
It will terminate the pkzip process

Note: we need to copy the Pskill.exe to the local machine before executing
Answered 10/22/2008 by: poojasri
Senior Yellow Belt

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