MSI Patching without UAC works only sometimes??? - Advanced Installer Community
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

MSI Patching without UAC works only sometimes???

Hi Advanced Installer Team,

we have currently a very severe and strange problem. We needed to release a hotfix for our product, because the current client version could cause a data loss situation. I have created a patch, which is contains the files to fix the current version of our product. We would like to force the installation of the hotfix, to avoid further data loss (of course :D ).

I have now the following situation:

Computer A):
  • Windows 8
  • normal user account (non admin)
  • 64-Bit
  • Freshly installed product version 12
Computer B):
  • Windows 8
  • normal user account (non admin)
  • 64-Bit
  • Product version 12 installed, but upgraded from version 11
For computer A) and B) was the same setup of version 12 was used for installing and the same patch (containing the hotfix) is being applied on both systems. The patch (and the underlying main product) is set up to be LUA aware.

BUT: Computer A) is installing the hotfix without UAC dialog, Computer B) doesn't.

I have attached both MSI verbose log files to this post, but I could not find a reason for this behaviour. Hence the installation works on computer A) without issues, I assume the patch is configured correctly to support MSI LUA patching. And while it is not working on Computer B) I assume, that it must be in relation to the history of installed products before. All setups for major versions (10, 11, 12) of our product are getting a new product code, to be installed as an major update.

The only difference I can see in the installation log, is the following:
2014-06-16 12_44_08-Code Compare - W8_NoUAC_logfile.log _-_ W8_UAC_installlog_patch.txt_.png
2014-06-16 12_44_08-Code Compare - W8_NoUAC_logfile.log _-_ W8_UAC_installlog_patch.txt_.png (38.87 KiB) Viewed 3709 times
I attached both log files to this post.

Do you have an idea, why the history of former updates makes a difference in installing the patch?

Regards,

Roland
Attachments
Install LogFiles.zip
(300.94 KiB) Downloaded 355 times
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: MSI Patching without UAC works only sometimes???

Ah, another fact:

The previous versions have been made with AI 9.9 (v10) and 10.5.2 (v11), the current setup and patch is created with an 11.1 Advanced Installer version (v12).

Regards,

Roland
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: MSI Patching without UAC works only sometimes???

Hello Roland,

I'm not sure why this happens. From what I see in your log file the "DisableLUAPatching" patching policy is set to 0 and the "MSIDISABLELUAPATCHING" property is not set. Therefore the patch should be installed with no elevation on the problematic machine. Can you take a look on the "UAC Patching" article and make sure all the conditions are fulfilled?

Also, can you please try the following test case on your computer B:
- uninstall version 12.0 of your product
- install again version 12.0 of your product
- try to apply again the patch using a standard user account

and see if the behavior still persist?

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

Return to “Common Problems”