PowerShell Scripts

Common questions about using Actual Installer.
Post Reply
ggrewe
Posts: 25
Joined: Mon Nov 30, 2015 5:50 pm

PowerShell Scripts

Post by ggrewe »

Are we able to run PowerShell scripts during the installation? I have various configurations with no luck.

Code: Select all

File:     <SystemDir>\PowerShell.exe
Parameters:     -Command "& {(get-content '<InstallDir>\<AppName>.exe.config').replace('$CountyName$', '<CustomUserInfo>') | set-content '<InstallDir>\<AppName>.exe.config'}"


File:     <SystemDir>\cmd.exe
Parameters:    /C PowerShell.exe -Command "& {(get-content '<InstallDir>\<AppName>.exe.config').replace('$CountyName$', '<CustomUserInfo>') | set-content '<InstallDir>\<AppName>.exe.config'}"
Post Reply