importing registry in 64-bit Windows
I am using a wise script to deploy an application. I use the following wise command
item: Execute Program
Pathname=C:\Windows\regedit.exe
Command Line=/s "%REG%\r18_x64.reg"
Flags=00000010
end
%REG% has the UNC path of the registry file
The contents of the reg file are
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Dassault Systemes]
[HKEY_LOCAL_MACHINE\SOFTWARE\Dassault Systemes\B18]
[HKEY_LOCAL_MACHINE\SOFTWARE\Dassault Systemes\B18\0]
"DEST_FOLDER"="C:\\Program Files\\Dassault Systemes\\B18"
"DEST_FOLDER_OSDS"="C:\\Program Files\\Dassault Systemes\\B18\\win_b64"
"OSNAME"="WIN64"
"IDENT"=""
The wise script imports the registry file to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Dassault Systemes
It should go to HKEY_LOCAL_MACHINE\SOFTWARE\Dassault Systemes
I am using Wise Script 7.0 with SP3. Please let me know what I am missing.
-Jim
[align=right] [/align]
item: Execute Program
Pathname=C:\Windows\regedit.exe
Command Line=/s "%REG%\r18_x64.reg"
Flags=00000010
end
%REG% has the UNC path of the registry file
The contents of the reg file are
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Dassault Systemes]
[HKEY_LOCAL_MACHINE\SOFTWARE\Dassault Systemes\B18]
[HKEY_LOCAL_MACHINE\SOFTWARE\Dassault Systemes\B18\0]
"DEST_FOLDER"="C:\\Program Files\\Dassault Systemes\\B18"
"DEST_FOLDER_OSDS"="C:\\Program Files\\Dassault Systemes\\B18\\win_b64"
"OSNAME"="WIN64"
"IDENT"=""
The wise script imports the registry file to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Dassault Systemes
It should go to HKEY_LOCAL_MACHINE\SOFTWARE\Dassault Systemes
I am using Wise Script 7.0 with SP3. Please let me know what I am missing.
-Jim
[align=right] [/align]
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
jimcox
15 years ago
Posted by:
AngelD
15 years ago
Posted by:
jimcox
15 years ago
Posted by:
jayteeo
15 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.