Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Wise Script - 64Bit registry check

Updated: 21 May 2010 | 2 comments
Shaun Wilkinson's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.


Hello All,



I have a Wise script written that checks to ensure that .NET 3.5 has been installed on the target machine.

If it has not been installed then I launch the installation program for it.



The script checks the installation registry key using the following command/s...



"Get Registry Key HKEY_LOCAL_MACHINE\Software\Microsoft\DevDiv\NetFx\Servicing\3.5\1033 in Variable NET35."



The pre-requsite script works perfectly on a 32 bit XP laptop but it does not work on a 64 Bit server.

It appears to never retrieve the registry key correctly so it thinks is must install dotnet35.exe each and everytime. If dotnet 3.5 is installed the registry key value specified in my command does exist as I can see the key in regedit however the install everytime I run the prerequisite script it contines to think the key doesnt exist.



I do not think its a rights issue as I tried setting "Full Control" permission on the key for the Everyone group.



I am using Wise Installation Studio Build 7.3.0.250



Is the "Get Registry Key" command not supported on 64 Bit operating systems ?

Any help most appreciated.



regards

Discussion Filed Under:

Comments

AngelD's picture
17
Nov
2008
0 Votes 0
Login to vote
EdT's picture
17
Nov
2008
0 Votes 0
Login to vote

quote:
Originally posted by: wannabguru



Is the "Get Registry Key" command not supported on 64 Bit operating systems ?

Any help most appreciated.



regards




Depends on what you are trying to access in the registry. The registry on 64 bit operating systems comprises (simplistically) both a 32 bit and a 64 bit area. Applications running in the 32 bit WOW access the 32 bit registry only, so if the key you want to read is in the 64 bit area, you would need a 64 bit application to read it.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.