Search result returns wrong value? - Advanced Installer Community
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Search result returns wrong value?

Hello,

I am using the Search option to search for the registry entry at "HKEY_LOCAL_MACHINE", "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\7-Zip", "InstallLocation". The entry has a folder path "C:\Program Files\7-Zip\". But it returns the value as "C:\Program Files (x86)\7-Zip\". I tried with and without "Search the 64-bit portion of the registry". It did not work. What is the issue here please?

:?:
K
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Search result returns wrong value?

Hello,

I have reproduced your scenario, but unfortunately this is the standard Windows Installer behaviour when using 32 bit package type. The "AppSearch" standard action redirects all the 64-bit paths from searches results to 32-bit paths if you are using a 32-bit package type. However, as a workaround you can use a "Mixed 32/64-bit Package" type.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Search result returns wrong value?

Thank you
K
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Search result returns wrong value?

You're always welcome.

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

Return to “Common Problems”