You are on page 1of 9

Learning App-V Basics: Prepare, Stream

and Launch Your Virtual Application


using the Full Infrastructure
Learning App-V Basics: Prepare, Stream and Launch Your Virtual Application using the Full Infrastructure

Table of Contents
Learning App-V Basics............................................................................................................ 1
Exercise 1 Sequence an Application ..............................................................................................................................2
Exercise 2 Publishing .....................................................................................................................................................4
Exercise 3 Launch a Virtual Application .........................................................................................................................5
Learning App-V Basics: Prepare, Stream and Launch Your Virtual Application using the Full Infrastructure

Learning App-V Basics

Objectives The following scenarios are used to show the end-to-end process of creating,
publishing and delivering a virtual application.
 Sequence
 Publish
 Deliver a Virtual Application using the App-V Full Infrastructure

Scenario In this lab, you will experience the lifecycle of a virtual application from creation
to delivery. You will also become familiar with the end user experience.

Estimated Time to 30 Minutes


Complete This Lab

Computers used in this


Lab MDOPSERVER1

MDOPCLIENT1

MDOPCLIENT2

The password for the Administrator account on all computers in this lab is:
Pa$$w0rd.

Page 1 of 7
Learning App-V Basics: Prepare, Stream and Launch Your Virtual Application using the Full Infrastructure

Exercise 1
Sequence an Application

Scenario
In this exercise you will sequence XML Notepad 2007.

Tasks Detailed Steps


Complete the following Note: Each package requires a unique root directory (8.3 naming format is
tasks on: recommended).
a. Log on to MDOPCLient2 as MDOPAdmin.
MDOPCLIENT2 b. Open Windows Explorer to drive Q: and create a folder named xmlnp07.v1
1. Create the package c. Create a folder on the Desktop called Microsoft_XMLNotepad_2007
root directory on Q:\
2. Start a new package a. Click Start | All Programs | Microsoft Application Virtualization| Microsoft
in the App-V Application Virtualization Sequencer
Sequencer b. Click Create a Package.
c. On the Package Information page, enter the following information in the relevant
boxes:
Package Name: Microsoft_XMLNotepad_2007
Comments: Sequenced using 4.6 on Windows 7
d. Click Next.

3. Begin monitoring the a. On the Monitor installation page, click Begin Monitoring.
installation of XML b. In the Browse For Folder dialog, navigate to Q:\xmlnp07.v1 and click OK.
Notepad c. Once the Stop Monitoring button is enabled, Open
\\MDOPServer1\DemoFiles\AppsToSequence, and double-click XmlNotepad.msi
to begin the installation of the XML Notepad.
d. Click Next on the Welcome to XML Notepad 2007 setup screen.
e. Click the Check Box to accept the license terms and click Next.
f. Click Browse and type Q:\xmlnp07.v1\XML Notepad 2007 for the installation
Folder name:
g. Click Next on the Welcome screen.
h. Click Install.
i. Click Finish when the installation completes.
j. Close the Welcome to XML Notepad 2007 web page that opens.
k. Launch Q:\xmlnp07.v1\XML Notepad 2007\XmlNotepad.exe to run the program
and capture any additional changes.
l. Close XML Notepad.
m. Switch to the Sequencer and click Stop Monitoring.
n. Click Next to continue to the next sequencing phase.

Page 2 of 7
Learning App-V Basics: Prepare, Stream and Launch Your Virtual Application using the Full Infrastructure
Tasks Detailed Steps
4. Configure the Note: The Name plus Version must be unique.
application name, a. On the Configure Applications page, right click Readme.htm and select Remove.
version, OSD Name
You do not want this document to be advertised with its own shortcut.
and shortcut
b. Expand XML Notepad 2007 in the left pane and select File type Associations.
c. Click Add.
d. Type xml in the Extension: field and click Add.
Note: The default will not work even thought it shows in the screen.
e. Click Next to continue to the launch phase of sequencing.
5. Set the Primary Note: FB1 is the portion of the package that is initially streamed down to the client for
Feature Block (FB1) the application to launch. Keeping this small allows for a quicker initial launch of the
application. As this is a small application, we will include the entire package in FB1.
a. Select XML Notepad 2007 and click Launch.
b. Close XML Notepad to complete the creation of the virtual application package.
c. Click Next to complete the launch phase.
d. Click Finish to complete the sequencing wizard.

