calling powershell script as pre-req - Advanced Installer Community
donal1981
Posts: 2
Joined: Thu Jul 14, 2016 1:57 pm

calling powershell script as pre-req

Hi
I want to call a powershell script as a pre-install pre-req.
I using version 10.7.1.
AI requires me to point ( and include the poweshell exe first). This works fine.
But when i use the "add files" (from the "Setup Files" tab of the pre-install additional packages page) it is not able to include the powershell script ( the .ps1 file )
Is there a method to get this working?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: calling powershell script as pre-req

Hello and welcome to our forums,

I'm not sure why this happens. Can you please make sure the .ps1 file is residing on disk in the same folder as the poweshell exe or in one of its subfolders?

Do you get any explicit error messages when trying to add the .ps1 file as additional file?

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

Return to “Building Installers”