Which language code are you using in your Product Element? 

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: Trond Andersen [mailto:trond.ander...@gmail.com] 
Sent: 30 March 2010 14:12
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WixUI_InstallDir suggests wrong Program Files
directoryfor norwegian version of Windows

I have a WiX project which uses the WixUI_InstallDir to let the user
pick the directory to install the application. In my setup I don't hard
code any reference to the Program Files directory. I've used the
following setup in my main wxs file:

<Directory Id="ProgramFilesFolder">
  <Directory Id="INSTALLDIR" Name="$(var.ProductName)">

In the adapted WixUI_InstallDir.wxs file I've written the following:

<Publish Dialog="InstallDirDlg" Control="ChangeFolder"
Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]"
Order="1">1</Publish>

And the UI description I have the following:

<Control Id="Folder" Type="PathEdit" X="20" Y="100" Width="320"
Height="18" Property="WIXUI_INSTALLDIR" Indirect="yes" />

On a norwegian version of Windows this results in suggesting to use
C:\Program Files\(ProductName) instead of
C:\Programfiler\(ProductName) which is the correct directory for
norwegian version of Windows.

I have two questions:

1. Is there a work around which will work for both english and norwegian
version of Windows?
2. Is this because WiX 3.0 doesn't have a norwegian translation or is
there something else?


Kind regards,
Trond Andersen

------------------------------------------------------------------------
------
Download Intel&#174; Parallel Studio Eval Try the new software tools for
yourself. Speed compiling, find bugs proactively, and fine-tune
applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to