iSlide
Posts: 3
Joined: Fri Jun 22, 2018 3:42 am

Cannot Call Function From Attached Native Dll

Per-User installation, when call function in dll, it returns error.
Snipaste_2024-04-09_18-28-50.png
Snipaste_2024-04-09_18-28-50.png (35.29 KiB) Viewed 1690 times

Code: Select all

操作开始 17:05:44: TerminateSystemProcesses。
MSI (s) (70:50) [17:05:44:550]: Invoking remote custom action. DLL: C:\windows\Installer\MSID59F.tmp, Entrypoint: DetectAndTerminateProcesses
SFXCA: Failed to create temp directory. Error code 5
CustomAction TerminateSystemProcesses returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
操作结束 17:05:44: TerminateSystemProcesses。返回值 3。
Catalin
Posts: 6611
Joined: Wed Jun 13, 2018 7:49 am

Re: Cannot Call Function From Attached Native Dll

Hello,

Depending on the process you are trying to terminate, this might be normal as the custom action does not have enough privileges in order to terminate the process.

If the custom works well when launched from an administrative command prompt, then most likely this is the issue.

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

Return to “Common Problems”