We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

zeiddev
Posts: 103
Joined: Sat Aug 10, 2013 12:30 am

Detecting a running process

I have been following the instructions in the help file for "How do I detect or stop a process?" but I cannot seem to get it to work.

Either it always complains that my process is running or it never complains.

I created the custom action and put my process name in the process name box. I then go to the launch conditions and put as my condition:

AI_PROCESS_STATE = "Running"

This always says the process is running no matter. I have tried different permutations of this but cannot seem to get it right.

Thanks

David
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Detecting a running process

Hi David,

When a launch condition is added, the package will be installed only if that condition is "True". For example, if you want to install the package only if a process is stopped, you can use the following condition: NOT (AI_PROCESS_STATE = "Running").

If this doesn't work, can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
zeiddev
Posts: 103
Joined: Sat Aug 10, 2013 12:30 am

Re: Detecting a running process

Thank you I must have tried all different permutations except for that one. This appears to have fixed it.

Thanks

David
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Detecting a running process

You're welcome. I'm glad you got this working.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”