alco
Posts: 79
Joined: Thu Nov 18, 2010 5:02 pm

CustomAction AI_DETECT_MODERNWIN returned actual error code 1157

We have a customer who encountered "Error 1926. Failed to set file security for file 'C:\Users\xox52\AppData\Local\Temp\'. Error: 0"

Code: Select all

CreateFolders: 폴더: C:\Users\xox52\AppData\Local\Temp\
MSI (s) (90:C0) [13:15:19:163]: Transforming table Error.

오류 1926. 'C:\Users\xox52\AppData\Local\Temp\' 파일에 대한 파일 보안을 설정하지 못했습니다. 오류: 0. 이 파일에 대한 보안 권한을 수정할 권한이 있는지 확인하십시오.
MSI (s) (90:C0) [13:15:23:369]: Transforming table Error.

MSI (s) (90:C0) [13:15:23:369]: 제품: XSplit Broadcaster  오류 1926. 'C:\Users\xox52\AppData\Local\Temp\' 파일에 대한 파일 보안을 설정하지 못했습니다. 오류: 0. 이 파일에 대한 보안 권한을 수정할 권한이 있는지 확인하십시오.

작업 종료 13:15:23: InstallExecute. 반환 값 3.
User has write access to this folder, able to create files and subfolders, and the disk has more than enough free space (30GB).
It was found that Full control is enabled for SYSTEM but disabled for Everyone, so we asked to enable it for Everyone, too.

Afterward, user encountered this issue "CustomAction AI_DETECT_MODERNWIN returned actual error code 1157"
Next we asked user to also give user's own account Full control - this seemed to have worked in a similar post, but despite this the error persisted.

Code: Select all

MSI (c) (CC:DC) [20:35:07:310]: Doing action: AI_DETECT_MODERNWIN
작업 시간: AI_DETECT_MODERNWIN. 
작업 시작 20:35:07: AI_DETECT_MODERNWIN.
MSI (c) (CC:DC) [20:35:07:311]: Creating MSIHANDLE (1) of type 790542 for thread 14556
MSI (c) (CC:68) [20:35:07:312]: Invoking remote custom action. DLL: C:\Users\xox52\AppData\Local\Temp\MSI2DF5.tmp, Entrypoint: DetectModernWindows
MSI (c) (CC:E8) [20:35:07:312]: Cloaking enabled.
MSI (c) (CC:E8) [20:35:07:312]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (CC:E8) [20:35:07:312]: Connected to service for CA interface.
CustomAction AI_DETECT_MODERNWIN returned actual error code 1157 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (c) (CC:68) [20:35:07:345]: Closing MSIHANDLE (1) of type 790542 for thread 14556
MSI (c) (CC:DC) [20:35:07:345]: Note: 1: 1723 2: AI_DETECT_MODERNWIN 3: DetectModernWindows 4: C:\Users\xox52\AppData\Local\Temp\MSI2DF5.tmp 
MSI (c) (CC:DC) [20:35:07:345]: Transforming table Error.

MSI (c) (CC:E0) [20:35:07:348]: Transforming table Error.

정보 2898.For DlgFont8 textstyle, the system created a 'Tahoma' font, in 129 character set.
오류 1723. Windows Installer 패키지에 문제가 있습니다. 설치를 완료하는 데 필요한 DLL을 실행하지 못했습니다. 기술 지원 담당자나 패키지 공급업체에 문의하십시오. 작업: AI_DETECT_MODERNWIN, 항목: DetectModernWindows, 라이브러리: C:\Users\xox52\AppData\Local\Temp\MSI2DF5.tmp 
MSI (c) (CC:DC) [20:35:08:772]: Transforming table Error.

MSI (c) (CC:DC) [20:35:08:773]: 제품: XSplit Broadcaster  오류 1723. Windows Installer 패키지에 문제가 있습니다. 설치를 완료하는 데 필요한 DLL을 실행하지 못했습니다. 기술 지원 담당자나 패키지 공급업체에 문의하십시오. 작업: AI_DETECT_MODERNWIN, 항목: DetectModernWindows, 라이브러리: C:\Users\xox52\AppData\Local\Temp\MSI2DF5.tmp 

작업 종료 20:35:08: AI_DETECT_MODERNWIN. 반환 값 3.
MSI (c) (CC:DC) [20:35:08:774]: Doing action: FatalError
작업 시간: FatalError. 
작업 시작 20:35:08: FatalError.
MSI (c) (CC:E0) [20:35:08:778]: Transforming table Error.

정보 2898.For VerdanaBold13 textstyle, the system created a '굴림' font, in 129 character set.
MSI (c) (CC:E0) [20:35:08:779]: Transforming table Error.

정보 2826.Control BottomLine on dialog FatalError extends beyond the boundaries of the dialog to the right by 3 pixels.
작업 시간: FatalError. Dialog created
What could be still causing this and how to resolve.
Liviu
Posts: 1042
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: CustomAction AI_DETECT_MODERNWIN returned actual error code 1157

Hi,

I'm not sure why this happens.

Can you please send us the .AIP (setup project) file and an installation log by email to support at advancedinstaller dot com so we can further test and investigate this?

Could you please run your installation setup using a command line like this:

Code: Select all

setup.exe AI_DEBUGLOG=1 /L*V debugLog.txt
when using an EXE package type, or a command like this

Code: Select all

msiexec /i setup.msi AI_DEBUGLOG=1 /L*V debugLog.txt
when using an MSI package type,
and send us the created debug log file so we can investigate it.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”