cancel
Showing results for 
Search instead for 
Did you mean: 

setting Registry Keys during Sapgui 710-Update

Former Member
0 Kudos

dear all,

i have a 710 SAP Installation Server running. In my package i have an "On End Update" script which should automaticly enable GuiXt and additional title ifo:

NwEngine.Context.Log.Write "Event: activating GuiXt via registry key"

strRegGuiXT = "HKCUSoftwareSAPSAPGUI FrontSAP Frontend ServerCustomizeGuiXT"

NwEngine.Shell.SetRegValue strRegGuiXT, "REG_DWORD", "1"

NwEngine.Context.Log.Write "Event: registry key for additional title info"

strRegNumMod = "HKCUSoftwareSAPSAPGUI FrontSAP Frontend ServerAdministrationShowAdditionalTitleInFo"

NwEngine.Shell.SetRegValue strRegNumMod, "REG_DWORD", "1"

after updating a client there are success-messages in the update log:

12:31:34 NwSapsAtlC 1 Executing Scripting Event...

12:31:34 NwSapsEngn 1 Event: activating GuiXt via registry key

12:31:34 NwSapsEngn 1 Shell : registry value 'GuiXT' has been successfully set

12:31:34 NwSapsEngn 1 Event: Setting the auto-update registry key for SAP Logon

12:31:34 NwSapsEngn 1 Shell : registry value 'UpdateMode' has been successfully set

12:31:34 NwSapsEngn 1 Shell : registry value 'Prob' has been successfully set

12:31:34 NwSapsEngn 1 Event: registry key for additional title info

12:31:34 NwSapsEngn 1 Shell : registry value 'ShowAdditionalTitleInFo' has been successfully set

but GuiXt is still inactive, there are no additional tilte info´s and there are no such keys in the registry!

any idea what the cause could be?

thanks!

Alexander

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks! In this case i have to search for an other way to solve this problem.

Has anybody an idea how to implement a logon-script for every sap-user?

Former Member
0 Kudos

Hello Alexander,

HKCU\ keys CAN NOT be updated via event scripting, becuase it is a USER dependent reg key...

HKCU keys can be handled via windows logon script, becuase, then the right user is logged in

BR

Sven