SAPGUI Installation Server Script - Commands Reference

Hi
I've been using SAPGUI Installation server for some time and it works fine, but now I would like to add some more functions to it. I've read the documentation about commands you can use in pre/post install and uninstall scripts but there aren't too many of them. What I would like is a list of all commands that can be used in such scripts.
Hope to get some help
Best Regards,
Paweł

Hello
you find in the setup folder of the Sapgui cd the file named
Installation Server Help.chm
There is a chapter named
Package Event Scripting Samples
That's all
Best Regards, Sven

Similar Messages

  • ECL Viewer on 2 different locations in the SAPGui Installation server

    I've installed the SP 13 of the SAPGui Installation Server.  Can anyone explain me why the ECL Viewer is installed 2 times in the SAPGui Installation server.  One time as a separate product and one as a General Add-On in the SAPGui 7.1 Product.  Doesn't this give any conflicts?  We are getting a dump for several transactions.  Is this due to this?
    Next to that I can't delete the ECL Viewer in the General add-on.
    Thanks for helping.

    Hm, you can check this from t-code SM04 (if one server) or SM51 and after on all servers.
    SM04 --> Change layout (CTRL+F8) --> Gui version add in Displayed Columns , after you will see all GUIs.
    SM51 --> select server --> User (CtrlShiftF7) after as  above.
    If you install the package on some PC, before installin sapsetup checks are this GUI installed or not(are the present package installed,are all components from package installed), and if it are installed finished installation.
    Regards.

  • SAPGUI & SAP Installation Server

    Hi experts,
    Currently we build a front end package (single installation) then use SMS to push it out to every computer globally. But recently the packages are getting too big to use SMS.
    So we consider the SAP Installation Server as our solution on this issue. But still some questions/concerns here need to give your help- who has used the SAP Installation Server already.
    1. Do we need some additional hardware requirements for this installation server? In my simple mind, it's just a software which can be running on Windows server.
    2. Do we need licensing considerations for this - SAP Installation Server?
    3. I have looked over the SAP installation Server guide, seems we don't need to do any maintenance of this. correct?
    4. The last question also it's the important one. .  How does the software delivery for SAPGUI work with SAP Installation Servers that may be decentralized around the globe? We are a global company, so it's impossible that just set up one installation server in headquarters.
    Please any experts who has the similar experience give me the answer.
    Best regards,
    Mimi

    Good morning, Mimi - We use SMS in combination with the SAP Frontend Installation Server. I will first answer your questions and then explain what we do.
    1. You do not necessarily need a dedicated server strictly for the installation server. You should not install multiple versions of the SAPGui on the same server. For instance, if you have both SAPGui 6.40 and SAPGui 7.10, you would want to use 2 separate servers as the installation servers.
    2. There is no additional licensing needed for a SAPGui installation server.
    3. The only maintenance required is the application of SAP frontend patches as they become available. The patches are applied to the installation server and then you run an update to get the patches from the installation server to the desktop.
    4. It is definitely better that you would not try to have a single installation server for a company with offices around the globe. This will increase your administration somewhat because you will have to manage multiple installation servers (applying patches, etc.). The software distribution mechanism of the installation server is that there are two services, a distribution service and an installation service. These are provided so that a user with non-admin privileges can initiate an update to the SAPGui on their desktop. This is an important consideration, because by default, both SAPGui 6.40 and SAPGui 7.10, when installed on the desktop, have a registry key set that automatically checks when SAPGui is launched to see if the patch level on the desktop is the same as the patch level on the installation server. If not, it initiates an update of the desktop. If the user does not have admin privileges, the update will fail.
    The process that we utilize here is that we have one installation server. We duplicate the share where the installation server is installed to all of our SMS servers. We have SMS servers in most of our remote offices, so that when the SAPGui is pushed out, the package is not pushed over the WAN, but instead over the local network in that location, thus making it much faster and reducing the load on the WAN. We then run the SAPSetup command and supply the GUID of the package that we want to push out. We chose not to use the distribution and installation services since we want to be able to make sure that each desktop has the same patch level of the SAPGui. So we used the following scripts to disable the automatic update check:
    6.40:
    <i>Engine.Context.Log.Write "Event 'SAPGUI640_NONADMIN_OnEndInstall' has been invoked"
         Engine.Shell.SetRegValue "HKLM\SOFTWARE\SAP\SAPSetup\SAPstart\AutoUpdate\SapLgPad.exe", "REG_SZ", "ForceOff"
    Engine.Context.Log.Write "Event 'SAPGUI640_NONADMIN_OnEndInstall' has finished"</i>
    7.10:
    <i>NWEngine.Context.Log.Write "Event 'SAPGUI710_SAPGUI710_NONADMIN_OnEndInstall' has been invoked"
    Engine.Shell.SetRegValue "HKLM\SOFTWARE\SAP\SAPSetup\SapStart\AutoUpdate\SapLogon.exe\UpdateMode", "REG_SZ", "ForceOff"
    Engine.Shell.SetRegValue "HKLM\SOFTWARE\SAP\SAPSetup\SapStart\AutoUpdate\SapLgPad.exe\UpdateMode", "REG_SZ", "ForceOff"
    NWEngine.Context.Log.Write "Event 'SAPGUI710_SAPGUI710_NONADMIN_OnEndInstall' has finished"</i>
    We have found this to be a very manageable setup.
    I hope this helps. Please let me know if you need more information.

  • Installation Server and Windows 7 - Admin Rights Issue

    Here is a good one.  Completely reproducible error when granting Local Admin Rights by the LSH Service.
    For those with SAPGui Installation Server (SAPGui 7.20 Patch 6 or above) ... try this on a Windows 7 SP1 front end when you are NOT logged on with local admin rights.
      1) Open the Windows RUN dialog
      2) Type path to your installation server\setup\nwsapsetup.exe
      3) You should find the install wizard starts (granting local admin rights) as expected.
    NOW TRY THIS
      1) Type path to your installation server\setup\nwsapsetup.exe /uninstall
      2) You will find that you get a dialog about can't grant admin rights. Un-install will abort.
    This only appears to happen with the /uninstall switch!  Using /product= for example it will still grant admin rights.
    BIZZARE ...
    I've opened a Customer Support Message (Friday) priority - MEDIUM  have not heard back from SAP Support yet.
    Bob

    Jude,
    Thanks, it looks like that note has been getting a lot of update activity lately because the newly released Patch 8 has nwsapsetup.exe as version:  8.6.1.62   and that version also has the issue with the /nnnnnn switches. 
    I do have to say however, that this issue with nwsapsetup.exe and admin rights (requiring SapSetup.exe_Patch) first appeared with the release of Patch 6 for the Gui.  It was fixed for WinXP (I had a customer support message opened on this).  So why didn't anyone also test on Win7?
    Who is QA-ing these software releases? 
    Patch 8 had the same problem. 
    The change log for SapSetup.exe_Patch, is up to 8.1.6.70 now. 
    How are we in large enterprises to feel comfortable deploying any of this?
    End of rant ....
    Bob
    P.S. I really appreciate your presence here ... the tech assigned to my formal Support Message on the matter still has not gotten back advising of the updated release of SapSetup.exe_Patch. 
    Message: 0000746888
    Edited by: Bob Held on Sep 16, 2011 10:30 PM

  • SAPGUI Installation using SCCM2012

    Hi,
    We are trying to install SAPGUI using SCCM,
    - Packages created, around 150 MB
    - Moved to distribution point,
    - it dumped the package on target PC
    but the issue is it does not start the installation automatically.
    we followed the following doucment , available in the link below.
    http://gallery.technet.microsoft.com/SAP-GUI-Installation-Using-22b7e486
    pls assist.
    Thank you
    MNR

    Hi Mohammed,
    I am not an expert with SCCM, however, I don't believe the use of the Single-file-installer method is SAP's recommendation. That is intended for offline installation, such as on laptops or remote VPN scenarios over slow WAN links, etc. NwSapSetupAdmin provides a tool called Create Package Definition File which is intended to provide the instructions to SCCM for installing your predefined package directly from your SAPGUI Installation Server. I think this is what you should be exploring.
    Regards,
    Matt

  • Change Installation Server

    Hi,
    May I know how to change the source of the installation server?
    Let's say the sapgui installation server is set up on machineA. Then a failure happens on machineA, another sapgui installation server is set up on machineB.
    my question:
    1) what happen to those computers that are earlier installed using the installation server from machineA?
    2) how to let these computers get updates from machineB?
    thanks
    regards,
    xinlin

    Is this only solution?
    in SAPGUI 640 there is registry entry:
    HKLM\SOFTWARE\SAP\SAPSetup\General /v InstServer /t REG_SZ /d
    But where is that is SAPGUI710??
    Thanks & Regards,
    Tomislav.

  • SAPGUI 7.10 patch application to installation server.

    I set up SAPGUI 7.10 Installation server on windows. For 6.40,
    when applying frontend patches, we use to follow the below procedure:
    1) Log into service.sap.com.Click on Downloads.2) Click on support
    packages and patch 3) Click on entry by application group.4) Click on
    SAP Frontend Components 5) Click on SAPGUI for windows 6) Click on
    SAPGUI for windows 6.40 7) Click on win32 and download following
    patches BW 3.5 addon patch, sapgui for windows 6.40 patch and sapsetup
    for sapgui 6.40. 8) Once all the required patches are downloaded, next
    step is to create gui package using those patches. 9)Click on
    SAPADMIN.exe, click on apply patch and the patches are applied in the
    following order Setup patch, gui patch, BW patch. 10) Click on Browse
    and go to the folder where the above patches are located and select the
    patch that should be added to the package and click on open. 11) Then
    click on install.12) Then you can check the version of installed
    patches by click on View--> Server Monitor.
    I would like to know, what is the equivalent procedure for SAPGUI 7.10
    and where can I find document about it?

    Try this guide:
    http://www.id.uzh.ch/dl/sw/sap/SAPGUI/SAP_FE_Instguide_710.pdf

  • Applying BW 3.50 patch 3 for sapgui 7.10 to a installation server

    Hi All
    Im applying a few patches to a 7.10 installation server, everything works fine , except for when applying the BW 3.50 patch 3 for 7.10 GUI to the server .. well applying the patch actually works , but afterwards instead of having only 2 products to choose from on the first hierarchy level (Business Explorer and SAP GUI for Windows 7.10), there is suddenly 6 products instead (SAPGUI for windows 7.10, Engineering client viewer, bw 3.5 addon, kw addon, tweak gui and business explorer).
    The real question is .. before applying the patches, I had a package called "complete" which included both available products, after applying 3.50 bw patch, the original package still contains the same two products, but is that adequate ?? or should a new package be created that includes ALL products available after the patch ?
    Or .... is the original package completely patched ??
    I have never before seen a patch apply additional products to the installation server ....
    /Kim

    Hi Kim Sonny,
    nice to hear from you ....
    Ok, please check the note
    #1131768  and
    #1155445 !
    I recommend you to set up a new installation server with the new compilation 3 CD of
    sapgui 710 ! And for this please look into the note #1266552
    Best Regards,
    Sven
    from primary support gsc austria ....

  • SAPGUI 7.10 Installation Server Patching Problem

    Hello,
    A while back I was having a problem with patching a SAPGUI 710 installation server. A suggestion from the forum was that the version of the SAP Download Manager I was using could be corrupting the patch. So I downloaded and installed the latest SAP Download Manager, downloaded the GUI patch and was then able to apply the GUI patch to the Installation Server. Now I am seeing the same sort of problem with trying to apply the recently released BI and BW patches to the 710 installation server. When I run the SAPSetupAdmin.exe tool, select "Patch Server", browse to the patch and select "Next" to apply the patch, nothing happens. I reinstalled the latest Download Manager, but no luck.
    Any suggestions?
    Thanks,
    Tom Grantham

    Hi All,
    I opened up an OSS message with SAP. The response is below. Changing the extension from EXE to exe fixed the problem.
    Tom.....
    10.07.2007 - 11:41:28 CET    SAP    Reply 
    Dear Mr. Grantham,
    There have been rare reports of the latest download manager not
    resolving the issue. I have just been updated from a development supportcolleague there is a small issue with the patch extensions which
    prohibits NwSapSetupAdmin from applying the patches.
    With the patches that you have currently downloaded could you try
    renaming the extension to lower case only please (.EXE to .exe) and thenapply the patches.
    If the patches still cannot be applied then could you kindly try
    downloading and applying the patches for BW & BI from the SAPmats links
    below:
    BW350GUI710_1_10004473.exe
    https://sapmats-de.sap-ag.de/download/download.
    cgi?id=AC2WQZ8ABBYCGNF3DY0KU7AXXXX3HWGKL5EF9HHR78DRX8MUYM
    BI710_1_10004472.exe
    https://sapmats-de.sap-ag.de/download/download.
    cgi?id=KZGA233QK8LX12CS3CRZHMXZCRU0BDQVIXBVMFIOZT8P5EOU7M

  • 7.10 installation server, load balancing and multiple installation servers

    Hi
    In the 7.10 GUI installation server, there is no Load balancing option anamore, also there seems to be no option to easily clone the installation server from within the nwsapsetupadmin.exe program.
    If having MANY users at one location, and needing more than one installation server to accomodate the frontend installations, do you need to do this "manually" now ? grouping users and and the logon script directing different user groups to different sapgui installation servers ?
    what about creating multiple installation servers easily, is it possible to simply copy the installation server directory (c:\sapinst f.ex.) to another file server, share the directory and configure the DS and IS services (if needed) ??
    will configured packages and "on end install" scripts and such be copied too to the new installation server ?
    I need to easily create installation servers in 15 countries, this is the reason for my question...

    Hi Kim Sonny,
    hope you're doing fine
    Regarding your question:
    The "Load Balancing" was more a fail-over service and wasn't intended to use for several locations like in your case.
    So the easiest way to do this is to setup one installation server and copy the files to the other servers. On the new Installation servers you only have to setup the service again and that's it.
    Cheers,
    Martin

  • Installation Server Slow on Windows Server 2008 R2

    Previously I had two identical servers setup to service SAPGui installs in our corporate office.  Both were configured for SAPGui 7.20 Patch 3 and the servers were Windows Server 2003 SP2.
    Recently one of these servers was replaced with a newer/faster with more memory Windows Server 2008 R2 box.
    I immediately noticed installs to front ends were taking longer when run off the 2008 system.  Today I timed installs to two identical front end Win XP computers.
    Server 2003 SP2 installed in 7 minutes.
    Server 2008 R2 installed in 23 minutes.
    Has anyone else experienced this?
    Bob H

    I have no doubt that the problem in the OS localization.
    But, taking into account some facts:
    World population is estimated to number 7.126 billion people.
    Anglosphere is about 740 million people.
    I have not found information about the supported OS languages.
    I'm worried about losing my non-English data.
    I am for the licensed software, but a trial and registered OS has the same functionality, and displays messages/data in the same way.
    I doubt that the OS registration will allow installer to properly finish and even display the error correctly. (Java strings is UTF-based, so, developers should set correct code page. Probably, because system code page can be different with console code page (cp866 for Russian). Current codepage could be view by executing "chcp" in console).
    In any case Enterprise-class product should operate correctly on each supported systems, or inform about problems before.

  • Front End Installation Server - Administrator rights on client PC's

    We are using a third party repackaging tool to deploy sapgui to our workstations.  This has proven to be problematic in the past and are now considering the SAP Front End Installation server approach.
    After reveiwing the installation guide we are wondering about how packages are deployed to workstations.  Our users do not have administrator priveleges on thier workstations, so is it still possible to deploy packages from the installation server (either where they "pull" it down, or it is pushed down to them).
    This factor is one reason we are still using the third party repackaging tool because packages can be deployed under a "system" account (via a cleint agent on each PC) - in lieu of each user having administrator privelges on their workstations.
    If the SAP Installation server requires users to have these elevated priveleges it won't be an option for us.  Does anyone else have any experience with the Installation server and users who do not have administrator priveleges?
    Any feedback, directions, or links to additional resources would be greatly appreciated and happily rewarded with positive feedback and reward points
    thanks,
    jeff henke

    Hi Jeff. Try to download the SAPGUI 710 instguid. Go to http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000614745& in left press on 
    "SAP GUI for Windows" -->  7.10, download this file. In this Guide you can read about :
    Local security handling (LSH) lets users on the network deploy SAP front-end components on
    their front ends using NetWeaver SAPSetup without requiring administrative privileges on
    each front end. Regards.

  • Not able to start managed server from command prompt

    Hi,
    I am trying to start manged server from command prompt. The command i am using is as follows:
    startManagedWebLogic.cmd MS1 [http://]&lt;Listen_Address&gt;:&lt;Admin_port&gt;
    Where MS1 is the name of my managed server.
    But i am getting following exceptions:
    There are 1 nested errors:
    weblogic.management.ManagementException: Unable to obtain lock on C:\bea\user_pr
    ojects\domains\PB530Domain\servers\AdminServer\tmp\AdminServer.lok. Server may a
    lready be running
    at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.ja
    va:159)
    at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.ja
    va:58)
    at weblogic.management.internal.DomainDirectoryService.start(DomainDirec
    toryService.java:73)
    at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesMan
    ager.java:459)
    at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServ
    icesManager.java:164)
    at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:711)
    at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:482)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:440)
    at weblogic.Server.main(Server.java:67)
    >
    <Feb 10, 2009 6:48:16 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
    te changed to FAILED>
    <Feb 10, 2009 6:48:16 PM IST> <Error> <WebLogicServer> <BEA-000383> <A critical
    service failed. The server will shut itself down>
    <Feb 10, 2009 6:48:16 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
    te changed to FORCE_SHUTTING_DOWN>
    Please help me to resolve this issue.
    thanks,
    Sonal
    Edited by: [email protected] on Feb 10, 2009 5:16 AM

    Looking at your error message a little closer, I don't believe it has anything to do with port conflicts but rather that even though you are executing the startManagedWeblogic.cmd with your managed server name (MS1), the error indicates that it is trying to start the Admin Server (not MS1). Note in your error message the following: Unable to obtain lock on C:\bea\user_pr
    ojects\domains\PB530Domain\servers\AdminServer\tmp\AdminServer.lok. Server may a
    lready be running
    It is saying that it cannot start the Admin Server because it is already running (which is probably true in your case). Have you made any changes to the startManagedWeblogic.cmd or the startWeblogic.cmd scripts? I would start debugging there and try to figure out why the script is trying to start your admin server instead of MS1 as you requested on the cmd line.

  • Calling SQL Server Script File in Hypersonic DB

    HI All,
    I am using Hypersonic Database with java swing.
    To update the database, i am getting SQL Server script file through a webservice.
    The problem is i dont have any idea, how i can update Hypersonic Database with the SQL Server script file.
    Please Help.
    Thanks
    Nitin

    Also I think
    CREATE TABLE table1
    ( tableoneid INT PRIMARY KEY NOT NULL
    , name VARCHAR(255) NOT NULL
    , PRIMARY KEY(tableoneid) );should probably be
    CREATE TABLE table1
    ( tableoneid INT CONSTRAINT table1_pk PRIMARY KEY
    , name VARCHAR(255) NOT NULL );otherwise you specify the primary key twice (and PRIMARY KEY implies NOT NULL so the NOT NULL is redundant).
    Then TABLE2 might need to be something like:
    CREATE TABLE table2
    ( tabletwoid INT NOT NULL
    , tableoneid NOT NULL CONSTRAINT table2_table1_fk REFERENCES table1
    , CONSTRAINT table2_pk PRIMARY KEY(tabletwoid, tableoneid) );although the table-level constraint syntax could be used for the foreign keys if it meant less editing of your scripts. The "CONSTRAINT constraintname" clause of constraints is optional but recommended, as otherwise they will get system-generated names like "SYS_C005157". (Note that if you specify the FK inline as part of the column definition you do not need to include a datatype.)
    If the IDENTITY clause causes a sequential value to be assigned as a default, there is no direct equivalent to that in Oracle. The nearest thing would be a row-level BEFORE INSERT trigger.

  • C# application to execute both oracle and sql server script files.

    Hi All,
    I am suppose to develop an application using c# which can execute oracle script files as well as sql server script files based on some user's choice. 
    Both the script files(oracle/sql server) contains scripts to create tables, create views and create functions.
    What is the best way to do this and which existing c# functions should is use.
    Thanks in advance.

    I am suppose to develop an application using c# which can execute oracle script files as well as sql server script files based on some user's choice. 
    You can use SQL Plus for Oracle. You can have a C# program that issues commands  for  scripts for table, views, triggers  creation and the whole 10 yards to SQL Plus,
    http://docs.oracle.com/cd/B19306_01/server.102/b14357/qstart.htm
    https://www.google.com/#q=sql+plus
    I started writing a program to use SQL Plus to run the scripts, but cI ame to the conclusion that it was a waste of my time.
    A tool called OSM, an Oracle, tool gives a list of script files that need to be run do to a change in a script file based on file timestamp. You can copy the list doing a copy/past operation and drop it into SQL Plus's Command line, and SQL Plus runs the
    scripts.
    For MS SQL Server, you have this, which you can run from a C# program too.
    http://www.webfactory-world.de/wfknowledgebase/wfknowledgebase_wf3.3/Content/AdditionalWindowsSettings/Tutorials/UpdatingSQLDBFromCommandLine.htm
    I would consider using the above from a C# program a waste of time too.
    I look at it this way. If the user doesn't have database admin experience and know how to use DB admin tools, then they have no business doing anything with a database - period.
    BTW, the Invoke statement in VB or C# will run SQL Plus or SQL Server command line tool.

Maybe you are looking for