How to launch an external program inside an App-V 5.0 environment

In the old App-V versions, you can make this with the command line parameter:
sfttray.exe /exe App1.exe OSDFilePath\OSDFile.osd

With App-V 5.0, you can make this with the the command line switch /appvve that apparently can be added to any executable to launch it inside a virtual environment.

Example
Start Application "App1.exe" in the virtual environment of the PackageID "714ccb17-20a9-4fc3-b635-146cba322ac0" with the VersionID "72e97ec0-165e-4180-870c-ed0e13125ab5". Please note the "_" between PackageID and VersionID!
C:\App1.exe /appvve:714ccb17-20a9-4fc3-b635-146cba322ac0_72e97ec0-165e-4180-870c-ed0e13125ab5

You can find the PackageID and the VersionID with the following PowerShell command:
  1. Open Powershell.exe (with admin rights)
  2. Import-Module AppVClient
  3. Get-AppVClientPackage -Name VApp1
    1. You can find the PackageID (Example 714ccb17-20a9-4fc3-b635-146cba322ac0)
    2. And the VersionID (Example 72e97ec0-165e-4180-870c-ed0e13125ab5)

Comments

Post a Comment

Popular posts from this blog

How to fix the check box on RDWeb 2012 for use private computer

How to set custom RDP Settings in Windows Server 2012

SCCM 2012 Software Center returned error code 0x0041013 (-2147217389)