Search found 2 matches

by leeboozer
Wed Mar 29, 2023 1:43 pm
Forum: General Discussions
Topic: Run simple powershell script
Replies: 3
Views: 12206

Re: Run simple powershell script

Thanks Leo. That almost worked. Windows had a fuss about the (x86) in the path.

It worked once I added apostrophes just inside the quotation marks:

Parameters: /C powershell.exe "'<InstallDir>\PostInstall.ps1'"
by leeboozer
Tue Mar 28, 2023 12:28 pm
Forum: General Discussions
Topic: Run simple powershell script
Replies: 3
Views: 12206

Run simple powershell script

Can someone provide an example of running a simple powershell script from the app installation folder?

I can add the script to the installer, and the script gets installed fine.
But what to put in System --> Commands to execute the script from the app installation folder so far eludes me.