Virtualization and Streaming Webcast Series November 28 2012
Virtualization and Streaming Webcast Series November 28, 2012 Virtualization & Streaming Webcast Series 1
Today’s Agenda • Welcome & Announcements – Andy Nicholson, Symantec Product Marketing • Best Practices for Virtualizing Microsoft Visual Studio 2010 – Danny Del Valle, Symantec Software Quality Assurance Engineer Virtualization & Streaming Webcast Series 2
Links • Download Trialware for SWV or SWS – http: //www. symantec. com/workspace-virtualization/trialware – http: //www. symantec. com/workspace-streaming/trialware • Interested in participating in the SWV/SWS 7. 5 Beta? – https: //symbeta. symantec. com/callout/? callid=DADBB 48 E 770140 B 1 ADE 4 A 3 D DE 0356 A 67 • Group Favorites – – – Virtual Application Library (LDFs) Favorite Articles How To Videos Webcasts and Podcasts Streaming Sizing and Scalability Guide 6. 1 SP 8 Documentation Virtualization & Streaming Webcast Series 3
Endpoint Management Webcast Next Week! • Tuesday, December 4 th, 10: 00 am PST • Capture Actionable Intelligence using IT Analytics – Replace time-consuming & complex custom reporting – Gain additional insight and value from existing Altiris solutions – Get out-of-the-box visually informative KPI scorecards, dashboards, and reports for improved business level decision making https: //symantecevents. verite. com/27707/37401 Virtualization & Streaming Webcast Series 4
Best Practices for Virtualizing Visual Studio 2010 • Our focus is on using the Symantec Workspace Virtualization Admin Tool to virtualize Microsoft Visual Studio 2010. – Also included is a method for using Symantec Virtual Composer to prepare the package for use with Symantec Workspace Streaming. • The solution is an adaption from Microsoft’s prescriptive guidance for sequencing Visual Studio 2010 in App-V. – We will write a script to run DDConfig. CA. exe contingent upon the existence of a registry key, bundle the script with the package, then call it using an On. Event action. Note: DDConfig. CA. exe is a component of Visual Studio, however, Microsoft does not provide a description of what it does; they only mention it as a diagnostic tool. Virtualization & Streaming Webcast Series 5
Problem • Consider the following scenario: – You have a valid volume license for Visual Studio 2010. – You package Microsoft Visual Studio 2010 using SWV 6. 1 SP 8. – You import the package on another machine and attempt to start it. • In this scenario, you receive the following error message: – Invalid license data. Reinstall is required. – Then, Visual Studio 2010 exits. Virtualization & Streaming Webcast Series 6
Pre-requisites • The following items should be conventionally installed before creating the virtual layer: – Install. NET framework 4 (full profile) – Install available Windows Updates – Confirm the installation of Microsoft KB 2468871 Note: Endpoint virtualization clients should likewise have these same items installed conventionally. Virtualization & Streaming Webcast Series 7
Step 1 - Create the Visual Studio 2010 Layer • Using the SWV Admin tool, start a single program capture of a command prompt. • Install Visual Studio 2010. – Install everything except the following: • Microsoft Share. Point Developer Tools • SQL Server 2008 Express • Install Service Pack 1 for Visual Studio 2010. • Install Microsoft Hotfix KB 2526163. • Exit the command prompt to end the capture. Virtualization & Streaming Webcast Series 8
Step 2 a – On. Post. Activate • Create a script to run DDConfig. CA. exe Sample. Setup. Script. bat : CHECK REG QUERY HKLMSOFTWAREMicrosoftVisual. Studio10. 0Ready. For. SWV if %errorlevel%==1 (goto RUN) else (goto END) : RUN C: VS 2010Common 7IDEDDConfig. CA. exe REG ADD HKLMSOFTWAREMicrosoftVisual. Studio10. 0Ready. For. SWV : END Exit • Copy the script to the RO layer’s Meta folder. – C: fslrdr1MetaSample. Setup. Script. bat • Create an On. Post. Activate event to run the script. – HKLMSystemCurrent. Control. SetServicesFSLX1 • On. Post. Activate (REG_MULTI_SZ) = w, %VZ_LAYER_METADIR%Sample. Setup. Script. bat Virtualization & Streaming Webcast Series 9
Step 2 b - On. Pre. Execution (Streaming only) • Modify the script to end with "Echo 1 > %1" (without quotes) Sample. Setup. Script. bat : CHECK REG QUERY HKLMSOFTWAREMicrosoftVisual. Studio10. 0Ready. For. SWV if %errorlevel%==1 (goto RUN) else (goto END) : RUN C: VS 2010Common 7IDEDDConfig. CA. exe REG ADD HKLMSOFTWAREMicrosoftVisual. Studio10. 0Ready. For. SWV : END Echo 1 > %1 • In Symantec Virtual Composer: – Set Script Type: Pre. Execution – Select the option: Run with User Privileges (non-system account) Virtualization & Streaming Webcast Series 10
Step 3 - On. Pre. Delete • Create a script to clean up the registry entry created earlier. Sample. Cleanup. Script. bat : CLEANUP REG DELETE HKLMSOFTWAREMicrosoftVisual. Studio10. 0Ready. For. SWV Exit • Copy the script to the RO layer’s Meta folder. – C: fslrdr1MetaSample. Cleanup. Script. bat • Create an On. Pre. Delete event to run the script. – HKLMSystemCurrent. Control. SetServicesFSLX1 • On. Pre. Delete (REG_MULTI_SZ) = w, %VZ_LAYER_METADIR%Sample. Cleanup. Script. bat Virtualization & Streaming Webcast Series 11
Demo Virtualization & Streaming Webcast Series 12
Q&A Virtualization & Streaming Webcast Series 13
Links • How to Sequence Visual Studio 2010 in Microsoft Application Virtualization – http: //social. technet. microsoft. com/Forums/en. US/prescriptiveguidance/thread/5 eade 6 a 1 -44 b 1 -41 f 9 -8 af 2 -0534 ef 5 c 8 c 71 • Getting More from SWV's on. Event Functionality – http: //www. symantec. com/connect/articles/getting-more-svss-oneventfunctionality • Symantec Workspace Streaming Composer Scripting – http: //www. symantec. com/connect/articles/symantec-workspacestreaming-composer-scripting Virtualization & Streaming Webcast Series 14
- Slides: 14