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!

vidur
Posts: 43
Joined: Thu Jul 31, 2014 4:21 am

Web installer with Dynamic MSI URL

Hi,

Im trying to create a web installer to download the msi from a dynamic url. I tried creating a property "MSILINK" and put the default value as "http:\\-1". When i run the exe with argument "installer.exe MSILINK="mydownloadlink\intsaller.msi" it does not change the value of MSILINK. i get an error saying "can not access URL : http:\\-1 "

What am i doing wrong here?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Web installer with Dynamic MSI URL

Hi and welcome to Advanced Installer forums.

Please note that the web installer URL's field supports only PseudoFormatted properties. The values of those properties are resolved at build-time and even if their value is changed at run-time the default value will still be used. I'm afraid that using dynamic URLs in that field is not possible.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vidur
Posts: 43
Joined: Thu Jul 31, 2014 4:21 am

Re: Web installer with Dynamic MSI URL

hi Eusebiu,

Thanks for your reply. So i cant have any way of dynamically setting the URL ?

Alos i was wondering if i could use a prerequisite in an .msi . Perhaps i should try explaining my requirement.
I use a deployment tool to deploy the software across the organisation. This deployment tool can only use MSI files. But since the package itself is over 40MB deploying it from one server to say 2000 PCs will mean uploading 8GB , which i would like to avoid. Instead i was wondering if i could use an MSI to download and install.

any ideas?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Web installer with Dynamic MSI URL

Hi,

I'm afraid that there is no way to set the web installer URL dynamically.

If you want to add a prerequisite in an MSI package, you can go in the Prerequisites page and add it as a "feature-based" or "post-install" prerequisite. For more details you can take a look on the Add Prerequisite tutorial.

So, using the prerequisite feature to deploy your application might be a solution (it can be either an MSI or an EXE package). To achieve this you can follow the steps below:
- create a simple MSI package
- in the "Install Parameters" page create a new property (i.e. [DOWNLOAD_URL])
- add an "URL Prerequisite" in the "Prerequisites" page and use the created property in the "URL" field
- deploy the simple MSI package and set the [DOWNLOAD_URL] property from command line to the URL where your package is located
- when the simple MSI is deployed, it will download and install your prerequisite package form the URL specified by you

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

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vidur
Posts: 43
Joined: Thu Jul 31, 2014 4:21 am

Re: Web installer with Dynamic MSI URL

Hi Eusebiu,

Thanks for your suggestion. I followed the steps, and tried running the installer on silent mode, but it did not download the prerequisite.

Here is what my scenario is like.

-I have a central Administrative server (AD) and around 2000 PCs under it .
-Using a third party application i push installer packages to these PCs (it uses only MSI)
-Since my package is over 40mb passing it to each PC will mean uploading 80GB which will take down my server and will go on for a really long time
-So i need a way to send an MSI to these PCs (silently) from which it will download the installer from another location (can be one or many) .

Things i have tried so far
1.)Made a web installer for my main pacakage and wrapped it inside another MSI called "Downloader", and running that exe from the "Downloader package
- The issue i had here is , windows will not allow two installers to run at the same time
2.) Add a pre requisite
- Does not seem to work when i run it silently

Please advice

Thanks and Regards,
Vidur
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Web installer with Dynamic MSI URL

Hi Vidur,

I'm not sure why the prerequisite was not downloaded. Are you sure that the internet connection is available so the prerequisite can be downloaded when the package is installed?

If so, can you please send us the .AIP (project file) to support at advancedinstaller dot com, so we can take a look on its configurations?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”