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