EasyManua.ls Logo

VMware THINAPP 4.6 - Dynamic Updates Without Administrator Rights; Upgrading Running Applications on a Network Share; File Locks; Upgrade a Running Application

VMware THINAPP 4.6
146 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
VMware, Inc. 63
Chapter 4 Updating and Linking Applications
Dynamic Updates Without Administrator Rights
Youcanupdateapplicationsdynamicallywithoutrequiringadministratorrights.For example,.NETbased
applicationsthatdownloadnewDLLfilesfromtheInternetaspartoftheirupdateprocessmustrunthe
ngen.exefiletogeneratenativeimageassembliesforstartupperformance.Intypicalcircumstances,the
ngen.exefilewritestoHKLMandC:\WINDOWS
,bothofwhichareonlyaccessiblewithadministratoraccounts.
WithThinApp,thengen.exefilecaninstallnativeimageassembliesonguestuseraccountsbutstoreschanges
inauserspecificdirectory.
Youcanupdatethepackageonacentralcomputerandpushthechangestoclientmachinesortocentral
networksharesasanewcapturedexecutablefile.Useoneofthefollowingoptionsforapplyingupdates:
Duringthesetupcaptureprocess.
Insidethevirtualenvironment.
Applicationswithautoupdatecapabilitiescanundergoupdates.Iftheupdateisapatch.exefile,the
patchprogramcanruninthevirtualenvironmentandrunfromacmd.exefileentrypoint.Changesoccur
inthesandboxduringautomaticupdatesormanualupdatestoallowyouto
reverttotheoriginalversion
bydeletingthesandbox.
Ifyouapplypatchesinthevirtualenvironmentonacentralpackagingmachine,youcanusethe
sbmerge.exeutilitytomergesandboxchangesmadebytheupdatewiththeapplication.See
ApplicationUpdatesThattheAdministratorTriggersonpage 60.
Inthecapturedproject.
Ifyoumustupdateasmallsetoffilesorregistrykeys,replacethefilesinthecapturedproject.
This approachisusefulforsoftwaredeveloperswhointegrateThinAppbuildswiththeirworkflow.
Upgrading Running Applications on a Network Share
ThinAppallowsyoutoupgradeorrollbackanapplicationthatisrunningonanetworkshareformultiple
users.Theupgradeprocessoccurswhentheuserquitstheapplicationandstartsitasecondtime.InTerminal
Serverenvironments,youcanhavemultipleusersexecutingdifferentversionsatthesame
timeduringthe
transitionperiod.
File Locks
Startinganapplicationlockstheexecutablefilepackage.Youcannotreplace,delete,ormovetheapplication.
Thisfilelockensuresthatanycomputeroruserwhoaccessesaspecificversionofanapplicationcontinuesto
havethatversionavailableaslongastheapplicationprocessesandsubprocessesarerunning.
Ifyou
storeanapplicationinacentrallocationformanyusers,thisfilelockpreventsadministratorsfrom
replacingapackagedexecutablefilewithanewversionuntilallusersexittheapplicationandreleasetheir
locks.
Upgrade a Running Application
Youcancopyanewversionofanapplicationintoanexistingdeploymentdirectorywithahigherfilename
extension,suchas.1or.2.ThisprocedureusesFirefoxasasampleapplication.
Youdonothavetoupdateshortcuts.
Upgrade a running application
1Deploytheoriginalversionoftheapplication,suchasFirefox.exe.
2Copythe
applicationtoacentralshareat\\<server>\<share>\Firefox.exe.
AsamplelocationisC:\Program Files\Firefox\Firefox.exe.

Table of Contents

Related product manuals