Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAP Gui 730 Silent install Package

Hi Basis Gurus,

i am trying to set up a silent install package for SAP Gui 730.

I am using the NwSapSetupAdmin.exe. I created a Package with the products i need. Then i created a Package Definition File. Now i am able to install the Package with this command:

\\server\SAP\SAPGui 7.30\Setup\NwSapSetup.exe /Silent /Package="SAPGui730"

So far it is working fine. But now i want to set some registry entries after finishing the installation. I tried to add the following commands in Tab "On Installation End".

NwEngine.Shell.SetRegValue "HKEY_CURRENT_USER\Software\SAP\General\Appearance\SplashOff", "REG_DWORD", "00000000"

NwEngine.Shell.SetRegValue "HKEY_CURRENT_USER\Software\SAP\General\Appearance\Sound", "REG_SZ", "off"

NwEngine.Shell.SetRegValue "HKEY_CURRENT_USER\Software\SAP\General\Appearance\Animation", "REG_SZ", "off"

NwEngine.Shell.SetRegValue "HKEY_CURRENT_USER\Software\SAP\SAPLogon\Settings\CurrentNewSapLogonView", "REG_SZ", "2"

NwEngine.Shell.SetRegValue "HKEY_CURRENT_USER\Software\SAP\SAPGUI Front\SAP Frontend Server\Customize\StatusShowMode", "REG_DWORD", "00000001"

NwEngine.Shell.SetRegValue "HKEY_CURRENT_USER\Software\SAP\SAPGUI Front\SAP Frontend Server\Customize\Statusbar.Layout", "REG_DWORD", "00000001"

NwEngine.Shell.SetRegValue "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions\MaxAllowedZone", "REG_DWORD", "00000001"

NwEngine.Shell.SetRegValue "HKEY_CURRENT_USER\Software\SAP\SAPGUI Front\SAP Frontend Server\Security\DefaultAction", "REG_DWORD", "00000000"

NwEngine.Shell.SetRegValue "HKEY_CURRENT_USER\Software\SAP\SAPGUI Front\SAP Frontend Server\Security\SecurityLevel", "REG_DWORD", "00000000"

NwEngine.Shell.SetRegValue “HKEY_LOCAL_MACHINE\SOFTWARE\SAP\SAPGUI Front\SAP Frontend Server\Security\SecurityLevel”, “REG_DWORD”, “0"

After that i pressed the Button Save and created a new Package Definition File.

I tested the installation on a brand new Windows XP Test VM. The Registry Keys are not working.....

What is my mistake?

I exported this keys from a other computer to a regfile. When i run this Regfile on the Test VM the Values will be set. But it is not working with my silent installation.

Best regards,

Klaus

Former Member
replied

Klaus Blab wrote:

...

NwEngine.Shell.SetRegValue "HKLM\SOFTWARE\SAP\TestKey\TestString", "REG_SZ", "TestValue"

NwEngine.Shell.SetRegValue "HKLM\SOFTWARE\SAP\TestKey\TestDWord", "REG_DWORD", "65536"

...

Dear Klaus,

Maybe your syntax is wrong ?

I would set them as follows:


NwEngine.Shell.SetRegValue "HKEY_LOCAL_MACHINE\Software\SAP\TestKey\TestString", "REG_SZ", "TestValue"

NwEngine.Shell.SetRegValue "HKEY_LOCAL_MACHINE\Software\SAP\TestKey\TestDWord", "REG_DWORD", "65536"

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question