Huh? I can make an MSI with AdminStudio, it just sucks because it’s hard to repair the keys unless you do some terrible ActiveSetup modifications.
I managed to get the REG_BINARY thing working… turns out what it didn’t like was the -SID $UserProfile.SID bit, which is odd. Now the scriptblock is failing because it thinks I’m trying to declare “ContinueOnError” for one of the Set-RegistryKey commands. Very weird stuff here.
Okay, cool! One thing I’d suggest is that the action be written as:
Execute-MSI -Action Install -Path “$dirFiles\yourdirectory2\yourmsi2“ -Transform “$dirFiles\yourdirectory2\yourmst2“
(double quotes instead of single quotes as the single quotes will interpret the path as literal… I was reminded of this the hard way today)