Duet Enterprise Developer Guide - Now Available at SDN

If you want to build your own custom development on the Duet Enterprise Platform but you are not sure how or where to start then you should check out the new Duet Enterprise Developer Guide. It lays out the development process steps and leads you through all these steps to build your own custom scenario. You will expose data from a SAP ERP system in a SharePoint External List.

The guide also includes brief discussions on topics like architecture, runtime data flows als well as supportability topics, e.g. how to program logging and error handling.

Target Audience and Required Skills

The guide is written for SAP ABAP developers as the main focus of this guide is on the development steps on the SAP side.

Nevertheless the guide also explains how to create an External Content Type and External List in SharePoint so you can perform an end-to-end test of your development in SharePoint. Some SharePoint knowledge is required for this part. 

Prerequisites

To follow the example in the guide you need a working Duet Enterprise landscape which is ideally connected to an SAP ERP system and one of the Starter Services should be working (e.g. customer and contact). If you do not yet have a working landscape, the guide can still be beneficial in giving you insights on how to develop based on the Duet Enterprise Platform.

Duet Enterprise Virtual Launch Summit

At the Duet Enterprise Launch Summit on February 1st, Erwin Grose, a Product Manager for SAP, will be giving a session about developing Duet Enterprise applications, focusing on the tools necessary in the SAP environment to perform your development (see a teaser video clip).
If you haven't signed up yet then please check out the Duet Enterprise Virtual Launch Summit

Related Content

Duet Enterprise Developer Guide

Duet Enterprise Virtual Launch Summit

Duet Enterprise Home Site

In Installation Script for Mass Rollout of Duet Client (Part 1) I talked about a new sample script, which can be used as a template for your mass rollout of the Duet Client Component. Today I will provide more detail on how to prepare the script for your environment.

 

What do I need to do before using the script?

1. First create the following subfolders within your root directory:

  • HotFix (including subfolders KB899587, KB907417, KB945430, KB941275) - optional
  • Office_2003_SP3 - optional
  • Office_2007_SP1 - optional
  • Scripts
  • Source

Your folder structure should look like this:
Folder structure

2. Next you need to place the following files within these folders:

Folder Scripts:

  • File: DuetInstallationScript.vbs
    This is the file, which you downloaded from Microsoft's website earlier.

Folder Source:

  • Files: CD  Microsoft  Installation Files  OBA Client  Setup Files  en
    Copy these files from the Duet CD to the Source folder. (Choose the proper language folder for your desired language.)

Folder Office_2003_SP3:

Folder Office_2007_SP1:

Folder HotFix / KB899587:

Folder HotFix / KB907417:

Folder HotFix / KB945430:

Folder HotFix / KB941275:

3. Next you need to make adjustments to the script. Open the script in an editor and make the following changes:

  • READSERVICE_URL
    Set the variable READSERVICE_URL to the correct URL of your Duet Read Service.
  • DUET_SCRIPT_LOG
    Variable DUET_SCRIPT_LOG determines where the log of the installation script should be stored. Specify a path that will exist on all operating systems.
  • DUET_SETUP_LOGGING
    Parameter DUET_SETUP_LOGGING lets you specify where the log of the Duet Installation (setup.exe) should be stored.

4. Read through the script and modify where necessary. Turn off features not applicable to your environment. Here some areas you should pay attention to:

  • Support Packages
    Modify functions DetectAndInstallOfficeSP3() and DetectAndInstallOffice2007SP1() if you do not want the script to install service packs.
  • Hotfixes
    Determine if it is necessary to rollout hotfixes. They might be already available on your company's computers. Revise function DetectAndInstallHotfixes() as necessary.
  • Group Policies
    If your script is executed by an administrator (instead of the end user) then group policy settings might not be available to the administrator. In this case, you should turn off function ValidateGroupPolicies().

Error handling

Once the script determines that a prerequisite is not met, then the script will do the following:

  • Stop the installation process
  • Create a log entry with a specific error message
  • Return an error code, which can be captured by your software distribution system (e.g. Microsoft SMS)

If errors are encountered, desktop support should start manual resolution.

 

Script test

Perform a thorough test of your script. Choose a small test group in your production environment for a final test prior to starting the mass rollout.

 

Using script in your software distribution system

Depending on your company's software distribution system (e.g. Microsoft's SMS), now create the software distribution package which includes your new script. Allow the package to execute with administrative rights, as required by the Duet Installer. Also consider forcing a user log off, because the Duet System Tray will only start upon next logon of the user.

 

Usage of this sample script should significantly reduce the time and work involved in preparing for the mass rollout of the Duet Client Component.

You may have installed the Duet Client Component a number of times on client machines in your test environment. The question arises on how to roll out the Duet Client Component to a larger number of computers.

 

Microsoft's Duet Development team has created a sample installation script to assist with this task. This sample should give you an idea of possible areas that should be covered during the installation process. With the help of this sample you can create your own script, which you can use in combination with a software distribution tool (e.g. Microsoft's SMS) to accomplish a mass rollout.

 

Good to know prior to using the script

Please carefully read Duet for Microsoft Office and SAP: Installation Guide, chapter Installing Duet Client Components (Microsoft) to familiarize yourself with all the prerequisites that should be automated in an installation script. You should have experience in script development and client deployment.

 

Where to find this script?

You can get the script from Microsoft's web page at http://support.microsoft.com/kb/957860. Download the Duet for Microsoft Office and SAP 1.5 tools enhancements package and run the self-extracting .exe file to extract the tools to a common folder. Included in the collection of files is the sample script - DuetInstallScript.vbs.

 

What does it do?

The script has a number of features:

  • Verify if the user has administration rights
  • Detect if Duet is already installed and initiate an upgrade if needed
  • Check if the minimum hardware requirements are met (e.g. RAM, hard free hard disk space)
  • Check operating system prerequisites
  • Make sure that Windows Installer is present
  • Analyze Group Policy settings for Duet
  • Check Microsoft Office version and prerequisites
  • Enable .Net Programmability settings required by Duet
  • Install required Microsoft Office Service Packs
  • Install required Hotfixes (as specified in the Duet Installation Guide)
  • Start the Duet Installation in ‘silent mode'
  • Create a detailed log file (including specific error messages)

 

All these features are turned on in the script. You have to decide which ones make sense in your organization and which ones you want to turn off or modify. (E.g. installation of Office Service Packs may be prohibited by your organization using the Duet script.  In this case, the service packs must be applied first according to your company's deployment strategy.)

 

What does it not do?

It does not support the installation of Duet in different languages. You have to modify the script if you want to rollout multiple languages.

 

The script is not tailored to your enterprise. It is only a sample. You have to carefully read the script and adjust it to your environment's needs. Nevertheless this sample should provide you a very good base to start from and will help accelerate your script development.

 

 

Please stay tuned. In part 2 of this blog I will explain how to use the script in more detail.

Filter Blog

By date: