PedroNL
Posts: 9
Joined: Mon Oct 10, 2016 5:57 pm

How can you download a powershell

Dear All,

How would you suggest that we download a ps1 file and then run it after it has been downloaded?
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How can you download a powershell

Hello,

To achieve this you can add a "File Download Operation" in our "Files and Folders" page. Then, you can go in "Custom Actions" page and add a "Run Windows PowerShell Script From File" custom action type, scheduled as deferred after "Install Execution Stage -> Add Resources" action group, which will launch the downloaded PS1 script.

If you have any questions or doubts just let us know.

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

Return to “Building Installers”