New user need some help - 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!

pfb
Posts: 1
Joined: Tue Apr 13, 2010 3:12 pm

New user need some help

Hi all,
I have just taken over the packaging of our product from a coworker that has left us. We use Advanced Installer to package our product.

The product is an .NET exe with a lot of dll's. To configure the product, we use xml-files. We have about ten customers. Each customer have the same exe and dll's, but their own xml-files. To manage this, the Advanced Installer is set up to use features, where each customer has their own feature. The exe and dll's are included in the main feature, while the customer xml-files are handled in each customers feature.

First of all, is this a 'correct' or 'suitable' way of setting up the project? Or should it be solved in any other way?

One of our customers need some special configuration of their installation. What we would like is to have the installer to ask whether the user is installing in test or production, and depending on the answer copy one of two files to the disk. The dialog should only be displayed for this customer. Is this doable?

/pfb
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: New user need some help

Hello,
First of all, is this a 'correct' or 'suitable' way of setting up the project? Or should it be solved in any other way?
Yes, it should be ok if this is what you need.

You can conditionally display a dialog as described in our guide here. You can use the Edit Condition dialog to easily condition your dialog depending on the feature selected.
What we would like is to have the installer to ask whether the user is installing in test or production, and depending on the answer copy one of two files to the disk.
Place each file inside its own component. Using two radio buttons for selecting which file to install. Condition each file's component depending on what the user selects. The following guide does something similar, it installs one of two versions of a file depending on the operating system:
http://www.advancedinstaller.com/user-g ... files.html
Simply adapt it to your needs.

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

Return to “Common Problems”