rtischer8277
Posts: 22
Joined: Fri Nov 30, 2012 2:26 pm

terminat process on install

I have added a custom action that doesn't seem to be working. I would like the installer to detect a running process and kill it before it does its install. The custom actions is StopProcess and the Properties Process name is MyProcess. The default check boxes are checked.

I expected a dialog to popup during the install process and ask me if I wanted to terminate the target process, but nothing happened. What could be the problem?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: terminat process on install

Hello,

Can you please take a look on our How do I detect or stop a process? article which implements this scenario. Also, a similar subject is debated on our Checking for the running process and terminating the same forum thread.

Please let us know if that helped, otherwise give us more details about your specific scenario.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rtischer8277
Posts: 22
Joined: Fri Nov 30, 2012 2:26 pm

Re: terminat process on install

The links were helpful and it works fine now.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: terminat process on install

Hello,

I'mm glad you got this working. If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”