Ruskin
Posts: 3
Joined: Thu Aug 31, 2006 10:15 pm

Bootstrapper does not retrieve MSI from web server

Hello,

I am using Advanced Installer 4.3.

I am trying to use a bootstrap EXE that retrieves the MSI from a webserver. On the Media page, I have the following selected under "Package"

- Leave install files outside.
MSI Location:
- Receive from on-line location
URL: h t t p ://mysite/installer.msi

(I put in spaces in h t t p for the purpose of this post so that phpBB does not convert the URL to a clickable link)

After a build the project and upload the files, I have placed installer.msi in the location and verified with a web browser that it exists in the location specified in URL.

If I place the EXE on my desktop and run it, I receive an error stating that it cannot find c:\documents and Setting\User\Desktop\installer.msi

It appears as thought the EXE is expecting the MSI to be in the same folder, even though in my project I have told it to retrieve from the URL.

Please let me know if I have missed something. Thank you!
:)
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
- Leave install files outside.
MSI Location:
- Receive from on-line location
URL: h t t p ://mysite/installer.msi
With those options set Advanced Installer generates an EXE, msi and ini files. In that ini file is stored the URL from where Setup.exe gets the msi file.

So please ensure that you have this ini file next to the Setup.exe file.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Ruskin
Posts: 3
Joined: Thu Aug 31, 2006 10:15 pm

Hello,

Thank you for the response. I switched the option to "Include install files with the EXE". This seems to work. It has to leave the CAB file outside of the MSI, but it seems to download that as well.

My original intention was to only have 2 files on the server: the EXE and the MSI. Then I wanted to distribute the EXE, then it would download the MSI. Even though I have to leave the CAB files outside of the MSI, this still seems to have the intended results.

Thanks again!

Return to “Common Problems”