MichaelD
Posts: 43
Joined: Tue Jan 12, 2016 10:32 am

Calling custom action from Powershell

Hi

Is there any buildin function like AI_SetMsiProperty to call a custom action inside a powershell script?
Useful for UpdateMsiEditControls custom action.

Kind regards,
Michael
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Calling custom action from Powershell

Hello Michael,

I'm afraid we don't have support for this. As a workaround you can try to call the "UpdateMsiEditControls" custom action from a DLL or VBS and, then call the above DLL or VBS from your PowerShell script.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”