4.6.1

Table Of Contents
ThinApp User’s Guide
46 VMware, Inc.
Inthefollowingentry,onlyusersbelongingtotheApp1usersgroupcanusetheApp1.exefile,andmembers
oftheEveryonegroupcanusetheApp2.exefile.The defaultmessagefordenieduserschangesforApp1.
[BuildOptions]
PermittedGroups=Everyone
[App1.exe]
PermittedGroups=App1Users
AccessDeniedMsg=Sorry, you can’t run this application
..
[App2.exe]
...
...
Starting and Stopping Virtual Services
WhenyoucaptureanddeployapackagethatcontainsaWindowsservice,suchastheSQLServerservice,any
usercanrunthepackageandstartandstoptheservice.Unlikenativeapplications,virtualapplicationsdonot
requireadministratorrightsfortheseoperations.
Automatic Startup for Virtual Services
Youcaninstallavirtualserviceasaphysicalservice,sothatitstartswhenthephysicalmachineisstarted.The
virtualserviceremainsinitsThinAppprojectpackage,butisregisteredonthephysicalmachineand
controlledusingthenativelyinstalledservicemanagementtools.
Afteryoupackageyourservice,forexampleApac
heServer,youregisteritonthephysicalmachine,usingthe
ThinReg.exeapplication.Theserviceiscreatedasanativeservice,usinginformationfromthevirtual
registry.Theserviceisavailabletoallusersusingthevirtualapplication.Theserviceisnotuserspecific.
Theprocessiscomposedofthefollowingtasks:
CapturingtheservicebyusingThinApp
RegisteringtheserviceonthephysicalmachinebyusingThinReg
Create a virtual service for automatic startup
1Onacleanlocalmachine,useThinApptocapturetheservice.
2Afterthepostscanprocessiscomplete,intheSetupCapture‐ReadytoBuilddialog,click
EditPackage.ini.
ThePackage.inifileopensinatexteditor.
3Searchfortheservicesentry.
Theentryisfollow
edbythenameoftheservicethatyoucaptured.
Bydefault,theentryiscommentedout.
4Removethesemicolon(;)fromthestartoftheline.
5 SavethePackage.inifile.
6BuildtheThinAppproject.
Youcannowregisteryourvirtualservicesothatitcanbemanagedbyusingthenativeservicesmanagement
tools.
Register the virtual service on a physical machine
1RuntheThinReg.exeapplication.
2Atthecommandline,typeC:\Program Files\VMware\VMware ThinApp\ThinReg /a *.exe.
Youmustuse/a toregisterservices.IfyourunThinAppwithoutthisoption,theserviceisnotregistered.
Youcanchangethepath,ifrequiredforyoursystem.