InstallAware 15 Studio Admin, Win 8.1, 64bitMode set:
When Find All Registry Keys is called against HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, the value in the output variable contains values from HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall, not HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall. I have verified via running regedit.exe that the subkey I am looking for is in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall.
Find All Registry Keys returns values from wrong reg key
-
- Posts: 32
- Joined: Mon Oct 29, 2012 2:27 pm
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Find All Registry Keys returns values from wrong reg key
Dear Erich,
I just used the code snippet below and it works fine, it returns Keys under "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" when used with an x64 OS.
The same code as IA clipboard format:
Hope this helps you.
Regards
I just used the code snippet below and it works fine, it returns Keys under "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" when used with an x64 OS.
Code: Select all
Set Variable ISWIN64 to FALSE
Get System Setting Windows in 64 bit Mode into ISWIN64
if Variable ISWIN64 Equals TRUE
Set x64 - Native 64 bit Windows, AMD64 and EM64T Architectures - installation mode
end
Set Variable REG_FIND_RESULT to
Find All Registry Keys in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall into REG_FIND_RESULT
MessageBox: , $REG_FIND_RESULT$
The same code as IA clipboard format:
Code: Select all
~InstallAware Clipboard Data~
~MessageBox~
~{3AD2B36F-C6C6-49F0-A0D6-AC8C5C38C3DB}~
~~
~$REG_FIND_RESULT$~
~0~
~1~
~~
~Find All Registry~
~{AB546806-188E-452E-B40F-49735BAB067F}~
~REG_FIND_RESULT|~
~2~
~SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall~
~TRUE~
~FALSE~
~Set Variable~
~{69A06B9A-8D45-48F4-89DC-562732499E75}~
~REG_FIND_RESULT$MYAH$MYAH$FALSE~
~~
~Comment~
~{290693A6-CEBC-4D09-896E-F0B2556D0F1B}~
~~
~End~
~{2D97AFFA-C089-4149-8C5D-2ED04E167D8A}~
~Set 64 Bit Mode~
~{0E1E01FC-444E-43B6-8ADF-52BFBD643021}~
~FALSE~
~FALSE~
~TRUE~
~If~
~{5505F072-0E61-4C95-BEA4-97A834148C72}~
~ISWIN64~
~0~
~TRUE~
~FALSE~
~Get System Settings~
~{48F08805-4C5C-48E4-82DC-A57236A70279}~
~ISWIN64~
~65~
~Set Variable~
~{8590EB31-1B6B-4871-A644-ADF3D1F32E84}~
~ISWIN64$MYAH$MYAH$FALSE~
~FALSE~
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 131 guests