Read and Check Registry not working

Got a problem you cannot solve? Try here.
Seán
Posts: 13
Joined: Wed Nov 13, 2013 10:24 am

Read and Check Registry not working

Postby Seán » Sun Nov 17, 2013 3:10 am

Hi,

I would like to refer anyone with this issue to my follow up post here where I believe I've cracked it...

viewtopic.php?f=4&t=9783

Best regards


having problems with Read Registry and Check Registry.

I've installed IA 18.11.6.13 on Windows 7 x64 fully patched.

I've created a simple install package and am checking to see if Office 2010 or 2013 are installed as follows:

Code: Select all

Read Registry Key HKCU\SOFTWARE\Microsoft\Office\14.0\Excel\InstallRoot\Path\ into Office2010_Installed_Read
Read Registry Key HKCU\SOFTWARE\Microsoft\Office\15.0\Excel\InstallRoot\Path\  into Office2013_Installed_Read
Check Registry Key HKCU\SOFTWARE\Microsoft\Office\14.0\Excel\InstallRoot\Path\ into Office2010_Installed
Check Registry Key HKCU\SOFTWARE\Microsoft\Office\15.0\Excel\InstallRoot\Path\  into Office2013_Installed

I have tried both HKCU and HKCM but none of them returns the value of the Key. Any thoughts or advice?

AHAHAH - IS THIS a bug in InstallAware...

When I copied the Registry Key from the Registry this is the Key string I got.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0\Excel\InstallRoot

InstallAware uses the strings HKCU and HKCM and not HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE which are actually found in the Registry

How do we tell InstallAware to use the both the full string name and the short ones? Because from my reckoning InstallAware wll never find any keys under if it only uses short strings on Windows 7 x64.

Thanks and regards
Last edited by Seán on Wed Nov 20, 2013 11:31 am, edited 1 time in total.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Read and Check Registry not working

Postby FrancescoT » Mon Nov 18, 2013 10:58 am

Dear Seán,

what you are reporting it is not an InstallAware bug.

As many other applications or tools, we use a short form for the registry KEY root.

Honestly, I really don't understand the source of your problem... anyway, we only use those registry KEY root prefixes only.

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

Seán
Posts: 13
Joined: Wed Nov 13, 2013 10:24 am

Re: Read and Check Registry not working

Postby Seán » Wed Nov 20, 2013 11:27 am

I would like to refer anyone with this issue to my follow up post here where I believe I've cracked it...

http://www.installaware.com/forum/viewtopic.php?f=4&t=9783

Best regards

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Read and Check Registry not working

Postby FrancescoT » Wed Nov 20, 2013 11:31 am

... Thanks for sharing it!

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 93 guests