STEP 1: START WITH A CLEAN WINDOWS 7 64-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 AUTOCAD INSTALLATION
- Install and launch Spoon Studio
- Take the "before" snapshot by selecting "Snapshot a third-party application or component"
- Once complete, launch setup.exe from the AutoCAD 2014 installation folder
- Click "Install: Install on this computer"
- Accept the EULA
- Select Stand-Alone vs. Network and Trial vs. Product Key
- Expand the install options for AutoCAD 2014 by clicking the down arrow
- Uncheck "Create the desktop shortcut for AutoCAD 2014 - English"
- Under "Service Packs," ensure that "Include Service Pack(s) from Autodesk.com" is selected.
- Click the Download button for the available service pack
- Once the service pack is downloaded, click the up arrow to collapse the install options
- Click Install.
- Once finished, restart as prompted.
- After rebooting, re-launch Spoon Studio (there is no need to launch AutoCAD before continuing with the snapshotting process, and it is recommended that you do not do so)
- Once again select "Snapshot a third-party application or component" from the wizard menu.
- When told that a "before" snapshot has already been captured, click Yes to use your existing saved "before" snap.
- Click Next to take the "after" snapshot.
- Specify a location to save the project files.
- After the diff is captured and project files are stored, click Next three times.
- You should now be prompted to save your project's executable file; do so and click next.
- At the last screen, uncheck "Build the virtual application now" and "Run the virtual application now" and click Finish.
STEP 3: EDIT THE CONFIGURATION
Delete the following folders/files from the Filesystem tab:
- Filesystem\Program Files (x86)\Common\Autodesk Shared\Uninstall Tool\R1\UninstallTool.exe
- When told that this will affect the MSI setup package, click "Yes"
- Filesystem\All users Directory\Start Menu\Programs\Autodesk
- Delete this and all subfolders
- Set this key is set to Merge:
- Registry\Local machine root\SOFTWARE\CLASSES\exefile
- Set this key and all subkeys to WriteCopy isolation:
- Registry\Local machine root\SOFTWARE\CLASSES\CLSID
Settings->Process Configuration->Virtual Services window
You should see five services listed. Uncheck "Auto Start" for all services except "FlexNet Licensing Service 64".
Startup Files window
Ensure that you have this entry (note the lack of quotes around "ACAD" in the "Command Line" column) and that it is the only executable set to "Auto Start".
- File: @PROGRAMFILES@\Autodesk\AutoCAD 2014\acad.exe
- Command line: /product ACAD /language "en-US"
- Trigger: acad
Step 4: save and build your application
Click the Spoon menu at top-left and select "Save Configuration As..." Save your modified .xappl with a new name to differentiate it from the initial configuration.
Once saved, click the Build button on the ribbon at top to build your application.