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?

有帮助吗?

解决方案

Use the Hidden attribute of a property:

<Property Id="PASSWORD" Hidden="yes" />
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top