Wise Script - 64Bit registry check
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
Comments
Will this help?
NET Framework 3.5 RTM Detection Logic
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.
Would you like to reply?
Login or Register to post your comment.