Re: [WiX-users] Question about logging from a WIX install
That actually does help, and what I have learned is that case sensitivity is the issue here. If, on my install, I have mydomainname=domain\account (and provided I make the change that Rob suggested below), I will see the command line. But if I have it MYDOMAINNAME=domain\account, the value will be appropriately hidden. Why is WIX so inconsistent about case sensitivity? In my example above, the wrong case screws up whether or not MYDOMAINNAME is hidden or not. But passing in lowercase certainly does work internally (the value for the variable is set properly). That seems wrong. Andy From: Rob Mensching Sent: Monday, February 12, 2007 3:06 PM To: Andy Ness; wix-users@lists.sourceforge.net Subject: RE: Question about logging from a WIX install My only guess would be to do something like: Property Id=MYDOMAINPASSWORD Hidden=yes / That may or may not work for command-line properties. From: Andy Ness Sent: Monday, February 12, 2007 10:25 AM To: wix-users@lists.sourceforge.net; Rob Mensching; Justin Rockwood Subject: Question about logging from a WIX install I have an MSI file created via WIX. In there, I install some services. For these services, I need a domain account name and password. This information is passed in to my MSI via the command line of MSIEXEC (egg. msiexec /qn /I MyInstall.msi /L*vx c:\install.log MYDOMAINNAME=domain\account MYDOMAINPASSWORD=MyPassword). In the log file, I want to hide instances of the password. I have found I can do that by making sure the property is hidden, and by using the HideTarget='Yes' tag on my CustomAction (when I look in the install.log file at the point where the custom action is being run, the password is correctly hidden). The problem is, very much near the top of my install.log file is the full command line. It says Command Line: MYDOMAINNAME=domain\account MYDOMAINPASSWORD=MyPassword. Well, this somewhat defeats the purpose of trying to hide this information. Does anyone have any suggestions on how the command line can be truly hidden in the log files? Thanks, Andy - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Question about logging from a WIX install
It's not Wix as much as it is that Windows Installer property names are case-sensitive (one of the reasons being that all uppercase means that it's a public property). Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Ness Sent: Tuesday, February 13, 2007 11:04 AM To: Rob Mensching; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Question about logging from a WIX install That actually does help, and what I have learned is that case sensitivity is the issue here. If, on my install, I have mydomainname=domain\account (and provided I make the change that Rob suggested below), I will see the command line. But if I have it MYDOMAINNAME=domain\account, the value will be appropriately hidden. Why is WIX so inconsistent about case sensitivity? In my example above, the wrong case screws up whether or not MYDOMAINNAME is hidden or not. But passing in lowercase certainly does work internally (the value for the variable is set properly). That seems wrong. Andy From: Rob Mensching Sent: Monday, February 12, 2007 3:06 PM To: Andy Ness; wix-users@lists.sourceforge.net Subject: RE: Question about logging from a WIX install My only guess would be to do something like: Property Id=MYDOMAINPASSWORD Hidden=yes / That may or may not work for command-line properties. From: Andy Ness Sent: Monday, February 12, 2007 10:25 AM To: wix-users@lists.sourceforge.net; Rob Mensching; Justin Rockwood Subject: Question about logging from a WIX install I have an MSI file created via WIX. In there, I install some services. For these services, I need a domain account name and password. This information is passed in to my MSI via the command line of MSIEXEC (egg. msiexec /qn /I MyInstall.msi /L*vx c:\install.log MYDOMAINNAME=domain\account MYDOMAINPASSWORD=MyPassword). In the log file, I want to hide instances of the password. I have found I can do that by making sure the property is hidden, and by using the HideTarget='Yes' tag on my CustomAction (when I look in the install.log file at the point where the custom action is being run, the password is correctly hidden). The problem is, very much near the top of my install.log file is the full command line. It says Command Line: MYDOMAINNAME=domain\account MYDOMAINPASSWORD=MyPassword. Well, this somewhat defeats the purpose of trying to hide this information. Does anyone have any suggestions on how the command line can be truly hidden in the log files? Thanks, Andy - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Question about logging from a WIX install
My only guess would be to do something like: Property Id=MYDOMAINPASSWORD Hidden=yes / That may or may not work for command-line properties. From: Andy Ness Sent: Monday, February 12, 2007 10:25 AM To: wix-users@lists.sourceforge.net; Rob Mensching; Justin Rockwood Subject: Question about logging from a WIX install I have an MSI file created via WIX. In there, I install some services. For these services, I need a domain account name and password. This information is passed in to my MSI via the command line of MSIEXEC (egg. msiexec /qn /I MyInstall.msi /L*vx c:\install.log MYDOMAINNAME=domain\account MYDOMAINPASSWORD=MyPassword). In the log file, I want to hide instances of the password. I have found I can do that by making sure the property is hidden, and by using the HideTarget='Yes' tag on my CustomAction (when I look in the install.log file at the point where the custom action is being run, the password is correctly hidden). The problem is, very much near the top of my install.log file is the full command line. It says Command Line: MYDOMAINNAME=domain\account MYDOMAINPASSWORD=MyPassword. Well, this somewhat defeats the purpose of trying to hide this information. Does anyone have any suggestions on how the command line can be truly hidden in the log files? Thanks, Andy - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users