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'}"