street
Posts: 2
Joined: Thu Aug 16, 2007 12:27 pm

Dynamic features and components

Are there any ways to add features dynamically so that installer could calculate disk cost and install dynamically added components?
I have tried to add insert new features into Feature table but things never appead.
I need to be able to install(copy) certain(selected) files from a folder next to installation. I'd like to have a list of these files so that a user could select the files he wants. The problem is that the files(databases) might be very big and they change very often but they are needed for the application.
Is it possible at all?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

I'm afraid I don't fully understand what you are trying to achieve, please give me more details.

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
street
Posts: 2
Joined: Thu Aug 16, 2007 12:27 pm

Here is what I want to do.
I have a program that uses database (MySQL). These databases are updated often so I need a way to update those bases on users' computers.
The bases might be very big. So I don't want to integrate them into installer, besides I don't want to reinstall the program when I need to update bases.
I want to be able to dynamicaly add the bases into feature tree so that the user could mark needed bases and install them along with the program or only bases.
I had a vb script I ran from custom action that would look into bases folder get all the archives that were there and add them into Features table. But these features never appeard in the selectionTree component for some reason.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
The bases might be very big. So I don't want to integrate them into installer, besides I don't want to reinstall the program when I need to update bases.
What you want sounds like patches. On how to use patches please see:
http://www.advancedinstaller.com/user-g ... tches.html

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”