This project has moved. For the latest updates, please go here.

Deployment of SAP network installer

Topics: Publishing Issue
Jun 2, 2014 at 6:55 PM
I'm trying to publish a custom update using WPP to install SAP GUI using a networked installer.

My custom update is set to execute the exe setup file located on a publicly accessible network share and has some command line parameters set as well (one for targeting the proper update package from the SAP server, and one for making the installation silent). These are the same settings that work for this installation when executed directly on a machine.

The update fails through windows update, here is the excerpt from the log, does anyone have any suggestions for solving this issue?
2014-06-02  12:48:39:304    3664    101c    WUApp   No EULA acceptance needed
2014-06-02  12:48:39:304    1064    e44 AU  AU received approval from Ux for 1 updates
2014-06-02  12:48:39:304    1064    e44 AU  AU setting pending client directive to 'Progress Ux'
2014-06-02  12:48:39:304    4376    11dc    CltUI   AU client got new directive = 'Interactive Progress', serviceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, return = 0
2014-06-02  12:48:39:351    1064    e44 AU  BeginInteractiveInstall invoked for Download
2014-06-02  12:48:39:351    1064    e44 AU  Auto-approved 0 update(s) for download (for Ux)
2014-06-02  12:48:39:351    1064    e44 AU  UpdateDownloadProperties: 0 download(s) are still in progress.
2014-06-02  12:48:39:351    1064    e44 AU  #############
2014-06-02  12:48:39:351    1064    e44 AU  ## START ##  AU: Download updates
2014-06-02  12:48:39:351    1064    e44 AU  #########
2014-06-02  12:48:39:351    1064    e44 AU    # Found no download approved updates.
2014-06-02  12:48:39:351    1064    e44 AU  #########
2014-06-02  12:48:39:351    1064    e44 AU  ##  END  ##  AU: Download updates
2014-06-02  12:48:39:351    1064    e44 AU  #############
2014-06-02  12:48:39:351    1064    e44 AU  BeginInteractiveInstall invoked for Install
2014-06-02  12:48:39:351    1064    e44 AU  Auto-approving update for install, updateId = {C371485F-372D-4ACE-96FE-23CDCF95316B}.1, ForUx=1, IsOwnerUx=1, HasDeadline=0, IsMinor=0
2014-06-02  12:48:39:351    1064    e44 AU  Auto-approved 1 update(s) for install (for Ux), installType=1
2014-06-02  12:48:39:351    1064    e44 AU  #############
2014-06-02  12:48:39:351    1064    e44 AU  ## START ##  AU: Install updates
2014-06-02  12:48:39:351    1064    e44 AU  #########
2014-06-02  12:48:39:351    1064    e44 AU    # Initiating manual install
2014-06-02  12:48:39:351    1064    e44 AU    # Approved updates = 1
2014-06-02  12:48:39:351    1064    e44 AU  <<## SUBMITTED ## AU: Install updates / installing updates [CallId = {0F577150-680B-4D51-BFCD-360FA4D318CC}]
2014-06-02  12:48:39:351    1064    dd4 Agent   *************
2014-06-02  12:48:39:351    1064    dd4 Agent   ** START **  Agent: Installing updates [CallerId = AutomaticUpdates]
2014-06-02  12:48:39:351    1064    dd4 Agent   *********
2014-06-02  12:48:39:351    1064    dd4 Agent     * Updates to install = 1
2014-06-02  12:48:39:351    1064    dd4 Agent     *   Title = SAP GUI 7.30 R6
2014-06-02  12:48:39:351    1064    dd4 Agent     *   UpdateId = {C371485F-372D-4ACE-96FE-23CDCF95316B}.1
2014-06-02  12:48:39:367    1064    e44 AU  Getting featured update notifications.  fIncludeDismissed = true
2014-06-02  12:48:39:367    1064    e44 AU  No featured updates available.
2014-06-02  12:48:48:827    1064    dd4 Handler Attempting to create remote handler process as PHIFERNET\eturpin in session 1
2014-06-02  12:48:48:890    1064    dd4 DnldMgr Preparing update for install, updateId = {C371485F-372D-4ACE-96FE-23CDCF95316B}.1.
2014-06-02  12:48:49:108    4736    efc Misc    ===========  Logging initialized (build: 7.6.7600.256, tz: -0500)  ===========
2014-06-02  12:48:49:108    4736    efc Misc      = Process: C:\Windows\system32\wuauclt.exe
2014-06-02  12:48:49:108    4736    efc Misc      = Module: C:\Windows\system32\wuaueng.dll
2014-06-02  12:48:49:108    4736    efc Handler :::::::::::::
2014-06-02  12:48:49:108    4736    efc Handler :: START ::  Handler: Command Line Install
2014-06-02  12:48:49:108    4736    efc Handler :::::::::
2014-06-02  12:48:49:108    4736    efc Handler   : Updates to install = 1
2014-06-02  12:48:55:615    4736    efc Handler   : WARNING: Command line install completed. Return code = 0x00000030, Result = Failed, Reboot required = false
2014-06-02  12:48:55:615    4736    efc Handler   : WARNING: Exit code = 0x8024200B
2014-06-02  12:48:55:615    4736    efc Handler :::::::::
2014-06-02  12:48:55:615    1064    12ac    AU  >>##  RESUMED  ## AU: Installing update [UpdateId = {C371485F-372D-4ACE-96FE-23CDCF95316B}]
2014-06-02  12:48:55:615    4736    efc Handler ::  END  ::  Handler: Command Line Install
2014-06-02  12:48:55:615    1064    12ac    AU    # WARNING: Install failed, error = 0x80070643 / 0x00000030
2014-06-02  12:48:55:615    4736    efc Handler :::::::::::::
2014-06-02  12:48:56:005    1064    dd4 Agent   *********
2014-06-02  12:48:56:005    1064    12ac    AU  Install call completed.
2014-06-02  12:48:56:005    1064    dd4 Agent   **  END  **  Agent: Installing updates [CallerId = AutomaticUpdates]
2014-06-02  12:48:56:005    1064    12ac    AU    # WARNING: Install call completed, reboot required = No, error = 0x00000000
2014-06-02  12:48:56:005    1064    dd4 Agent   *************
2014-06-02  12:48:56:005    1064    12ac    AU  #########
2014-06-02  12:48:56:005    1064    12ac    AU  ##  END  ##  AU: Installing updates [CallId = {0F577150-680B-4D51-BFCD-360FA4D318CC}]
2014-06-02  12:48:56:005    1064    12ac    AU  #############
2014-06-02  12:48:56:005    1064    12ac    AU  Install complete for all calls, reboot NOT needed
2014-06-02  12:48:56:005    1064    12ac    AU  Setting AU scheduled install time to 2014-06-03 07:00:00
2014-06-02  12:48:56:005    1064    12ac    AU  Successfully wrote event for AU health state:0
2014-06-02  12:48:56:020    1064    11cc    AU  Getting featured update notifications.  fIncludeDismissed = true
2014-06-02  12:48:56:020    1064    11cc    AU  No featured updates available.
2014-06-02  12:48:57:612    1064    11cc    AU  UpdateDownloadProperties: 0 download(s) are still in progress.
2014-06-02  12:48:57:612    1064    11cc    AU  Triggering Offline detection (non-interactive)
2014-06-02  12:48:57:612    1064    11cc    AU  AU setting pending client directive to 'Install Complete Ux'
2014-06-02  12:48:57:612    1064    11cc    AU  Changing existing AU client directive from 'Progress Ux' to 'Install Complete Ux', session id = 0x1
2014-06-02  12:48:57:721    1064    11cc    AU  Successfully wrote event for AU health state:0
Editor
Jun 2, 2014 at 7:55 PM
What are the NTFS-Security Settings for the Share? You have to add the Computers.
If you run the Setup manually the Admin User is running the Setup, but Windows Update is running through SYSTEM.
Jun 2, 2014 at 8:47 PM
WinfriedSonntag wrote:
What are the NTFS-Security Settings for the Share? You have to add the Computers.
If you run the Setup manually the Admin User is running the Setup, but Windows Update is running through SYSTEM.
To eliminate this as a possible cause of the issue, I made a custom update just as I had before but instead just referenced the name of the exe file in the custom update, and then included all of the relevant files for the update inside the update under the additional files section.

