Install Scenario - 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!

Reidar
Posts: 2
Joined: Tue Dec 09, 2008 6:32 pm

Install Scenario

I will buy Advanced Installer if the following Scenario is possible.
Installing an MS-Access application on a machine.
The first scenario is installing into a static folder C:\HEI2000 the application file and create some folders as well
The second scenario is installing the data-file (MS-Access) to the same folder C:\HEI2000.
I tried to make two installation files, but the second one overwrote the first installation since they are in the same folder.
The third scenario is installing a local version on the C:\HEI2000 folder and some data files on a mapped network path called H:\HEI2000
on a windows server.
On my opening page I would like to have four cfheckboxes, one for each scenario and a clear message telling the installer that if you check the data file all previous data will be erased.

regards
Reidar
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Install Scenario

Hi Reidar,
I tried to make two installation files, but the second one overwrote the first installation since they are in the same folder.
I'm not sure I understand how you configured your installation packages. From your post it seems that they install different files, so the second package shouldn't overwrite anything. Can you please give me more details about what is overwritten?
On my opening page I would like to have four cfheckboxes, one for each scenario and a clear message telling the installer that if you check the data file all previous data will be erased.
For this you can use multiple features in the Organization page and a custom feature selection dialog. Based on the option selected by the user, you can install a feature in the package. Please note that the dialog editor can be used only in an Enterprise project.

For example, here is the approach you can take:
- in the "Organization" page create the feature of the first scenario
- in the "Files and Folders" page add the files and folders of the first scenario
- in the "Organization" page create the feature of the second scenario
- in the "Files and Folders" page use the "Feature" combo on the toolbar to select the feature of the second scenario
- add the files and folders of the second scenario
- do the same for the rest of scenarios

If a file needs to be included in multiple features, you can share its component. For this you can drag the component of the file over another feature while the SHIFT key is pressed.

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

Return to “Common Problems”