문제

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