[wix-users] Hide values of some parameters in the wix log

Aleksey Kondratov alex.kondratov at hotmail.com
Thu Jan 26 04:50:56 PST 2017


Hello  guys,


I have a bundle wix project. I'm running it in command line in silent mode - e.g.


project.exe User={user} UserPassword={userPassword} -s -l output.log


The value {userPassword} is hidden in the project:


 <Variable Name="userPassword" Type="string" Value="" bal:Overridable="yes" Hidden="yes" Persisted="yes"/>


but the first line in the log output.log contains all variables in plain text:


Burn v3.9.1208.0, Windows v6.1 (Build 7601: Service Pack 1), path: Project.exe, cmdline: 'ServiceUser=user UserPassword=password -s -l prizm-output.log' Initializing string variable 'InstallFolder' to value 'C:\Prizm'
Initializing string variable 'ServiceUser' to value ''
Initializing hidden variable 'UserPassword'
...


Further hiding of the variable works well, the issue is just in the first line in log


So the question is - does it exist a way to remove the first line from the log or hide the value of the UserPassword variable there?


Thanks...

--
Alex


More information about the wix-users mailing list