Nothing but problems - Advanced Installer Community
indigo79
Posts: 2
Joined: Wed Feb 05, 2014 8:10 pm

Nothing but problems

Since we were planning to use VS2012 to upgrade our app to net 4.5 we had to stop using VS installer project. We never had issues with it, but had to upgrade. Since using Advanced Installer, there has been nothing but problems.

If it's not some sort of permissions issue, its some folks not getting updates, while other customer are. We hammered out the permissions issues finally,
but we still see customers using older versions of our app that should have got the auto update notification. When we used are old installer project
are system would force updates regardless of location/drive it was installed. With advanced installer, we went with registry values and this seems to have been
a big fail. Some customers get updates, others do not. Very annoying.

What do we need to do to force app to update using file version check regardless if they choose to install on c or d drive. We seen update detection
and that says to use the path of file of version to be checked. This can't be correct, would this mean if a customer chose to install it on D drive
while we chose the path of C they do not get the update? Please tell me I'm wrong.

Overall goal - app will always update for every customer regardless of where they install it on their computer. As well, it should always update for them
regardless of what old version they are using. Any help?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Nothing but problems

Hello and welcome to Advanced Installer forums,
What do we need to do to force app to update using file version check regardless if they choose to install on c or d drive. We seen update detection
and that says to use the path of file of version to be checked. This can't be correct, would this mean if a customer chose to install it on D drive
while we chose the path of C they do not get the update? Please tell me I'm wrong.
In order to achieve this you can use the [APPDIR] property in the "File Path" field from your updates configuration project -> Update page -> Properties tab. For example, you can set the File Path" field like this:

Code: Select all

[APPDIR]YourApplication.exe
However, using this approach the installed updater tool will search your file (e.g. YourApplication.exe) into the installation folder of the current installed product version. Then, after the updates are installed the updater will search again into the same installation folder to check if the updated version of your "YourApplication.exe" was successfully installed, but if the updates package is installed in another install location than its target version, in this case the second check performed by the updater will fail and the user will will get an updates failure installation message, even the updates will be successfully installed. This is why we usually recommend to use a registry value search as a detection criteria for your updates.

Let us know if this helped, otherwise please give us more details (maybe exemplify) about your scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
indigo79
Posts: 2
Joined: Wed Feb 05, 2014 8:10 pm

Re: Nothing but problems

Yes, we use the registry way now, but the problem is, I see customers (a few not all) not getting the updates. So obviously we did this correctly otherwise no customers would get updates, but there is some issue using the registry method.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Nothing but problems

Hello,

Can you please tell us what do you mean by customers not getting the updates? Do you mean that the updater doesn't detect the updates or that the updates installation failed? If the updater doesn't detect the updates can you please manually check the updates detection criteria on problematic machine?

Also, it would be useful for us if you are able to isolate the behavior in a buildable sample and send it us so we can investigate.

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

Return to “Common Problems”