Registry Keys in 64 bit package - Advanced Installer Community
LaughingJohn
Posts: 39
Joined: Wed Aug 11, 2010 1:05 pm

Registry Keys in 64 bit package

Hi,

I have an existing installer for an Office add-in which wasn't working for 64 bit office because the registry keys always went to the WOW6432 (32 bit node). To get around this I thought I'd make a 64 bit version of the package so I took a copy of the existing one and updated the Package Type to 64 bit.

I was surprised to find that the registry keys are still going in WOW6432. Looking at the organization of page each registry entry is listed as a separate feature. I updated each one to be a 64 bit component and it works as I want it.

Can you explain why I had to do this? I would have thought a 64 bit package would install registry entries to the "64 bit part" of the registry?

Thanks,
LJ
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Registry Keys in 64 bit package

Hi John,

Indeed, the existing component's registries are not marked by default as 64-bit component when change the package type to a 64-bit one.
I have added this improvement on our TODO list and it will be available in a future version of Advanced Installer. Thank you for bringing it to our attention.

Currently, only the new components assigned to registries created after changing the package type as a 64-bit package type will be marked as 64-bit components.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
LaughingJohn
Posts: 39
Joined: Wed Aug 11, 2010 1:05 pm

Re: Registry Keys in 64 bit package

Thanks Dan, that makes sense. Seems if you change to 64 bit (or back to 32 bit) everything should be marked appropriately. I was confused as I couldn't see how a 64 bit package would ever be able to put reg keys in the WOW6432 node (could MSFT make that name any more confusing?).

Not sure what should happen if you change from 32/64 to mixed mind you, I guess leave it the same?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Registry Keys in 64 bit package

Hello,

This improvement has been added in version 14.6 of Advanced Installer released on February 19th, 2018.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”