{"id":542,"date":"2011-09-18T16:22:20","date_gmt":"2011-09-18T20:22:20","guid":{"rendered":"https:\/\/www.tmurgent.com\/TmBlog\/?p=542"},"modified":"2013-04-06T11:48:40","modified_gmt":"2013-04-06T15:48:40","slug":"day-1-with-windows-8-dev-build-and-app-v-client","status":"publish","type":"post","link":"https:\/\/www.tmurgent.com\/TmBlog\/?p=542","title":{"rendered":"Day 1 with Windows 8 Dev build and App-V Client"},"content":{"rendered":"<p>CATEGORY: <span style=\"color: #ff0000;\"><strong>Way unsupported by anyone!<\/strong><\/span><\/p>\n<p>Date: September 18, 2011<\/p>\n<table bgcolor=\"#c00000\" width=\"40%\" align=\"center\">\n<tbody>\n<tr>\n<td padding=\"5\"><strong>EDIT:<\/strong>&nbsp;See comments for resolution to getting App-V to work.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>While I installed the Windows 8 Developers Pre-release build last week as soon as I could, I was rather tied up all week in that I was running my App-V training class, so I didn&#8217;t have time to do much more than look at the iCandy and try to figure out how to terminate a metro app when I&#8217;m RDP&#8217;d into a Hyper-V box to access the console view to the Win8 VM and no touch screen (hint:  Task Manager).<\/p>\n<p>Before I talk specifically about App-V on Windows 8, let me talk a little about Applications in general on the platform.<\/p>\n<p><strong>Windows 8<\/strong><\/p>\n<p>Microsoft is making this &#8220;Developers Build&#8221; available specifically because they want developers to start using the new tools to develop the new style applications for the platform.  Called &#8220;<strong><em>Metro Style<\/em><\/strong>&#8220;,  these apps will only run on Windows 8 (at this point there is no talk about back-porting the support to Windows 7).  Microsoft is continuing to woo developers by significantly enhancing the library support to make it easy for someone to develop an app with a very rich user interface and integrations, with adding only a few lines of code.  As a developer, I am very impressed, however tainted in knowing those apps will not work on today&#8217;s desktops too.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.tmurgent.com\/TmBlog\/wp-content\/uploads\/2011\/09\/Win8\/Start.PNG\" alt=\"Windows 8 Start Application\" width=\"620\" \/><\/p>\n<p>These Metro Style Apps have far more native interfaces than traditional apps.  Considering how App-V provides control (both good and bad) over interactions this is a concern to me.  Finally, however, Microsoft is getting serious about application certification.  Microsoft will have an app store, and certification is necessary to get into the store.  They also integrated the certification process into the development tools to encourage more usage.  Of course enterprises will likely want to also purchase directly from vendors, but hopefully application deployability will improve.<\/p>\n<p>As you would expect from Microsoft, the platform continues to support applications developed for previous platforms.  If it runs on Windows 7, it <em>should<\/em> run on Windows 8.  When you log onto Windows 8, rather than the windows desktop you see a new &#8220;Start&#8221; application (shown above), which is a Metro Style app that is part of the OS.  In it, you see all of the Metro Style apps installed.   Each app is shown in a tile, which can be a static icon or a dynamic updating application (such as the weather app). You can click on the Desktop tile to access the traditional Windows 7 style desktop (minus the traditional start menu as I&#8217;ll explain later on).<\/p>\n<p>In spite of rumors, I don&#8217;t see any App-V embedded into this build. I will admit I didn&#8217;t look too hard, but I don&#8217;t see it.  App-V continues to be important for &#8220;legacy&#8221; (if you can call what you would build with the currently shipping Microsoft Visual Studio 2010 tools legacy) applications.  If anything, it will be more important under Windows 8 as IT becomes more used to dealing with Metro and &#8220;forgets&#8221; how to deal with Win32 and DotNet.  Not to mention that nothing ever goes away!<\/p>\n<p>As App-V stands today, it doesn&#8217;t have a play with these new Metro Style apps, which will be delivered with something Microsoft calls AppX packaging, but that would be as of today.  When I get to playing with the Sequencer, I expect that it will be possible to package up these into App-V in case I wanted to.<\/p>\n<p><strong>Trying Installation of App-V 4.6 SP1 on Win8<\/strong><\/p>\n<p>So this weekend I thought I&#8217;d try something unsupported that probably should fail at the install.  In installed the App-V 4.6 SP1 client into my Win8 OS.  I figured it wouldn&#8217;t install and that would be the end of that test.<\/p>\n<p>But it installed.  I did have an install issue, but it wasn&#8217;t the client, it was the vbscript I use to install the client into &#8220;stand-alone&#8221; mode.  That script writes some settings into the Windows registry and it seemed to fail at reading\/writing to the registry.  I haven&#8217;t looked into it, but I think the registry access from VBscript has changed (it uses the RegRead shell object with strings like &#8220;HKLM\\SOFTWARE\\Wow6432Node\\Microsoft\\SoftGrid\\4.5&#8221;).  Any way, I was able to manually go into the registry to fix things up.<\/p>\n<p>I verified the installation by starting up the App-V management console. (From the metro screen, start the Settings app, scroll the left side list down to more settings to launch the old control panel, then go to administration tools and find the client.  Otherwise use the windows explorer to find SftCMC.msc).  The console worked OK, so the client installed just fine, eh, I think.<\/p>\n<p><strong>Adding a Virtual App<\/strong><\/p>\n<p>So next I installed my App-V DeployNPublish tools to work with the stand-alone client.  I tried adding a package and had a problem.  No error, but no app either.  This turned out to be the valid OS list in the OSD file.  The app had been created with all of the known OSs listed, but Windows 8 isn&#8217;t in the list (nor is it possible to add it with the current client).  Fortunately, I can remove all OS references from the OSD files which disables the OS version checking when launching an application.  I load in the package again, and it loads in (shown below with a desktop icon).<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.tmurgent.com\/TmBlog\/wp-content\/uploads\/2011\/09\/Win8\/LoadFileZilla.PNG\" alt=\"Loading FileZilla\" width=\"620\" \/><\/p>\n<p>I do the same with a sequenced Adobe Reader app.<\/p>\n<p>I can see that the sftfs.fsd file (the &#8220;App-V cache) grows as expected, providing further evidence that the client is working.  I can see the applications in the App-V Client Management Console, and in my AppV_ManageApps alternative console, shown below.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.tmurgent.com\/TmBlog\/wp-content\/uploads\/2011\/09\/Win8\/MCs.PNG\" alt=\"Management Consoles\" width=\"620\" \/><\/p>\n<p><strong>Launching a Virtual App<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.tmurgent.com\/TmBlog\/wp-content\/uploads\/2011\/09\/Win8\/WindowsC.PNG\" alt=\"Windows 8 Start Menu\" width=\"100\" align=\"left\" \/>Of course this build of Windows 8 doesn&#8217;t have a start button with the apps like we are used to.  So how to get at the app that was published to the start menu?    Windows-C and select search (shown on left).  This shows a list of the Metro Style apps, so click on Apps, which gives a full list of traditional and Metro apps presented alphabetically (shown below).  Maybe not my choice to find apps and I&#8217;m hoping the traditional start menu appears in later Windows 8 builds.  Any way, as is seen in the screen shot below, not only do my AppV_ tools that are traditionally installed show up, the virtualized Adobe Reader app shows up also.<\/p>\n<p>[Edit: It seems that some traditional install apps and some App-V apps do get added to the &#8220;Start Application&#8221;.  I&#8217;m not sure of the criteria as only some of these appear.]<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.tmurgent.com\/TmBlog\/wp-content\/uploads\/2011\/09\/Win8\/Apps.PNG\" alt=\"Windows 8 Applications\" width=\"620\" \/><\/p>\n<p>Now I try launching.  Because the AppV_DeployApp tool prefilled the cache, I see the App-V tray bar shows up just above the tray icon notification area in blue indicating 100% cached, but I get a launch error, 39-0000010B, shown below:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.tmurgent.com\/TmBlog\/wp-content\/uploads\/2011\/09\/Win8\/LaunchError.PNG\" alt=\"Launch Error\" \/><\/p>\n<p>Not a familiar error to me so I go to the TMurgent website and run the &#8220;A Failure To Launch&#8221; Silverlight app to diagnose it.   This is a documented message as is shown below:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.tmurgent.com\/TmBlog\/wp-content\/uploads\/2011\/09\/Win8\/FTL.PNG\" alt=\"A Failure To Launch\" width=\"620\" \/><\/p>\n<p>Since 4.6.1 added the auto-generated &#8220;short names&#8221; for the asset folder, I decided to bring in a 4.6 sequenced application instead.  This app used an &#8220;8.3&#8221; compliant asset folder name so the short name would be identical to the long name.  This app launched with the same error.<\/p>\n<p>Next I tried the \/EXE cmd.exe trick to get into the virtual environment, but this also fails.  At this point, it seems that the issue prevents the launcher from locating the osguard.cp file (which contains the virtual registry and virtual environment variables) inside the asset folder, so I can&#8217;t get in.<\/p>\n<p>I also noticed that either from an external windows explorer or cmd prompt, the Q: drive isn&#8217;t as accessible as it was in Windows 7.  From the Windows explorer, I can see the Q: exists, but cannot even enumerate the folders like I can in Windows 7.  In the command prompt, I can&#8217;t issue a &#8220;Q:&#8221; command to change drives.  I also tried turning up the debugging level on the App-V client, and I don&#8217;t see anything of further value (other than noting that the loading of osguard.cp uses the short name of the asset folder, which probably helps to explain the documented error.)  At this point I don&#8217;t think this is a &#8220;short name&#8221; issue, but a general issue in accessing the virtual drive asset folder.  I am going to keep looking to see if I can make progress, but at this time it is looking like we will need a new release from the App-V team.<\/p>\n<p>I haven&#8217;t heard any rumors that an App-V release is coming, and I would be surprised for them to release support for this dev build of Windows 8.  When the Windows 7 beta came out they released &#8220;4.5 CU1&#8221; so I can hope for that anyway.<\/p>\n<p>Stay tuned to this blog for updates as I learn more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CATEGORY: Way unsupported by anyone! Date: September 18, 2011 EDIT:&nbsp;See comments for resolution to getting App-V to work. While I installed the Windows 8 Developers Pre-release build last week as soon as I could, I was rather tied up all week in that I was running my App-V training class, so I didn&#8217;t have time&hellip; <a class=\"more-link\" href=\"https:\/\/www.tmurgent.com\/TmBlog\/?p=542\">Continue reading <span class=\"screen-reader-text\">Day 1 with Windows 8 Dev build and App-V Client<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[36,35],"tags":[4,25],"class_list":["post-542","post","type-post","status-publish","format-standard","hentry","category-all","category-appv4","tag-app-v","tag-windows-8","entry"],"_links":{"self":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts\/542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=542"}],"version-history":[{"count":25,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts\/542\/revisions"}],"predecessor-version":[{"id":1449,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts\/542\/revisions\/1449"}],"wp:attachment":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}