Connect Visual Update to localhost

You have trouble using InstallForge? Then this is the right place for you.
Post Reply
Nathan123
Posts: 3
Joined: Mon May 09, 2016 4:55 pm

Hi,

I am trying to connect Visual Update to the localhost with the following URLs : http://localhost or http://127.0.0.1/ or http://localhost:80/

The localhost is working fine and is displaying the "IIS7 internet information service" welcome page.

However the update is still unable to get connection.

Does anyone know how to connect VU with the localhost? Has anyone succeed before?

Thank you in advance for your help,

Cheers,
User avatar
Soner
Posts: 146
Joined: Mon Sep 15, 2014 12:36 pm

Hello,
please would you share your InstallForge project file? Thanks.
Best regards,
Soner Boztas, M.Sc. Aerospace Engineering

Add me on LinkedIn: https://www.linkedin.com/in/soner-boztas-engineer
Nathan123
Posts: 3
Joined: Mon May 09, 2016 4:55 pm

Well, further details for the case :

- the updatescript.ini file (save as configurations file) is place in C:\inetpub\wwwroot\
- the updatescript.ini contains the following only (no spaces) :

releases{
1.0
1.1
}
release:1.0{
}
release:1.1{
DownloadFile:MyProgram.txt,
}

- the IIS7 is working correctly since it displays correctly the localhost default webpage.
- one can see the settings for VUE here :
https://www.dropbox.com/s/d2oepwodxk972 ... t.pdf?dl=0
- the MyProgram Update.exe file is generated correctly.
- however the MyProgram Update.exe will always prompt : "Connection to the update server could not be established."

It is possible that the issue is with the downloading of an .ini file. With a similar application (inno setup downloading plug-in) : the download is prohibited from downloading the .ini file and will constantly return error 404. However inno setup downloading plug-in will download correctly had the file extension be changed to .txt.

Thank you for help,

Cheers,
User avatar
Soner
Posts: 146
Joined: Mon Sep 15, 2014 12:36 pm

Hello,
in your case the updatescript.ini file has to be placed in the MyProgramUpdate folder.
Best regards,
Soner Boztas, M.Sc. Aerospace Engineering

Add me on LinkedIn: https://www.linkedin.com/in/soner-boztas-engineer
Nathan123
Posts: 3
Joined: Mon May 09, 2016 4:55 pm

Hi,

Thank you for the answer.

However, I have been confirmed that the issue is indeed with IIS7 - which will reply with error 404 for some specific file extension (such as .ini);

One possible remedy is given by this blog post : http://robwillis.info/2012/04/iis-7-404 ... oes-exist/

Cheers,

Nathan123
User avatar
Soner
Posts: 146
Joined: Mon Sep 15, 2014 12:36 pm

Thanks for sharing your experience with IIS7 and Visual Update. This might help other users as well.
Best regards,
Soner Boztas, M.Sc. Aerospace Engineering

Add me on LinkedIn: https://www.linkedin.com/in/soner-boztas-engineer
Post Reply