Here was the result of my newly made update
2014-06-02  14:42:55:746    3664    1538    WUApp   No EULA acceptance needed
2014-06-02  14:42:55:746    1064    17b4    AU  AU received approval from Ux for 1 updates
2014-06-02  14:42:55:762    1064    17b4    AU  AU setting pending client directive to 'Progress Ux'
2014-06-02  14:42:55:762    4232    1180    CltUI   AU client got new directive = 'Interactive Progress', serviceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, return = 0
2014-06-02  14:42:55:808    1064    ce0 AU  BeginInteractiveInstall invoked for Download
2014-06-02  14:42:55:808    1064    ce0 AU  Auto-approved 0 update(s) for download (for Ux)
2014-06-02  14:42:55:808    1064    ce0 AU  UpdateDownloadProperties: 1 download(s) are still in progress.
2014-06-02  14:42:55:808    1064    ce0 AU  UpdateDownloadProperties: download priority has changed from 2 to 3.
2014-06-02  14:42:55:808    1064    ce0 Agent   Setting download properties on call E4CBF5AD-EB61-4A35-9669-118DD31CADE9: priority=3, interactive=1, owner is system=0, proxy settings=1, proxy session id=1
2014-06-02  14:42:55:808    1064    ce0 AU  #############
2014-06-02  14:42:55:808    1064    ce0 AU  ## START ##  AU: Download updates
2014-06-02  14:42:55:808    1064    ce0 AU  #########
2014-06-02  14:42:55:808    1064    ce0 AU    # Found no download approved updates.
2014-06-02  14:42:55:808    1064    ce0 AU  #########
2014-06-02  14:42:55:808    1064    ce0 AU  ##  END  ##  AU: Download updates
2014-06-02  14:42:55:808    1064    ce0 AU  #############
2014-06-02  14:42:56:464    1064    17e0    DnldMgr BITS job {23FF09BA-C905-45DD-916C-1A1259482FC7} completed successfully
2014-06-02  14:42:56:542    1064    17e0    Misc    Validating signature for C:\Windows\SoftwareDistribution\Download\498115f74dc950d8dc3d98e09e319172\8cce24bdfc434f859f5532e416234da1cec6095e:
2014-06-02  14:42:56:573    1064    17e0    Misc     Microsoft signed: No
2014-06-02  14:42:56:573    1064    17e0    Misc    Trusted Publisher: Yes
2014-06-02  14:42:56:573    1064    17e0    DnldMgr   Download job bytes total = 5557931, bytes transferred = 5557931
2014-06-02  14:42:56:573    1064    17e0    DnldMgr ***********  DnldMgr: New download job [UpdateId = {F6F38602-702F-41FF-A3EA-63121263CFB2}.1]  ***********
2014-06-02  14:42:56:604    1064    17e0    DnldMgr   * All files for update were already downloaded and are valid.
2014-06-02  14:42:56:604    1064    14d8    AU  >>##  RESUMED  ## AU: Download update [UpdateId = {F6F38602-702F-41FF-A3EA-63121263CFB2}, succeeded]
2014-06-02  14:42:56:604    1064    14d8    AU  #########
2014-06-02  14:42:56:604    1064    14d8    AU  ##  END  ##  AU: Download updates
2014-06-02  14:42:56:604    1064    14d8    AU  #############
2014-06-02  14:42:56:604    1064    14d8    AU  Setting AU scheduled install time to 2014-06-03 07:00:00
2014-06-02  14:42:56:604    1064    14d8    AU  Successfully wrote event for AU health state:0
2014-06-02  14:42:56:604    1064    14d8    AU  Currently showing Progress UX client - so not launching any other client
2014-06-02  14:42:56:604    1064    14d8    AU  Successfully wrote event for AU health state:0
2014-06-02  14:42:56:604    1064    1478    AU  Getting featured update notifications.  fIncludeDismissed = true
2014-06-02  14:42:56:604    1064    1478    AU  No featured updates available.
2014-06-02  14:42:57:821    1064    1478    AU  BeginInteractiveInstall invoked for Install
2014-06-02  14:42:57:821    1064    1478    AU  Auto-approving update for install, updateId = {F6F38602-702F-41FF-A3EA-63121263CFB2}.1, ForUx=1, IsOwnerUx=1, HasDeadline=0, IsMinor=0
2014-06-02  14:42:57:821    1064    1478    AU  Auto-approved 1 update(s) for install (for Ux), installType=1
2014-06-02  14:42:57:821    1064    1478    AU  #############
2014-06-02  14:42:57:821    1064    1478    AU  ## START ##  AU: Install updates
2014-06-02  14:42:57:821    1064    1478    AU  #########
2014-06-02  14:42:57:821    1064    1478    AU    # Initiating manual install
2014-06-02  14:42:57:821    1064    1478    AU    # Approved updates = 1
2014-06-02  14:42:57:821    1064    1478    AU  <<## SUBMITTED ## AU: Install updates / installing updates [CallId = {13FEC730-9CB3-48B0-B31C-0D290C57D119}]
2014-06-02  14:42:57:821    1064    c74 Agent   *************
2014-06-02  14:42:57:821    1064    c74 Agent   ** START **  Agent: Installing updates [CallerId = AutomaticUpdates]
2014-06-02  14:42:57:821    1064    c74 Agent   *********
2014-06-02  14:42:57:821    1064    c74 Agent     * Updates to install = 1
2014-06-02  14:42:57:821    1064    c74 Agent     *   Title = SAP GUI 7.30 R7
2014-06-02  14:42:57:821    1064    c74 Agent     *   UpdateId = {F6F38602-702F-41FF-A3EA-63121263CFB2}.1
2014-06-02  14:43:01:613    1064    bfc Report  REPORT EVENT: {EBEBDF91-B0E6-48CF-AF6E-D88DF15C6F13}    2014-06-02 14:42:56:604-0500    1   162 101 {F6F38602-702F-41FF-A3EA-63121263CFB2}  1   0   AutomaticUpdatesWuApp   Success Content Download    Download succeeded.
2014-06-02  14:43:01:613    1064    bfc Report  REPORT EVENT: {0282464E-0CEC-4D77-9FC9-B1FD8F005C4B}    2014-06-02 14:42:56:604-0500    1   188 102 {00000000-0000-0000-0000-000000000000}  0   0   AutomaticUpdates    Success Content Install Installation Ready: The following updates are downloaded and ready for installation. This computer is currently scheduled to install these updates on ‎Tuesday, ‎June ‎03, ‎2014 at 2:00 AM:  - SAP GUI 7.30 R7
2014-06-02  14:43:01:613    1064    bfc Report  CWERReporter finishing event handling. (00000000)
2014-06-02  14:43:08:539    1064    1478    AU  Getting featured update notifications.  fIncludeDismissed = true
2014-06-02  14:43:08:539    1064    1478    AU  No featured updates available.
2014-06-02  14:43:20:535    1064    c74 Handler Attempting to create remote handler process as PHIFERNET\eturpin in session 1
2014-06-02  14:43:21:003    1064    c74 DnldMgr Preparing update for install, updateId = {F6F38602-702F-41FF-A3EA-63121263CFB2}.1.
2014-06-02  14:43:22:477    6296    19ac    Misc    ===========  Logging initialized (build: 7.6.7600.256, tz: -0500)  ===========
2014-06-02  14:43:22:477    6296    19ac    Misc      = Process: C:\Windows\system32\wuauclt.exe
2014-06-02  14:43:22:477    6296    19ac    Misc      = Module: C:\Windows\system32\wuaueng.dll
2014-06-02  14:43:22:477    6296    19ac    Handler :::::::::::::
2014-06-02  14:43:22:477    6296    19ac    Handler :: START ::  Handler: Command Line Install
2014-06-02  14:43:22:477    6296    19ac    Handler :::::::::
2014-06-02  14:43:22:477    6296    19ac    Handler   : Updates to install = 1
2014-06-02  14:43:29:917    6296    19ac    Handler   : WARNING: Command line install completed. Return code = 0x00000046, Result = Failed, Reboot required = false
2014-06-02  14:43:29:917    6296    19ac    Handler   : WARNING: Exit code = 0x8024200B
2014-06-02  14:43:29:917    6296    19ac    Handler :::::::::
2014-06-02  14:43:29:917    6296    19ac    Handler ::  END  ::  Handler: Command Line Install
2014-06-02  14:43:29:917    6296    19ac    Handler :::::::::::::
2014-06-02  14:43:29:917    1064    14d8    AU  >>##  RESUMED  ## AU: Installing update [UpdateId = {F6F38602-702F-41FF-A3EA-63121263CFB2}]
2014-06-02  14:43:29:917    1064    14d8    AU    # WARNING: Install failed, error = 0x80070643 / 0x00000046
2014-06-02  14:43:30:151    1064    c74 Agent   *********
2014-06-02  14:43:30:151    1064    c74 Agent   **  END  **  Agent: Installing updates [CallerId = AutomaticUpdates]
2014-06-02  14:43:30:151    1064    c74 Agent   *************
2014-06-02  14:43:30:151    1064    14d8    AU  Install call completed.
2014-06-02  14:43:30:151    1064    14d8    AU    # WARNING: Install call completed, reboot required = No, error = 0x00000000
2014-06-02  14:43:30:151    1064    14d8    AU  #########
2014-06-02  14:43:30:151    1064    14d8    AU  ##  END  ##  AU: Installing updates [CallId = {13FEC730-9CB3-48B0-B31C-0D290C57D119}]
2014-06-02  14:43:30:151    1064    14d8    AU  #############
2014-06-02  14:43:30:151    1064    14d8    AU  Install complete for all calls, reboot NOT needed
Coordinator
Jun 2, 2014 at 10:15 PM
Hi, can you show us the content of the file :
C:\Windows\Temp\CustomUpdateEngine.log

