Hello I have the following code:
local MainKey = HKEY_LOCAL_MACHINE;
--Debug.Print("MainKey =" .. MainKey .. "\r\n");
local SubKey = SessionVar.Expand("Software\\JohnDeere\\IVS\\JDLin kMMSDirect\\");
--Debug.Print("subkey =" .. SubKey .. "\r\n");
local ValueName = "InstallPath";
local FolderPath = Registry.GetValue(MainKey, SubKey, ValueName);
--Debug.Print("FolderPath =" .. FolderPath .. "\r\n");
local InstallPath = Registry.GetValue(MainKey, SubKey, ValueName);
I keep getting a software not found screen when I know it is. I have tested this code and it works fine on XP and VIsta 32 bit. But for some reason I can't get the path for Vist x64 bit. I have a log error 1605 saying it couldn't get the specified value's data when trying to load the installpath variable and the folderpath variable. ANy ideas on why this would be?
THanks,
local MainKey = HKEY_LOCAL_MACHINE;
--Debug.Print("MainKey =" .. MainKey .. "\r\n");
local SubKey = SessionVar.Expand("Software\\JohnDeere\\IVS\\JDLin kMMSDirect\\");
--Debug.Print("subkey =" .. SubKey .. "\r\n");
local ValueName = "InstallPath";
local FolderPath = Registry.GetValue(MainKey, SubKey, ValueName);
--Debug.Print("FolderPath =" .. FolderPath .. "\r\n");
local InstallPath = Registry.GetValue(MainKey, SubKey, ValueName);
I keep getting a software not found screen when I know it is. I have tested this code and it works fine on XP and VIsta 32 bit. But for some reason I can't get the path for Vist x64 bit. I have a log error 1605 saying it couldn't get the specified value's data when trying to load the installpath variable and the folderpath variable. ANy ideas on why this would be?
THanks,
Comment