Mixing of prerequisite file - Advanced Installer Community
gunjannigam1
Posts: 2
Joined: Fri May 16, 2014 1:46 pm

Mixing of prerequisite file

I want to create a installer for my setup written in VC++
It requires two perquisite drivers from NI. NI 488.2 and NIDAQ
I have added both thisdrivers in prerequisite including their setup files
When I run the setup.exe, it tries to install both the prerequisite but for both the drivers it loads setup of NI 488.2. Therefore only one of the prerequisite is installed and other isn't
What could be the problem that it mixes the setup files of prerequisite. If I include only one prerequisite NIDAQ it loads its setup files while installation but on including both prerequisite setup files of one prerequisite is loaded both times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Mixing of prerequisite file

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

At install time all prerequisites will be extracted in the location set in the "Prerequisites page -> Packages -> Download/extraction folder" field.

However, if more prerequisites have the same name (or their additional files have the same name), then at install time during prerequisites download/extraction step they will be overwritten. In order to avoid this behavior you should set a different download/extraction folder for each one of your prerequisites.

Can you please proceed like this:
- go to "Prerequisites" page and select your " NI 488.2" prerequisite
- go to "Setup Files" tab and in the "Folder" field add the following folder name:

Code: Select all

NIFolder
- select the "NIDAQ" prerequisite and in the "Folder" field add the following folder name:

Code: Select all

NIDAQFolder
- rebuild and run your project

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gunjannigam1
Posts: 2
Joined: Fri May 16, 2014 1:46 pm

Re: Mixing of prerequisite file

Thanks for the help. That did solve my current problem
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Mixing of prerequisite file

You're welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”