Note that Windows 8.1 and Windows 10 are not currently supported due to incompatibilities with the Office Licensing service on these platforms. The issue is under investigation and this post will be updated when the issue has been resolved.
Step 1: Start with a clean Windows 7 32 bit operating system
When using the snapshot method to virtualize an application, it is important to start with a clean system so that no components are missed during the capture and diff process.
The snapshot process can be performed on a virtual machine or a physical machine. Typically a virtual machine is used so that the system can easily be reset in case the process needs to be repeated.
There are many options for virtual machine software including VMWare Workstation, Oracle Virtual Box (free) and Microsoft Virtual PC.
Step 2: Snapshot the Office installation
- Install Spoon Studio
- Take a "Before" capture
- Save the before snapshot
- Install Office 2013
- Do a custom install and select to run all components from the local hard drive
- Install to the default location on the C drive
- Test one of the applications (e.g. Word)
- Close down the application
- Stop the Office Protection Platform Service
- Stop the Office Source Engine Service
- Take the "Capture and Diff"
Step 3: Edit the configuration
- Enable "Always launch child processes as current user"
- Enable "Spawn COM Servers within the virtual environment"
- Set virtual service Office Protection Platform to Auto Start
- Open the XAPPL in a text editor and add the following:
- In the Virtualization Settings element set honorWow6464AccessFlag="True"
- In the Virtualization Settings element add nullifyLpcSID="True"
- Replace <NamedObjectIsolation enabled="False" /> with:
<Exception regex="\\RPC Control\\OSPPC.*" />
Step 4: Configure MSI (if needed)
- Enable "Compress Payload" setting under Settings > Process Configuration
- Enter MSI data in the Setup section
Step 5: Build and test the application
After saving the above changes, reload the configuration file into Spoon Studio. Build the application and test it on a clean system that does not have Microsoft Office 2013 installed.