If your like me and need to deploy VMWare in your environment and are unsure the approach to use, then you have several options. If you use Casper, JAMF has come out with a PDF outlining the best methods for packaging and deploying VMWare, its preferences and VMMachines. Since VMWare Fusion 5 however VMWare has included a nice manageable way to deploy VMWare to all your machines.
Note, I was struggling to get this to work and realized that if you do not have a mass deployment serial number or serial key that is valid for a volume license then the installation seems to fail. Thats because the steps we are about to take use a command line utility to register the software on install and then suppress the prompts to register the software. If you get software installation errors then make sure that your serial number is valid.
Requirements
- The VMware Fusion 6.x or 5.x application downloaded from the VMware Download Center. For more information, see Downloading and installing VMware Fusion (2014097)
- A Volume License Key for VMware Fusion 6.x or 5.x: Standard or Professional Edition.
- A package deployment tool, such as Apple Remote Desktop Admin.
MetaPackage that comes with VMWare
Inside the VMWare Application in the VMWare DMG you will see a package called Deploy VMware Fusion.mpkg. Follow these easy instructions also found over at VMWare Fusions Website.
- Right-click the downloaded VMware Fusion.app icon, and click Show Package Contents.
- In the Contents folder, locate the Library folder.
- Right-click the Deploy VMware Fusion.mpkg file and click Copy Deploy “VMware Fusion.mpkg”.
- Close the VMware Fusion.app package contents Finder window.
- Right-click on your desktop and click Paste Item. This creates a copy of the deployment package template on your desktop.
- Right-click the Deploy VMware Fusion.mpkg icon and click Show Package Contents.
- Locate the folder named 00Fusion_Deployment_Items in the Contents folder.
- Copy the downloaded VMware Fusion application (VMware Fusion.app) into the 00Fusion_Deployment_Items folder.
- To deploy virtual machines with VMware Fusion, copy one or more virtual machines into the 00Fusion_Deployment_Items folder.
Sanitize VMWare Machine Image
Note: Before deploying a virtual machine to multiple clients, you must first modify some user-specific virtual machine settings in a text editor. Open the virtual machine settings file in a text editor. I actually prefer using VI or PICO for this step.
Remove unique identifiers by removing the lines containing these entries
ethernet0.addressType =
ethernet0.generatedAddress =
ethernet0.generatedAddressOffset =
uuid.bios =
uuid.location =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, you must change absolute paths to relative paths that will be expanded the next time the virtual machine is started.
Locate this line
sharedFolder1.hostPath = "/Users/your_username_here/Documents"Change the username-specific part of the pathname to the tilde (~). For example:
sharedFolder1.hostPath = "~/Documents"Save the .vmx file and exit the editor.
IMPORTANT: Do not power on this virtual machine again before mass deployment. If the virtual machine is powered on, the settings will be reset.
- Open the Deploy.ini file (located in the 00Fusion_Deployment_Items folder) in a text editor.
- Locate the [Volume License] entry in the file.
- Remove the # at the start of the next line containing a dummy license key.
- Replace XXXX-XXXX-XXXX-XXXX-XXXX with your volume license key.
- Save and close the Deploy.ini file.
- Close the Deploy VMware Fusion.mpkg Finder windows, and give the package file a name describing its contents, according on your requirements.
The Fusion Mass Deployment Package is now ready for deployment.
Deploy using Apple Remote Desktop
- Launch Apple Remote Desktop.
- Select the system to deploy to from the list.
- Click Install.
- When prompted, enter the credentials for the remote system and click Add.
- Click + and select the created package, then click Install. Deployment starts and the status is indicated in the progress bar.
- The deployed virtual machine is saved in the remote system’s Macintosh HD/Users/Shared/Virtual Machines folder.
Deploy with MUNKI
Below is a sample workflow you can use to import the above package into MUNKI for general distribution. Ultimately importing the final mpkg is the same as importing any package. Once done you would want to make it either an optional install or a managed install in Munki.
bash-3.2$ /usr/local/munki/munkiimport ~/Downloads/VMWare Fusion\ 6.mpkg
Item name [VMWare Fusion]:
Display name []: VMWare Fusion
Description []: VMWare Fusion
Version [6.0]:
Catalogs [testing]:
Item name: VMWare Fusion
Display name: VMWare Fusion
Description: VMWare Fusion
Version: 6.0
Catalogs: testing
Import this item? [y/n] y
Upload item to subdirectory path []: apps/vmware
Path /Users/Shared/munki_repo/pkgs/apps/vmware doesn't exist. Create it? [y/n] y
Copying VMWare Fusion 6.0.dmg to /Users/Shared/munki_repo/pkgs/apps/mozilla/VMWare Fusion 6.0.dmg...
Saving pkginfo to /Users/Shared/munki_repo/pkgsinfo/apps/mozilla/VMWare Fusion 6.0...Create package with Composer
Alternatively, you could install VMware Fusion manually, creating the installation package using a third party utility. This can be particularly helpful if you want to deploy VMware Fusion as a dmg file rather than a .pkg file or if you want to customize it in ways not previously described (some software, such as InstaDMG will use dmg files instead of packages). In this example we will cover doing so with Composer, a part of the Casper Suite by JAMF Software.
To start, open Composer on the computer you will be installing VMware Fusion on. For this example I am using Composer 8.6.2. When it first launches you will see the option to create a snapshot.
While the snapshot is running do not perform any other tasks. When it is complete, then you will see a prompt Install and configure your software. At this point, install VMware Fusion.
When the installation is complete, click back into Composer. You can choose to embed the license key in the installer at this point or capture a base snapshot one more time after the installation and then insert the license key and then create a package with just the files pertaining to licensing VMware Fusion. Once you are satisfied with the name for your installer, click on the Create Package Source button.
When you click this Composer will go through a second lengthy scan. At this point it will be taking a second snapshot of the operating system and will compare the two snapshots to produce a list of what the image (.dmg) or package (.pkg) will consist of. When it is complete you can click on the Verify Contents button to customize what will be a part of the installer
At this point, you will want to remove any extraneous information from the package. Keep an eye out for any items that are not specific to VMware as configuration files for the computer you are installing VMware Fusion onto can be captured here. Take extra caution to ensure that you exclude any machine-specific system configuration files that are not specific to VMware Fusion. Anything being deployed to /System, /etc or /var warrants particular consideration before inclusion into your package with the possible exception of anything that specifically references VMware or Fusion in the file name. However pushing out a file that overwrites /etc/authorization for example could cause systems to not accept logins in the future.
Once you are satisfied that all of the items for VMware Fusion are listed, and only those items then click on the Build Package button or Build DMG. Once done you can add this item to Self Service or set it up as a managed installation that can be targeted in your JSS.
AI Usage Transparency Report
Pre-AI Era · Written before widespread use of generative AI tools
AI Signal Composition
Score: 0.09 · Low AI Influence
Summary
VMware Fusion deployment guide
Related Posts
Fontrestore, Apple’s fix for your fonts
FontAgent Pro is a great font management solution for OS X. One of the best things about it is that its 100% cloud based. You can run the entire thing hosted in their cloud instance or you can run it on your own server. It's a great solution for font management, and does everything from managing your font licenses, users, libraries, and sets. The one problem however is the fact that when deploying a new font solution, you find yourself in a quandary over the right way to deploy it....
Munki Report-PHP, the new old kid on the block
I have used SCCM for a while now and have to say that I find it very very powerful. The fact that collects plenty of information from the clients, uploads it to a SQL db and keeps a history, plus the ability of create dynamic computer collections based on querys to the SQL and then target those groups with tasks makes it extremely useful in an enterprise environment. Plus the amazing reports you can get if you have an SQL guru around!
Munki Software License Tracking
Beginning with the 0.9.1 builds of the munki tools, Munki can query a webserver to determine if there are available seats for licensed software (or any software you wish to make available via optional_installs, yet control the number of deployed copies). In order to use this feature, here are the things you need:
Deploying Printers with Munki on 10.9 Mavericks
You can use Profile Manager to manage printer lists but the functionality is limited. One major issue with managing printer lists with Profile Manager is if you add a printer to an Profile Manager client’s printer list, and the driver file for that the printer isn’t installed on the client system, the printer will be added using the Generic Printer Driver. Even if the printer driver file is installed later the printer continues to use the Generic Printer Driver.
Updating Munki Web Admin on 10.9 Mavericks Server
Discover the Power of MUNKI: A Robust Solution for Your Mac Management Needs MUNKI is a highly acclaimed product that has earned its place as a top choice among Mac administrators, thanks to its strong community backing and impressive track record. With support from industry giants like Disney and Google, this reliable solution has consistently delivered results across all versions of OSX since its inception. Whether you're managing a small fleet or a large enterprise, MUNKI's robust features and seamless integration make it an ideal choice for any Mac management...
10.9 Deploying Mac App Store Packages
If your like me then your happy that Apple has made several of their wonderful software titles free recently, specifically iLife and iWork for Mavericks. Apple has a defined workflow for deployment of these systems. Their method is to have companies enroll into their Volume Licensing Program once enrolled you can download apps from the app store and the iOS store and deploy these seamlessly to your devices with Profile Manager for Mavericks.
10.9 Mavericks, AutoDMG a match made in heaven
If your like me then you have an entire organization of users who are itching to get their hands on the latest Mavericks operating system and have been told to wait, we are testing. Truth is that its already been tested. I tested it all through the various developer builds and the issues have for the most part been very minimal which is great for a .0 release. However the issue really has been how are we going to deploy it.
10.9 Auto Enrollment Profile Manger Package
Many years ago when I was managing a fleet of computer using 10.6, I thought that I was a master systems administrator because I had all my computers managed by MCX. It took me years to get MCX working properly across all my systems, but it saved me countless hours of time and energy managing preferences and remote settings for new and existing systems. This made my life so much easier, as I no longer had to manually configure each system individually.
Backup your website data securely to Amazon S3
Your websites and your systems are only as good as the backup strategy that you have for them. While managing Mac’s you may think that having a strategy for website data backup is not relevant or important. Until you realize all of the technologies that you use on a daily basis that are actually moving to the web platform or cloud. For example OSX Wiki Server and Profile Manager 2 are all 100% web based technologies. If you use a web based ticketing system like Web Help Desk or Spiceworks...
What is the Managed App Store & Why you need it
--- Many people discount the importance of running app level updates on your computers. Programs like Chrome, Firefox and Adobe Creative Suite all have built it update utilities that will look for and apply critical security and functional updates from their respective development teams. Part of the job of software vendors is providing quality assurance meaning they are testing their software to make sure that it is stable and usable for their users. However little is known about how each vendor actually tests their software. Many only test on newer...