Advanced Package Configuration
Advanced users might modify configuration files, such as the Package.ini or ##Attributes.ini files, before building the package during the capture or after the initial build of the package.
Modifying Settings in the Package.ini File
You can modify the Package.ini file to update the overall package.
The file resides in the captured application folder. A Firefox 2.0.0.3 path might be C:\Program Files\VMware\VMware ThinApp\Captures\Mozilla Firefox 2.0.0.3\Package.ini.
The following parameters are a few examples of settings that you might modify:
DirectoryIsolationMode – Sets the isolation mode to Merged, WriteCopy, or Full.
PermittedGroups – Restricts use of an application package to a specific set of Active Directory users.
SandboxName – Identifies the sandbox.
You might keep the name for incremental application updates and change the name for major updates.
SandboxPath – Sets the sandbox location.
SandboxNetworkDrives – Specifies whether to redirect write operations on the network share to the sandbox.
RequiredAppLinks – Specifies a list of external ThinApp packages to import to the current package at runtime.
OptionalAppLinks – Specifies a list of external ThinApp packages to import to the current package at runtime.
For information about all Package.ini parameters, download a copy of the ThinApp Package.ini Reference from the ThinApp download site
Modify the Package.ini File
Use a text editor to modify the Package.ini file.
Modify the Package.ini file
1
Open the Package.ini file located in the captured application folder.
For example, a Firefox 2.0.0.3 path might be C:\Program Files\VMware\VMware ThinApp\Captures\Mozilla Firefox 2.0.0.3\Package.ini.
2
For example, activate the RemoveSandboxOnExit parameter for Firefox.
RemoveSandboxOnExit=1
3
4
Double-click the build.bat file in the captured application folder to rebuild the application package.
For example, a Firefox 2.0.0.3 path to the build.bat file might be C:\Program Files\VMware\VMware ThinApp\Captures\Mozilla Firefox 2.0.0.3\build.bat.
Modifying Settings in the ##Attributes.ini File
The ##Attributes.ini file exists in the folder macros of the project folder and applies configuration settings at the directory level. The Package.ini file applies settings at the overall application level. You can use the DirectoryIsolationMode, CompressionType, and ExcludePattern parameters in an ##Attributes.ini file to override the Package.ini settings at the directory level.
For example, you can set the isolation mode at the directory or application level to determine which files and registry keys are visible and written by the virtual application you create. The detailed setting in the ##Attributes.ini file overrides the overall Package.ini setting. The Package.ini setting determines the isolation mode only when ThinApp does not have ##Attributes.ini information.
The ##Attributes.ini file appears in most folders for the captured application. For example, the Attributes.ini file might be located in C:\Program Files\VMware\VMware ThinApp\Captures\Mozilla Firefox 2.0.0.3\%AppData%\##Attributes.ini.
Modify the ##Attributes.ini File
Use a text editor to modify the ##Attributes.ini file.
Modify the ##Attributes.ini file
1
In the ##Attributes.ini file, uncomment, update, or delete the parameter.
2
Double-click the build.bat file in the captured application folder to rebuild the application package.