Moka5
Moka5


Silently Installing and Uninstalling Moka5 Guest Tools   « Go Back

Summary

This article describes how to silently install and uninstall Moka5 Guest Tools from non-layered Windows 7 LivePCs. For Windows XP LivePCs, see this Knowledge Base article.

Table of Contents

Silently Installing Moka5 Guest Tools
Silently Uninstalling Moka5 Guest Tools Components

Description

Moka5 versions 3.13.1 and later include silent switches for installing Moka5 Guest Tools on Windows 7 LivePCs with non-layered disks.

Moka5 version 4.0 added a silent uninstall feature for Guest Tools on Windows 7 LivePCs with non-layered disks.

Note: Moka5 Guest Tools are made of three components that install together; Guest Tools, Printing Tools, and VMware Tools. To uninstall Moka5 Guest Tools, you must uninstall each component separately.

Silently Installing Moka5 Guest Tools

Applies To

  • Moka5 Player 3.13.1 and later

Pre-Requisites

  • Moka5 Guest Tools 3.13.1 or later
  • Moka5 7 Printing Tools 3.13.1 or later
  • VMware Tools
  • Windows 7 LivePC configured with Non-Layered Disks
  • A software deployment tool such as SCCM, Altiris, etc.

Running the Guest Tools Installer Silently

Obtain the Moka5 Win7 Guest Tools and copy the file to a local folder on your computer, e.g. C:\Packaging. The filename will be Moka5-#.#.#-Win7-Guest-Tools.exe (included with Complete Moka5 Installation Package).

  1. Open an administrator command line.
  2. On your Window 7 computer, go to the Start button and navigate to All Programs > Accessories. Right-click on Command Prompt and select “Run as administrator” from the menu.
  3. On the command line, navigate to the location (e.g. C:\Packaging) where you put the Moka5-#.#.#-Win7-Guest-Tools.exe.
  4. Run the following command:

    Moka5-#.#.#-Win7-Guest-Tools.exe /F

    The /F switch causes the installer to only download the necessary files to create the software deployment package. The files will be downloaded to same folder where Moka5-#.#.#-Win7-Guest-Tools.exe is located.

    Note: The /F switch is case-sensitive. Use a capital F, or the switch will not work.
  5. Click through the prompts.
  6. When the download completes, the progress window closes.
  7. To deploy the Guest Tools, you will need to create a deployment package with your software deployment tool (SCCM, Altiris, etc.) using the contents of the local folder with the Guest Tools files (e.g. C:\Packaging).
  8. Once the deployment package is created, configure it to perform the following actions on the LivePC during the deployment process:
    1. Run “Moka5-#.#.#-Win7-Guest-Tools.exe /S”

      The /S switch runs the installer silently on the LivePC. You must specify “/S” or the installer will not run silently. Instead, the end user will be prompted to take action regarding their installation.

      Note: The /S switch is case-sensitive. Use a capital S, or the switch will not work.
    2. After the installer has finished installing, the software deployment tool needs to be configured to REBOOT the LivePC for the Guest Tools to be fully updated.

Silently Uninstalling Moka5 Guest Tools Components

Applies To

    Moka5 Player 4.0 and later

    Prerequisites

    • Moka5 Guest Tools 4.0 or later
    • Moka5 7 Printing Tools 4.0 or later
    • VMware Tools
    • Windows 7 LivePC configured with Non-Layered Disks
    • A software deployment tool such as SCCM, Altiris, etc.

    Running the Guest Tools Uninstaller Silently

    Important: We strongly recommend that you install the desired version of Guest Tools immediately after uninstalling the current version. Do not reboot between the uninstallation of one version and the installation of another.
    1. Locate the Uninstall file in your Moka5 installation by going to C:\Program Files\MokaFive and finding the m5mokafivetoolsuninst.exe file.
    2. Open an administrator command line.
    3. On the command line, navigate to the location of the uninstall file m5mokafivetoolsuninst.exe
    4. Run the following command:

      m5mokafivetoolsuninst.exe
    The /S switch uninstalls Guest Tools silently on the LivePC. You must specify “/S” or the uninstallation will not run silently. Instead, the end user will be prompted to take action.
    Note: The /S switch is case-sensitive. Use a capital S, or the switch will not work.

    Running the Printing Tools Uninstaller Silently

    1. Locate the Uninstall file in your Moka5 installation by going to C:\Program Files\MokaFive and finding the m5printuninst.exe file.
    2. Open an administrator command line.
    3. On the command line, navigate to the location of the uninstall file m5printuninst.exe.
    4. Run the following command:

      m5printuninst.exe /S
    The /S switch uninstalls Guest Tools silently on the LivePC. You must specify “/S” or the uninstallation will not run silently. Instead, the end user will be prompted to take action.
    Note: The /S switch is case-sensitive. Use a capital S, or the switch will not work.

    Running the VMware Tools Uninstaller Silently

    VMware tools is an MSI-based application. Uninstalling it requires information about your specific version. Any software deployment tool (SCCM, etc) should be able to run the silent uninstall for you.

    Warning: Uninstalling VMware Tools can have serious impact on the functionality of your hypervisor. We strongly recommend reinstalling a recent version of Guest Tools immediately after completing this process.

    If you’d like to uninstall VMware Tools manually, here’s how:
    1. Open an administrator command line.
    2. Run the following command:
    MsiExec.exe /qn /x {02A869FC-38AC-4835-BB1C-9BB4758A8C92}