UAC LUA Problems while patching - Advanced Installer Community
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

UAC LUA Problems while patching

Hi Advanced Installer Support,

Sorry to warm up this again, but I have some trouble to get patching of the current version working without UAC dialog.

The situation is the following:

a) We published version 11.0.0, followed by some patches (11.0.1 ... 11.0.5), all created with AI 9.9. Patching works fine without UAC prompt as expected.
b) We published version 11.1.0 (we called it Service Pack 1). This setup was created with AI 10.5.2 and is a major update (new product code compared to 11.0.x). The setup project is based on the 11.0.x versions and just updated to AI 10.5.2.
c) We published the first patch (11.1.1), UAC-free installation is broken (verified and tested several times on different platforms).

I was wondering, why this could be the case and did some investigations on the final msi packages. It seems, that the table MsiPatchCertificate is missing, compared to the 11.0.x versions of the packages:
MSI Diff 11.0.2 <> 11.1.1 (red means content has been deleted)
MSI Diff 11.0.2 <> 11.1.1 (red means content has been deleted)
2014-01-08 11_34_25__MSI Diff_Client.x64.msi_ 11.0.2_11.1.1_Client.png (33.49 KiB) Viewed 4338 times
I am quite sure, that I did not touch any of those parameters on the projects, which might effect UAC LUA patching (but for sure, this could have happened by mistake). But in general it sounds a little bit like this issue: http://www.advancedinstaller.com/forums ... =2&t=26207. I have also checked the links mentioned in this forum post.

I created two test and a patch project to get the installation running without UAC dialog, but in spite of all HowTos and manuals, I have not been successful. Hence I have added those projects showing exactly the same behavior. I can also provide our real setup projects for further review, if required.

Can you give me some hints, what is wrong here? Why is the MsiPatchCertificate table gone? Is this related to the AI version I used?

I am glad for any tips, especially how I have to fix it with a further patch (if possible)... :D

Regards,

Roland
Attachments
case 8 - Update without UAC prompt.zip
(9.33 KiB) Downloaded 332 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: UAC LUA Problems while patching

Hello Roland,

First of all I apologize for my delayed reply, we are quite busy at the moment.

I'm not sure why this happens. Can you please send us the .AIPs (project files) of your target, upgraded and patch projects and a download link for your target, upgraded and patch setup (built with the above .AIPs) to support at advancedinstaller dot com so we can analyze them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: UAC LUA Problems while patching

Hi Daniel,

sure, no Problem. You will get the email soon.

Regards,

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

Re: UAC LUA Problems while patching

Hello Roland,

Indeed, as you discovered, this seems to be an Advanced Installer issue when building a mixed package type. In this case it seems the "MsiPatchCertificate " table is not included in the built MSIs. A fix for this issue will be available in a future version of Advanced Installer, thank you for bringing this to our attention. We'll notify you when a fix will be available.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: UAC LUA Problems while patching

Hello Roland,

This was fixed in version 10.9 of Advanced Installer released on January 23, 2014.

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

Return to “Common Problems”