14 DEC 2012: UPDATED FOR VMWARE VIEW CLIENT 5.1.2 (BUILD 937772)
13 JUL 2013: SEE HERE FOR INSTRUCTIONS ON VMWARE HORIZON VIEW CLIENT 5.4.0 (BUILD 1219906)
Environment
Capture & build machine:
- Windows XP SP3 – 32 bit (fully patched)
- Install latest VMware Thinapp version (4.7.2 at the time of writing)
- Make sure the capture & build machine has Internet access
- Download the latest VMware View client for 32-bit Windows from http://www.vmware.com/go/viewclients
- Copy the VMware View Client installation files to the capture & build machine
- Install VMware Tools if they are not yet installed
- Uninstall Microsoft Microsoft Visual C++
Prescan
Launch Thinapp Setup Capture
Click “Prescan”
When the prescan is finished minimize the Setup Capture wizard
Application installation
Install VMware View Client
- Custom setup: Do not install “USB redirection” component
- Default View Connection Server: leave blank or type your preferred View connection server
- Enhanced Single Sign-On: leave defaults
- Create Shortcuts: Only select “Desktop”
- When the installation finished there is no need to restart as drivers are not applicable for this package
Launch View Client
Select Options
Check “Autoconnect: Always connect to this server at startup”
PostScan
Maximize the Setup Capture wizard
Click “Postscan”
Entry Points:
- Select only “VMware View Client.exe”
- Click “Next”
Manage with Horizon:
- Click “Next”
Groups:
- Select “Everyone”
- Click “Next”
Isolation:
- Select “Full write access..”
- Click “Next”
Sandbox location:
- Select “User Profile”
- Click “Next”
Quality Assurance Statistics:
- Select “No – Do not send..”
- Click “Next”
Project Settings:
- Inventory name: VMware View Client
- Project location: choose location where you want to store the thinapped application
- Click “Next”
Package Settings:
- Do not select “Use separate .DAT file”
- Do not select “Generate MSI package”
- Click “Save”
Ready to build
- Click “Open Project Folder”
- Delete the below from the project folder
%Common AppData%\VMware\VDM\logs
> debug and log txt files
%Local AppData%\VMware\VDM\logs
> debug and log txt files
%Program Files Common%\VMware
> VMware Virtual Printing (this feature is not available in ThinApp virtual application)
%ProgramFilesDir%\VMware\VMware View\Client\bin
wswc_de_de_407.dll
wswc_fr_fr_40c.dll
wswc_ja_jp_411.dll
wswc_ko_kr_412.dll
wswc_zh_cn_804.dll
%ProgramFilesDir%\VMware\VMware View\Client\bin\messages
> all folders EXCEPT “en”
%ProgramFilesDir%\VMware\VMware View\Client\DCT
%ProgramFilesDir%\VMware\VMware View\Client\extras
> vdm_client.adm
%SystemRoot%\Installer
- Click “Edit Package.ini”
Change Compressiontype=None to CompressionType=Fast
Change MSIStreaming=0 to MSIStreaming=1
Add the following lines just before the [Isolation] section
[Filelist]
ExcludePattern=*.bak,*.msi.*.mst,*.cab,*msp
Click “Build”
Click “Finish”
The end result is a single executable file of +/- 56 MB