I am having problems entering a password that will be applied to a service as part of installation.

I have created a dialog in my installer that, among other things, has a password field. In my Japanese version of the installer, the password entered is getting corrupted. If I turn off the password attribute (see bold entry in WiX source below), so that the password typed is visible, then it does not get corrupted. I noticed that with the password attribute turned on, when the cursor enters the password box, the IME (Input Method Editor) on the desktop is grayed out. This implies that when the password attribute is turned on, there is some transformation of my keystrokes that happens differently than when the attribute is turned off. I would really like to have the password appear as '*' when it is typed. Is there a way to do this without have the keystrokes inappropriately translated in a Japanese locale? The password I am testing with is ASCII only, no Japanese characters, although I will eventually have to support Japanese characters I suppose.

Here are some excerpts from my source file for candle.

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi";>
<Product Id="..." Language='1041' Manufacturer="..." Name="..." Version="1.0" UpgradeCode="...">
   <Package Id="????????-????-????-????-????????????" Compressed="yes" />
   <UI>
<WixLocalization xmlns='http://schems.miscroft.com/wix/2003/01/localization' Codepage='932'> <Control Type="Edit" Width="180" Height="15" X="45" Y="140" Id="passwordEdit" *Password="yes"* Property="PASSWORD" />
   </UI>
 </Product>
</Wix>


This might be more appropriately addressed in a Windows Installer forum, but I have not found one. I went to MSDN forums to solicit a suggestion for an appropriate forum for this question, but I received no response.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to