Opening another file (exe) upon 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!

nyborlily
Posts: 3
Joined: Thu Aug 12, 2010 2:50 am

Opening another file (exe) upon installation

I have created an .exe file (project.exe) that installs a file in a directory that was installed by a different .exe (program.exe) I offer around 1000 different project files that can only be used in the program.exe in the past my customers have had to move the project file (not previously an exe) into the correct directory to be opened by program.exe, I am trying to get the project files to install themselves into the proper directory and then "OPEN" the program.exe

I have created the project.exe and it installs to the directory fine. It will also open program.exe with a Custom Action telling it to open program.exe with "viewer.exe" under Install.
The problem is that I am getting the Window Installer message: Please wait while Windows configures "project" and it never goes away.

I have read other posts in the forum explaining that Windows Installer is searching for missing components and trying to fix it. How do I get around this because everything seems to do its job fine and if I CTRL>ALT>Delete and End the Windows Installer my actual installation stays and works fine.

Any advice would be wonderful.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Opening another file (exe) upon installation

Hi,

You can try to go to Organization page and select each feature one by one and set the option "Disable Advertise".

Please let me know if this helps.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nyborlily
Posts: 3
Joined: Thu Aug 12, 2010 2:50 am

Re: Opening another file (exe) upon installation

Thank you for replying, I appreciate your suggestion.

I finally have it working. I have changed so many variables I almost have no idea how I got it to work. I have checked "Disable advertise" but doing that alone didn't solve my problem.

I checked "Asynchronous execution, do not wait for return on my Custom Action. I am so new to AI that I have no idea what that means, but it worked.

I have tried to run it with a Silent Install but I am still getting the UI. I have selected Silent Install (no UI) on the Prerequisites page under Bootstrapper UI, is there anywhere else I need to change the settings?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Opening another file (exe) upon installation

Hello,
I checked "Asynchronous execution, do not wait for return on my Custom Action. I am so new to AI that I have no idea what that means, but it worked.
We are suspecting that your custom action return code may have something to do with this, but we cannot be sure. Please send us a verbose log of the installation to support at advancedinstaller dot com so we can investigate it.
I have tried to run it with a Silent Install but I am still getting the UI. I have selected Silent Install (no UI) on the Prerequisites page under Bootstrapper UI, is there anywhere else I need to change the settings?
Actually, this option only runs the global prerequisites with silent UI. If you need you whole package to run silently here is an user guide article that can help you.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”