How Make Packagers Life Easier – Part 3

The application packaging team is a closed technical community. There are not many contributors in application packaging community. In this post, you will learn to get more Smart package studio training to make you as packagers life easier.

[Related Post Learn How to Make Application Packagers Life Easier – Part 1 & How to Make Application Packagers Life Easier – Part 2]

Recap Smart Package Studio Training

I worked with many smart packers in my career as an SCCM and Intune admin. I have seen many times they struggle to test the packages mostly because of testing infra related issues.

Patch My PC

In this series of posts, I tried to make packagers life more comfortable with many tips and tricks. Also, I introduced you to the smart package studio to ease up the packaging process with the next level of automation.

Previous PostsHow to Make Application Packagers Life Easier – Part 1 & How to Make Application Packagers Life Easier – Part 2

Smart Capture Integration with Windows 10 Virtual Machine

I know the application packages need to rebuild the machine or take the snapshot of the VMs several times. The smart package studio smart capture tool helps packagers to automate this kind of repetitive task.

1E Nomad

I would recommend reading the following blog post to setup a smart package studio lab before continuing with this post.

Follow the steps to integrate Smart capture tool with Windows 10 VirtualBox virtual machine which you build in the previous post.

  • Launch Smart Capture tool from Start MenuSmart Package Studio.
  • You need to login with user name and password. Authentication of user name and password requires an internet connection.
  • Select Virtual Machine from the Welcome screen of Smart Capture wizard and click on NEXT button. This integration will help to capture from a VirtualBox virtual machine snapshot.
  • Click on Add Snapshot button to select the latest Snapshot (Snapshot 1). Make sure you have created the snapshot using the best practices.
  • Enter the local administrator user name and password on “Add virtual machine snapshot Window.” (Smart Package Studio training stage 2).
  • To complete the Smart capture tool integration with VirtualBox VM, click on Test Snapshot button after selecting the snapshot
  • [Optional step – Needed only when if the TEST SNAPSHOT stage fails] The test snapshot failed on VirtualBox VM during the Creating Session stage
    • Starting VM Win 1809
    • Waiting for Virtual Machine to be ready
    • Creating Session
    • Fixed the error “Test failed: The filter AdministratorTockensystem policy is set to enabled. This policy setting enables UAC for the local administrator account and will cause the program to fail.” by creating the following registry key in the VM and retaking the snapshot as shown in the video tutorial.
      • To disable UAC set the following value in the registry: HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System
      • Create Dword value FilterAdministratorToken with value 0
  • Click on Test Snapshot button to retry the integration testing of Smart Capture tool and VirtualBox Windows 10 VM.
  • The Test Snapshot stage completed with the following checks:
    • Starting VM Win 1809
    • Waiting for Virtual Machine to be ready
    • Creating Session
    • Testing Compatibility
    • Shutting Down VM
    • Restoring snapshot Snapshot with Token 0
  • Click on FINISH and Next button to complete the Smart Capture and VirtualBox VM snapshot integration (Smart Package Studio training stage 2)
SCCM Smart package Studio Training
SCCM Smart package Studio Training

Smart Capture Snapshot Options

This section of Smart capture tool helps packagers to Set Snapshot Options for VirtualBox Windows 10 VM. I selected the default options or best practices set by the smart package studio engineering team.

On the Set Snapshot Option page of Smart capture wizard, I selected the following out of box options. But depending on your requirement, you can choose the best-suited option for your packaging environment.

  • Snapshot Options
    • Create New Snapshot (Default Option)
    • Don’t Save for reuse
    • Reuse any of the existing snapshots
  • Disk Scanning Configuration
    • Scan Windows Disk Only (Default Option)
    • Scan All local Disks
    • Scan all Disks including network shares
  • Exclusion list options
    • Automatic Exclusion list (online) (Default Option)
    • Local exclusion list
  • Click on NEXT button to complete this section of configuration (Smart Package Studio training – section 2).

Take the First Snapshot of VirtualBox VM

In this section of Smart package studio training guide, you will learn how to take the first snapshot of the VirtualBox Windows 10 VM using Smart Capture tool. You should complete the integration of Smart Capture tool and VirtualBox VM before continue with the following steps.

There should be two snapshots taken during the packaging process with Smart capture tool.

  • One snapshot will be taken before the application installation. The first snapshot will mostly of a vanilla Windows 10 64 bit machine.
  • The second snapshot should be taken after the installation of the
    application in the VM.

In this section, you will then see how to take the First snapshot of VirtualBox VM. The smart capture snapshot will capture the details of the registry, files, and directories of VM.

  • Registry Keys
  • Registry Values
  • Directories
  • Files

Install Application on VirtualBox VM from Smart Capture Tool

The Smart Capture tool helps application packagers to make their life easier. No need to copy the application source from the file server to Virtual Machine (VM).

The smart capture tool gives you an option to EXECUTE application installation from the tool itself — no headache of copying sources from here to there in a complex corporate network environment.

Also, there is no need to run complex command-line in the VM to complete the application installation test. All these things are automatically taken care by Smart Capture tool.

  • You can now install the application you want to capture and set up any configuration necessary.
  • Click on Browse button to select the application source which you want to install.
  • You want to test any specific arguments as part of application installation? Smart capture has that option in the GUI.
  • Click on Execute (F10) button to start the application installation on VirtualBox VM.
  • You might need to complete the application installation wizard and all the configuration before clicking the NEXT button from Perform installation now page of smart capture. Once the application installation is completed, then Execute (F10) button will be enabled again.
  • Press NEXT button when all installation and configuration have been completed.
  • Once you click on NEXT button, the Smart capture will initiate the second capture.

NOTE! – Click on BACK button to discard the 2nd snapshot (Smart package studio Training). I love this type of options!!

How Easy to Customize Packages Smartly?

Smart capture makes it very easy to customize packages and make a template of your customization. This helps to make packagers life easier.

  • You can Browse through the files and folders and select the required one(s).
  • Right click on the file(s) or folder(s) to Include selected or Exclude selected depending on your packaging requirements.
  • You have an option to Include and Exclude the following items
    • Files
    • Registry
    • Shortcuts
  • Click the Next button to create a smart package (Smart package studio Training )

Save Customized Package as *.AXI

Package Options section of the Smart Capture tool is the page where you can save the customized packages as *.AXI file. Set package generation options page in a smart package tool helps to configure the package behavior.

I selected the default options as explained below. There are two types of settings in smart capture tool (Smart package studio Training), and those are:

  • Main
    • Product Name – Mozilla
    • Product Version – 26.4.1
    • Manufacturer – FrontMotion
    • Default Directory – Application Installation Directory C:\Program Files(x86)\Mozilla FireFox
    • Package Options –
      • 32-bit
      • 64-bit (I selected 64 bit to save AXI file)
    • [Check Box] to enables Unicode support in filenames, registry keys/values, UI elements and properties.
      • This option will be enabled automatically if it is necessary (I love this option)
    • [Check Box] to convert registry class values into advertising information. This is usually desired
  • Advanced Settings – Change the advance
    • Registry
    • Services
    • Shortcuts
    • User Component Design
    • Certificates
    • Main
    • Advertisement
    • Environment
    • INI Files
    • PnPdrivers
  • Save the customized package path as Mozilla.AXI by clicking NEXT button

Video Tutorial – Smart Package Studio Training

Watch this video on YouTube.


You will learn how to compile AXI packages to MSI with Smart package Editor in the next blog post. Let’s continue the learning with smart package studio training in the next blog post.


2 thoughts on “How Make Packagers Life Easier – Part 3”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.