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!

robinthomas
Posts: 2
Joined: Tue Oct 14, 2014 8:22 am

Single project with multiple update URL

Hello,

I have a project. I want to deploy it in 2 different places. I want different update URL so that I can deploy different versions of the project in different places.
Is there any option? Or do I have to create 2 msi.

Please help.

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

Re: Single project with multiple update URL

Hello Robin and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

You can achieve what you want by using a single setup build. Just follow the steps exposed in our "Updater URL based on installed component" thread.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
robinthomas
Posts: 2
Joined: Tue Oct 14, 2014 8:22 am

Re: Single project with multiple update URL

Thanks Daniel for your support. I have read the link you specified. But its according to product language. What i need is to read a text or ini file and based on that value URL should be updated.

Please help me.

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

Re: Single project with multiple update URL

Hello Robin,

If you need to update the URL at install time based on a text or ini file condition, then you can add a search (e.g. MY_SEARCH) in our "Search" page which will perform the desired search. Then, all you have to do is to use the above search associated property (MY_SEARCH) in the condition field of the "Set installer property" custom action (instead of the "ProductLanguage" based condition).

If you need to update the URL at run time when the Updater is launched, then the only way is to launch the Updater within your application and call it with the -url command line switch. Also, the computation deciding the target URL should be performed by your application too (before launching the Updater).

If you have any questions just let us know.

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

Return to “Building Installers”