Upgrade possibilities - 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!

kissack
Posts: 57
Joined: Fri Feb 04, 2011 11:45 am

Upgrade possibilities

Hello,
we’ve been trying to achieve the following, but so far without luck. Would appreciate if someone could provide a recipe what would be the key steps to get what we need.
We have an app and we will have to be releasing updates in the future. The setup is multi-language. First I tried with patches, seemed great solution, small size, no user UI apart from start and finish installation, but we hit the wall with the fact that we’d need a patch for each language and it worries us it would be a maintenance nightmare to produce X patches and keep them up-to date.
So another way we tried is the upgrade. Here are the points what we need.
1. The configuration is in app.config file. I’d need to maintain/update/amend the configuration.
2. Avoid that the user would go thru all the user dialogs to collect installation parameters as in the initial install.

So in other words, the setup would detect if previous version is installed. If so, would get the parameters from the app.config file and would not show the setup dialogs. Overwrite the installed files(with exceptions of course).
If the new version contains extension of the configuration, the new entries would be amended to the existing file.
We’ve been trying OLDPRODUCTS property together with XML search and Operations tab on files/folders, but so far it’s not doing what we want.
If you have a working example or could highlight the key steps to achieve this, would appreciate it lot.
Kissack
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Upgrade possibilities

Hello Kissack,

In order to achieve what you want you can hide the related dialogs (using the “Show only if...” context menu option), used to collect installation parameters, during upgrade and use our property persistence support. In this way properties used to store the configuration options will maintain their value. Also, you should use the OLDPRODUCTS property to condition the configuration dialog.

Let us know if this helps, otherwise please give us more details about your scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kissack
Posts: 57
Joined: Fri Feb 04, 2011 11:45 am

Re: Upgrade possibilities

Hello Daniel,

sounds promising with the persistent properties. Is this limited to only Install Parameters properties or can it be used for UI dialog properties as well? If not, what is the correct way to make the GUI controls properties persistent? Map them to defined Install Parameters properties?

Thank you.
Kissack
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Upgrade possibilities

Hello Kissack,

Indeed, in order to enable the "Set persistent property" option for your GUI controls associated properties, you should define the related properties in our "Install Parameters" page.

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

Return to “Common Problems”