This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Passwords & Edit Boxes
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 01, 2007
06:07 AM
Passwords & Edit Boxes
Firstly I have an Installscript MSI project in IS2008.
Any dialogs I have with an edit field with Password set to True, rather than an * being used to obscure characters a | is used.
Is there a setting somewhere that controls this? Found the help article "Password control attribute [Windows Installer]" but this suggests that passwords will be obscured with an asterix no mention of |.
Cheers,
Alan
Any dialogs I have with an edit field with Password set to True, rather than an * being used to obscure characters a | is used.
Is there a setting somewhere that controls this? Found the help article "Password control attribute [Windows Installer]" but this suggests that passwords will be obscured with an asterix no mention of |.
Cheers,
Alan
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 01, 2007
09:33 AM
For what it's worth, I've found that it varies from computer to computer. Some show the dots, others the lines. I'm assuming that the display properties dictate it, not the installer.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 01, 2007
10:17 AM
Do all of the machines use the same language and character set? It could be related to the operating system language or system fonts.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 02, 2007
04:46 AM
Well this has been reported by testers in both the UK and the US on Windows XP and Server 2003.
Don't really know how much difference there is between UK and US language/character set...
Don't really know how much difference there is between UK and US language/character set...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 02, 2007
12:35 PM
I'm experiancing the same issue here in South Africa. I've tried our install on different machines with different operating systems and settings - but still only get the | characters and no *'s :confused:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 02, 2007
01:33 PM
I just tested this on a machine that used the pipe "|" character:
hFont = (GetFont ("Tahoma", 8, STYLE_NORMAL));
CtrlSetFont (szDialogName, hFont, RES_PBUT_PASS);
It worked. The dots were smaller than the common window dots you may see though. I'm sure there's a font that could get it exact for what you need though.
I have two custom dialogs that use password fields though, in an InstallScript project; so the resource ID's were available to me to manipulate.
hFont = (GetFont ("Tahoma", 8, STYLE_NORMAL));
CtrlSetFont (szDialogName, hFont, RES_PBUT_PASS);
It worked. The dots were smaller than the common window dots you may see though. I'm sure there's a font that could get it exact for what you need though.
I have two custom dialogs that use password fields though, in an InstallScript project; so the resource ID's were available to me to manipulate.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 05, 2007
05:45 AM
Spot on, that did the trick. Very much appreciated!