6. Configure the a. In the Sequencer, click the Deployment tab.


package for b. Under Server URL, make the following changes:
deployment on the Protocol: RTSP
server machine
Hostname: MDOPSERVER1
Path: Microsoft_XMLNotepad_2007
Compress Package: Checked
7. Save the package Note: The package is now ready to be published and be made available to clients.
a. Select Package| Save
b. Save it in the Microsoft_XMLNotepad_2007 folder on the Desktop and set the file
name to Microsoft_XMLNotepad_2007.
c. Click Save.
Note: The next step would be to copy the package up to the Content share. However,
a copy of the finished package has already been pre-staged. Please continue to the
publishing exercise.

Page 3 of 7
Learning App-V Basics: Prepare, Stream and Launch Your Virtual Application using the Full Infrastructure

Exercise 2
Publishing

Scenario
In this exercise, you will publish XML Notepad to make it available to users.

Tasks Detailed Steps


Complete the following Note: When importing a sequenced package you will usually point to the .SPRJ file.
tasks on: Verify that all package files are in the same folder as the .SPRJ file.
Applications can be organized into Application Groups, or as in this case, added to the
root.
MDOPSERVER1
a. Log on to MDOPServer1 as MDOPAdmin.
1. Open the App-V
Admin Console b. Open the App-V Management Console – Start| Administrative Tools|
Application-Virtualization Management Console
c. Expand mdopserver1.mdopdemo.net if necessary, then select the Applications
Node.
2. Import the XML a. Right click Applications and select Import Applications.
Notepad package b. Browse to D:\Content\Microsoft_XMLNotepad_2007\ and double click
Microsoft_XMLNotepad_2007.sprj.
c. Click Next on the General page.
d. Check Publish to User’s Send To Menu and click Next.
e. On the File Associations page, click Next.
f. On the Access Permissions page click Add and type XML Notepad 2007.
g. Click OK and then click Next.
h. Click Finish to complete the Import wizard.

Page 4 of 7
Learning App-V Basics: Prepare, Stream and Launch Your Virtual Application using the Full Infrastructure

Exercise 3
Launch a Virtual Application

Scenario
In this exercise, you will launch XML Notepad 2007 and explore the user experience.

Tasks Detailed Steps


Complete the following Note: When you click the shortcut it will begin streaming the application. When the
tasks on: status bar reaches 100 percent XML Notepad will launch.
If you do not see XML Notepad 2007 on the Desktop at Login, launch the Application
Virtualization Client (in the Administrative Tools), select “Publishing Servers” and then
MDOPCLIENT1
right click “mdopserver1.mdopdemo.net” and select “Refresh Server”. Due to the
1. Launch XML Notepad hosted environment, publishing is slower than normal and may take 5 minutes or
on the client more. You can logout and log back into Client1 to expedite. This process is not
required when running App-V outside of this lab environment.
Right click on the Desktop on the MDOPClient1 machine, and select Screen
Resolution. Click on the Resolution drop down. Select 1024x768 and click OK. In the
Display Settings prompt. Click Keep Changes.
a. Log on to MDOPCLient1 as MDOPAdmin.
b. Launch XML Notepad 2007 from the Desktop.
Note: The App-V icon in the system tray and the launch message box.
c. Open an Explorer window and browse to \\mdopserver1\SampleFiles.
d. Open XML_Notepad_2007.txt to note that the content of the file is actually XML.
Close afterwards.
e. Rename XML_Notepad_2007.txt to XML_Notepad_2007.XML.
Click Yes if you get a warning about changing the file extension.
Note: The File association changes and is now associated with XML Notepad 2007.
f. Double click XML_Notepad_2007.XML which now opens in XML Notepad. Close
the file.
g. Right Click XML_Notepad_2007.XML select Send to| XML Notepad 2007.
h. Close all instances of XML Notepad 2007.

