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

Phill Hogland phill.hogland at rimage.com
Thu Feb 11 07:40:51 PST 2016


If this a typo?     MsiProperty/@Id="ManagementAccountPassword" /> 

I think it needs to be all uppercase to pass in as a MsiProperty public property, so I think your code should be:

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 " />


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Roni Fuchs
Sent: Thursday, February 11, 2016 9:21 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Persisted hidden variables are written to log file

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


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list