Dynamically changing file/folder lists - 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!

cecil@coral8.com
Posts: 18
Joined: Mon Oct 27, 2008 11:45 pm

Dynamically changing file/folder lists

We currently have about 2,000 files in multiple directories
in our installation. An arbitrary number of
files may be added or deleted in our nightly build.

Selecting a folder in AI expands into all the files under the
folder when AI starts the build. This appears to be fixed
when the AI GUI gets saved.

Is there some way we can provide a list of files and where
the files get installed from the command line? We can,
of course, generate a comprehensive list in some
formatted manner.

This implies the use of the Advanced Installer as a kind
of template that gets populated with information as part of
the nightly build.

I currently see two different approaches:

1) Use AI to generate a minimal MSI package that gets
populated with actual filenames during the nightly build
using VBS to insert the filenames into the Component,
Directory and FeatureComponent tables.
2) Run a script over the .aip file and then run AI in
batch mode.

Neither of these is a very good solution. Is there something
that already exists?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Dynamically changing file/folder lists

Hi,
Is there some way we can provide a list of files and where the files get installed from the command line?
For this you can use the /AddFile command line parameter. You can create a script which uses multiple commands to add multiple files.
Another solution would be to use folder synchronization for the folders in your project. This way, when you want to add files in your project you can simply add them in the synchronized folders on the disk.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”