Monday, March 23, 2009

Program Files folder in X64

While qualifying one of our projects for X64, we encountered issue with Program Files folder.

We use Wix for building msi package.

Wix could get %PROGRAMFILES% variable from OS and place files appropriately at C:\Program Files (x86)\

But our product was looking at C:\Program Files.

I prefer picking up any paths from app.config files and delegate task to Wix to update application specific configuration files during installation. This makes life so simple when moving between x86 and x64.

Here I am referring to running x86 stuff as is on x64. Rules change when we compile code for X64.

No comments: