Registry not updating upon msi install - Advanced Installer Community
jamesdeavin
Posts: 1
Joined: Thu Nov 04, 2010 10:33 am

Registry not updating upon msi install

Hi Everyone

I have created an .msi to update the OEM INFO registry keys on a windows 7 machine. i created the registry keys manually in regedit then exported this and imported the keys into advanced installer so i didnt get any spelling mistakes.

build the package completes successfully.

when ran and installed install goes fine and says completed successfully in the logs but when i go to the registry section for oem info it hasnt been updated?

Am i missing something? It is a 64bit machine im on.

James
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Registry not updating upon msi install

Hello and welcome to Advanced Installer Forums,

Since you are new, I highly recommend you read our tutorials for a better understanding of how to use Advanced Installer to efficiently deploy your products.
This will also help you better understand support team's suggestions now and in the future. The Simple and Professional tutorials are especially important.
when ran and installed install goes fine and says completed successfully in the logs but when i go to the registry section for oem info it hasnt been updated?
This is happening because your registry components are not marked as 64-bit components and by default, they are installed in the "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\" registry folder on a 64-bit machine. If you do a search for your registry keys you will probably find them somewhere under that location.

To fix this, as I said, you need to go in the Organization page and mark the component associated with your keys as a 64-bit component (in the Properties pane, check the "64-bit Component" Attribute option). Please note that the package should also have a 64-bit type (Install Parameters page -> Package Type).

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
matt123
Posts: 25
Joined: Mon Oct 28, 2013 7:36 pm

Re: Registry not updating upon msi install

Hi,
I've just run into the same issue, which is giving problems with the auto updater, as it cannot find the installed version in the registry.
We (are planning to) deploy an AnyCPU build, so we do not know if the target OS is 32/64 bit, and consequently we do not know where the install information is going to be located in the registry. My understanding from other posts is that we should configure this as a 32 bit deployment in AI.

Please advise on how to configure the update to look in the correct place depending on the current OS.

thanks,
Matt
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Registry not updating upon msi install

Hello Matt,

All you have to do is to make sure that the "64-bit Component" option is not enabled for the related registry component. Just go to "Registry" page, select the registry value and from its context menu choose "Go To Component" option. Make sure the selected registry component doesn't have the "64-bit Component" checked and build your project. Then, in your updates configuration project -> "Updates Properties" tab -> "Installed Detection" section make sure the "Search 64-bit registry" option is not checked.

Let us know if this helped, otherwise please give us more details about your scenario (maybe exemplify).

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”