Re: [WiX-users] WixUI_InstallDir suggests wrong Program Files directoryfor norwegian version of Windows

2010-03-31 Thread Trond Andersen
Hi Palbinder Sandher.

Thanks for your answer.

 Which language code are you using in your Product Element?

I have the following in the product element:

Product Id=407cffe4-d1ea-452c-a45e-a86a91334f65
Name=$(var.ProductName) Language=1033
   Version=$(var.ProductVersion)
Manufacturer=$(var.Manufacturer)
UpgradeCode=f4fd9428-e0ba-47ec-a6ca-9dc764e7bbc3

I guess the language part might affect the directory choice. Any
pointers on how to make this more i18n friendly would be appreciated,
but I'll have a look at the documentation.


- Trond

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


Re: [WiX-users] WixUI_InstallDir suggests wrong Program Files directoryfor norwegian version of Windows

2010-03-30 Thread Pally Sandher
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=11/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