9Uninstall Oracle Sales for Outlook

This chapter contains the following:

Uninstall Sales for Outlook Using Windows Control Panel

This topic explains how to uninstall Oracle Sales for Outlook from the Windows Control Panel.

To uninstall using the Windows Control Panel:

  1. Open Start, Control Panel, and Programs and Features.

  2. Select Oracle Sales Cloud for Outlook in the list and click Uninstall.

    After uninstalling Windows Control Panel, all Oracle Sales Cloud for Outlook folders along with the local CRM data is removed. This completes the uninstallation.

Uninstall Sales for Outlook Using InstallShield Wizard

You can uninstall Oracle Sales for Outlook using the InstallShield Wizard by running the same Oracle Sales for Outlook.msi file that was used for the installation:

To uninstall it using the InstallShield wizard:

  1. Run Oracle Sales for Outlook.msi.

  2. On the Welcome page of the InstallShield Wizard, click Next.

  3. Select the Remove option and click Next.

  4. Click the Remove button to start uninstalling.

  5. When the uninstallation completes, click Finish to close the InstallShield Wizard.

Oracle Sales for Outlook is now uninstalled.

Uninstall Sales for Outlook from Windows Command Prompt

You can uninstall Sales for Outlook using the command prompt, in per-user or per-machine mode.

Per-User Mode

To uninstall Sales for Outlook in the per-user mode:

  1. Click Start, Run, and type cmd to open the command prompt.

  2. In the command prompt, run the following command:

    msiexec /x "Disk:\...Oracle Sales Cloud for Outlook.msi"

  3. On the uninstall confirmation dialog box, click Yes.

  4. Click Yes again to start uninstalling.

After the uninstallation completes, selected Sales for Outlook folders and information about the user are retained for further troubleshooting.

Per-Machine Mode

This section explains uninstalling Sales for Outlook installed in the per-machine mode.

Note: When you uninstall Sales for Outlook in per-machine mode, uninstalling the profile only removes the files of the current user. But if you uninstall Sales for Outlook for all, then no user can work with the application and they must uninstall their profiles themselves.

To uninstall the user Sales for Outlook profile:

  1. Click Start, Run, and type cmd to open the command prompt.

  2. In the command prompt, run the following command:

    msiexec /x "Disk:\...\Oracle Sales Cloud for Outlook.msi"

  3. On the Welcome page of the InstallShield Wizard, click Next.

  4. Select Remove and click Next.

  5. Click Remove to start the uninstallation process.

  6. When the uninstallation completes, click Finish to close the InstallShield Wizard.

After the uninstallation completes, all Sales for Outlook folders of the current user along with the local sales data are removed.

Uninstall Sales for Outlook Using Microsoft SCCM

This topic describes how to uninstall Sales for Outlook using Microsoft SCCM.

To uninstall Sales for Outlook using Microsoft SCCM:

  1. Find an upgrade code of profile.msi.

  2. Identify computers with Sales for Outlook profile installed.

  3. Collect all product codes on the network.

  4. Uninstall Sales for Outlook profiles in per-user mode on the computers.

  5. Uninstall Sales for Outlook installed in per-machine mode.

Identify Computers with Sales for Outlook Profile Installed

This section describes how to identify computers with the Sales for Outlook profile installed.

To identify computers on which CRMD profile is installed, use the native SCCM reporting service:

  1. Before using this service, enable Software Inventory Client Agent in the Configuration Manager Console:

    1. Right-click Software Inventory Client Agent item in the Client Agents node in the System Center Configuration Manager, and select Properties from the context menu.

    2. On the Software Inventory Client Agent Properties dialog box, choose the Enable software inventory on clients option.

  2. Generate the native SCCM report with the inventoried software titles:

    1. Expand the Reporting tree node of the Configuration Manager Console, and select New and then select the Report command from the context menu.

    2. In the New Report Wizard, add the report name, choose the Software - Companies and Products category and other required parameters. You can also use SQL parameters for detailed reporting.

    3. Click Next to go through the wizard and generate the report.

      This report contains the list of all workstations and software installed on these computers. Sort client computers, find computers where Oracle Sales Cloud for Outlook is installed, and then move these computers to the separate collection.

Collect All Product Codes on the Network

Product codes on the client computers may vary because different versions of CRMD profiles may be installed on these computers.

