marine2026
Posts: 19
Joined: Sat May 15, 2010 8:59 pm

web install won't

I'm trying to do a Web install - PLEASE HELP!
Adv.Inst: 7.6.1
Vista SP2
disabled Norton anti-virus auto-protect

Media: Media
bulleted - Archive installation files into CAB files
checked - Compress CAB files for smaller size
bulleted - On CAB archive ...
unchecked - Include CAB file into MSI...
Media: Bootstrapper
checked - Create EXE setup file
File name: <blank>
Package
bulleted - Include install files in EXE
MSI Location:
bulleted - Retrieve from online location:
URL - confirmed to match the directory of the download-able .exe

The EXE downloads correctly, and either saves or runs, but then Windows presents the alert:

The installation package could not be opened.Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package.

I have verified that all three (.exe, .msi and .cab) files are together in the same directory, and all three download individually, and the URL of the MSI correctly downloads when accessed directly.

Source file not found:
C:\Users\David\Downloads\SM_Installer1.cab
Verify that the file exists and that you can access it.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: web install won't

Hello,

Could you send us the .aip project file and the resulted .exe? Host the .msi and .cab files somewhere where we can access them through the .exe, so we can test if the .exe properly downloads the cabs and msi.
Please send the requested files to support at advancedinstaller dot com so we can further investigate. Include a link to this thread inside your email.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
PMartin
Posts: 2
Joined: Wed Feb 24, 2010 9:14 pm

Re: web install won't

We've experienced similar issues when using the Boostrapper, Advanced Installer 7.6.1 - was there any resolution for this? (note that we had all resources included into the Bootstrapper).
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: web install won't

Hi Martin,

I'm not sure marine2026 ever answered our request for the additional data, so I will have to ask you for the same data as I asked him. In addition, I would like to know more about the steps required to reproduce the issue.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Kumaravel
Posts: 6
Joined: Wed Oct 15, 2008 12:48 am

Re: web install won't

I am experiencing the similar problem. I am using AI 8.0.2.
I have sent you the sample .aip file to reproduce the issue.

Could you please help to resolve this issue?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: web install won't

Hi,

I've tested your .AIP and indeed I can replicate the behavior on your web server. I've tested this behavior to other servers and seems to work fine. Apparently Windows Installer is more strict regarding HTTP downloads.

When Windows Installer tries to download your files from the web server, it throws this error:
ERROR : 12150 ERROR_HTTP_HEADER_NOT_FOUND (The requested header could not be located)
This may happen in case that windows installer requires one of the HTTP header that is not found in the HTTP response.

In your case we think that Windows installer can't determine the size of the file that needs to be downloaded. You can observe this by directly downloading the .msi file from your web server:
forum_screen_shot.png
forum_screen_shot.png (12.17 KiB) Viewed 7920 times
In order to resolve this issue you will need to verify the web server's configuration to ensure that the full HTTP response is send to the user's machine.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Kumaravel
Posts: 6
Joined: Wed Oct 15, 2008 12:48 am

Re: web install won't

Thank you for the reply.

I could able to run InstallerTest.exe and InstallerTest.msi from server location.
I am running on Win 8.

When I run InsallerTest.exe, the following error displayed.
Image

When I run InsallerTest.msi, the following error displayed during the installation process.
Image

I verified the file size on server and local machine.

Is there any solution to this problem?.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: web install won't

Hi,

We tested your installation scenario by hosting your MSI on our testing web servers and the MSI was downloaded and launched successfully. It seems there is a problem with the web server hosting your MSI package. When launched our EXE web installer runs the following command:

Code: Select all

msiexec /i URL_Link_To_MSI
Toubleshoting with a network analyzer tool an EXE web installer which tries to download your MSI hosted on your web server, it seems that the Windows Installer download MSI request is rejected by your web server. When trying to download an MSI file from a web location Windows Installer uses the following user agent: Windows Installer. So, please make sure that on your web server doesn't exist any filters, security policies or firewalls which could block HTTP requests from the "Windows Installer" agent.

Also, in order to test your installation scenario you can simply try to host your MSI and CAB files using a public cloud service (e.g. from Dropbox or Google Drive) and, then just change in your project the new URL address for your MSI.

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

Return to “Common Problems”