Thank you, although this is proving difficult. In the Installation Program field, I'm specifying
powershell.exe -ExecutionPolicy Bypass -File "Install-SecureClient-PowerShell-Test.ps1"
I have the ps1 file and ServiceUI.exe as part of the content.
The ps1 file has this code:
# Quote the target application path
$serviceUIPath = Join-Path -Path $PSScriptRoot -ChildPath "ServiceUI.exe"
$targetApp = "C:\Program Files (x86)\Cisco\Cisco Secure Client\UI\csc_ui.exe"
$quotedAppPath = "`"$targetApp`""
Start-Process -FilePath $serviceUIPath -ArgumentList "/Process:explorer.exe", $quotedAppPath
I'm using Start-Transcript functionality to log all output. The script seems to run fine but the Cisco Secure Client never launches. I've tested this script by running locally in a powershell terminal run as System (using psexec -i -s powershell.exe)
Could you share the code you've used?