javaquests
Posts: 13
Joined: Tue Dec 07, 2010 2:50 pm

Unable to access setup.msi through http link

Hi,

I have installed the set up files in the server and when trying to access setup.msi file using http link, I am getting

Source file not found:
..temporary internet files\....\setup1.cab
verify that the file exists and that you can access it.

But when i access the setup.msi file from shared folder access of the server, am able to install the program.

Is there any configuration to be made to access via http?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Unable to access setup.msi through http link

Hi,

Are you using a bootstrapper? Is the CAB inside the MSI or outside? If it's outside, is your server configured to allow CAB files download (can you download the CAB through its URL)?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
javaquests
Posts: 13
Joined: Tue Dec 07, 2010 2:50 pm

Re: Unable to access setup.msi through http link

I am using the bootstrapper, and the cab files are outside the msi file. I am able to access the cab file through http link. But when i run the .msi file i am still getting Source file not found exception. I have mentioned the retreive from online location and given the .msi server location path int the url. I have put the setup files in the server created from the build. Is there anything i am missing?
javaquests
Posts: 13
Joined: Tue Dec 07, 2010 2:50 pm

Re: Unable to access setup.msi through http link

I am new to using this installer, I am doing the following steps to create the installer package, kindly correct me where i am going wrong.
1. In my machine, i create the build using advanced installer, it then creates the .exe file, .msi file and .ini file. (used bootstrapper and specified .msi location as the server location)
2. Now i want the users to download the application, so i copied the .exe, .msi, .ini files from my machine to server machine.
3. Trying to access the .msi from server, throws source not found exception, if i try to access the .exe using http link it says time out.

When i read the forum reg. web install, it says the user should click the exe file that would in turn install the files. But how do we give the .exe file to user?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Unable to access setup.msi through http link

Hi,

If the files are not visible from your server it could be that the MIME maps do not recognize the file extensions.

Please contact the administrator of your web server and ask him to check if these files(.exe, .msi, .ini) are accessible.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
javaquests
Posts: 13
Joined: Tue Dec 07, 2010 2:50 pm

Re: Unable to access setup.msi through http link

Hi,

I tested the .exe, .ini and .msi files are accessible in the server. i am able to open the .cab files and see it. But when i access .msi through http link, i get source file not found exception. I do not want to access .exe file of the server, since there would be restrictions in many paltforms accessing .exe file directly because of security risk. Are there any configuration changes to be made to access the .msi file through http link.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Unable to access setup.msi through http link

Hi,

What Advanced Installer version are you using? In older Advanced Installer versions the bootstrapper INI was not included in the EXE. To include it you can use the "Include install files in EXE" option from "Bootstrapper" tab of "Media" page. Since you are using an online location for your MSI, only the INI will be included.

After this is done, you can upload the files to your server:
- the EXE bootstrapper
- the MSI
- all generated CAB files

Your users will then download the EXE setup file. When this file is launched it will automatically download and launch the MSI. After starting the MSI installation Windows Installer will automatically download the CAB to install files. Please make sure that all files are placed in the same folder on your server. Also, you should be able to download all files through their URLs.
I do not want to access .exe file of the server, since there would be restrictions in many paltforms accessing .exe file directly because of security risk.
Since you are using an EXE bootstrapper, the installation needs to be started by downloading and launching that EXE. If this is not an option, then an online location is not appropriate for your package. In this case you can include the CAB inside your MSI and your users can download the entire MSI to perform an install.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
javaquests
Posts: 13
Joined: Tue Dec 07, 2010 2:50 pm

Re: Unable to access setup.msi through http link

thank you so much. I tried using http request to get .msi and it worked fine.

Return to “Feature Requests”