tom5870
Posts: 19
Joined: Wed Jul 26, 2017 4:00 pm

Updater issues

1. If we use the updater it fails. It downloads the new setup EXE and runs it. From what I saw during the install most, if not all, of the files were put down. But, at the end it pops a message saying one or more components failed to install. According to Event viewer, the install goes fine without any errors.
2. If running the updater and there is the same build in the update location, it will always say there is an update.


One thing I did notice is that even though the install is "for all users", the Advanced Installer ID is written to Current User, not local machine.

Another note, the main project is 64-bit, but I noticed the updater.exe is only a 32-bit app. Not sure if this makes a difference or not.

I have attached the main project and the updater project.

Any suggestions?
Attachments
OMNIClientUpdates.aip
(746 Bytes) Downloaded 165 times
OMNIClientSetup.aip
(107.57 KiB) Downloaded 162 times
Catalin
Posts: 7492
Joined: Wed Jun 13, 2018 7:49 am

Re: Updater issues

Hello Tom,

This is quite the strange behavior, indeed.

After receiving that error, if you go to the installation folder, are the files updated there (e.g. the newer version of your EXE)?

Additionally, is the version changed in Control Panel?

Could you please forward me a screenshot of the error as well so I can have a better view on this?
One thing I did notice is that even though the install is "for all users", the Advanced Installer ID is written to Current User, not local machine.
Not quite sure what you mean by this. Are you saying that the installation is done in a per-user location despite the installation type being "per-machine only"?
Another note, the main project is 64-bit, but I noticed the updater.exe is only a 32-bit app. Not sure if this makes a difference or not.
This shouldn't make any difference.

Besides the main project and the updater project, could you please also forward me, by email at support at advancedinstaller dot com a download link for your setup so I can run some tests on my end as well (I would only need the v1 of your setup that I can then upgrade to v2 using the updater)?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tom5870
Posts: 19
Joined: Wed Jul 26, 2017 4:00 pm

Re: Updater issues

The update text file had an ID and I searched the registry for it and found it in the Current User subkey and was excpecting all users.

Do not have a screenshot readily available.

However, Setup program should be in an E-mail.
Catalin
Posts: 7492
Joined: Wed Jun 13, 2018 7:49 am

Re: Updater issues

Hello Tom,

Thank you for the provided files!

Let's continue this over the email for now so we can avoid duplicate threads.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”