5.1
Table Of Contents
- ThinApp Package.ini Parameters Reference Guide
- Contents
- About This Guide
- Configuring Package Parameters
- Package.ini File Structure
- Package.ini or ##Attributes.ini Files That Override Package.ini Settings
- Configuring the ThinApp Runtime
- Configuring Isolation
- Configuring File and Protocol Associations
- Configuring Build Output
- Configuring Permissions
- Configuring Objects and DLL Files
- ExternalCOMObjects Parameter
- ExternalDLLs Parameter
- ForcedVirtualLoadPaths Parameter
- IsolatedMemoryObjects Parameter
- IsolatedSynchronizationObjects Parameter
- NotificationDLLs Parameter
- NotificationDLLSignature Parameter
- ObjectTypes Parameter
- SandboxCOMObjects Parameter
- VirtualizeExternalOutOfProcessCOM Parameter
- Configuring File Storage
- Configuring Processes and Services
- Configuring Sizes
- Configuring Logging
- Configuring Versions
- Configuring Locales
- Configuring Individual Applications
- Configuring Dependent Applications Using the Application Utility
- Configuring Application Updates with the Application Sync Utility
- Configuring MSI Files
- Configuring Sandbox Storage and Inventory Names
- Other Configuration Parameters
- DisableCutPaste Parameter
- LoadDotNetFromSystem Parameter
- PermittedComputers Parameter
- Services Parameter
- StatusbarDisplayName Parameter
- DisableTransactionRegistry Parameter
- PreventDLLInjection
- ProcessExternalNameBehavior Parameter
- PreventDllInjectionExceptions Parameter
- LargeAddressAware Parameter
- PermittedComputers Parameter
- PermittedComputersAccessDeniedMsg Parameter
- PermittedComputersOfflineAccess Parameter
- IgnoreDDEMessages Parameter
- Locating the ThinApp Sandbox
- Controlling the Sandbox Location
- Sandbox Structure
- Creating ThinApp Snapshots and Projects from the Command Line
- Index
VirtualComputerName Parameter
The VirtualComputerName parameter determines whether to rename the computer name, to avoid naming
conflicts between the capture process and the deployment process.
Applications can use the name of the computer on which they are installed, or connect to a database and use
the name of the computer in the connection string. Because the capture process is different from the
deployment process, captured applications that require a computer name must add the computer name to
the virtual package to ensure that the application can run on any machine.
ThinApp comments out the initial setting of the VirtualComputerName parameter. This parameter uses a
string that the GetComputerName and GetComputerNameEx API functions return in a virtual application.
Example: Including a Virtual Computer Name
This example shows how the VirtualComputerName parameter creates a second name for a computer named
LOCALHOST, which will be captured in the virtual application. The application uses the second name to
connect to a virtual machine. If the capture system lacks the LOCALHOST name, ThinApp comments out
the VirtualComputerName parameter.
;VirtualComputerName=<original_machine_name>
If you rename a clean machine as LOCALHOST before performing the capture process, the Package.ini file
activates the name that the VirtualComputerName parameter created. The virtual application works with the
renamed LOCALHOST name because any computer that the application runs on receives this value as the
computer name.
If you run a GetComputerName or GetComputerNameEx command, the computer returns LOCALHOST. If the
Windows system requires the GetComputerName and GetComputerNameEx commands to operate in a standard
way and return the actual name of the computer where the application runs, do not rename the machine as
LOCALHOST.
VirtualComputerName=LOCALHOST
Example: Including an Environment Variable
In addition to specifying a literal string such as LOCALHOST, you can include an environment variable.
When you specify an environment variable, the value returned is the value of the environment variable. If
the value of the VirtualComputerName parameter is %VCOMPNAME%, and the %VCOMPNAME%
environment variable is set to EnvCompName, the GetComputerName API returns EnvCompName.
VirtualComputerName=%VCOMPNAME%
Wow64 Parameter
The Wow64 parameter simulates a 32-bit environment for 32-bit applications that cannot run on a 64-bit
Windows operating system.
If a 32-bit application tries to handle its own 64-bit registry redirection, you can activate this parameter
before building a project. ThinApp comments out the initial setting to prevent Windows on Windows 64-bit
(WOW64) emulation.
ThinApp Package.ini Parameters Reference Guide
16 VMware, Inc.










