frankjin
Posts: 18
Joined: Tue Nov 23, 2010 11:11 pm

I have an install request, which certain feature needs to be

Hi Support,

I have an install request, which certain feature needs to be install multiple times.

For instance, the install package has three features and all installed on the target machine on the first run. One of the feature is to create registry entry including a SQL database name as part of the key value, in this case there are multiple databases I need to create registry entries for, so I need to run this feature over and over again for each databases.

after the first install is done, you cannot re-run the install, as it will remove everything already installed.

is it possible to achieve this without interrupting the normal version control function?

I know some of the products allow you to change the program under the control panel -> uninstall or Change a program, so you can re-run certain features again from there.

thanks.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: I have an install request, which certain feature needs to be

Hello,
is it possible to achieve this without interrupting the normal version control function?
No, unfortunately this is not possible.
I know some of the products allow you to change the program under the control panel -> uninstall or Change a program, so you can re-run certain features again from there.
This probably is a custom functionality implemented by that package. It is not the standard for Windows Installer and not implemented by Advanced Installer either.

The solution would be either to create your own custom actions which manifest this behavior or adding multiple registry entries in the "Registry" page and then conditioning their components from the "Organization" page.

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

Return to “Common Problems”