Launch installed EXE in quiet installation - Advanced Installer Community

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!

ozshalom
Posts: 2
Joined: Tue Dec 14, 2010 8:57 am

Launch installed EXE in quiet installation

Hi,

I would like to launch an EXE I'm installing automatically in the end of installation only if UILevel<>5 (not full UI). same as it exist in the ExitDialog.
i tried to put custom action under Commit and under InstallFinalize but it doesn't work (i know the action is running because if i test to run notepad for example so it opens notepad)
How can i do it ?
thank you
Oz
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Launch installed EXE in quiet installation

Hi Oz,

Maybe your EXE requires admin credentials to run, have you tried setting the custom action as "Deferred with no impersonation"?

If this does not solve the problem please send us the aip file and a verbose log to support at advancedinstaller dot com so we can investigate this.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ozshalom
Posts: 2
Joined: Tue Dec 14, 2010 8:57 am

Re: Launch installed EXE in quiet installation

HI,

thank you for your help.
the option "Deferred with no impersonation' is enabled only under "Commit" and not under "InstallFinalize" .
i tried it and it is still does not working.
i has under UI Custom the action RunasAdmin which is working under windows 7 when you open manually (i test it successfully).

if i put the action "Launch a file" under Commit than i don't see any log about it in the log file, only if iput it under InstallFinalize .

where do i need to put the action ?
to get verbose you mean to run the setup with /LV argument ?

thank you
Oz
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Launch installed EXE in quiet installation

Hi Oz,
where do i need to put the action ?
Placing it under "Commit' standard action and marking it as "Deferred with no impersonation" should be enough. Also, make the sure the execution condition is correct.
to get verbose you mean to run the setup with /LV argument ?
Yes, use the arguments "/L*V" or the command "Run and Log" from Advanced Installer.

If the problem persists please send me the log and aip file to support at advancedinstaller dot com.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”