2. Launch Word 2007 2x Note: App-V integrates with the Windows 7 UI to support Jumplists and Pin to
to see behavior in Taskbar.
taskbar a. Launch Word 2007 2x times.
Start|All Programs|Microsoft Office 2007|Microsoft Office Word.
b. Hover the mouse pointer over the Word program icon in the task bar to note the
jumplist support.
c. Right click the Word icon and select Pin this program to taskbar.
d. Right click the Word icon and select Close all windows.
Note: The Word icon is pinned to the taskbar.
3. Launch Word 2003 a. Start | All Programs | Microsoft Office 2007|Microsoft Office Word.
and Word 2007 b. Select Office Button| Open and navigate to C:\DemoFiles.
concurrently

Page 5 of 7
Learning App-V Basics: Prepare, Stream and Launch Your Virtual Application using the Full Infrastructure
Tasks Detailed Steps
c. Double click App-V Text.docx to open a Word 2007 document.
d. Start | All Programs | Microsoft Office 2003|Microsoft Office Word.
e. Select File| Open and navigate to C:\DemoFiles.
f. Double click App-V Diagram.doc to open a Word 2003 document.
g. In App-V Diagram.doc, right click the picture and select Copy.
h. Switch to App-V Text.docx and paste the picture above the existing text (right
click and select Paste).
i. Close and save App-V Text.docx.
j. Close App-V Diagram.doc and click No when prompted to keep the picture in the
clipboard.
Note: Both versions can coexist and run side-by-side. Also note that there are no
Office installation files in C:\Program Files and no Office registry values in
HKLM\Software\Microsoft\Office.
4. App-V Client settings Note: In most enterprise scenarios, end users will not access the client console
and commands directly.
The settings available in Properties can be managed via Group Policy using the App-V
Client ADM Template.
a. Launch the App-V Client - Start| Administrative Tools| Application Virtualization
Client.
b. Right click the root node, Application Virtualization (Local), and select Properties.
c. Take a moment to browse the available properties.
d. Select the Interface tab.
e. Change the setting to Do not show the App Virt Client and set Information
message display time = 0
f. Click Apply, and then click OK.
g. Pause 10 seconds to allow the App-V Client to register the change.
h. Launch XML Notepad 2007 to note that the client icon and launch message no
longer appear in the System Tray.
Note: If the information message displays, the pause may not have been long enough.
Close XML Notepad and launch again.
i. Close XML Notepad.
j. Right click the root node and select Properties.
k. On the Interface tab, set Only show the App Virt Client when in use and set
Information Message Display = 10.
l. Click OK to exit Application Virtualization Properties.
m. In the App-V Client Console, select the Applications Node to list available
applications.
Note: Observe the applications available and their load percentages. Client settings
have been configured to load package data on-demand.
n. Right click XML Notepad 2007 and pause over the commands to reveal the
descriptions in the status bar.
o. Select Load.
Note: XML Notepad was optimized to download only the required portions and on-
demand. The Load function completes the download and is helpful when preparing to
go offline.
p. Go to the Desktop and delete the XML Notepad 2007 icon.

Page 6 of 7
Learning App-V Basics: Prepare, Stream and Launch Your Virtual Application using the Full Infrastructure
Tasks Detailed Steps
q. Return to the App-V Client Management Console and select Publishing Servers.
Right click mdopserver1.mdopdemo.net and select Refresh Server.
r. The XML Notepad icon returns.
Note: Due to the hosted environment, the refresh takes a few seconds and is a little
slower than running natively.
This lab is finished.

Page 7 of 7

You might also like