When UpgradeCode is available, you can get the list of product codes for the products you want to uninstall. To get the list of product codes:

  1. Create a .vbs script with the following content:

    Option Explicit
    Public installer, product,  propVal, RelProd, prodFound, arg
    
    For Each arg In Wscript.Arguments
        set installer = CreateObject("WindowsInstaller.Installer")
        set propVal = installer.RelatedProducts(arg)
    
        For Each RelProd In propVal
          For Each product In installer.ProductsEx(RelProd, "", 7)
            WScript.StdOut.Write product.ProductCode
          Next
        Next
    Next
    
  2. Use the Installer.RelatedProducts property from msi.dll to find product codes using upgrade codes. The read-only RelatedProducts property returns a StringList object showing the set of all products installed or used for the current user and computer with a specified UpgradeCode property in their Property table.

  3. Save the .vbs file to any shared directory on the SCCM server and assign Write permissions for user accounts.

  4. Run the .vbs script to collect product codes from client computers. To do this with the SCCM package, run the following command from the command line:

    cmd.exe /c cscript.exe /nologo network_path_to_.vbs_script  "{UpgradeCode}">network_path_to_output_file

    The network_path_to_.vbs_script is a network path to the .vbs file created earlier, and the network_path_to_output_file is a network path to the output text file to collect product codes for future administrative use. For example:

    cmd.exe /c cscript.exe /nologo \\dc\CRMD_Codes\get_product_codes.vbs "{BF277E04-E06C-411E-A55A-C0015A170CB0}">\\dc\CRMD_Codes\product_codes.txt
    

Uninstall Sales for Outlook Profile Per-User on the Clients

To uninstall Oracle Sales Cloud for Outlook profile per-user on clients:

  1. Create the Uninstall package for this collection to uninstall all versions of CRMD Profile using the msiexec command line:

    1. On the Configuration Manager Console, navigate to Software Distribution, Packages node and create a new package.

      You don't require any more parameters in this step, except Security: select SCCM and workstation administrative account for package.

    2. In the New Package Wizard, specify the name and any other required data.

      Note: Don't select This package contains source files check box on the second page of the wizard.
  2. On the Access Accounts menu for this package, add SCCM administrator with Full Control privileges and domain accounts of the users who work with Sales for Outlook.

  3. Select the current SCCM Server as Distribution Point.

  4. Create a new program:

    1. Right-click the Program tree node and select New, and then the Program command from the context menu.

    2. In the New Program Wizard, specify the program name and the following Windows Management Interface Command:

      msiexec /x {ProductCode}

      ProductCode in this command is the Windows Installer ProductCode from the output file of the .vbs script. For example:

      cmd.exe /c cscript.exe /nologo \\dc\CRMD_Codes\get_product_codes
  5. On the Environment tab of the New Program Wizard, select The Program can run: Only when a user is logged on option and select the Allow users to interact with this program check box.

  6. On the Advanced tab, Run once for every user who logs on is selected by default. Don't change it.

  7. Don't modify the default settings on other tabs.

    Create and run different packages for all product codes simultaneously or one by one.

    The command Msiexec.exe /x runs in interactive mode, which allows customers to close Microsoft Outlook correctly and follow the uninstallation of MSI wizard. It also allows customers to cancel the uninstallation process. It is recommended to run an inventory report again to be sure that all software was uninstalled. Refer to the Identifying Computers with Oracle Sales Cloud for Outlook Profile Installed section of this topic to see the instructions.

    You can also use /q key with n parameter to specify the user interface level. It hides the user interface of the uninstallation wizard and run uninstall in unattended mode.

    msiexec "Disk:\...\Sales Cloud for Outlook.msi" /x /qn 

    Oracle recommends that you don't run uninstall in unattended mode. If Microsoft Outlook is running during the uninstallation, it fails and no other actions are performed.

  8. Right-click the Advertisements tree node of the Configuration Manager Console, and create the Advertisement for Uninstall package to make the packages active.

  9. Select the collection of clients where Sales for Outlook profile is installed and assign it to run As soon as possible. The advertisement starts as soon as you click Finish.

    SCCM runs every package only once, if you don't reactivate it.

  10. Run advertise per-user uninstall of Sales for Outlook profiles using the SCCM Advertisement for the package.

    Oracle recommends that you run native SCCM report with inventoried software titles again to ensure that all versions of the Sales for Outlook profile were uninstalled correctly. If the CRMD profile was not uninstalled on any computer in the network, repeat the uninstallation procedure from the beginning.

Uninstall Sales for Outlook Installed in Per-Machine Mode

If Sales for Outlook is installed in per-machine mode, you must uninstall all of the Outlook profiles for all Windows users before uninstalling Sales for Outlook. If you want to uninstall Sales for Outlook that has been installed in per-machine mode, you can follow the same steps as for uninstalling the Sales for Outlook profiles.

If you want to uninstall Sales for Outlook that had been installed in per-machine mode, you can use the same method if Sales for Outlook uses the MSI installation package, and not executable file.

Note: The UpgradeCode and ProductCodes properties for Sales for Outlook.msi package differ from Sales for Outlook profile codes.

The only difference between the two uninstallation packages is in the configuration of the Advanced tab, where the administrator must choose the Run once for the PC option. If you need to uninstall Sales for Outlook per-machine and Sales for Outlook profile per-user at the same time, do the following:

  1. Create a package with the uninstallation program for Sales for Outlook per-machine. Create the advertisement for this package.

  2. Create the package with the uninstallation program for Sales for Outlook per-user profile. Create the advertisement for this package.