Here are some snippets of my installer xml file:

<Dialog Width="370" Height="270" Id="LocationTypeDlg" ErrorDialog="no" NoMinimize="yes" Title="[ProductName] [Setup]">
.
.
.
<Control Type="Text" Width="200" Height="10" X="45" Y="90" Id="usernameLbl" Text="[DlgFont8Dark]$(loc.CrdDlgUserNmLbl)" /> <Control Type="Edit" Width="180" Height="15" X="45" Y="105" Id="usernameEdit" Property="USERNAME" Indirect="no" /> <Control Type="Text" Width="50" Height="10" X="45" Y="125" Id="passwordLbl" Text="[DlgFont8Dark]$(loc.CrdDlgPasswordLbl)"/> <Control Type="Edit" Width="180" Height="15" X="45" Y="140" Id="passwordEdit" *Password="yes"* Property="PASSWORD" /> <Control Type="Text" Width="50" Height="10" X="45" Y="165" Id="domainLbl" Text="$[DlgFont8Dark](loc.CrdDlgDomainLbl)/> <Control Type="Edit" Width="180" Height="15" X="45" Y="180" Id="domainEdit" Property="DOMAIN"/>
</Dialog>
.
.
.
<Component Id="Component1" Guid="blahblahblah" Location="local" DiskId="1">
<File Id="Service1.exe" Name="Service1.exe" src="..\a\b\Service1.exe" LongName="Service1.exe" /> <ServiceInstall Id="Service1Install" Name="Service1" DisplayName="Yukka extraction" Type="ownProcess" Start="auto" Vital="yes" ErrorControl="critical" Account="[DOMAIN]\[USERNAME]" Password="[PASSWORD]" Description="Yukka extraction Service for Windows Module."/> <ServiceControl Id="Service1Control" Name="Service1" Stop="both" Remove="uninstall" Wait="no" />
</Component>

I hope I did not leave out something important.

When I run the resulting installer on a host installed with en_US as the locale, everything works fine. However, when I run the installer in a Japanese locale:

  1. For the domain name and the username, I use the Input Method
     Editor (is that the right term?) on the lower right of the desktop
     to set the input mode to single-byte alphanumeric.
  2. As long as the 'Password="yes"' attribute is present in the
     passwordEdit control, then the IME is greyed out when I enter the
     password.  The service then fails to start as the credentials are
     bad.  If I then manually enter the same password again via the
     properties of the service in the Service Control Manager, the
     service will run.

How do I keep my password hidden by '*" and enable the IME so that it can interpret the keystrokes in the Japanese environment.

-------------------------------------------------------------------------
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