on 07-19-2012 6:34 PM
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
On Windows 7, registry key is \HKLM\SOFTWARE\Wow6432Node\SAP\SAPLogon\Options
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.