8,484
edits
Paradox-01 (talk | contribs) m (read registry)  | 
				Paradox-01 (talk | contribs)   (there's a problem with reading some registry keys on a 64-bit OS with an 32-bit program)  | 
				||
| Line 16: | Line 16: | ||
===read registry===  | ===read registry===  | ||
Mod Tool fails to   | Mod Tool (because 32-bit) fails to execute following code properly on 64-bit operation systems. So the code must be build as 64-bit '''and''' 32-bit application.  | ||
  Set WshShell = CreateObject("WScript.Shell")  |   Set WshShell = CreateObject("WScript.Shell")  | ||
  AE_path = WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B67333BB-1CF9-4EFD-A40B-E25B5CB4C8A7}}_is1\InstallLocation")  |   AE_path = WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B67333BB-1CF9-4EFD-A40B-E25B5CB4C8A7}}_is1\InstallLocation")  | ||
edits