How to control installation of multiple programs - 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!

lapsen
Posts: 2
Joined: Tue Jul 06, 2010 2:40 pm

How to control installation of multiple programs

I would like to know how to install external programs and make a user friendly progress page?
I have an installation where I want to install multiple programs, Java, Perl, Oracle, run bat files, etc. and also setup a database for the Oracle and last of course my own program. I know that I can use the Prerequisites to install the required programs for my installation. However in the Prerequisites I can only get the Status Message: "Installing the prerequisites software." and since the installation and setup may take hours, it will not be very user friendly. I also don't think that I can get the progress bar to work with e.g the setup of a database and running bat files, and these operations may take an hours, so the user may think the installation has failed.
I have tried running the programs in "Custom Action" in the "InstallExecuteSequence->Install" section with the "Launch File or open URL" option. Here I can use the "Action text" to display status messages. But the "Action text" is disabled if I click "Execute Immediate", why is that? I can use “Deferred”, but I need to make sure the required programs are installed before I install my own program.
Also can you control what happen if you select "Repair" in the maintenance dialog. In my installation I have a several external programs, as mentioned, what happens to them if I click Repair. Would it be possible to uninstall and install the program again?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: How to control installation of multiple programs

Hello,

Please note the Prerequisites functionality is especially intended for installing such third-party components. The third party components would display their own progress bar, provided they are running with full user interface.

Clicking repair for your installer will only repair (reinstall) your application's components. Should the user want to repair the third party components, he should access their installers through the Add/Remove Programs interface and initiate the repair individually.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”