SynthaxError wrote:thank's a lot for this script, i change PROCESS_NAME and PROGRAM_TITLE but it don't work in windows vista
Code: Select all
Set Variable MSGBOX to
Set Variable PROGRAM_TITLE to WinZip Executable
Set Persistent Variable PROCESS_NAME to WZQKPICK.EXE
Check for Process "$PROCESS_NAME$", get result into variable RUNNING
if Variable RUNNING Equals TRUE
MessageBox: Terminate Process, The process $PROCESS_NAME$ is running and it will be terminated in order to continue the installation.$NEWLINE$Please save your work and then click OK.$NEWLINE$Click Cancel if you want to continue without terminating the process.
if Variable MSGBOX Equals OK
Terminate Program $PROGRAM_TITLE$
end
end
any way, thank u for answering. is there some guys who could help me related to this topic. I have the similar problem, after I add several lines like above codes. I did some tests, at first installation, the application is installing, absolutely and then installaware detect the process running background, and then that message box is popped. but it is first time I try to install, so this logic does not make sense. any comments, welcome. thanks in advance