ThinApp User's Guide
In the following entry, only users belonging to the App1users group can use the App1.exe file, and members
of the Everyone group can use the App2.exe file. The default message for denied users changes for App1.
[BuildOptions]
PermittedGroups=Everyone
[App1.exe]
PermittedGroups=App1Users
AccessDeniedMsg=Sorry, you can't run this application
..
[App2.exe]
...
...
Starting and Stopping Virtual Services
When you capture and deploy a package that contains a Windows service, such as the SQL Server service, any
user can run the package and start and stop the service. Unlike native applications, virtual applications do not
require administrator rights for these operations.
Automatic Startup for Virtual Services
You can install a virtual service as a physical service, so that it starts when the physical machine is started. The
virtual service remains in its ThinApp project package, but is registered on the physical machine and
controlled using the natively installed service management tools.
After you package your service, for example Apache Server, you register it on the physical machine, using the
ThinReg.exe application. The service is created as a native service, using information from the virtual
registry. The service is available to all users using the virtual application. The service is not user specific.
The process is composed of the following tasks:
Capturing the service by using ThinApp
Registering the service on the physical machine by using ThinReg
Create a virtual service for automatic startup
1
On a clean local machine, use ThinApp to capture the service.
2
After the postscan process is complete, in the Setup Capture ‐ Ready to Build dialog, click
Edit Package.ini.
The Package.ini file opens in a text editor.
3
Search for the services entry.
The entry is followed by the name of the service that you captured.
By default, the entry is commented out.
4
Remove the semicolon (;) from the start of the line.
5
Save the Package.ini file.
6
Build the ThinApp project.
You can now register your virtual service so that it can be managed by using the native services management
tools.
Register the virtual service on a physical machine
1
Run the ThinReg.exe application.
2
At the command line, type C:\Program Files\VMware\VMware ThinApp\ThinReg /a *.exe.
You must use /a to register services. If you run ThinApp without this option, the service is not registered.
You can change the path, if required for your system.
46
VMware, Inc.