Wix program files directory




















Viewed 9k times. How do you go about doing this? Update: My idea was to assign the ProgramFilesFolder or ProgramFiles64Folder value to my own property, depending on whether it was a 64 bit environment or not, and then use that property value on the directory.

Any help is appreciated! James Newton-King. Did you ever find a solution? Add a comment. Active Oldest Votes. Christopher Painter Christopher Painter MSI doesn't support bit packages installing to bit directories. Bob Arnson Bob Arnson It's not a bit package. The author states that the program is written in.

With a. Windows Installer doesn't support the AnyCPU concept; packages are either explicitly bit or explicitly bit.

Sign up or log in Sign up using Google. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Ask Question. Asked 10 years, 9 months ago. Active 3 years, 8 months ago. Viewed 20k times. ProjectDir readme. Alek Davis Alek Davis Add a comment. Active Oldest Votes. Thanks Sascha, but it does not seem to work.

I updated the post to include the complete WXS file sample it installs a single Readme. Is there anything wrong with the code? When you add it, open the platform again. Select Edit. By the way, x64 x64 may not be in the list immediately after you add it, but it may be added to the list when you close and refresh the screen. Remove x86 because of a wix project glitch that causes the initial selection to not switch to x64 and x However, this may also be a problem and even if x86 is erased, it will be resurrected.

If you want to make sure you delete it, it is a good idea to open the project file "wixproj" in a text editor and delete the code. If it looks like the figure below, it is OK. The active platform on the top right remains x86, so if you're curious, rename it in edit. Select Tool Settings from the left tab and change the configuration to Release.

In Additional parameters, enter -arch x64 in Compiler.



0コメント

  • 1000 / 1000