[wix-users] Persisted hidden variables are written to log file
Roni Fuchs
ronif at microsoft.com
Thu Feb 11 08:00:03 PST 2016
Hi,
No it's not a typo, it works like this as well, inside the custom actions I check it as uppercase.
per
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Phill Hogland
Sent: Thursday, February 11, 2016 17:41
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Persisted hidden variables are written to log file
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 https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cronif%40064d.mgd.microsoft.com%7c521bbb76e7644ec680ae08d332f9bd5f%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=hVzmts19HnxOHmmnrLc2Qt8lGx8cmd6Jee0akhs6FOw%3d
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cronif%40064d.mgd.microsoft.com%7c521bbb76e7644ec680ae08d332f9bd5f%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=hVzmts19HnxOHmmnrLc2Qt8lGx8cmd6Jee0akhs6FOw%3d
More information about the wix-users
mailing list