pushkar_p
Posts: 3
Joined: Tue Jun 16, 2009 3:48 am

Install files from web server

Hello,
I have to install files that will be downloaded from a web server. I mean the installation program will be "unzip a zip file downloaded from the web server into the installation directory". I wrote a custom action in VB script to unzip some zip file on the PC into the Application Folder.
However in reality I need:
1. Tell setup.exe to download a zip file from the website from which setup.exe was downloaded or run (not known beforehand).
2. Unzip this zip file into the Application folder.

Is this possible with the Windows installer technology or these tasks will have to be custom actions?
Thanks,
Pushkar
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Install files from web server

Hi,

Unfortunately Windows Installer doesn't support this, so the solution would be to use custom actions.
Tell setup.exe to download a zip file from the website from which setup.exe was downloaded or run (not known beforehand).
I'm not sure if the installation process can determine the URL from which it was downloaded. Perhaps you can prompt the user for this or use a generic URL for all packages.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”