The password style is ES_PASSWORD = 0x20, I have not tried this but it is worth 
a go. I don't think you will be able to get the masked edit functionality 
though.

Neil

-----Original Message-----
From: Pawel Fujcik [mailto:pfuj...@proximetry.pl] 
Sent: 04 December 2012 10:24
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Password Editbox in WiX 3.6 standard bootstrapper 
application

I am using Wix 3.6 burn to install an exe package and I would like to have a 
password editbox on the options page.
Options page in the file RtfTheme.xml looks like that:

 <Page Name="Options">
        <Text X="11" Y="80" Width="-11" Height="30" FontId="2" 
DisablePrefix="yes">#(loc.OptionsHeader)</Text>

                <Text X="11" Y="121" Width="-11" Height="17" FontId="3" 
DisablePrefix="yes">#(loc.OptionsSQLServerAdminLabel)</Text>
                <Text X="11" Y="171" Width="-11" Height="17" FontId="3" 
DisablePrefix="yes">#(loc.OptionsSQLServerAdminPasswordLabel)</Text>

                <Editbox Name="AdminNameEditbox" X="11" Y="141" Width="-91" 
Height="21" TabStop="yes" FontId="3" 
FileSystemAutoComplete="no">#(loc.OptionsSQLServerAdminName)</Editbox>
                <Editbox Name="AdminPassEditbox" X="11" Y="191" Width="-91" 
Height="21" TabStop="yes" FontId="5" 
FileSystemAutoComplete="no">#(loc.OptionsSQLServerAdminPassword)</Editbox>

                <Checkbox Name="SSOOption" X="11" Y="243" Width="-91" 
Height="21" TabStop="yes" FontId="3" >Single Sign On option turned on</Checkbox>

                <Text X="11" Y="283" Width="-11" Height="17" FontId="3" 
DisablePrefix="yes">#(loc.OptionsSQLServerUserLabel)</Text>
                <Text X="11" Y="333" Width="-11" Height="17" FontId="3" 
DisablePrefix="yes">#(loc.OptionsSQLServerUserPasswordLabel)</Text>

                <Editbox Name="DatabaseUserNameEditbox" X="11" Y="303" 
Width="-91" Height="21" TabStop="yes" FontId="3" 
FileSystemAutoComplete="no">#(loc.OptionsSQLServerUserName)</Editbox>
                <Editbox Name="DatabaseUserPassEditbox" X="11" Y="353" 
Width="-91" Height="21" TabStop="yes" FontId="5" 
FileSystemAutoComplete="no">#(loc.OptionsSQLServerUserPassword)</Editbox>

        <Button Name="OptionsOkButton" X="-91" Y="-11" Width="75" Height="23" 
TabStop="yes" FontId="0">#(loc.OptionsOkButton)</Button>
        <Button Name="OptionsCancelButton" X="-11" Y="-11" Width="75" 
Height="23" TabStop="yes" FontId="0">#(loc.OptionsCancelButton)</Button>
    </Page>

I would like to have Editbox element in line:
<Editbox Name="AdminNameEditbox" X="11" Y="141" Width="-91" Height="21" 
TabStop="yes" FontId="3" 
FileSystemAutoComplete="no">#(loc.OptionsSQLServerAdminName)</Editbox>
to show only dots or asterisk characters to provide functionality of masked 
input. Is it possible to achive that with some HexStyle or font configuration? 
Passwords should not be visibible to the user and I have no clue how to 
configure bootstrapper to show a masked input. Any help would be appreciated.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely 
access PCs and mobile devices and provide instant support Improve your 
efficiency, and focus on delivering more value-add services Discover what IT 
Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to