Creating a VMware Fusion mass deployment package
search cancel

Creating a VMware Fusion mass deployment package

book

Article ID: 344190

calendar_today

Updated On:

Products

VMware Desktop Hypervisor

Issue/Introduction

This article provides steps to deploy the VMware Fusion installer accompanied by a bulk license. This process places the license into the application to avoid entering the same during the deployment..

Environment

VMware Fusion Pro 10.x
VMware Fusion 8.x
VMware Fusion 7.x
VMware Fusion 11.x
VMware Fusion 6.x
VMware Fusion 5.x
VMware Fusion 10.x
VMware Fusion Pro 11.x
VMware Fusion Pro 8.x

Resolution

A mass deployment package is configured with a volume license key and a copy of the VMware Fusion application. This mass deployment package is deployed to any number of client Macs using standard package deployment tools such as Apple Remote Desktop Admin.

When deployed on a client machine, mass deployment automatically performs these actions:
  • Installs the VMware Fusion application
  • Applies Volume License
  • Suppresses EULA, Registration, and other administrative first-run dialogs
  • Redirects the VMware Fusion Support menu and/or software updates to your local server (optional)
  • Copies prepared virtual machines to the client machine and adds them to the Virtual Machine Library of the user (optional)
After deploying, the VMware Fusion application is ready to run on the client without requiring any administrative privileges by the logged-in user.

Deployment requirements:
  • The VMware Fusion application downloaded from the VMware Download Center. For more information, see Downloading and installing VMware Fusion (2014097).
  • A Volume License Key for VMware Fusion: Standard or Professional or Pro Edition.
  • A package deployment tool such as Apple Remote Desktop Admin.
To create a VMware Fusion mass deployment package:
  1. Right-click the downloaded VMware Fusion.app icon, and click Show Package Contents.
  2. In the Contents folder, locate the Library folder.
  3. Right-click the Deploy VMware Fusion.mpkg file and click Copy Deploy "VMware Fusion.mpkg".
  4. Close the VMware Fusion.app package contents finder window.
  5. Right-click on your desktop and click Paste Item. This creates a copy of the deployment package template on your desktop.
  6. Right-click the Deploy VMware Fusion.mpkg icon and click Show Package Contents.
  7. Locate the folder named 00Fusion_Deployment_Items in the Contents folder.
  8. Copy the downloaded VMware Fusion application (VMware Fusion.app) into the 00Fusion_Deployment_Items folder.
    Note: It has been observed that certain package deployment tools lose code signatures for some scripts/utilities/config files inside VMware Fusion 11.5.5 or later during package deployment, the loss of the code signatures causes Fusion to fail to load kernel extensions and launch services, and therefore VMs fail to power on after the deployment. To avoid the code signature loss, you have the option to compress the VMware Fusion.app to a zip file and put the zip file instead of the VMware Fusion.app itself into the deployment payload folder inside "Deploy VMware Fusion.mpkg" bundle. Support for zip file payload has been added in Fusion 11.5.5, so you can now copy either "VMware Fusion.app" or "VMware Fusion.zip" into the 00Fusion_Deployment_Items folder.
  9. To deploy virtual machines with VMware Fusion, copy one or more virtual machines into the 00Fusion_Deployment_Items folder.

    Note: Before deploying a virtual machine to multiple clients, first modify some settings on the virtual machine:
     
    1. Power on the virtual machine.
    2. Open a terminal window. For more information see Common Mac OS operations that may be needed with VMware Fusion (1022113)
    3. Run this command:

      sudo nvram -d platform-uuid

      Note: Deploying Mac OS X virtual machines stores the hardware UUID in the nvram. The command clears the hardware UUID to avoid duplicates after deployment of the packages.
       
    4. Power off the virtual machine.
    5. Open the virtual machine settings file in a text editor. For more information, see Editing the .vmx file for your VMware Fusion virtual machine (1014782).
       
    6. Remove unique identifiers by removing the lines containing these entries:

      ethernet0.addressType =
      ethernet0.generatedAddress =
      ethernet0.generatedAddressOffset =
      uuid.bios =
      uuid.location =

       
    7. Modify the relative host pathname settings:

      Note: When initially set up, Shared and Mirrored folders have absolute path names to the specified shared directories. To make the virtual machine suitable for mass deployment, change absolute paths to relative paths that expands the next time the virtual machine is started.

      Locate this line:

      sharedFolder1.hostPath = "/Users/username/Documents"

      Change the username-specific part of the pathname to the tilde (~).

      For example:

      sharedFolder1.hostPath = "~/Documents"
       
    8. Save the .vmx file and exit the editor.

      Note: Do not power on this virtual machine again before mass deployment. If the virtual machine is powered on, the settings will be reset.
       
  10. Open the 00Fusion_Deployment_Items/Deploy.ini file in a text editor.
  11. Locate the [Volume License] entry in the file.
  12. Remove the # at the start of the next line containing a dummy license key.
  13. Replace XXXX-XXXX-XXXX-XXXX-XXXX with your volume license key.
  14. Save and close the Deploy.ini file.
  15. Close the Deploy VMware Fusion.mpkg finder window, and give the package file a name describing its contents, according to your requirement.
The Fusion Mass Deployment Package is now ready for deployment.

To deploy the package using the Apple Remote Desktop Admin application:
  1. Launch Apple Remote Desktop.
  2. Select the system to deploy to from the list.
  3. Click Install.
  4. When prompted, enter the credentials for the remote system and click Add.
  5. Click + and select the created package, then click Install. Deployment starts and the status is indicated in the progress bar.
  6. The deployed virtual machine is saved in the Macintosh HD/Users/Shared/Virtual Machines folder of the remote system.


Additional Information


Editing the .vmx file for your VMware Fusion virtual machine
Common Mac OS operations that may be needed with VMware Fusion
Downloading and installing VMware Fusion