/build/static/layout/Breadcrumb_cap_w.png

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]

0 Comments   [ + ] Show comments

Answers (4)

Posted by: jimcox 15 years ago
Orange Belt
0
The application I am packaging is a 64-bit application for 64-bit Windows XP. The registry key that needs to be imported is a custom key for our company. The application setup is NOT an msi.
Posted by: AngelD 15 years ago
Red Belt
0
If you're using Wise Script then WHY are you posting in this forum?

WiseScript is a 32-bit application/exe and will therefore write to the "virtual" registry.
Posted by: jimcox 15 years ago
Orange Belt
0
Thanks. I thought so too, but wanted to double check. I will make a 64-bit msi for the reg. changes in WPS.
Posted by: jayteeo 15 years ago
Purple Belt
0
I had to deal w/ something similar.. try calling reg.exe from %WinDir%\Sysnative
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