srrdev
Posts: 5
Joined: Thu May 27, 2010 5:19 pm

error 1723 when executing AI_DpiContentScale and AI_DETECT_MODERNWIN

Wed Jul 28, 2021 4:47 pm

I've got a customer running Windows 10 Home that gets an error code 1723 twice during an install. The application was successfully installed previously but was uninstalled and now can't be reinstalled.

I've seen the post where giving the user full control of the temp directory fixed the problem but I tested this on my computer by removing full control and I get a different error so I'm not sure this is the issue (but I'll check when I follow up with the customer)

Just looking for possible fixes I can try during the next support call with the customer.

As an added note... This install has been around for several years... I've installed it on everything from Windows 7 onward and this is the first time I've seen this issue.

I'm pasting the 2 errors from the log file here... but I've also attached the full log from the install.

Action 14:22:13: AI_DpiContentScale.
Action start 14:22:13: AI_DpiContentScale.
MSI (c) (D4:0C) [14:22:13:232]: Invoking remote custom action. DLL: C:\Users\MADISO~1\AppData\Local\Temp\MSI79F8.tmp, Entrypoint: DpiContentScale
MSI (c) (D4:A8) [14:22:13:275]: Cloaking enabled.
MSI (c) (D4:A8) [14:22:13:275]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (D4:A8) [14:22:13:276]: Connected to service for CA interface.
CustomAction AI_DpiContentScale returned actual error code 1157 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (c) (D4:4C) [14:22:13:558]: Note: 1: 1723 2: AI_DpiContentScale 3: DpiContentScale 4: C:\Users\MADISO~1\AppData\Local\Temp\MSI79F8.tmp
Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action AI_DpiContentScale, entry: DpiContentScale, library: C:\Users\MADISO~1\AppData\Local\Temp\MSI79F8.tmp
MSI (c) (D4:4C) [14:23:00:216]: Product: File Converter -- Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action AI_DpiContentScale, entry: DpiContentScale, library: C:\Users\MADISO~1\AppData\Local\Temp\MSI79F8.tmp

Action ended 14:23:00: AI_DpiContentScale. Return value 3.
MSI (c) (D4:4C) [14:23:00:223]: Doing action: PreparePrereqDlg

....


MSI (c) (D4:4C) [14:23:00:697]: Doing action: AI_DETECT_MODERNWIN
Action 14:23:00: AI_DETECT_MODERNWIN.
Action start 14:23:00: AI_DETECT_MODERNWIN.
MSI (c) (D4:54) [14:23:00:702]: Invoking remote custom action. DLL: C:\Users\MADISO~1\AppData\Local\Temp\MSI3375.tmp, Entrypoint: DetectModernWindows
CustomAction AI_DETECT_MODERNWIN returned actual error code 1157 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (c) (D4:4C) [14:23:00:922]: Note: 1: 1723 2: AI_DETECT_MODERNWIN 3: DetectModernWindows 4: C:\Users\MADISO~1\AppData\Local\Temp\MSI3375.tmp
Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action AI_DETECT_MODERNWIN, entry: DetectModernWindows, library: C:\Users\MADISO~1\AppData\Local\Temp\MSI3375.tmp
MSI (c) (D4:4C) [14:23:24:633]: Product: File Converter -- Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action AI_DETECT_MODERNWIN, entry: DetectModernWindows, library: C:\Users\MADISO~1\AppData\Local\Temp\MSI3375.tmp

Action ended 14:23:24: AI_DETECT_MODERNWIN. Return value 3.
MSI (c) (D4:4C) [14:23:24:639]: Doing action: FatalError
Attachments
Installer Log.txt
(33.58 KiB) Downloaded 143 times

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

Re: error 1723 when executing AI_DpiContentScale and AI_DETECT_MODERNWIN

Wed Jul 28, 2021 5:09 pm

Hello,
I've seen the post where giving the user full control of the temp directory fixed the problem but I tested this on my computer by removing full control and I get a different error so I'm not sure this is the issue (but I'll check when I follow up with the customer)
I do also believe this is a permission issue.

Please try, in the next session with your customer, to provide enough privileges on that folder for the user running the installation and let me know it helps.
Just looking for possible fixes I can try during the next support call with the customer.
Unfortunately, the returned error message really does not help as it is not specific at all. However, we can break it down into two possible scenarios:

1- the custom action itself fails for whatever reason

2- the setup can not run the custom action (basically a permission issue)

To be fully honest with you, I can not really say any other thing to look after here, as I do not recall any scenario of these two custom actions failing (as in something being wrong with it - above point no. 1).


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

srrdev
Posts: 5
Joined: Thu May 27, 2010 5:19 pm

Re: error 1723 when executing AI_DpiContentScale and AI_DETECT_MODERNWIN

Wed Aug 18, 2021 7:53 pm

I'm sorry, I forgot to post a followup...

This problem was resolved by increasing the user's permissions for the folder.

Thanks for the help.

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

Re: error 1723 when executing AI_DpiContentScale and AI_DETECT_MODERNWIN

Thu Aug 19, 2021 1:24 pm

Hello,

Thank you for your followup on this!

I am glad to hear everything works as expected now!

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

Return to “Common Problems”