Ferruccio
Ferruccio

Reputation: 100748

How do I get WiX to generate a 64-bit MSI?

I am using WiX 3.6 and VS2010. I have a 32-bit installation working and I'm trying to get a 64-bit installation working.

I thought this was enough to generate a 64-bit MSI, but it still insists on installing everything in "Program Files (x86)" instead of "Program Files".

What am I missing?

Upvotes: 9

Views: 14903

Answers (1)

Ferruccio
Ferruccio

Reputation: 100748

My mistake. It was building the 64-bit version just fine, but I was testing an old x64 build which had not been correctly marked as x64. Once I had the x64 version building correctly, the resulting MSI was placed in bin/x64/Release but I was still testing the version in bin/Release. It pays to occasionally delete all your output files and rebuild.

Upvotes: 4

Related Questions