anasrallah
Posts: 14
Joined: Tue Dec 13, 2011 7:52 pm

Custom Action Launches in background behind installer

I'm having same issue mention under this thread here, thought to post here since it's more like a problem then a feature

http://www.advancedinstaller.com/forums ... =1&t=19582

basically if I add a custom action (Installed Custom Action or Predefined Custom Action - Launch File or Open Url) under InstallFinalize, the exe I specify launches in the background behind the installer window.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Custom Action Launches in background behind installer

Hello,

As mentioned in the thread, my colleague Bogdan has tested this behavior and the .EXE should be launched in the foreground when using "Launch File or Open URL".
Does this behavior manifest with this predefined custom action? If so can you please send us the .AIP and a sample .EXE replicating the issue to support at advancedinstaller dot com so we can investigate them?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
anasrallah
Posts: 14
Joined: Tue Dec 13, 2011 7:52 pm

Re: Custom Action Launches in background behind installer

I just attached the aip file and the exe (I added xml extension since it didnt allow me to attach a file with exe extension)
Attachments
Test.exe.xml
(16 KiB) Downloaded 494 times
test.aip
(8.79 KiB) Downloaded 557 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Custom Action Launches in background behind installer

Hello,

I have tested the scenario you mentioned and it seems the .EXE is shown in the background only when running with impersonation.
You can try to set the custom action to run with "Commit with no impersonation" execution option. This way, it will run under the local system account with full privileges.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”