Chained prequisites not allowed from/to repository - Advanced Installer Community
gcamley
Posts: 20
Joined: Thu Jul 02, 2015 10:58 am

Chained prequisites not allowed from/to repository

I have a chained MSI installer which I want to save in the repository but the option to save is greyed out.

I'm using AI 12.2.

Why cannot chained MSI prerequisites be stored to or loaded from the repository?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Chained prequisites not allowed from/to repository

Hello and welcome to Advanced Installer forums,

Indeed, the chained MSI cannot be added to repository. The encountered behaviour is correct. We didn't find necessary to add a chained .MSI to repository since there are not many settings to be saved.
The prerequisite repository is useful for packages where a lot of settings are necessary (e.g. install conditions, UI command lines, etc).

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gcamley
Posts: 20
Joined: Thu Jul 02, 2015 10:58 am

Re: Chained prequisites not allowed from/to repository

Thanks Dan,

I will find another way to meet my requirement.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Chained prequisites not allowed from/to repository

Hi,

By the way, can you please give us more details why would you like to be able to add a chained .MSI to repository? Maybe we are missing something.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gcamley
Posts: 20
Joined: Thu Jul 02, 2015 10:58 am

Re: Chained prequisites not allowed from/to repository

I want to chain to a MSI file that is outside of the main project so the path on my PC may be different from our build server's path.

Having the MSI in the AI repository meant I could have my local repository defined on a different path to the build server repository path and both would be able to retrieve the file.

As the repository is not supported for chained prerequisites I though of using a property in the path but that is not supported. I then thought of converting the project paths to use variables but the path to chained msi files is not listed by the wizard.

I am now stumped as to how my local builds and builds on the build server can retrieve the same external MSI file where the paths are different.
gcamley
Posts: 20
Joined: Thu Jul 02, 2015 10:58 am

Re: Chained prequisites not allowed from/to repository

On further investigation I see that the prerequisites repository is not what I thought it was. It stores an aip file describing the prerequisite but not the msi file itself.

What I'm after is a relocatable store of the chained MSI files so I can build the same installer on 2 PCs with different folder paths.

Return to “Common Problems”