Package installation - Advanced Installer Community
aeplengg
Posts: 76
Joined: Mon May 05, 2014 5:31 am

Package installation

Hello

I'm getting some issues while installing exe which includes multiple prerequisites.
When i tried to install the main package, it popups two instances of one of the prerequisite.

I have added this prerequisite as 'Post-install' and set install conditions for 32-bit and 64-bit.

Regards
Swati
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Package installation

Hello Swati,

This may happen if you have two prerequisites with the same setup file name. At install time the prerequisites will be extracted in the location specified in "Download/extraction folder" field from "Prerequisites page -> Packages" tree node. However, if more prerequisite packages have the same file name, then they will be overwritten. In order to avoid this behavior you should use a different folder name in the "Folder" field of your prerequisites.

Just go to "Prerequisites" page, select your prerequisite, go to "Setup Files" tab and in the "Folder" field set a unique folder name.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aeplengg
Posts: 76
Joined: Mon May 05, 2014 5:31 am

Re: Package installation

Hello Daniel

Please find attached test .aip for your reference.
In this, we have added two prerequisites as 'Pre-install', which installs perfectly. The prerequisite which i have added as 'Post-install' (TOP), popups two instances at the time of setup installation.

Regards
Swati
Attachments
Your Application.aip
(22.74 KiB) Downloaded 432 times
aeplengg
Posts: 76
Joined: Mon May 05, 2014 5:31 am

Re: Package installation

Any update?

Regards
Swati
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Package installation

Hello Swati,

I've tested and replicated the behavior. Thank you for your sent sample. It seems this happens due to an old Advanced Installer issue. This happens in old AI versions when you are using the "Always install prerequisite" option for post-install prerequisites. This was an issue which is now fixed in the newer AI versions. So as a workaround, wither you upgrade and build your project with our last version of Advanced Installer (13.5) or you don't use the always install prerequisite option.

Let us know if you have any questions.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aeplengg
Posts: 76
Joined: Mon May 05, 2014 5:31 am

Re: Package installation

Hello Daniel

Thanks for your reply.
It works for 'Install prerequisites based on condition' for file version.

Regards
Swati'
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Package installation

You're always welcome Swati.

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

Return to “Common Problems”