themuffinman
Posts: 7
Joined: Mon Feb 03, 2020 2:48 am

Installer unexpectedly requires Admin

Mon Jan 10, 2022 4:15 am

I've tested my installer on a user account that is NOT an admin, however, when I launch the installer after choosing "for this user only" I still get an admin credential dialog. I can't figure out what configuration is triggering this.

I have the enterprise license and followed this guide. viewtopic.php?f=7&t=38838

https://www.amazon.com/photos/shared/M5 ... JET-430_VG

https://www.amazon.com/photos/shared/T9 ... xGS8NVTumo

themuffinman
Posts: 7
Joined: Mon Feb 03, 2020 2:48 am

Re: Installer unexpectedly requires Admin

Mon Jan 10, 2022 4:06 pm

Here's part of the log where it fails

Action 10:57:12: PublishComponents. Publishing Qualified Components
Action start 10:57:12: PublishComponents.
MSI (s) (88:54) [10:57:12:482]: Note: 1: 2205 2: 3: PublishComponent
MSI (s) (88:54) [10:57:12:482]: Note: 1: 2228 2: 3: PublishComponent 4: SELECT `PublishComponent`.`ComponentId`, `PublishComponent`.`Qualifier`, `PublishComponent`.`AppData`, `Feature`, `Component`.`ComponentId`, `Component`.`RuntimeFlags` FROM `PublishComponent`, `Component`, `Feature` WHERE `PublishComponent`.`Component_` = `Component`.`Component` AND `PublishComponent`.`Feature_` = `Feature`.`Feature` AND ((`Feature`.`Action` = 1 OR `Feature`.`Action` = 2) OR (`Feature`.`Action` = 4 AND `Feature`.`Installed` = 0) OR (`Feature`.`Action` = 3 AND (`Feature`.`Installed` = 1 OR `Feature`.`Installed` = 2 OR `Feature`.`Installed` = 4)))
Action ended 10:57:12: PublishComponents. Return value 0.
MSI (s) (88:54) [10:57:12:483]: Doing action: MsiPublishAssemblies
Action 10:57:12: MsiPublishAssemblies. Publishing assembly information
Action start 10:57:12: MsiPublishAssemblies.
MSI (s) (88:54) [10:57:12:484]: Note: 1: 2205 2: 3: MsiAssembly
MSI (s) (88:54) [10:57:12:484]: Note: 1: 2228 2: 3: MsiAssembly 4: SELECT null, null, `Component`.`Component`, `Feature`, `Component`.`ComponentId`, `Component`.`RuntimeFlags` FROM `MsiAssembly`, `Component`, `Feature` WHERE `MsiAssembly`.`Component_` = `Component`.`Component` AND `MsiAssembly`.`Feature_` = `Feature`.`Feature` AND `MsiAssembly`.`File_Application` = null AND ((`Feature`.`Action` = 1 OR `Feature`.`Action` = 2) OR (`Feature`.`Action` = 4 AND `Feature`.`Installed` = 0) OR (`Feature`.`Action` = 3 AND (`Feature`.`Installed` = 1 OR `Feature`.`Installed` = 2 OR `Feature`.`Installed` = 4)))
Action ended 10:57:12: MsiPublishAssemblies. Return value 0.
MSI (s) (88:54) [10:57:12:484]: Doing action: PublishFeatures
Action 10:57:12: PublishFeatures. Publishing Product Features
Action start 10:57:12: PublishFeatures.
PublishFeatures: Feature: Publishing Product Features
Action ended 10:57:12: PublishFeatures. Return value 1.
MSI (s) (88:54) [10:57:12:487]: Doing action: PublishProduct
Action 10:57:12: PublishProduct. Publishing product information
Action start 10:57:12: PublishProduct.
1: Publishing product information
Action ended 10:57:12: PublishProduct. Return value 1.
MSI (s) (88:54) [10:57:12:490]: Doing action: InstallExecute
Action 10:57:12: InstallExecute.
Action start 10:57:12: InstallExecute.
MSI (s) (88:54) [10:57:12:492]: Running Script: C:\WINDOWS\Installer\MSICB57.tmp
MSI (s) (88:54) [10:57:12:492]: PROPERTY CHANGE: Adding UpdateStarted property. Its value is '1'.
MSI (s) (88:54) [10:57:12:493]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (88:54) [10:57:12:494]: Machine policy value 'DisableRollback' is 0
MSI (s) (88:54) [10:57:12:494]: Backup folder is created by user
MSI (s) (88:54) [10:57:12:494]: Note: 1: 2318 2:
MSI (s) (88:54) [10:57:12:495]: Backup folder is in cache folder
MSI (s) (88:54) [10:57:12:495]: Note: 1: 2318 2:
MSI (s) (88:54) [10:57:12:495]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (88:54) [10:57:12:496]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1412060967,LangId=1033,Platform=0,ScriptType=1,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=0)
MSI (s) (88:54) [10:57:12:498]: Executing op: ProductInfo(ProductKey={2B56E13A-541E-49D8-8FF7-CF483DEA34DF},ProductName=Delivery Trust Outlook Add-in,PackageName=Delivery Trust v3.6.9.0.msi,Language=1033,Version=50724873,Assignment=1,ObsoleteArg=0,ProductIcon=ID_1.exe,,PackageCode={4D7D9C2E-F57F-4061-8724-3E6E2BC97720},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=2)
Error 1925. You do not have sufficient privileges to complete this installation for all users of the machine. Log on as administrator and then retry this installation.
MSI (s) (88:54) [10:57:13:985]: Product: Delivery Trust Outlook Add-in -- Error 1925. You do not have sufficient privileges to complete this installation for all users of the machine. Log on as administrator and then retry this installation.

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Installer unexpectedly requires Admin

Mon Jan 10, 2022 5:05 pm

Hello,

Thank you for your followup on this.

I have tested this and I was indeed able to replicate the behavior.

Most likely, this is an issue regarding Advanced Installer. I have created a ticket for the dev team to further investigate this.

I will update this thread as soon as I will have more information on this / the issue will be fixed.

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

Return to “Common Problems”