Hello,
I am using Check Registry to see if certain keys/values exists. Unfortunately I am always receiving NO$KEY even if there's actually a key/value in the registry. I am using the following code:
These two are working properly:
Check Registry Key HKLM\SOFTWARE\Microsoft\Office\14.0\Outlook\Bitness into OUTLOOK_BITNESS_2010
Check Registry Key HKLM\SOFTWARE\Microsoft\Office\15.0\Outlook\Bitness into OUTLOOK_BITNESS_2013
The next four are always returning NO$KEY even though under HKLM\SOFTWARE\Microsoft\Office\14.0\Outlook\InstallRoot\Path is actually a value.
Check Registry Key HKLM\SOFTWARE\Microsoft\Office\14.0\Outlook\InstallRoot\Path into OUTLOOK_2010_INSTALLROOT_EXISTS (this must return a value the key definately exists on the machine I am testing)
Check Registry Key HKLM\SOFTWARE\Microsoft\Office\15.0\Outlook\InstallRoot\Path into OUTLOOK_2013_INSTALLROOT_EXISTS
Check Registry Key HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Outlook\InstallRoot\Path into OUTLOOK_2010_WOW6432_INSTALLROOT_EXISTS
Check Registry Key HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\15.0\Outlook\InstallRoot\Path into OUTLOOK_2013_WOW6432_INSTALLROOT_EXISTS
Please advice.
Always getting NO$KEY when using CHECK REGISTRY
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Always getting NO$KEY when using CHECK REGISTRY
Dear User,
I'm sorry, but I am not able to verify the same results as you.
However, I can't replicate your exact registry configuration ... due the office package (...I suppose) installed on your system.
Please try to release a very minimal project that demonstrates the issue and I'll verify it.
Regards
I'm sorry, but I am not able to verify the same results as you.
However, I can't replicate your exact registry configuration ... due the office package (...I suppose) installed on your system.
Please try to release a very minimal project that demonstrates the issue and I'll verify 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
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
Re: Always getting NO$KEY when using CHECK REGISTRY
Hello,
I think found the issue. I made a complete new "mini" project just with the registry checks and the code is working on a Win 7 machine and returns the keys. Unfortunately it doesn't work on Windows 8. Even though I executed the Setup as Administrator and turned off the UAC completely.
Do you have any idea, what the problem might be?
I think found the issue. I made a complete new "mini" project just with the registry checks and the code is working on a Win 7 machine and returns the keys. Unfortunately it doesn't work on Windows 8. Even though I executed the Setup as Administrator and turned off the UAC completely.
Do you have any idea, what the problem might be?
Re: Always getting NO$KEY when using CHECK REGISTRY
For your information:
We're using InstallAware Studio 15.
I have just tried to set the compatibility mode to Windows 7 (by right clicking the setup.exe -> properties ....) and now it works.
Is Studio 15 not compatible with Windows 8? Is it possible to set the compatibility mode within the setup?
We're using InstallAware Studio 15.
I have just tried to set the compatibility mode to Windows 7 (by right clicking the setup.exe -> properties ....) and now it works.
Is Studio 15 not compatible with Windows 8? Is it possible to set the compatibility mode within the setup?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Always getting NO$KEY when using CHECK REGISTRY
Dear User,
For what I know IA 15 supports Win8 ... but of course, it has been not tested with Win 8.1 (not available at that time).
... are you using Win 8 or Win 8.1?
Regards
For what I know IA 15 supports Win8 ... but of course, it has been not tested with Win 8.1 (not available at that time).
... are you using Win 8 or Win 8.1?
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
Re: Always getting NO$KEY when using CHECK REGISTRY
Dear Francesco,
it is Windows 8 not Windows 8.1 . By the way I found out that we're using 15.4.1.2013 as far as I could see the latest Version of the 15 is 15.5. Where can we download it?
it is Windows 8 not Windows 8.1 . By the way I found out that we're using 15.4.1.2013 as far as I could see the latest Version of the 15 is 15.5. Where can we download it?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Always getting NO$KEY when using CHECK REGISTRY
Dear User,
I may suggest you to have a look at the following forum topic (managed by IA users directly), where it is possible to download some past IA versions installers:
http://www.installaware.com/forum/viewtopic.php?f=2&t=7904&start=0
However, you need a specifc personal activation file to activate it (if available) ... and this will be not available with the above link.
Regards
I may suggest you to have a look at the following forum topic (managed by IA users directly), where it is possible to download some past IA versions installers:
http://www.installaware.com/forum/viewtopic.php?f=2&t=7904&start=0
However, you need a specifc personal activation file to activate it (if available) ... and this will be not available with the above link.
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
Re: Always getting NO$KEY when using CHECK REGISTRY
Is NO$KEY a good output to check for in an IF statement?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Always getting NO$KEY when using CHECK REGISTRY
NO$KEY means that the REG-KEY you are querying it doesn't exist.
If you are sure that your READ REGISTRY command gets executed over a correct key ... you may use it with a conditional evaluation.
Regards
If you are sure that your READ REGISTRY command gets executed over a correct key ... you may use it with a conditional evaluation.
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: No registered users and 134 guests