learningappvbasic

Upload: peter0606

Post on 29-May-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/9/2019 LearningAppVBasic

    1/9

    Learning App-V Basics: Prepare, Streamand Launch Your Virtual Applicationusing the Full Infrastructure

  • 8/9/2019 LearningAppVBasic

    2/9

    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

  • 8/9/2019 LearningAppVBasic

    3/9

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

    Page 1 of 7

    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 creationto delivery. You will also become familiar with the end user experience.

    Estimated Time toComplete This Lab

    30 Minutes

    Computers used in thisLab MDOPSERVER1

    MDOPCLIENT1

    MDOPCLIENT2

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

  • 8/9/2019 LearningAppVBasic

    4/9

  • 8/9/2019 LearningAppVBasic

    5/9

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

    Page 3 of 7

    Tasks Detailed Steps

    4. Configure theapplication name,version, OSD Nameand shortcut

    Note: The Name plus Version must be unique.

    a. On the Configure Applications page, right click Readme.htm and select Remove .

    You do not want this document to be advertised with its own 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 PrimaryFeature Block (FB1)

    Note: FB1 is the portion of the package that is initially streamed down to the client for the application to launch. Keeping this small allows for a quicker initial launch of theapplication. 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 thepackage fordeployment on theserver machine

    a. In the Sequencer, click the Deployment tab.b. Under Server URL, make the following changes:

    Protocol: RTSP

    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 f ilename 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.

  • 8/9/2019 LearningAppVBasic

    6/9

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

    Page 4 of 7

    Exercise 2Publishing

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

    Tasks Detailed Steps

    Complete the followingtasks on:

    MDOPSERVER1

    1. Open the App-VAdmin Console

    Note: When importing a sequenced package you will usually point to the .SPRJ file.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 theroot.

    a. Log on to MDOPServer1 as MDOPAdmin .

    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 XMLNotepad package

    a. Right click Applications and select Import Applications .

    b. Browse to D:\Content\Microsoft_XMLNotepad_2007\ and double clickMicrosoft_XMLNotepad_2007.sprj .

    c. Click Next on the General page.

    d. Check Publish to Users 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.

  • 8/9/2019 LearningAppVBasic

    7/9

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

    Page 5 of 7

    Exercise 3Launch a Virtual Application

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

    Tasks Detailed Steps

    Complete the followingtasks on:

    MDOPCLIENT1

    1. Launch XML Notepadon the client

    Note: When you click the shortcut it will begin streaming the application. When thestatus bar reaches 100 percent XML Notepad will launch.

    If you do not see XML Notepad 2007 on the Desktop at Login, launch the ApplicationVirtualization Client (in the Administrative Tools), select Publishing Servers and thenright click mdopserver1.mdopdemo.net and select Refresh Server. Due to thehosted environment, publishing is slower than normal and may take 5 minutes or

    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 theDisplay 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 2xto see behavior intaskbar

    Note: App-V integrates with the Windows 7 UI to support Jumplists and Pin toTaskbar.

    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 2003and Word 2007concurrently

    a. Start | All Programs | Microsoft Office 2007|Microsoft Office Word .

    b. Select Office Button| Open and navigate to C:\DemoFiles .

  • 8/9/2019 LearningAppVBasic

    8/9

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

    Page 6 of 7

    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 (rightclick 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 theclipboard.

    Note: Both versions can coexist and run side-by-side. Also note that there are noOffice installation files in C:\Program Files and no Office registry values inHKLM\Software\Microsoft\Office.

    4. App-V Client settingsand commands

    Note : In most enterprise scenarios, end users will not access the client consoledirectly.

    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 Informationmessage 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 nolonger 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 setInformation Message Display = 10.

    l. Click OK to exit Application Virtualization Properties .

    m. In the App-V Client Console, select the Applications Node to list availableapplications.

    Note: Observe the applications available and their load percentages. Client settingshave been configured to load package data on-demand.

    n. Right click XML Notepad 2007 and pause over the commands to reveal thedescriptions 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 togo offline.

    p. Go to the Desktop and delete the XML Notepad 2007 icon.

  • 8/9/2019 LearningAppVBasic

    9/9

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

    Page 7 of 7

    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 littleslower than running natively.

    This lab is finished.