evelynwang
Posts: 1
Joined: Wed Feb 12, 2025 3:07 am

Issue with Custom Actions Not Running During Silent Installation

Hi everyone,

I'm having trouble with a custom action not executing when running a silent installation using Advanced Installer. The custom action is set to run under "Deferred with no impersonation" and works fine in an interactive installation. However, when I install the MSI using the /qn flag, the action doesn't seem to trigger.

I've checked the logs, and it appears the action is being scheduled but never executed. The action is a simple PowerShell script that writes to a log file. I’ve also tried setting the execution condition to "Always Execute" but still no luck.
where am i
Has anyone encountered this issue before? Any suggestions on what might be causing this or how to debug it further?

Thanks in advance!
Liviu
Posts: 1325
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Issue with Custom Actions Not Running During Silent Installation

Hello and welcome to our forums,

Can you please send us the .AIP (setup project) file and a download link for your setup package by email to support at advancedinstaller dot com so we can further test and investigate this?

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

Return to “Common Problems”