Laurin
Posts: 58
Joined: Thu Jun 12, 2008 4:27 pm

Problem detecting a runnin process

hey together
i try to detect if excel is running (in a custom launch condition).
I did it according to:
http://www.advancedinstaller.com/user-g ... ocess.html

however the AI_PROCESS_STATE always contains stopped, even if EXCEL.exe is in the Taskmanager and running.
The conditions are in the stages (see attached images). Is anything wrong there?
Best
Laurin
Attachments
screenshot
screenshot
Unbenannt.PNG (65.6 KiB) Viewed 5516 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Problem detecting a runnin process

Hi Laurin,

Please make sure that the name in the "Action Data" text field of your custom action is written exactly like it is found in Task Manager (use capitals only if they are used in Task Manager too).

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Laurin
Posts: 58
Joined: Thu Jun 12, 2008 4:27 pm

Re: Problem detecting a runnin process

Hi Eusebiu

Thank you for your answer.
As you can see it is written exactly the same (compare my first screenshot from AI and this one from Taskmanager).
Any further help?

Best regards
laurin
Attachments
taskmanager.PNG
taskmanager.PNG (4.72 KiB) Viewed 5427 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Problem detecting a runnin process

Hi Laurin,

I've tested your scenario, but I cannot reproduce the behavior. Can you please tell us the version of Advanced Installer, the Operating System and also the Microsoft Office version and bitness you have on your machine so we can try to reproduce and investigate the problem?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Laurin
Posts: 58
Joined: Thu Jun 12, 2008 4:27 pm

Re: Problem detecting a runnin process

Hi

Thank you for your help.
Bitness: 64bit
OS: Windows 7
Office: Excel 2010 32bit
AI: 10.0

looking forward for your help. should i send you the aip?
best regards
laurin
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Problem detecting a runnin process

Hi Laurin,

I've tested your scenario on the same environment as you with both Microsoft Office 32-bit and Microsoft Office 64-bit versions, but I cannot reproduce the behavior.

Can you please send us the .AIP (project file) and a verbose log of the installation so we can investigate them?

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

Return to “Common Problems”