Problems with Updater project - Advanced Installer Community

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!

phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Problems with Updater project

Hello,
I have a problem with Updater. I followed the instructions on tutorial (http://www.advancedinstaller.com/user-g ... dater.html) and added also 1 textfile. In my version 2.0 i replaced the text in the textfile completely. But it doesn't work. My files are allways up to date. I use the trial version of Advanced Installer
Attachments
Testupdater.zip
My projectfiles
(6.13 KiB) Downloaded 704 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Problems with Updater project

Hi,

Thank you for your interest in Advanced Installer.
My files are allways up to date.
This usually happens when the Installed Detection group is not set correctly. To make sure this works correctly you could try using registry entries instead of files, and use the version of the product in their name.
This way you can be sure that a certain registry cannot exist if that version of your application was not installed on the machine.

Please let me know if you other questions.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Problems with Updater project

Hi,
thanks for your post. But it doesn't work. I don't know. I tried it in many ways. Can you help me? Please
Attachments
Screenshot
Screenshot
Registry.png (16.64 KiB) Viewed 18882 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Problems with Updater project

Hi,

Can you please attach the new aip files? Also, are you sure the updater has access to the updates.txt file, to read it?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Problems with Updater project

Here are the files.
Attachments
Testupdater.zip
(6.03 KiB) Downloaded 711 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Problems with Updater project

Hi,

The updater does not detect the new version because you have not set the field "Expected Value" for the version, in your case "2.0.0".
This way the updater will look for a registry value with that name and with the corespondent value, if the value does not match or the registry is not found at all the user will be prompted with the new updates.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Problems with Updater project

My problem still appears. It don't works. My software is always up to date :twisted:

PLEASE HELP ME!!!
Attachments
Test.zip
My projects.
(7.14 KiB) Downloaded 597 times
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Problems with Updater project

Could this problem depend on my trial version?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Problems with Updater project

Hi,
Could this problem depend on my trial version?
No, this is not the problem. During the trial period you can use all the features from Advanced Installer, without any restrictions.

I have tested your project and the problem is with the paths used for the "Updates URL" and "Download URL" fields from the projects. You need to use a path like
"file://C:\Test\updates.txt" or "file://C:\Test\setup_02.msi".

Can you please try this?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Problems with Updater project

You are right, this works. But i need it unfortunately with a networkpath like

file://entwicklung50\c$\Projects\Test\Setup Files
file://<PCNAME>\<HARDDISK>$\<PATH_TO_FILE>

This is unfortunately not working.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Problems with Updater project

Hi,

Have you tried using directly the name of the computer, without the preceding "file://"? Or a FTP local server. I"m not sure if the first option will work
as the updater is mostly used for online deployment of updates, not just local. "File://" is used just for testing purposes usually.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Problems with Updater project

I tried it with URL="\\mypc\Test\Setup Files\updates.txt" and with URL=\\mypc\Test\Setup Files\updates.txt.
There is always the same error.
Attachments
UrlError
UrlError
UrlError.png (6.25 KiB) Viewed 18839 times
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Problems with Updater project

I made another test. I use IISExpress as a local webserver. With e.g. http://localhost:8080/updates.txt it works. With File://mypc\..... or \\mypc\..... it don't works.

Is this a bug?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Problems with Updater project

Hi,
file://entwicklung50\c$\Projects\Test\Setup Files
This path is correct, except the '$' character, which I suppose you are using to access a hidden directory from the machine. Can you please try this path "file://entwicklung50\c\Projects\Test\Setup Files"
and make sure the location "C:\Projects\Test\Setup Files" is shared so it can be accessed.

We have successfully tested this with your projects on our machines.
With e.g. http://localhost:8080/updates.txt it works. With File://mypc\..... or \\mypc\..... it don't works.
From what I know "http://localhost:8080/" is equivalent with "http://mypc\", not to "File://mypc\".

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Problems with Updater project

I'm so sorry. But it don't works.

I tried it with a new shared folder: \\entwicklung50\SetupFiles. But no success. I tried this on my local pc with this network share, also not successful.

It's very important for me to avoid an webserver.

I added my project files again. Could you please check them again. Thank you.
Attachments
Test.zip
Testproject
(7.2 KiB) Downloaded 633 times

Return to “Common Problems”