Make portable applications with VMware ThinApp

From hacktolive.org
Jump to: navigation, search
VMware ThinApp is very useful to create "portable apps"

Contents

Intro

This tutorial explains how to create portable versions of many Windows Software with VMware ThinApp (formerly: Thinstall)

Requirements

How to do it

  1. Set up a XP Virtual Machine
  2. Install VMware ThinApp in the Virtual Machine
  3. Run "Setup Capture"
  4. After running Setup Capture, it asks to install the application: install the software you want to make portable
  5. Reboot if required (don't worry Setup Capture will start next time the Virtual Machine boots up)
  6. Customize the options of your application (accept licenses, disable "tips of the day", etc...)
  7. After doing the above, close you application and run "Setup Capture" again (it might be already open)
  8. Click "Next" until you get to the "post install scan": wait a little...
  9. Choose the executable you want to be the main container (for example: Firefox.exe in case of Firefox, this will be the file to contain all the data, the other files will just be shortcuts that link to it...)
  10. Choose the inventory name: the nome of your application is a good choice and click "next"
  11. In this screen you are given the option to choose if you want the app to store it's data in the user profile (this way an aplication is "tied" to a Windows installation) OR locally (on the folder where the portable exe is), use the second option if you want the app to be 100% portable and to use it in a USB Flash Drive, and click "next"
  12. Choose the compression type ("Fast compression" recommended) and click "next"
  13. Choose the "Isolation Mode" (the default one is OK) and click "next"
  14. Click "Build Now"
  15. You can now go to the project folder by clicking "Browser Project"
  16. The portable executable of the application is the the "bin" folder
  17. Copy the file out of the Virtual Machine (you can use a USB flash Drive for that)
  18. Test if the packed application can run on your PC

Tips

Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox