Hmm... I commented out my custom action that sets the property:
<!--<CustomAction Id="CA_WebAppPoolPassword.SetProperty" HideTarget="yes" 
Property="CA_WebAppPoolPassword." 
Value="WEBAPPPOOL_PASSWORD=[WEBAPPPOOL_PASSWORD]"/>-->

And ran the install, everything worked and my Web App Pool + Web site launched 
without errors (would have failed if I didn't have a password for the Web App 
Pool)

However I do publish the property during the UI:
<Publish Property="WEBAPPPOOL_PASSWORD" Value="[WEBAPPPOOL_PASSWORD]" 
Order="9">1</Publish> (my web site info dialog page during install)

I checked my MSI log file and there wasn't any viewable strings for the 
WebAppPool_Password it was all: WEBAPPPOOL_PASSWORD property. Its value is 
'**********'

Publish your password within the UI area and see if that works... (also 
commenting out your custom action to set the property

Steve

-----Original Message-----
From: Jeremiahf [mailto:jeremi...@gmail.com] 
Sent: May-02-13 6:29 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Hide/blank out Passwords in MSI log file

Sure thing...

Action start 17:26:56: CA_DBAction.
Action ended 17:26:56: CA_DBAction. Return value 1.
Action start 17:26:56: InstallFinalize.
SFXCA: Extracting custom action to temporary directory:
C:\WINDOWS\Installer\MSI1045.tmp-\
SFXCA: Binding to CLR version v2.0.50727 Calling custom action 
DatabaseCA!DatabaseCA.CustomActions.DatabaseCA
Begin DatabaseCA
Connecton String: Data Source=source;Packet Size=4096;Uid=sqluser;Pwd=mypassword

I as well have a custom action and HideTarget does nothing.


On Thu, May 2, 2013 at 4:53 PM, Chad Petersen
<chad.peter...@harlandfs.com>wrote:

> If possible paste in a snippet of your log file around where the 
> password is seen. I tried for a long time to hide passwords using the same 
> method.
> But it was some built-in custom actions that were logging my passwords 
> rather than code I'd written myself.
>
> <Property Id="ConfigureIIsExec" Hidden="yes"/> <Property 
> Id="ExecuteSqlStrings" Hidden="yes"/>
>
> These were two entries that I made to make those extensions hide the 
> data passed to them, such as my password.
>
> -----Original Message-----
> From: Jeremiahf [mailto:jeremi...@gmail.com]
> Sent: Thursday, May 02, 2013 2:38 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Hide/blank out Passwords in MSI log file
>
> I have tried that and no luck. My MSI is installed via command line.
>
> I've even tried to give the property Id a value in case I missed 
> something and still doesn't work.
>
> <Property Id="PASSWORD" Value="password" Hidden="yes" Secure="yes" />
>
> My test system is running Server 2003 R2 SP 2 windows installer 
> version
> 4.5 6001.22159
>
> I've upgraded from WIX 3.6 TO 3.7 in case it was a bug as I have found 
> in hundreds of blogs online but every time I see that a fix was 
> submitted, I can't tell what version it was submitted in. (sorry for 
> the run on
> sentence.)
>
> J
>
>
> On Thu, May 2, 2013 at 4:24 PM, Steven Ogilvie 
> <steven.ogil...@titus.com
> >wrote:
>
> > I declare the property:
> > <Property Id="WEBAPPPOOL_PASSWORD" Hidden="yes" Secure="yes"/> This 
> > is how I use my password controls:
> > <Control Id="textBoxPassword" Type="Edit" Height="15" Width="177" X="180"
> > Y="152" Property="WEBAPPPOOL_PASSWORD" Password="yes" TabSkip="no" 
> > />
> >
> > Logfile:
> > MSI (c) (70:1C) [14:50:59:778]: PROPERTY CHANGE: Adding 
> > WEBAPPPOOL_PASSWORD property. Its value is '**********'
> >
> >
> > -----Original Message-----
> > From: Jeremiahf [mailto:jeremi...@gmail.com]
> > Sent: May-02-13 5:08 PM
> > To: wix-users@lists.sourceforge.net
> > Subject: [WiX-users] Hide/blank out Passwords in MSI log file
> >
> > Has anyone had luck with this?
> >
> >
> >
> > I have tried using Hidden, HideTarget  and I still see the password 
> > in my logs. Is this still a bug in windows installer?
> >
> >
> >
> > Thanks in advance,
> >
> > --------------------------------------------------------------------
> > --
> > -------- Get 100% visibility into Java/.NET code with AppDynamics 
> > Lite It's a free troubleshooting tool designed for production Get 
> > down to code-level detail for bottlenecks, with <2% overhead.
> > Download for free and get started troubleshooting in minutes.
> > http://p.sf.net/sfu/appdyn_d2d_ap2
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> > --------------------------------------------------------------------
> > --
> > -------- Get 100% visibility into Java/.NET code with AppDynamics 
> > Lite It's a free troubleshooting tool designed for production Get 
> > down to code-level detail for bottlenecks, with <2% overhead.
> > Download for free and get started troubleshooting in minutes.
> > http://p.sf.net/sfu/appdyn_d2d_ap2
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
>
> --
> "They may forget what you said but they will never forget how you made 
> them feel." -- Anonymous
>
> ----------------------------------------------------------------------
> -------- Get 100% visibility into Java/.NET code with AppDynamics Lite 
> It's a free troubleshooting tool designed for production Get down to 
> code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap2
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> ----------------------------------------------------------------------
> -------- Get 100% visibility into Java/.NET code with AppDynamics Lite 
> It's a free troubleshooting tool designed for production Get down to 
> code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap2
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



--
"They may forget what you said but they will never forget how you made them 
feel." -- Anonymous
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free 
troubleshooting tool designed for production Get down to code-level detail for 
bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to