Can I stop parameters passed to InstallUtil from showing up in the install log?
-
14-04-2021 - |
Pregunta
I have created a custom task that is used to create SQL compact databases as part of setup. When use InstallUtil to execute this task I use a parameter for the (environment specific) password to use when creating the local database. The problem is that the install log contains the unencryped password which is not good from a security standpoint.
Can I stop parameters passed to InstallUtil from showing up in the install log?
Solución
Use the Hidden attribute of a property:
<Property Id="PASSWORD" Hidden="yes" />
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow