View Full Version : Is Powershell extremely limited within Installshield?

03-03-2016, 12:04 PM
With the new Powershell CA can we ONLY set/get-property with a typed value? Or can we use powershell to retrieve a value to set?
This works:
set-property -Name TESTVAL - value "test"
but this does not
$date = Get-Date
set-property - Name TESTVAL - value $date

I ultimately want to use:
$domain = (Get-WmiObject Win32_Process | ?{ $_.ProcessName -match "explorer" }).GetOwner().Domain
set-property - Name DOMAIN - value $domain