[wix-users] Persisted hidden variables are written to log file

Roni Fuchs ronif at microsoft.com
Thu Feb 11 07:20:42 PST 2016


Hi everyone,

I'm passing hidden variables (password) from burn to the msi.
But they are still being written to the log file. How can I hide them completely?

Bundle code:
    <Variable
      Hidden="yes"
      Name="ManagementAccountPassword"
      Persisted="yes" />


      <MsiPackage

        Id="MsiPackage"

        SourceFile="$(var.Deployment.Package.TargetPath)">

        <MsiProperty

          Name="ManagementAccountPassword"

          Value="[ManagementAccountPassword]" />

      </MsiPackage>

Package code:


    <Property

      Hidden="yes"

      Id="ManagementAccountPassword" />


Log file hides it sometimes:
... ManagementAccountPassword=********** ...

But:
MSI (s) (64:80) [17:11:20:294]: PROPERTY CHANGE: Adding MANAGEMENTACCOUNTPASSWORD property. Its value is 'password'.
...
Property(S): MANAGEMENTACCOUNTPASSWORD = password



Thanks,

Roni (Aron) Fuchs



More information about the wix-users mailing list