IdanSup
Posts: 1
Joined: Mon Aug 21, 2023 4:03 pm

Preventing Advanced Installer from Waiting on a Long-Running PowerShell Script

I'm currently working with a PowerShell script that tends to take a significant amount of time to execute.

When integrating this script with Advanced Installer, I noticed that the application waits for the script to complete its execution. I would like Advanced Installer to proceed without waiting for the script to finish. However, I've found that the relevant option in Advanced Installer to enable this behavior is greyed out.

Does anyone have any suggestions or workarounds to achieve this? Any help or insights on this would be greatly appreciated!

Thanks in advance!
Catalin
Posts: 7269
Joined: Wed Jun 13, 2018 7:49 am

Re: Preventing Advanced Installer from Waiting on a Long-Running PowerShell Script

Hello and welcome to our forums,

I'm afraid that option is not available for script type custom actions.

This is a limitation from Microsoft, unfortunately.

If you have any other questions, please let me know and I will gladly assist.

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

Return to “Common Problems”