cancel
Showing results for 
Search instead for 
Did you mean: 

NwEngine.Shell.RegKeyExist returns no result

Former Member
0 Kudos

I'm having trouble with the shell command NwEngine.Shell.RegKeyExist running at end of install/update in the 720 installation process. I've tried a lot of combinations but the command never finds any registry key.  Code I'm using is below (with two variations) but neither can find the ConfigFileOnServer key.  The key is definitely there - the same script sets it as the first step.  Ideas? 

strRegLocal = "HKLM\SOFTWARE\SAP\SAPLogon\Options\ConfigFileOnServer"

If NwEngine.Shell.RegKeyExist( strRegLocal ) Then

        NwEngine.Context.Log.Write "Key exists: " & strRegLocal

Else

        NwEngine.Context.Log.Write "Key does not exist: " & strRegLocal

End If

If NwEngine.Shell.RegKeyExist("HKLM\SOFTWARE\SAP\SAPLogon\Options\ConfigFileOnServer") Then

        NwEngine.Context.Log.Write "Key exists: " & strRegLocal

Else

        NwEngine.Context.Log.Write "Key does not exist: " & strRegLocal

End If

Kirsten

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

On Windows 7, registry key is \HKLM\SOFTWARE\Wow6432Node\SAP\SAPLogon\Options

Best regards

Former Member
0 Kudos

Hello,

I have the same problem.

After a fresh install of frontend 730 with package, there is no registry key for SAP in  "HKLM\SOFTWARE\SAP"

Just in the User Profile who make the installation.

Another user doesn't have the configuration.

Is it possible to continue to use Key ConfigFileOnServer?

How should it be built ?