We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Scouser3008
Posts: 4
Joined: Fri Mar 21, 2014 5:40 pm

Having a Nightmare trying to setup Updates.

Hey there,

I'm trying to follow the tutorials for setting up the updater for my project (http://www.advancedinstaller.com/user-g ... dater.html). I've gone so far as to recreate a test installer project working fully against my local machine, but everytime I run the updater.exe I just get told "Software is up to date", when it makes no changes at all.

My updates.txt is sat on our local server, but I've accessed it via the file:// protocol and putting the relevant paths into my chrome resolves to either the .exe setup (which it downloads) or the updates.txt which is rendered to screen.

Is this a common problem that I've missed something blaringly obvious on? Or am I going to need to be far more specific with my details?

EDIT: And thanks an absolute tonne to anyone who helps out :), I'm just lost as to what I can do to troubleshoot here!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Having a Nightmare trying to setup Updates.

Hi and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.

I'm not sure why you encounter this behavior. Can you please send us the two .AIP files (the old version and the new version) and the "Updates Configuration" project to support at advancedinstaller dot com so we can investigate them?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Scouser3008
Posts: 4
Joined: Fri Mar 21, 2014 5:40 pm

Re: Having a Nightmare trying to setup Updates.

Hi Eusebiu,

Thanks for getting back to me, I've managed to narrow the problem down thankfully and it has to do with pointing at our Network drives for the location of updates.txt and .exe

Basically if I point my updates file URL at file://C:\Users\Public\Documents\AdvancedInstallerTest\updates.txt the updater.exe can find it. However if it's targeting file://[serverName]\applicationname\updates.txt the updater.exe won't find the text file (even though it's at both locations) and as such returns "Program is up to date".

The same happens if I move the .exe file location, if I have it on my C drive, updater.exe can find it, but not if I point it at the server instance.

I can share the .aip's but they can only contain one set of file path targets ofc!

Thanks a lot!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Having a Nightmare trying to setup Updates.

Hi,

Please make sure the [serverName] property that you try to use in the path to the "updates.txt" file is resolved correctly during the installation, otherwise the file will not be found.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Scouser3008
Posts: 4
Joined: Fri Mar 21, 2014 5:40 pm

Re: Having a Nightmare trying to setup Updates.

Sorry for the confusion but how do I do this? If input a invalid URL into the path fields, advanced installer won't let me leave the screen? I've checked the path by using a web browser to ensure I can DL the files from the server paths I pass to the package also. I've attached my .aip files incase there's something glaringly obvious, but the server location is on an internal network.

Thanks again :)
Attachments
Diary Updates.aip
(1.95 KiB) Downloaded 312 times
Oak Diary.aip
(30.01 KiB) Downloaded 312 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Having a Nightmare trying to setup Updates.

Hi,

It seems your problem is similar to the one described in the updater.exe always gives me 'software is up to date' thread. Can you try the solution suggested in that thread and see if the behavior persists?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Scouser3008
Posts: 4
Joined: Fri Mar 21, 2014 5:40 pm

Re: Having a Nightmare trying to setup Updates.

The solution in that thread (using file://\\ as the start of the path) worked perfectly for me. Thanks very much!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Having a Nightmare trying to setup Updates.

You're welcome. I'm glad you got this working.

Just let us know anytime you need help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”