Registry - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Srujan
Posts: 3
Joined: Mon May 09, 2011 4:39 pm
Location: Tx

Registry

Hai all,

Well I am new to this form I am a .Net Developer. Currently I am working with creating setups for our software.
I have a problem with Registry module in advanced Installer 8.13, I am trying to create a registry key-value at installation of our software at a path(Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers) but instead it creates at another path(Computer\HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers)
its a 32 bit application. Can anyone help me.
I tried all the installation types in application parameters: Per-User only, Per-User Only(with administrative rights required), Per Machine only, Per machine if administrator per user otherwise
Thanks
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Registry

Hello and welcome to the Advanced Installer Forums,

If your application is a 32-bit application, then this is the normal behavior when installing it on a 64-bit machine. If your application was a 64-bit application you could have marked the registry value's component as "64-bit" from the Organization Page. Here is a link that explains the "Wow6432Node".

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Srujan
Posts: 3
Joined: Mon May 09, 2011 4:39 pm
Location: Tx

Re: Registry

Hello Mihai, I am basically trying to set the compatability of our application to run in Win-XP-SP3 mode programatically at installation so that the user doesnt need to set anything and directly use it after installation, and I was thinking thats only way, do you have any ideas??
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Registry

Hello,

In this case you can add two similar registry values from the Registry Page and then condition each corresponding component to be installed depending on the OS architecture( 32-bit / 64-bit ).
The condition for the component meant to be installed only on a 64-bit machine should be:

Code: Select all

VersionNT64
The condition for the component meant to be installed only on a 32-bit machine should be:

Code: Select all

NOT VersionNT64
You should also mark the 64-bit component as "64-bit" from the Organization Page.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Srujan
Posts: 3
Joined: Mon May 09, 2011 4:39 pm
Location: Tx

Re: Registry

Thank you Mihai, it got solved.

Return to “Common Problems”