When you have create the update do you have used the option : "Can request user input" ?
Jun 3, 2014 at 2:30 PM
DCourtel wrote:
Hi, can you show us the content of the file :
C:\Windows\Temp\CustomUpdateEngine.log

When you have create the update do you have used the option : "Can request user input" ?
I will try revising my update to include that option and see if it makes a difference. In the meantime here's the log file you requested. I changed the server's name to serverName but everything else is intact.
6/2/2014 11:29:58 AM    ========================================================================================================================
6/2/2014 11:29:58 AM    Starting CustomUpdateEngine with ActionFile : 8a89d3f9-a3c4-4135-9bcb-a27f1cd9ac2f.xml
6/2/2014 11:29:58 AM    Starting parsing ActionFile.
6/2/2014 11:29:58 AM    Get Element from : <Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>returnCode</Name>
<Type>Int</Type>
<ID>bb5e0d8d-19e6-418a-8423-c9f55393aaef</ID>
</Action>
6/2/2014 11:29:58 AM    Get VariableElement from : <Action>
<ElementType>CustomUpdateElements.VariableElement</ElementType>
<Name>returnCode</Name>
<Type>Int</Type>
<ID>bb5e0d8d-19e6-418a-8423-c9f55393aaef</ID>
</Action>
6/2/2014 11:29:58 AM    Get Element from : <Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>\\serverName\sapgui730_setup\Setup\NwSapSetup.exe</PathToExecutable>
<Parameters>/Package="SAPGUI 7.30 installation" /silent</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>15</TimeBeforeKilling>
<Variable>bb5e0d8d-19e6-418a-8423-c9f55393aaef</Variable>
</Action>
6/2/2014 11:29:58 AM    Get ExecutableElement from : <Action>
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>\\serverName\sapgui730_setup\Setup\NwSapSetup.exe</PathToExecutable>
<Parameters>/Package="SAPGUI 7.30 installation" /silent</Parameters>
<KillProcess>True</KillProcess>
<TimeBeforeKilling>15</TimeBeforeKilling>
<Variable>bb5e0d8d-19e6-418a-8423-c9f55393aaef</Variable>
</Action>
6/2/2014 11:29:58 AM    Instance ExecutableElement successful.
6/2/2014 11:29:58 AM    Get Element from : <Action>
<ElementType>CustomUpdateElements.ReturnCodeElement</ElementType>
<ReturnCodeMethod>Variable</ReturnCodeMethod>
<StaticReturnCode>0</StaticReturnCode>
<Variable>bb5e0d8d-19e6-418a-8423-c9f55393aaef</Variable>
</Action>
6/2/2014 11:29:58 AM    Initializing ReturnCodeElement with : <Action>
<ElementType>CustomUpdateElements.ReturnCodeElement</ElementType>
<ReturnCodeMethod>Variable</ReturnCodeMethod>
<StaticReturnCode>0</StaticReturnCode>
<Variable>bb5e0d8d-19e6-418a-8423-c9f55393aaef</Variable>
</Action>
6/2/2014 11:29:58 AM    Running 2 Elements.
6/2/2014 11:29:58 AM    Running CustomUpdateEngine.ExecutableElement
6/2/2014 11:29:58 AM    Running ExecutableElement.
6/2/2014 11:29:58 AM    Path To expand is : \\serverName\sapgui730_setup\Setup\NwSapSetup.exe
6/2/2014 11:29:58 AM    Expanded Path is : \\serverName\sapgui730_setup\Setup\NwSapSetup.exe
6/2/2014 11:29:58 AM    Running : \\serverName\sapgui730_setup\Setup\NwSapSetup.exe With arguments : /Package="SAPGUI 7.30 installation" /silent
6/2/2014 11:30:01 AM    Exiting process.
6/2/2014 11:30:01 AM    End of running ExecutableElement.
6/2/2014 11:30:01 AM    Running CustomUpdateEngine.ReturnCodeElement
6/2/2014 11:30:01 AM    Return Code Method is : Variable
6/2/2014 11:30:01 AM    Returning :  48
Jun 3, 2014 at 3:02 PM
DCourtel I tried using the can request user input setting and it did not make any difference. I still get the same error codes.
Coordinator
Jun 3, 2014 at 4:28 PM
Hi,
6/2/2014 11:29:58 AM Running : \serverName\sapgui730_setup\Setup\NwSapSetup.exe With arguments : /Package="SAPGUI 7.30 installation" /silent
You should embed the "nwSapSetup.exe" in the update, and, in the CustomUpdate, just set the name of the exe instead of sharing the exe from a remote server.
Jun 3, 2014 at 4:38 PM
DCourtel wrote:
Hi,
6/2/2014 11:29:58 AM Running : \serverName\sapgui730_setup\Setup\NwSapSetup.exe With arguments : /Package="SAPGUI 7.30 installation" /silent
You should embed the "nwSapSetup.exe" in the update, and, in the CustomUpdate, just set the name of the exe instead of sharing the exe from a remote server.
Thanks for the suggestion, I've tried both ways and they both return the same error codes. Sorry I didn't mention that earlier.

I've tried:
  • A regular update with all the files needed included
  • A regular update with all the files needed included and the user input setting checked
  • A custom update using the network path
  • A custom update using the network path and the user input setting checked
  • A custom update with the executable name in the custom update and all needed files included
  • A custom update with the executable name in the custom update and all needed files included and the user input setting checked
None of these updates have worked, they all fail with the same error message.
Coordinator
Jun 3, 2014 at 6:50 PM
From what I can see in the log, NwSapSetup.exe is launch and then return the Error-Code 48.
You should investigate on what does "Error-Code 48" mean for SAP.
This is a "not so helping" link : SAP GUI Packaging and Installation
Also, you can try to find the installation log of NwSapSetup.exe.
Marked as answer by DCourtel on 8/1/2014 at 1:03 AM