Patching does not update Updater.exe version - Advanced Installer Community
netrustPS
Posts: 40
Joined: Tue Dec 20, 2016 4:40 am

Patching does not update Updater.exe version

When a patch is installed via the updater, noticed that only the actual EXE version was updated. The updater EXE's version remains the same.

E.g.
Before Update App.exe = v1 and Updater.exe = v1.
After Update App.exe = v2 and Update.exe = v1.

Will this be an issue? We have not rolled out to prod yet so we have not experienced the impact, if any.
netrustPS
Posts: 40
Joined: Tue Dec 20, 2016 4:40 am

Re: Patching does not update Updater.exe version

Scratch this question, found out the reason why.

This was happening is because I had left the Product Version in the Update Installer field of the patch blank. Once that has been updated to the same version number as the update itself the updater version will get updated with the patch.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Patching does not update Updater.exe version

Hello,

Thank you for your follow up. I'm glad you got this working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
netrustPS
Posts: 40
Joined: Tue Dec 20, 2016 4:40 am

Re: Patching does not update Updater.exe version

I'm afraid I need to swallow my last post and reopen this thread. I am still experiencing this issue, previously I did something that solved the issue and I have not been able to reproduce that something since.

I have retried and confirmed that the Product Version field in my config updates has the correct version number but the updater version number remains unchanged. Confirmed this by installing a full package of v1 and then running the patch for v2 manually. By right the updater version should be updated to v2 as well, which it didnt. I get the same result if I run it through the updater.

The impact for me is that once patches are applied the uninstallation & reinstallation process will not remove the updater, resulting in my installer showing that the update failed as it will check for the updater file version to confirm that it has been installed. I can work around this issue by making the update not check whether it has been installed but the fact remains that any uninstallation after the application has been patched will leave the updater file befind.

Project resources will be sent via email. Presently using Version 13.5 build 74683.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Patching does not update Updater.exe version

Hello Yong,

Please allow me some time to further investigate your installation scenario and I'll get back to you as soon as I have a conclusion.

Thank you for your patience and understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
netrustPS
Posts: 40
Joined: Tue Dec 20, 2016 4:40 am

Re: Patching does not update Updater.exe version

I have resolved this with Daniel over email, and here is the issue and solution.

The issue is caused by my main APPDIR folder having a different GUID between the two versions. To see this, open both versions go to "Organization" and compare the GUID for the same folder in both versions. In my case it was different therefore causing my patches to violate the patch rules. This is visible when the patches are being built. To solve this issue, change the GUID of both folders to be the same. If you have faced the same issue and you are able to replicate the issue please do let the AI team know so that something can be done. :lol:

Another thing that is needed is the "Include whole files" option should be checked on the patch project. Do note the resulting patch would be bigger.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Patching does not update Updater.exe version

Thank you for sharing the solution with other users too.

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

Return to “Common Problems”