简体   繁体   中英

Hide password from Msi log file

I am stuck in a situation. When installer for one of our msi is executed from command line using msiexec command, the password gets displayed in log file.

I want to know if there is any solution to be used with windows command line to hide password. The command we are executing for msi debug is as follows:

msiexec /qn /L*v "AgentInst.log" /i "Agent.msi" SERVER_HOSTNAME={IP for server} SERVER_PORT=9898 SERVICES_PASSWORD="{Password for services}" START_AGENT=false ACCEPT_EULA=true

One solution is MsiHiddenProperties, but I don't know how to use that with windows command line.

Any help would be appreciated

You can edit msi using Orca or modify installer project and append SERVICES_PASSWORD property name to MsiHiddenProperties property in Property table.

MsiHiddenProperties   SERVICES_PASSWORD

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM