0
votes

I want to generate an *.msi installer for my 64-bit C++ project which I created using Visual Studio 2010 Ultimate edition. But when I use "Setup Wizard" and create a deployment project, it's automatically targeting x86 platform and there is no way to change this setting to x64.

How can I change this setting, and how can I generate an installer for my project?

1
Select the Setup project in the Solution Explorer window. Change the TargetPlatform property from x86 to x64.Hans Passant

1 Answers

1
votes

Forget about the setup project type built into visual studio. It is extremely limiting.

Instead download and install WiX. It integrates into visual studio but instead of building an installer through a simple drag & drop interface, you will have to write XML. It has a bit of a learning curve, but you will have total control over the installation process.