MSI Logging Password

I must execute a msi installation and pass a msi property that containing password / key like

Execute-MSI -Action Install -Path "setup.msi" -Transform "setup.mst" -AddParameters "ARPSYSTEMCOMPONENT=1 LICENSEKEY=**`"$Lic`""**

$Lic is containing the Serial and should be not shown in the log. How i can prevent the logging here?

Transform is not possible because i read the Key from external data while Installation.

add -SecureParameters to the line:

Execute-MSI -Action Install -Path "setup.msi" -Transform "setup.mst" -AddParameters "ARPSYSTEMCOMPONENT=1 LICENSEKEY=`"$Lic`"" -SecureParameters 
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.