Paul Kelly
Paul Kelly

Reputation: 4019

Why is registry value not installing?

I am using the Visual Studio 2008 Installer. I am trying to set a registry value and it is included in the Setup project. After I install the application using the setup that I created, the registry value doesn't show.

I have followed all the steps listed here.

Why could this be happening?

Upvotes: 0

Views: 1630

Answers (1)

Oleg
Oleg

Reputation: 221997

The registry key is created probably under HKLM\Software\WOW6432Node (see Registry Redirector). If you install 32-bit application and the application will read later from the software key some values from HKLM\Software, that such requests will be redirected to HKLM\Software\WOW6432Node. So If you installed 32-bit application the Windows Installed made probably all correct.

If you do want to install a 64-bit application, the you should make small changes in your MSI file. You should follow http://msdn.microsoft.com/en-us/library/aa367451.aspx and make all changes described in http://msdn.microsoft.com/en-us/library/aa367430.aspx.

Upvotes: 2

Related Questions