<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Kirx&#039; Blog</title>
	<atom:link href="http://kirxblog.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://kirxblog.wordpress.com</link>
	<description>Kirx&#039; Application Virtualization Blog</description>
	<lastBuildDate>Mon, 06 May 2013 10:53:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='kirxblog.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Kirx&#039; Blog</title>
		<link>http://kirxblog.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://kirxblog.wordpress.com/osd.xml" title="Kirx&#039; Blog" />
	<atom:link rel='hub' href='http://kirxblog.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Citrix R02 for XenApp 6.0 may cause App-V error 04-00000A09</title>
		<link>http://kirxblog.wordpress.com/2013/02/12/citrix-r02-for-xenapp-6-0-may-affect-app-v/</link>
		<comments>http://kirxblog.wordpress.com/2013/02/12/citrix-r02-for-xenapp-6-0-may-affect-app-v/#comments</comments>
		<pubDate>Tue, 12 Feb 2013 16:37:42 +0000</pubDate>
		<dc:creator>kirxblog</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://kirxblog.wordpress.com/?p=1217</guid>
		<description><![CDATA[RollupPack for Citrix XenApp 6.0 may &#8216;break&#8217; your App-V deployment. It converts the command line for a published application into all lowercase characters &#8211; and if you use the SFTTRAY command and specify the App-V application&#8217;s name here, SFTTRAY  requires case sensitive spelling of the vApp name. In that case, App-V throws an error 04-00000A09 Luckywise [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1217&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>RollupPack for Citrix XenApp 6.0 may &#8216;break&#8217; your App-V deployment.</p>
<p>It converts the command line for a published application into all lowercase characters &#8211; and if you use the SFTTRAY command and specify the App-V application&#8217;s name here, SFTTRAY  requires case sensitive spelling of the vApp name.<br />
In that case, App-V throws an error 04-00000A09</p>
<p>Luckywise there&#8217;s a Hotfix by Citrix at <a title="CTX136159" href="http://support.citrix.com/article/CTX136159" target="_blank">CTX136159</a>.</p>
<p>This issue does not occur if you only use published desktops. It also does not occur if your XenApp publication &#8216;command line&#8217; points to OSD files instead of SFTMIME</p>
<p>Recommendation: Apply HF03 for XA60R02 right away (&#8230; or migrate to XenApp 6.5)</p>
<p>(Fast publish article)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirxblog.wordpress.com/1217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirxblog.wordpress.com/1217/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1217&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirxblog.wordpress.com/2013/02/12/citrix-r02-for-xenapp-6-0-may-affect-app-v/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/4f30b56d12bedc4c923a807b86c67e56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirxblog</media:title>
		</media:content>
	</item>
		<item>
		<title>How to share ports of App-V 5 services</title>
		<link>http://kirxblog.wordpress.com/2013/02/04/how-to-share-ports-of-app-v-5-services/</link>
		<comments>http://kirxblog.wordpress.com/2013/02/04/how-to-share-ports-of-app-v-5-services/#comments</comments>
		<pubDate>Mon, 04 Feb 2013 08:04:56 +0000</pubDate>
		<dc:creator>kirxblog</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[5.0]]></category>
		<category><![CDATA[App-V]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Management Server]]></category>

		<guid isPermaLink="false">https://kirxblog.wordpress.com/?p=1198</guid>
		<description><![CDATA[While previous versions of App-V targeted a single instance implementation, the new infrastructure servers for an App-V 5 native deployment are designed to be scaled out and to be diverged across separate machines. The services for Management, Publishing and Reporting are based on IIS, also Streaming can be done from a web site. App-V’s Services [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1198&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class=" wp-image-1208 alignleft" alt="Icon" src="http://kirxblog.files.wordpress.com/2013/02/icon2.png?w=100&#038;h=72" width="100" height="72" />While previous versions of App-V targeted a single instance implementation, the new infrastructure servers for an App-V 5 native deployment are designed to be scaled out and to be diverged across separate machines. The services for Management, Publishing and Reporting are based on IIS, also Streaming can be done from a web site. App-V’s Services uses different ports for all these services – but what if you only want to use a single port, like 80?</p>
<p><span id="more-1198"></span></p>
<p>When you install several App-V 5 Server components onto a single machine, each component requires a separate IP Port during installation. If IIS’ Default Web Site is bound to port 80, you cannot use that, even when you only want to install a single component on that machine.</p>
<p>So, clients communicating to a ‘co-hosted’ App-V 5 Server initially need to establish a connection to a non-default (‘higher’) port. If more than one component (Publishing, Management, Reporting or Streaming) is used, more of those ‘higher’ ports are required. This is fine in an internal network, but as soon as there are firewalls or proxies involved (network security zones, VPN), you may want to limit the amount of open ports, and you may want to use a ‘default’ http port only.</p>
<p>So what can be done to bind all App-V components to a single port, let’s say 80?</p>
<p>Lucky wise IIS supports the concept of <em>Host Headers</em> that allow to distinguish between web applications based on the URL they are queried at. Unluckily, the App-V setup wizard does not support that, so we need some tweaking here.</p>
<p>Here are some up-front guide lines (It wouldn’t be me if I would not declare some)</p>
<ul>
<li>Operations in this guide may (temporarily) disrupt certain IIS features. Do not perform them during production hours</li>
<li>This guide is not directly applicable for secured (https) connections. Using Host Headers with SSL certificates requires additional configuration.</li>
<li>Validate that the individual IIS Site have a “started” state after completion. Some operation may have stopped them</li>
<li>Validate that all individual services can be contacted. For the App-V specific services, connect to the ‘/help’ subfolder with a browser (described below)</li>
<li>Do not remove any of the bindings that were created during the App-V Server installation</li>
<li>Do not attempt to ‘adjust’ App-V Server’s registry settings</li>
</ul>
<h3>Initial Configuration and Installation</h3>
<p>At the beginning, you prepare your IIS machine as described in the App-V Server’s system requirements. This includes installing the IIS role with some features. Note that you should leave the Default Web Site&#8217;s port to 80 and don’t change it.</p>
<p>Then, you install the required App-V Server components at once or one after-the-other. It doesn&#8217;t matter if you use the graphical wizard or the command line &#8211; just install them, assigning different ports to each component. In the example below, I used 8013 for the Management server, 8016 for Publishing and 8018 for Reporting.</p>
<h3>Prepare DNS Aliases for hosts</h3>
<p>As indicated, &#8216;host headers&#8217; will be used to identify individual services. Essentially this means that every service has to get an individual DNS name. You may create three new aliases on your DNS server, like AppvManagement, AppvPublishing and AppVReporting, each pointing to the same IP address of your IIS machine. In my example I added &#8216;Host01&#8242; just for the sake of demonstration.</p>
<p><a href="http://kirxblog.files.wordpress.com/2013/02/dns_alias1.png" target="_blank"><img class="alignnone  wp-image-1212" alt="DNS_Alias" src="http://kirxblog.files.wordpress.com/2013/02/dns_alias1.png?w=661&#038;h=385" width="661" height="385" /></a></p>
<p>For the Streaming Server feature, you don’t need to add a dedicated host header/port. If you decide for http streaming from the co-hosted server, this usually is achieved by adding a new Virtual Directory to the Default Web Site. Since the Default Web Site already listens to port 80, no additional preparations have to be made. Later on to all incoming connections on port 80 that are not covered by a host header still will be processed by the Default Web Site.</p>
<p>For a test, try to ping all hosts. Or, if not disabled on IIS, even try to connect to them using a browser. At this time queries should point to the default web site.</p>
<p><img style="border:0 currentColor;padding-top:0;padding-right:0;padding-left:0;display:inline;background-image:none;" title="IIS8_Welcome" alt="IIS8_Welcome" src="http://kirxblog.files.wordpress.com/2013/02/iis8_welcome_thumb.png?w=451&#038;h=334" width="451" height="334" border="0" /></p>
<h3>Configure Host Header redirection in IIS</h3>
<p>In IIS Manager, configure the &#8220;bindings&#8221; for each of the App-V services. You may do this using the GUI or command lines. Note that IIS7 (Win2008R2) and IIS8 (Win2012) can use different commands.</p>
<ul>
<li>Do not remove the original binding (to the upper port)</li>
<li>For each service, add a binding for the short name and the FQDN</li>
</ul>
<h4>Using IIS Manager’s GUI</h4>
<p>Using IIS Manager, navigate to the individual site. A right-click on the site name or the action pane shows you the “Binding” action. Here you can add/modify them.</p>
<p><img style="background-image:none;padding-top:0;padding-left:0;display:inline;padding-right:0;border:0;" title="IIS_Bindings_Summary" alt="IIS_Bindings_Summary" src="http://kirxblog.files.wordpress.com/2013/02/iis_bindings_summary_thumb.png?w=644&#038;h=222" width="644" height="222" border="0" /></p>
<p><img style="background-image:none;padding-top:0;padding-left:0;display:inline;padding-right:0;border:0;" title="IIS_Bindings_perSite" alt="IIS_Bindings_perSite" src="http://kirxblog.files.wordpress.com/2013/02/iis_bindings_persite_thumb.png?w=644&#038;h=259" width="644" height="259" border="0" /></p>
<h4>Using IIS 7’s appcmd command</h4>
<p>For IIS7, the command appcmd can be used. Appcmd supports two different ways of how to specify parameters. I opted for the ‘user friendly’ one. Note that appcmd set overwrites (and not adds) the new binding to a service. Therefore, you have to specify the original binding to the original ports as well.</p>
<p>(see <a href="http://technet.microsoft.com/en-us/library/cc753195(v=ws.10).aspx">http://technet.microsoft.com/en-us/library/cc753195(v=ws.10).aspx</a> for more details)</p>
<pre>appcmd set site "Microsoft App-V Management Service" /bindings:"http://*:<em><strong>8013</strong></em>,http://<em><strong>AppvManagementHost01.demo.lab</strong></em>:80,http://<em><strong>AppvManagementHost01</strong></em>:80"
appcmd set site "Microsoft App-V Publishing Service" /bindings:"http://*:<em><strong>8016</strong></em>,http://<em><strong>AppvPublishingHost01.demo.lab</strong></em>:80,http://<em><strong>AppvPublishingHost01</strong></em>:80"
appcmd set site "Microsoft App-V Reporting Service" /bindings:"http://*:<em><strong>8019</strong></em>,http://<em><strong>AppvReportingHost01.demo.lab</strong></em>:80,http://<em><strong>AppvReportingHost01:80</strong></em>"</pre>
<h4>Using Powershell  (IIS8, IIS7)</h4>
<p>For IIS8, of course Powershell is used</p>
<p>(Originally found at <a href="http://blogs.iis.net/jeonghwan/archive/2012/11/12/examples-of-iis-powershell-cmdlets.aspx">http://blogs.iis.net/jeonghwan/archive/2012/11/12/examples-of-iis-powershell-cmdlets.aspx</a>, details at <a title="http://technet.microsoft.com/en-us/library/ee807834.aspx" href="http://technet.microsoft.com/en-us/library/ee807834.aspx" target="_blank">http://technet.microsoft.com/en-us/library/ee807834.aspx</a>)</p>
<p>Note that the add-webconfiguration does not replace, but add parameters. Therefor the original ports (8013, 8016, 8019) don’t show up here – and we use two commands for each service, one for the short name, one for the FQDN.</p>
<pre>add-webconfiguration '/system.applicationHost/sites/site[@name="Microsoft App-V <em><strong>Management</strong> </em>Service"]/bindings'-value @{protocol="http";bindingInformation=":80:<em><strong>AppVManagementHost01.lab.lic</strong></em>"} -pspath iis:\
add-webconfiguration '/system.applicationHost/sites/site[@name="Microsoft App-V <em><strong>Management</strong> </em>Service"]/bindings'-value @{protocol="http";bindingInformation=":80:<em><strong>AppVManagementHost01</strong></em>"} -pspath iis:\
add-webconfiguration '/system.applicationHost/sites/site[@name="Microsoft App-V <em><strong>Publishing</strong> </em>Service"]/bindings'-value @{protocol="http";bindingInformation=":80:<em><strong>AppVPublishingHost01.lab.lic</strong></em>"} -pspath iis:\
add-webconfiguration '/system.applicationHost/sites/site[@name="Microsoft App-V <em><strong>Publishing</strong> </em>Service"]/bindings'-value @{protocol="http";bindingInformation=":80:<em><strong>AppVPublishingHost01</strong></em>"} -pspath iis:\
add-webconfiguration '/system.applicationHost/sites/site[@name="Microsoft App-V <em><strong>Reporting</strong> </em>Service"]/bindings'-value @{protocol="http";bindingInformation=":80:<em><strong>AppVReportingHost01.lab.lic</strong></em>"} -pspath iis:\
add-webconfiguration '/system.applicationHost/sites/site[@name="Microsoft App-V <em><strong>Reporting</strong> </em>Service"]/bindings'-value @{protocol="http";bindingInformation=":80:<em><strong>AppVReportingHost01</strong></em>"} -pspath iis:\</pre>
<p>Ah, yeah, the PoSH of course also work on a IIS7 machine. In fact this Cmdlet was introduced for IIS 7</p>
<h3>Validation</h3>
<p>At the final step of the Host Header configuration process, you should open a browser and point to the two, three new DNS aliases on port 80. A quite safe method is to establish a browser connection to the new aliases::</p>
<p><a href="http://AppvManagementHost01/help" rel="nofollow">http://AppvManagementHost01/help</a></p>
<p><a href="http://AppvPublishingHost01/help" rel="nofollow">http://AppvPublishingHost01/help</a></p>
<p><a href="http://AppvReportingHost01/help" rel="nofollow">http://AppvReportingHost01/help</a></p>
<p><img style="background-image:none;padding-top:0;padding-left:0;display:inline;padding-right:0;border:0;" title="IE_HelpPages" alt="IE_HelpPages" src="http://kirxblog.files.wordpress.com/2013/02/ie_helppages_thumb.png?w=644&#038;h=427" width="644" height="427" border="0" /></p>
<h5>Important</h5>
<p>You should not modify the App-V Server component’s individual configurations (in the Registry). They still point to the original server name and ‘high’ IP Port.</p>
<h3>Conclusion</h3>
<p>Host Headers allow you to offer several App-V Server components from an individual machine sharing the same port, like 80.</p>
<p>This is namely useful for sharing default http port 80 between the Publishing Server component, the Reporting Server component and potentially the Streaming service offered by native IIS. Often you don’t need to configure port sharing for the Management Server, because it isn’t addressed by clients and thus may not require special firewall configurations, but of course you can do it easily as well. Also note that you may want to use a different machine for streaming the .appv files from (file or web server), mainly to separate configuration traffic from data traffic (though we described its co-hosting here as well).</p>
<h3><a href="http://kirxblog.files.wordpress.com/2013/02/hostheader_targetarchitecture.png" target="_blank"><img class="size-large wp-image-1203" title="App-V Sharing of port 80 taget architecture (click to enlarge)" alt="HostHeader_TargetArchitecture" src="http://kirxblog.files.wordpress.com/2013/02/hostheader_targetarchitecture.png?w=329&#038;h=370" width="329" height="370" /></a></h3>
<h3>Additions</h3>
<p>Remember that configuring a secured connection (using HTTPS) requires more planning (while it is easier for IIS8 than for IIS7), including the requirement for wildcard certificates (*.company.dom).</p>
<p>If you want to use a load balancing service (external or Windows NLB), the virtual hostnames have to be used for the host header entries</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirxblog.wordpress.com/1198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirxblog.wordpress.com/1198/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1198&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirxblog.wordpress.com/2013/02/04/how-to-share-ports-of-app-v-5-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/4f30b56d12bedc4c923a807b86c67e56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirxblog</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2013/02/icon2.png?w=300" medium="image">
			<media:title type="html">Icon</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2013/02/dns_alias1.png" medium="image">
			<media:title type="html">DNS_Alias</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2013/02/iis8_welcome_thumb.png" medium="image">
			<media:title type="html">IIS8_Welcome</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2013/02/iis_bindings_summary_thumb.png" medium="image">
			<media:title type="html">IIS_Bindings_Summary</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2013/02/iis_bindings_persite_thumb.png" medium="image">
			<media:title type="html">IIS_Bindings_perSite</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2013/02/ie_helppages_thumb.png" medium="image">
			<media:title type="html">IE_HelpPages</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2013/02/hostheader_targetarchitecture.png?w=329" medium="image">
			<media:title type="html">App-V Sharing of port 80 taget architecture (click to enlarge)</media:title>
		</media:content>
	</item>
		<item>
		<title>New App-V 5 Visio Stencil</title>
		<link>http://kirxblog.wordpress.com/2012/12/17/new-app-v-5-visio-stencil/</link>
		<comments>http://kirxblog.wordpress.com/2012/12/17/new-app-v-5-visio-stencil/#comments</comments>
		<pubDate>Mon, 17 Dec 2012 11:22:36 +0000</pubDate>
		<dc:creator>kirxblog</dc:creator>
				<category><![CDATA[App-V]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[4.5]]></category>
		<category><![CDATA[4.6]]></category>
		<category><![CDATA[4.6 SP1]]></category>
		<category><![CDATA[5.0]]></category>
		<category><![CDATA[Management Server]]></category>

		<guid isPermaLink="false">http://kirxblog.wordpress.com/?p=1167</guid>
		<description><![CDATA[The App-V Visio Stencil has been updated to reflect the new components that were introduced with App-V 5. It contains dedicated symbols for the Publishing, Management, Reporting and Streaming Service as well as symbols for Clients running in shared-content mode. Symbols are genric enough to be used with App-V 4.x as well. &#160; &#160; One [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1167&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1177" alt="Icon_small" src="http://kirxblog.files.wordpress.com/2012/12/icon_small.png?w=370"   />The App-V Visio Stencil has been updated to reflect the new components that were introduced with App-V 5.</p>
<p>It contains dedicated symbols for the Publishing, Management, Reporting and Streaming Service as well as symbols for Clients running in shared-content mode. Symbols are genric enough to be used with App-V 4.x as well.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span id="more-1167"></span></p>
<p>One rack-mounted symbol is covered with &#8216;labels&#8217;, allowing to indicate that several services are running on a &#8216;co-hosting&#8217; server.</p>
<p><a href="http://www.kirx.org/resources/App-V_VisioStencil_www.kirx.org_121217.zip" target="_blank"><img class="alignnone  wp-image-1173" alt="App-V_VisioStencil_Overview" src="http://kirxblog.files.wordpress.com/2012/12/app-v_visiostencil_overview.png?w=579&#038;h=430" width="579" height="430" /></a></p>
<p>The App-V 5 Visio Stencil can be downloaded from <a href="http://www.kirx.org/resources/App-V_VisioStencil_www.kirx.org_121217.zip" target="_blank">http://www.kirx.org/resources/App-V_VisioStencil_www.kirx.org_121217.zip</a> or by clicking the image above.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirxblog.wordpress.com/1167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirxblog.wordpress.com/1167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1167&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirxblog.wordpress.com/2012/12/17/new-app-v-5-visio-stencil/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/4f30b56d12bedc4c923a807b86c67e56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirxblog</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/12/icon_small.png" medium="image">
			<media:title type="html">Icon_small</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/12/app-v_visiostencil_overview.png" medium="image">
			<media:title type="html">App-V_VisioStencil_Overview</media:title>
		</media:content>
	</item>
		<item>
		<title>SP2 for App-V 4.6 to be deployed via MS Update at End of November</title>
		<link>http://kirxblog.wordpress.com/2012/11/06/sp2-for-app-v-4-6-to-be-deployed-via-ms-update-at-end-of-november/</link>
		<comments>http://kirxblog.wordpress.com/2012/11/06/sp2-for-app-v-4-6-to-be-deployed-via-ms-update-at-end-of-november/#comments</comments>
		<pubDate>Tue, 06 Nov 2012 07:32:29 +0000</pubDate>
		<dc:creator>kirxblog</dc:creator>
				<category><![CDATA[App-V]]></category>
		<category><![CDATA[Client]]></category>
		<category><![CDATA[4.6]]></category>
		<category><![CDATA[4.6 SP1]]></category>
		<category><![CDATA[SP2]]></category>

		<guid isPermaLink="false">https://kirxblog.wordpress.com/?p=1154</guid>
		<description><![CDATA[According to http://blogs.msdn.com/b/sgern/archive/2012/10/12/10359028.aspx (a very trustworthy source), Service Pack 2 for Microsoft Application Virtualization 4.6 will be deployed via Microsoft Update “at the end of this month” (which is November). A thing to consider… As for with every new Minor Release, Hotfix or Service Pack for App-V, IT Organizations should be aware that this update [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1154&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://kirxblog.files.wordpress.com/2012/11/windowsupdate_100.png"><img style="background-image:none;float:left;padding-top:0;padding-left:0;display:inline;padding-right:0;border:0;" title="WindowsUpdate_100" alt="WindowsUpdate_100" src="http://kirxblog.files.wordpress.com/2012/11/windowsupdate_100_thumb.png?w=100&#038;h=104" height="104" width="100" /></a>According to <a title="http://blogs.msdn.com/b/sgern/archive/2012/10/12/10359028.aspx" href="http://blogs.msdn.com/b/sgern/archive/2012/10/12/10359028.aspx">http://blogs.msdn.com/b/sgern/archive/2012/10/12/10359028.aspx</a> (a very trustworthy source), Service Pack 2 for Microsoft Application Virtualization 4.6 will be deployed via Microsoft Update “at the end of this month” (which is November). A thing to consider…</p>
<p><span id="more-1154"></span>As for with every new Minor Release, Hotfix or Service Pack for App-V, IT Organizations should be aware that this update modifies the ‘execution platform’ or ‘runtime environment’ for a potentially large amount of applications. In return, you should test and validate your business-critical App-V applications before you apply this update (or allow Microsoft Update / WSUS to deploy it).</p>
<p>While (as far as I remember) there was only one SP for an older version of SoftGrid/App-V that caused some applications to fail, Hotfixes which were published for App-V 4.6 SP1 apparently were ‘nice’ to the applications.</p>
<p>The KB article for App-V 4.6 SP2 can be found at <a title="http://support.microsoft.com/kb/2738315" href="http://support.microsoft.com/kb/2738315">http://support.microsoft.com/kb/2738315</a></p>
<p><em><strong>Note</strong></em> that SP2 contains all the Fixes up and until HF8 for App-V 4.6 SP1 <em><strong>with the exception</strong> </em>of <a href="http://support.microsoft.com/kb/2744141" target="_blank">HF7 fixes</a>.</p>
<p>PS: the Update logo was taken from <a title="http://foremostmedia.blogspot.de/2012/10/monthly-microsoft-windows-update.html" href="http://foremostmedia.blogspot.de/2012/10/monthly-microsoft-windows-update.html">http://foremostmedia.blogspot.de/2012/10/monthly-microsoft-windows-update.html</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirxblog.wordpress.com/1154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirxblog.wordpress.com/1154/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1154&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirxblog.wordpress.com/2012/11/06/sp2-for-app-v-4-6-to-be-deployed-via-ms-update-at-end-of-november/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/4f30b56d12bedc4c923a807b86c67e56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirxblog</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/11/windowsupdate_100_thumb.png" medium="image">
			<media:title type="html">WindowsUpdate_100</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft Application Virtualization 5 Book Announcement</title>
		<link>http://kirxblog.wordpress.com/2012/11/01/microsoft-application-virtualization-5-book-announcement/</link>
		<comments>http://kirxblog.wordpress.com/2012/11/01/microsoft-application-virtualization-5-book-announcement/#comments</comments>
		<pubDate>Thu, 01 Nov 2012 18:39:13 +0000</pubDate>
		<dc:creator>kirxblog</dc:creator>
				<category><![CDATA[App-V]]></category>
		<category><![CDATA[5.0]]></category>

		<guid isPermaLink="false">http://kirxblog.wordpress.com/?p=1134</guid>
		<description><![CDATA[Hi there, &#8220;Hi there&#8221; ? This &#8211; for me &#8211; quite exuberant blog introduction may indicate to you that I am really excited about the book announcement that Nicke, Kalle, Ment and I published just yesterday I now can unveil that I persoanlly started to think about writing a book quite a while ago (I found an MindMap [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1134&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="alignleft  wp-image-1140" title="AppvManIconST" alt="" src="http://kirxblog.files.wordpress.com/2012/10/appvmaniconst.png?w=84&#038;h=100" height="100" width="84" />Hi there,</p>
<p>&#8220;Hi there&#8221; ? This &#8211; for me &#8211; quite exuberant blog introduction may indicate to you that I am <em>really excited</em> about the <a href="http://www.appvbook.com" target="_blank">book announcement </a>that Nicke, Kalle, Ment and I published just yesterday</p>
<p><span id="more-1134"></span></p>
<p>I now can unveil that I persoanlly started to think about writing a book quite a while ago (I found an MindMap which is dated back 4 years), I even started to <em>write</em> something&#8230; but as you probably know there were the books by Nico Lüdemann, Mitch Tulloch, Tim Mangan &amp; Kevin Kaminski or Augusto Alvarez which cover quite a lot of the potential content one can imagine around App-V Version 4. Not much left here.</p>
<p>So, when we discussed the idea of an App-V &#8220;vNext&#8221; book almost one year ago in Vienna, I got hooked.</p>
<p>I won&#8217;t disclose any &#8216;relevant&#8217; information here &#8211; if you want to learn about the content, delivery model or timelines, <a href="http://www.appvbook.com" target="_blank">appvbook.com </a>is the primary source. But I can tell you that we made some sginificant progress since we really started working on in. In fact, at the beginning we four guys moved slower than I did alone with my &#8216;old&#8217; engagement. This was not mainly caused by four different working styles (and I do tell you that it is not always the German who discusses an hour about a specific phrase ;-) ) &#8211; no, in fact it was Microsoft that slowed down the book creation process. Why? Well, MS just &#8220;reinvented the wheel&#8221;:  Comparing App-V 4 and App-V 5 is like comparing a &#8217;classical&#8217; car with an E-Car. Sort of they are all the same, but of course they are not.</p>
<p>The product which is now released as Microsoft Application Virtualization Version 5 is so fundamental different, that we really needed to put a lot of efforts into understanding it. And with every pre-release, which Microsoft submitted to selected customers and us, they changed the product. They did not just &#8216;fix bugs&#8217;, they also added a bunch of new features to every version, plus they applied changes that were requested by customers and MVPs.  So&#8230; we installed a new version, tested it, reverted the VMs, installed some even newer Version, tired to understand the changes&#8230; And if that&#8217;s not enough, we published some offline and online articles about the Public Beta&#8230; leaving us only a very limited amount of time to contribute to &#8216;the book&#8217;. But things changed a little, it is not &#8220;all new&#8221; any longer and talking about the writing we are &#8216;getting into it&#8217;.</p>
<p>Considering this you may understand why I am so enthusiastic about our App-V 5 Book announcement&#8230; and I hope you get exited as well, once you can start reading it :-)</p>
<p>PS: you may want to follow <a title="@appvbook" href="http://www.twitter.com/appvbook" target="_blank">@appvbook</a> for most up-to-date information.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirxblog.wordpress.com/1134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirxblog.wordpress.com/1134/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1134&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirxblog.wordpress.com/2012/11/01/microsoft-application-virtualization-5-book-announcement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/4f30b56d12bedc4c923a807b86c67e56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirxblog</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/10/appvmaniconst.png?w=128" medium="image">
			<media:title type="html">AppvManIconST</media:title>
		</media:content>
	</item>
		<item>
		<title>Remote Database Preparation for App-V 5</title>
		<link>http://kirxblog.wordpress.com/2012/11/01/remote-database-preparation-for-app-v-5/</link>
		<comments>http://kirxblog.wordpress.com/2012/11/01/remote-database-preparation-for-app-v-5/#comments</comments>
		<pubDate>Thu, 01 Nov 2012 18:30:45 +0000</pubDate>
		<dc:creator>kirxblog</dc:creator>
				<category><![CDATA[App-V]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[5.0]]></category>
		<category><![CDATA[Management Server]]></category>

		<guid isPermaLink="false">https://kirxblog.wordpress.com/?p=1120</guid>
		<description><![CDATA[A while ago I wrote an article about what to do if you want to implement a Full App-V 5 Infrastructure – and you’re not the SQL Admin. Now, with App-V 5 going RTM, there are some updates – including additions for the Reporting Database and a little Powershell helper for you. I strongly recommend [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1120&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="alignleft  wp-image-1136" title="AppVDB" alt="" src="http://kirxblog.files.wordpress.com/2012/11/appvdb.png?w=100&#038;h=96" height="96" width="100" />A while ago I wrote an <a href="http://kirxblog.wordpress.com/2012/04/18/use-app-v-5-beta-publishing-and-management-server-with-a-remote-database/" target="_blank">article</a> about what to do if you want to implement a Full App-V 5 Infrastructure – and you’re not the SQL Admin. Now, with App-V 5 going RTM, there are some updates – including additions for the Reporting Database and a little Powershell helper for you.</p>
<p><span id="more-1120"></span></p>
<p><em>I strongly recommend that you <a href="http://kirxblog.wordpress.com/2012/04/18/use-app-v-5-beta-publishing-and-management-server-with-a-remote-database/">read the &#8216;old&#8217; article first</a>. It explains some background Information and still is valid (though it was written for a Beta version).</em></p>
<p>Let’s start with the same constraints that we assumed for the last article.</p>
<ul>
<li>You want to implement a Microsoft Application Virtualization with a ‘Full Infrastructure’ and/or you want to implement App-V 5’s Reporting Feature</li>
<li>You are not the SQL Server Administrator and the SQL Admins refuse to run <i>any</i> installer nor executable on their SQL Server machines</li>
<li>MS&#8217; <a title="MS: Install App-V 5 Database" href="http://bit.ly/TdtZzD" target="_blank">instruction </a>of how to &#8216;install&#8217; the database tells you some of the things for a &#8216;remote DB configuration&#8217;</li>
</ul>
<h3>Warming up</h3>
<p>With App-V 5 RTM (and even in the pre-release versions) Microsoft allows you to ‘install’ the database(s) using the Setup Wizard – so you take your CD and go over to the SQL Admins: and they just start laughing  ;-)</p>
<p>Luckily there is a less shameful way to get things done: Along with the RTM version of App-V 5 Microsoft provides the necessary SQL scripts (*.sql files) that allow to prepare the SQL databases and configuration in a ‘clear text’ way &#8211; which SQL Admins easily can inspect and validate.</p>
<p>However, these scripts</p>
<ul>
<li>Are embedded in the server installer Setup.exe</li>
<li>Need some adjustments</li>
</ul>
<h4>Extract the SQL scripts from Setup.exe</h4>
<p>This one is easy. Just take a Test VM (you even might use one of the later App-V server machines or your current Desktop PC) and run the following command:</p>
<pre>appv_server_setup.exe /layout c:\Temp</pre>
<p>This <em>extracts</em> the content of appv_server_setup.exe into the specified directory (<em>C:\Temp</em> in my case). The content then should look like this:</p>
<p><a href="http://kirxblog.files.wordpress.com/2012/10/image.png"><img style="margin:0;border:0 currentColor;padding-top:0;padding-right:0;padding-left:0;display:inline;background-image:none;" title="image" alt="image" src="http://kirxblog.files.wordpress.com/2012/10/image_thumb.png?w=244&#038;h=169" height="169" width="244" /></a></p>
<p>And guess what – it’s the DatabaseScripts folder that contains the ‘plain’ scripts. In there you’ll find two subfolders – one for the Management database and one for the Reporting database</p>
<p>Each subfolder contains a readme.txt that instructs you what to do. Essentially, you have to replace the targeted database name in the “Database.sql” files and enter the SID and Name for the Read/Full database access groups into the “Permissions.sql” scripts.</p>
<p>Because there are some things I sort-of don&#8217;t like (you have to figure out the group’s SIDs, you have to remove the “-“ of them, manually add them into the .sql files, run the .sql files in the right order…) I wrote a Powershell scripts that does some of the work for you. I suppose you and the SQL Admin are different persons, so here is the process:</p>
<h3>Gather the information</h3>
<p>Ask the SQL Admin how the new databases for App-V Management (and optionally Reporting) should be named.</p>
<p>Ask the SQL Admin (or ask the Active Directory team) which groups should be used to configure the database access. For each App-V 5 Database (Management and Reporting) you need two groups (Read access and Write access).</p>
<p>You should NOT ask for individual user accounts, but for groups. Following the AGDLP model (<a href="http://en.wikipedia.org/wiki/AGDLP">http://en.wikipedia.org/wiki/AGDLP</a>) these groups fall under the “Permission” Group category. You (or someone else) will add “Accounts” groups (that include the individual users) . As a Best Practice you should have dedicated groups for every permission, so four in total.</p>
<p><em>Side note: I’m planning for a dedicated article on App-V Accounts and Permissions. (But I don’t commit to an expected release date ;-) ).</em></p>
<p>For now add yourself and the App-V Management Server’s account (&lt;servername&gt;$) to all groups.</p>
<h3>Prepare the Powershell Script</h3>
<p>To make the task somewhat easier, I wrote a Powershell Script that you can download from <a title="PoSh to prepare .SQL" href="http://www.kirx.org/resources/preparesql_inplace.zip">kirx.org</a>.</p>
<p>Copy the Powershell file (PrepareSQL_inplace.ps1) into the same folder where the ManagementDatabase and the ReportingDatabase folders (erhm… copies!) are located: C:\Temp for my example.</p>
<p>Open the .ps1 file with an editor, like Notepad, Microsoft’s PowerShell ISE, Quest’s PowerGUI or alike.</p>
<p>I think the variable names are self-explaining, you should verify/adjust the ones which are highlighted in the screenshot.</p>
<p><a href="http://kirxblog.files.wordpress.com/2012/10/image1.png"><img style="background-image:none;padding-top:0;padding-left:0;display:inline;padding-right:0;border:0;" title="image" alt="image" src="http://kirxblog.files.wordpress.com/2012/10/image_thumb1.png?w=244&#038;h=174" height="174" width="244" /></a></p>
<p>If ‘<em>$AlsoPrepareReportingSqlScripts</em>’ is set to $true (the default), the .sql scripts for the Reporting database are prepared as well. If it is set to $false, only the .sql scripts for the Management DB are adjusted.</p>
<p>‘<em>$SqlFilesSourceDirRoot</em>’ should stay as it is (empty), because then the scripts looks at its own location for the subfolders and files.</p>
<p>After your modifications, save the script.</p>
<h3>Run the Powershell Script</h3>
<h4>Important</h4>
<h5>The script is ‘destructive’, i.e. it modifies and renames the files directly. It does NOT create a backup copy.</h5>
<p>To run the script, you ‘only’ need write permission in the current folder (<em>C:\Temp</em>). You may need to set the Powershell ExecutionPolicy (and for that you might need Admin rights on your test machine).</p>
<p>The script should run without “red” Powershell errors. If there are any, verify that the ‘original’ files are at the proper location.</p>
<h4>Verification</h4>
<p>After the script finished, the ManagamentDatabase folder should look like this (and the ReportingDatabase folder should look similar, but not identical). Check the <em>‘1-1_Database.sql</em>’ file(s) if it contains the right Database information and the ‘<em>2-5_Permissions.sql</em>’ file(s) if it contains the right permission groups.</p>
<h3>Execute the SQL Script.</h3>
<p>Then, turn over to your SQL Admins…. And pay homage to them. They deserve it. After that, you may send them the .sql scripts. They should like you, because you don’t want to run an executable on their servers, plus you don’t require them to create and adjust the databases manually.</p>
<h4>For the SQL Admin:</h4>
<ul>
<li>Start with the “ManagementDatabase” Folder</li>
<li>Run the 1-1_&#8230; Script against the server. It will create a database</li>
<li>Then, verify that the database exists. And<em> MAKE SURE</em> that the following .sql script are executed on the new database (<em>DO NOT! run them on the ‘master’ DB</em>).</li>
<li>Run them in the order defined by the number: 2-1, 2-2 and so on</li>
<li>If required continue with the ‘ReportingDatabase’ folder.</li>
<li>Same procedure as above: Run the 1-1 script against the server and the 2-x scripts against the newly created reporting database.</li>
</ul>
<p>Executing the ‘ScheduleReportingJob.sql&#8217; script may throw errors or warnings, depending on the status of the SQL Agent Server</p>
<p>After that is done, you can install the App-V 5 infrastructure servers and point them to the new remote database(s)</p>
<p>Again, the Powershell Script be found <a title="AppV SQL Preparation Script" href="http://www.kirx.org/resources/preparesql_inplace.zip">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirxblog.wordpress.com/1120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirxblog.wordpress.com/1120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1120&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirxblog.wordpress.com/2012/11/01/remote-database-preparation-for-app-v-5/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/4f30b56d12bedc4c923a807b86c67e56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirxblog</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/11/appvdb.png?w=150" medium="image">
			<media:title type="html">AppVDB</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/10/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/10/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>How to launch an external Program inside an App-V 5 Environment</title>
		<link>http://kirxblog.wordpress.com/2012/07/03/how-to-launch-an-external-program-inside-an-app-v-5-environment/</link>
		<comments>http://kirxblog.wordpress.com/2012/07/03/how-to-launch-an-external-program-inside-an-app-v-5-environment/#comments</comments>
		<pubDate>Tue, 03 Jul 2012 11:05:15 +0000</pubDate>
		<dc:creator>kirxblog</dc:creator>
				<category><![CDATA[App-V]]></category>
		<category><![CDATA[Client]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[5.0]]></category>
		<category><![CDATA[HowTo]]></category>

		<guid isPermaLink="false">https://kirxblog.wordpress.com/?p=1106</guid>
		<description><![CDATA[Do you want to launch ‘cmd.exe’ within an App-V 5 (Beta) Virtual Environment? ‘OSD Scripting’ can’t help you here… OSDs are gone. Read about a quite neat method that was discussed during the German User Group – and that was streamlined by Volker Kleiner (@vkleinerde)&#8230; Dedication and Disclaimer The information in this blog were put [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1106&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="alignleft  wp-image-1056" title="AppvCmd" src="http://kirxblog.files.wordpress.com/2012/07/appvcmd.png?w=105&#038;h=108" alt="" width="105" height="108" />Do you want to launch ‘cmd.exe’ within an App-V 5 (Beta) Virtual Environment? ‘OSD Scripting’ can’t help you here… OSDs are gone. Read about a quite neat method that was discussed during the German User Group – and that was streamlined by Volker Kleiner (<a href="https://twitter.com/#!/vkleinerde" target="_blank">@vkleinerde</a>)&#8230;</p>
<p><span id="more-1106"></span></p>
<h3>Dedication and Disclaimer</h3>
<p>The information in this blog were put together by Volker Kleiner, who offered me to publish that here. This tweak was introduced by <a href="http://blogs.msdn.com/b/sgern/" target="_blank">Sebastian Gernert</a> during the German App-V User Group meeting in June this year.</p>
<p>As for now, this is NOT a supported method by Microsoft and it might happen that this tweak disappears in the final version of App-V 5. We’re talking Beta here.</p>
<h3>The Challenge</h3>
<p>Beginning with App-V 4.5, there was that “/exe” command line parameter of SFTTRAY that allowed users to launch ‘any’ application in the context of a virtual application – without OSD modifications or ‘tricks’ like File-&gt;Open dialogs. In App-V 5, there aren’t any OSD files any longer (and the Beta’s configuration.xml have still some limitations on scripts) and there is no launcher (like sfttray) either… so how to get into an virtual environment to validate the files and registry settings that are present in the virtual application?</p>
<h3>The Solution</h3>
<p>With the Beta of App-V 5, Microsoft introduced a command line switch “/appvve” that apparently can be added to “any” executable to launch it inside a VE. It seems that the App-V Client 5 installation mystically adds this switch to applications – and believe it or not, I have absolutely no clue how they do that!</p>
<p>The command line for it is</p>
<pre>executable.exe /appvve:PackageGUID_Version_GUID</pre>
<p>So, to launch a CMD in a given virtual environment, launch</p>
<pre>cmd.exe /appvve:3b58d5f6-72ee-417c-9813-5d296b4f131f_d04e507d-7c5b-4396-9e0c-a7685fa99484</pre>
<h3>An Improvement</h3>
<p>Because that is not exactly handy (just close your eyes and repeat the two GUIDs), Volker created a small PowerShell script that simply takes the “friendly” App-V 5 Package Name as an input parameter. No rocket science here, but way easier than the pair of GUIDs:</p>
<pre>$APP = $args[0]
$pkg = get-appvclientpackage –name $APP
$AppvPackageId = [string]::join("", $pkg.PackageID)
$AppvVersionId = [string]::join("", $pkg.VersionID)
$AppvGUIDs=$AppvPackageId +"_" + $AppvVersionId
Cmd.exe /appvve:$AppvGUIDs</pre>
<h3>A Final Mystery</h3>
<p>Now you may ask why the heck Volker Kleiner didn’t publish this on his own site at <a href="http://www.app-v.info">www.app-v.info</a>? Well, he is about to reorganize that page (worth observing it… did you notice his “Error Code” section?) and so Volker decided not to publish new things there in between. You should follow <a href="https://twitter.com/#!/vkleinerde" target="_blank">@vkleinerde</a>, not only learn about his site’s progress <img class="wlEmoticon wlEmoticon-smile" style="border-style:none;" src="http://kirxblog.files.wordpress.com/2012/07/wlemoticon-smile.png?w=370" alt="Smile" /></p>
<h3>Other Resources</h3>
<p>After goog.. searching, I found<a href="http://blog.wortell.nl/sanderz/app-v-5-beta-and-shortcuts-the-case-of-the-missing-arguments/" target="_blank"> another article by Sander Zegveld</a> that I read before… but I didn’t notice then that here an Internet Explorer has been started using the same method. And yes, if you like App-V Sander <a href="https://twitter.com/#!/following" target="_blank">(@funnyproffy</a>) is one of the “to follow” guys as well.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirxblog.wordpress.com/1106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirxblog.wordpress.com/1106/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1106&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirxblog.wordpress.com/2012/07/03/how-to-launch-an-external-program-inside-an-app-v-5-environment/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/4f30b56d12bedc4c923a807b86c67e56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirxblog</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/07/appvcmd.png?w=146" medium="image">
			<media:title type="html">AppvCmd</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/07/wlemoticon-smile.png" medium="image">
			<media:title type="html">Smile</media:title>
		</media:content>
	</item>
		<item>
		<title>App-V 5 Beta Basic Troubleshooting</title>
		<link>http://kirxblog.wordpress.com/2012/05/11/app-v-5-beta-basic-troubleshooting/</link>
		<comments>http://kirxblog.wordpress.com/2012/05/11/app-v-5-beta-basic-troubleshooting/#comments</comments>
		<pubDate>Fri, 11 May 2012 13:27:52 +0000</pubDate>
		<dc:creator>kirxblog</dc:creator>
				<category><![CDATA[App-V]]></category>
		<category><![CDATA[Client]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[5.0]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Management Server]]></category>

		<guid isPermaLink="false">https://kirxblog.wordpress.com/?p=1095</guid>
		<description><![CDATA[All right, you do have your new App-V Beta system installed according to the Beta Documentation – but your Apps just don’t appear on the Client Desktop! Where do you start? Let’s try to figure out some basic steps that can be the foundation of a troubleshooting guideline Normally one would start at the point [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1095&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>All right, you do have your new App-V Beta system installed according to the Beta Documentation – but your Apps just don’t appear on the Client Desktop! Where do you start? Let’s try to figure out some basic steps that can be the foundation of a troubleshooting guideline</p>
<p><span id="more-1095"></span></p>
<p>Normally one would start at the point the error occurs (hence on the client) and follow the golden thread of communication down to the source. (see <a title="http://bit.ly/JFI5Z0" href="http://bit.ly/JFI5Z0" target="_blank">http://bit.ly/JFI5Z0</a>). In here we’ll start (almost) at the beginning and follow the data down to the client.</p>
<p>For some guidance on how to install the server pieces, look at <a href="http://bit.ly/INN3y0" target="_blank">http://bit.ly/INN3y0</a>.</p>
<h4>Disclaimer:</h4>
<address>The content provided here refers to the Beta Version of App-V 5. Upcoming releases including the final version will be different from that Beta. This validity of blog&#8217;s content including screenshots, statements and procedures may change or disappear.</address>
<address> </address>
<h4>Request:</h4>
<address><strong>I kindly ask you to use Microsoft Connect or (alternatively) <a href="http://www.appvirtguru.com" rel="nofollow">http://www.appvirtguru.com</a> to post troubleshooting questions.</strong></address>
<address>Microsoft Connect is the platform to provide &#8216;official&#8217; feedback to Microsoft about their pre-releases. Issues reported here may lead to software changes, documentation updates or blog posts by Microsoft employees.</address>
<address>AppvirtGuru is an independend forum that holds a dedicated section for App-V 5 Beta.</address>
<address>Both platforms are open to more people (than just me) who may assist you.</address>
<address> </address>
<h3>App-V 5 Management Server</h3>
<p>The Management Server is an IIS Web Application, so checking if IIS is running and verifying some configurations there is a good starting point.</p>
<p>Verify that the Web Application really uses .Net version 4 (and not any older one). Open the IIS Management Console and navigate to the “Application Pools” node.</p>
<p><a href="http://kirxblog.files.wordpress.com/2012/05/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://kirxblog.files.wordpress.com/2012/05/image_thumb.png?w=544&#038;h=360" alt="image" width="544" height="360" border="0" /></a></p>
<p>In the next step check if you can communicate with the service. On the Management Server machine, open a Browser and navigate to <em><strong><a href="http://&lt;managementservername&gt;:Port">http://&lt;managementservername&gt;:Port</a></strong></em> (<a href="http://AppvMan:50536" rel="nofollow">http://AppvMan:50536</a> in my example)</p>
<p><a href="http://kirxblog.files.wordpress.com/2012/05/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://kirxblog.files.wordpress.com/2012/05/image_thumb1.png?w=550&#038;h=161" alt="image" width="550" height="161" border="0" /></a></p>
<p>Here you should see a “Service” page. Or you go to <em><strong><a href="http://&lt;managementservername&#038;gt" rel="nofollow">http://&lt;managementservername&#038;gt</a>;:port/help</strong></em> and you should see a list of supported commands.</p>
<p><a href="http://kirxblog.files.wordpress.com/2012/05/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://kirxblog.files.wordpress.com/2012/05/image_thumb2.png?w=688&#038;h=316" alt="image" width="688" height="316" border="0" /></a></p>
<p>You should <strong><em>not</em></strong> use “localhost” as the address, because sometimes IE then assumes a different security zone and prohibits some activities.</p>
<p>So, you are not sure which port you defined during installation? That’s an easy one: Read your Installation Documentation. Don’t have it (because somebody has stolen it)? There are some options.</p>
<p>You could check the “Binding” settings while you are in the IIS Management Console.</p>
<p><a href="http://kirxblog.files.wordpress.com/2012/05/image3.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://kirxblog.files.wordpress.com/2012/05/image_thumb3.png?w=653&#038;h=255" alt="image" width="653" height="255" border="0" /></a></p>
<p><a href="http://kirxblog.files.wordpress.com/2012/05/image4.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://kirxblog.files.wordpress.com/2012/05/image_thumb4.png?w=841&#038;h=133" alt="image" width="841" height="133" border="0" /></a></p>
<p>Or you browse the registry’s <em><strong>HKLM/Software/Microsoft/AppV/Server/ManagementService</strong></em>. Here is the <em><strong>MANAGEMENT_WEBSITE_PORT</strong></em> that should lead your way.</p>
<p><a href="http://kirxblog.files.wordpress.com/2012/05/image5.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://kirxblog.files.wordpress.com/2012/05/image_thumb5.png?w=550&#038;h=216" alt="image" width="550" height="216" border="0" /></a></p>
<p>So, now that you know that the service itself is listening, let’s check the Management Console. It is a sub-feature of the Management WebApp, so you can open it using a browser and <em><strong><a href="http://&lt;managementservername&gt;:Port/Console">http://&lt;managementservername&gt;:Port/Console</a></strong></em>. Make sure you have Silverlight installed.</p>
<p>If your Console shows a red-bar-error-message, communication issues with the Database are probably the cause.</p>
<p><a href="http://kirxblog.files.wordpress.com/2012/05/image6.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://kirxblog.files.wordpress.com/2012/05/image_thumb6.png?w=544&#038;h=265" alt="image" width="544" height="265" border="0" /></a></p>
<p>A “common” reason (hey, we still talk about a Beta here- so how “likely” or “common” can things be?) are insufficient privileges on the Database. The good news is that App-V tells that quite descriptive.</p>
<p>While you are in the App-V Management Console – stop by the “Servers” tile to check if your Publishing Server is listed here.</p>
<p><a href="http://kirxblog.files.wordpress.com/2012/05/image7.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://kirxblog.files.wordpress.com/2012/05/image_thumb7.png?w=542&#038;h=277" alt="image" width="542" height="277" border="0" /></a></p>
<h3>App-V 5 Database</h3>
<p>If issues occur, the first thing you should determine is, to which database the Management WebApp actually tries to connect to.  <em><strong>HKLM/Software/Microsoft/AppV/Server</strong></em> is the root location for this info as well. Check values in the “<em><strong>ManagementDatabase</strong> </em>and the <em><strong>ManagementService</strong> </em>keys. (The registry screenshots were taken from a machine with a locally installed database)</p>
<p><a href="http://kirxblog.files.wordpress.com/2012/05/image8.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://kirxblog.files.wordpress.com/2012/05/image_thumb8.png?w=544&#038;h=213" alt="image" width="544" height="213" border="0" /></a></p>
<p><a href="http://kirxblog.files.wordpress.com/2012/05/image9.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://kirxblog.files.wordpress.com/2012/05/image_thumb9.png?w=550&#038;h=216" alt="image" width="550" height="216" border="0" /></a></p>
<p>Remember that it is probably necessary that the <em><strong>&lt;domain&gt;\&lt;computername&gt;$</strong></em> account as well as your user has write access rights there.</p>
<h3>App-V 5 Publishing Server</h3>
<p>Now that we know that the “Management Infrastructure” components appear to work, let’s go a step further and have a look onto the Publishing Server. Depending on your decision you may have it installed on the same box as the Management Server – or you have chosen to use a separate machine for this.</p>
<p>I assume you already got it: Use a browser and open <em><strong><a href="http://&lt;publishingservername&#038;gt" rel="nofollow">http://&lt;publishingservername&#038;gt</a>;:port</strong></em>, first locally from the Publishing Server machine, then from a Client. The result should be an XML formatted page that does (or does not) include a list of applications your user has access to. When you perform this action after you ‘imported# some applications with the Management Console, enabled and assigned it to a group, the XML file should include some application information already.</p>
<p><a href="http://kirxblog.files.wordpress.com/2012/05/image10.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://kirxblog.files.wordpress.com/2012/05/image_thumb10.png?w=550&#038;h=282" alt="image" width="550" height="282" border="0" /></a></p>
<p>For some info about the publishing server, check the registry’s <em><strong>HKLM/Software/Microsoft/AppV/Server/PublishingService</strong></em>.</p>
<p><a href="http://kirxblog.files.wordpress.com/2012/05/image11.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://kirxblog.files.wordpress.com/2012/05/image_thumb11.png?w=550&#038;h=209" alt="image" width="550" height="209" border="0" /></a></p>
<p>For additional tweaks, open the “web.config” file that you can find it in the Publishing Server&#8217;s installation directory.</p>
<p><a href="http://kirxblog.files.wordpress.com/2012/05/image12.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://kirxblog.files.wordpress.com/2012/05/image_thumb12.png?w=550&#038;h=423" alt="image" width="550" height="423" border="0" /></a></p>
<p>Take a closer look onto the “<em><strong>metadataRefreshInterval</strong></em>”. This one controls, how often the Publishing Service queries the Management Service for a new list of applications (defaults to 600[seconds]). If – for testing purposes – you want your newly published applications to appear on the Client in under 5 minutes – reduce that value. Of course decreasing this value in return decreases the load for both, the Management and the Publishing Service.</p>
<h3>Package Repository</h3>
<p>App-V 5 support HTTP and SMB to download the actual <em><strong>.appv</strong></em> file. You determine the protocole while you are importing the package with the Management Console. If you specify an URL, the client uses http. If you specify and UNC path, the client uses SMB. In my Publishing document example above, I&#8217;m using SMB for one and HTTP fo the other package.</p>
<p>There are actually two consideration to take:</p>
<p>Regardless of the protocol, the Client (user) has to have read permissions on that file</p>
<p>If using HTTP via IIS, you have to add  &#8220;.appv&#8221; as a MIME Type. I&#8217;d recommend to assign it as &#8220;application/appv&#8221; or &#8220;application/x-compressed&#8221;. In fact there are some general guidelines of what to use at <a href="http://en.wikipedia.org/wiki/Internet_media_type" target="_blank">http://en.wikipedia.org/wiki/Internet_media_type</a>.  (.appv can be opened read-only when making a copy and renaming it to .zip)</p>
<h3>App-V 5 Client</h3>
<p>The last piece of the deployment chain is the App-V Client (which actually also consists of several modules).</p>
<p>To see if and what Publishing Server has been configured for the Client, you can use the Registry and/or PowerShell.</p>
<p>In the Registry, <em><strong>HKLM/Software/Microsoft/AppV/Client/Publishing</strong></em> contains the list of configured servers.</p>
<p><a href="http://kirxblog.files.wordpress.com/2012/05/image13.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://kirxblog.files.wordpress.com/2012/05/image_thumb13.png?w=548&#038;h=203" alt="image" width="548" height="203" border="0" /></a></p>
<p>You also can run the “<em><strong>get-AppVPublishingServer</strong></em>” Posh cmdlet to see a list of them.</p>
<p>Use “<em><strong>Sync-AppVPublishingServer</strong></em>” to refresh the application list (running the cmdlet without specifying  ‘–serverid 1’ is asking for the ID. &#8216;’1’ is usually a good answer here).</p>
<h3>And then ?</h3>
<p>So, what to do in the case of trouble. Even for the Beta all App-V Components write information into the Windows Event Log (<em><strong>eventvwr.msc</strong></em>), Application and Services Log/Microsoft/AppV.</p>
<p><a href="http://kirxblog.files.wordpress.com/2012/05/image14.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://kirxblog.files.wordpress.com/2012/05/image_thumb14.png?w=542&#038;h=369" alt="image" width="542" height="369" border="0" /></a></p>
<p>However, the Event IDs aren’t configured to have a description yet, so you’d need to guess what the actual issue could be – or open a ticket at Microsoft Connect</p>
<p><a href="http://kirxblog.files.wordpress.com/2012/05/image15.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://kirxblog.files.wordpress.com/2012/05/image_thumb15.png?w=728&#038;h=212" alt="image" width="728" height="212" border="0" /></a></p>
<p>Well, no, this is not a full-featured troubleshooting workflow, but I hope it&#8217;s of any help anyway.</p>
<h4>Request:</h4>
<address><strong>I kindly ask you to use Microsoft Connect or (alternatively) <a href="http://www.appvirtguru.com" rel="nofollow">http://www.appvirtguru.com</a> to post troubleshooting questions.</strong></address>
<address>Microsoft Connect is the platform to provide &#8216;official&#8217; feedback to Microsoft about their pre-releases. Issues reported here may lead to software changes, documentation updates or blog posts by Microsoft employees.</address>
<address>AppvirtGuru is an independend forum that holds a dedicated section for App-V 5 Beta.</address>
<address>Both platforms are open to more people (than just me) who may assist you.</address>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirxblog.wordpress.com/1095/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirxblog.wordpress.com/1095/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1095&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirxblog.wordpress.com/2012/05/11/app-v-5-beta-basic-troubleshooting/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/4f30b56d12bedc4c923a807b86c67e56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirxblog</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/05/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/05/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/05/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/05/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/05/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/05/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/05/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/05/image_thumb7.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/05/image_thumb8.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/05/image_thumb9.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/05/image_thumb10.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/05/image_thumb11.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/05/image_thumb12.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/05/image_thumb13.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/05/image_thumb14.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/05/image_thumb15.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>High-Five to the German App-V User Group</title>
		<link>http://kirxblog.wordpress.com/2012/05/03/high-five-to-the-german-app-v-user-group/</link>
		<comments>http://kirxblog.wordpress.com/2012/05/03/high-five-to-the-german-app-v-user-group/#comments</comments>
		<pubDate>Thu, 03 May 2012 11:04:09 +0000</pubDate>
		<dc:creator>kirxblog</dc:creator>
				<category><![CDATA[App-V]]></category>
		<category><![CDATA[5.0]]></category>

		<guid isPermaLink="false">http://kirxblog.wordpress.com/?p=1032</guid>
		<description><![CDATA[Save the date: We are currently in the preparation of our fifth German App-V User Group Meeting (&#8220;App-V Day&#8221;) for June 22nd close to Erfurt (Sömmerda). Not only it is the fifth German App-V Day. This year we also have an Organizer Team of five people. And yes, for sure we will talk mostly about App-V 5 (but we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1032&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<h4>Save the date:</h4>
<p><img class="alignleft  wp-image-1056" style="margin:0 10px;" title="June 22nd" src="https://kirxblog.files.wordpress.com/2012/05/cal_icon.png?w=150&#038;h=150" alt="June 22nd" width="150" height="150" />We are currently in the preparation of our fifth German App-V User Group Meeting (&#8220;App-V Day&#8221;) for June 22nd close to Erfurt (Sömmerda).</p>
<p>Not only it is the fifth German App-V Day. This year we also have an Organizer Team of five people. And yes, for sure we will talk mostly about App-V 5 (but we have more than 5 topics to cover).</p>
<p><strong>UPDATE: Agenda and Registraion online at <a href="http://bit.ly/IHYhW7">http://bit.ly/IHYhW7</a></strong></p>
<p><span id="more-1032"></span></p>
<h5>Following topics are on our Agenda</h5>
<ul>
<li>Deployment Workflow (From the Sequencer to the Client, GUI driven)</li>
<li>Powershell Cmdlets for App-V: Overview and Samples</li>
<li>Application Groups (Dynamic Suiting re-architected)</li>
<li>Dynamic Configuration: OS Entry Points for Machines and Users</li>
<li>Migrating from App-V 4 to 5: Scenarios and Tools</li>
<li>App-V 5 Troubleshooting</li>
<li>MS User Experience Virtualization (UE-V)</li>
<li>Notes from the Field</li>
<li>Best of Communities</li>
</ul>
<p>UPDATE: There will be one track. Registration and Agenda online at <a href="http://bit.ly/IHYhW7">http://bit.ly/IHYhW7</a></p>
<p>All presentations will be held in German.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirxblog.wordpress.com/1032/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirxblog.wordpress.com/1032/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1032&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirxblog.wordpress.com/2012/05/03/high-five-to-the-german-app-v-user-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/4f30b56d12bedc4c923a807b86c67e56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirxblog</media:title>
		</media:content>

		<media:content url="https://kirxblog.files.wordpress.com/2012/05/cal_icon.png?w=150" medium="image">
			<media:title type="html">June 22nd</media:title>
		</media:content>
	</item>
		<item>
		<title>App-V 5 Beta Component Communication Overview</title>
		<link>http://kirxblog.wordpress.com/2012/04/27/app-v-5-beta-component-communication-overview/</link>
		<comments>http://kirxblog.wordpress.com/2012/04/27/app-v-5-beta-component-communication-overview/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 19:38:55 +0000</pubDate>
		<dc:creator>kirxblog</dc:creator>
				<category><![CDATA[App-V]]></category>
		<category><![CDATA[Client]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[5.0]]></category>

		<guid isPermaLink="false">https://kirxblog.wordpress.com/?p=1040</guid>
		<description><![CDATA[“Alles bleibt anders” (Everything remains different) might be a good short description for App-V 5 (Beta). While most of the components keep their names and follow existing general concepts, quite a lot changed under the hood. This post gives you a short overview about Aoo-V 5’s main components and the communication flow between them. Disclaimer: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1040&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>“Alles bleibt anders” (Everything remains different) might be a good short description for App-V 5 (Beta). While most of the components keep their names and follow existing general concepts, quite a lot changed under the hood. This post gives you a short overview about Aoo-V 5’s main components and the communication flow between them.</p>
<p><span id="more-1040"></span></p>
<address>Disclaimer: The information here refer to the Beta version of App-V 5.</address>
<address>Any (or even every) information and description given here might be wrong for the Release version.</address>
<h3>Server Systems</h3>
<p>In the past (well… ), there was one Server called the &#8220;App-V Management Server&#8221; (or Softgrid Virtual Application Server) that played several roles in a &#8220;native&#8221; App-V infrastructure.</p>
<p>Most environments had (err… have) one or more machines that run the &#8220;App-V Management Server&#8221; (Windows) service. This service actually has two task: Tell a client (upon user request) which applications are available (&#8220;Publishing&#8221;) – and then serve the actual application packages using RTSP(s):  the &#8220;Streaming&#8221;. So we had one service being responsible for two different tasks. Moreover, in most scenarios this machine(s) hosted a Management (Web) Service that was used by the Management Console to import applications, assign user rights to apps and something more. Management and Publishing information were stored in a SQL Database</p>
<p>With App-V 4.5 Microsoft introduced the &#8220;Streaming Server&#8221; (or &#8220;Lightweight Server&#8221;) that only served packages using the RTSP(s) protocol. So we had a &#8220;Streaming Server&#8221; that streamed and a Management Server that, well, yes, was used to Manage, but also to Publish and to Stream.</p>
<p>With App-V 5, this mixture is resolved. There are different components that are separated clearly in Microsoft&#8217;s communication. Like in the past, &#8216;all&#8217; of the server components can be installed and used on one and the same machine without major functional issues (I’m not talking about performance here).</p>
<p><img class="alignleft size-full wp-image-1047" title="App-V_5_Overview" src="http://kirxblog.files.wordpress.com/2012/04/app-v_5_overview_b.png?w=370" alt=""   /></p>
<h4>SQL Database</h4>
<p>The SQL Database (= Microsoft SQL Server) stores configuration information for the &#8220;common&#8221; App-V infrastructure as well as meta information about Applications, Packages, Connection Groups, their Publishing Configuration and User/Group assignments. Like in the past the Database does not contain the &#8220;packages&#8221; itself.</p>
<h4>App-V 5 Management Server</h4>
<p>As the name indicates, this instance is used for App-V administration. It is implemented as an IIS Web Service and provides a communication interface for the Database. A (web) Management Console is used to administer application sets, access models and so on. The Management Server is the only one component that directly interacts with the Database. It does not have any communication relation with App-V Clients.</p>
<p>While it is a IIS application, the Management Server listens on a different port than the IIS. This port is specified during setup.</p>
<p>Navigate to <em><a href="http://&lt;ManagementServerAddress&#038;gt" rel="nofollow">http://&lt;ManagementServerAddress&#038;gt</a>;:Port/Console.html </em>to open the Management Console.</p>
<h4>App-V 5 Publishing Server </h4>
<p>The Publishing Server can be understood as the interface between the Client and the Management Server. It regularly queries the Management Server for a set of Publishing Information. Unlike in the past, the Publishing Service does not query the Management Server on demand, triggered by Client/User requests. Instead it pulls that information for all apps every few minutes.</p>
<p>Like for the Management Service, also the Publishing Service is an IIS Web Application that listens on a specific port. This port has to be different form IIS&#8217; own port. If Publishing Server and Management Server run on the same machine, two different ports are required.</p>
<p>App-V Clients query the Publishing Service on demand (like during User Logon or triggered manually). Based on the Access Rights, the Server returns an XML formatted publishing document.</p>
<p>And guess what? Navigating to <a href="http://&lt;PublishingServerAddress&#038;gt" rel="nofollow">http://&lt;PublishingServerAddress&#038;gt</a>;:Port allows you to see the XML file based on your access rights.</p>
<h4>Package Repository / Download Server</h4>
<p>In previous versions, App-V Packages (.SFT files) usually were delivered to the client using the RTSP protocol  from an SoftGrid Virtual Application Server, App-V 4 Management Server or Streaming Server. In version 5, there is no longer any proprietary service that delivers Virtual Application packages (.APPV files) down to the client.</p>
<p>App-V 5 leverages industry-standard based Web Servers or File Servers to server .AppV files. This means that you don&#8217;t have to plan and scale a separate &#8220;file-server like&#8221; machine any longer for your own. Just add a new File or Web Server (cluster) to your environment or extend the usage of existing ones. While this means that the RTSP streaming protocol is gone, this doesn&#8217;t mean that you have to take the burden of unreliable downloads of x GB BLOBS. Both, Web and File server allow the App-V 5 client to download resources in smaller chunks – if the network connection drops, a download will not need to start from the beginning. So, still only missing pieces are transferred when necessary.</p>
<p>The Package Repository is queried by the Management Server (to retrieve meta data and configuration templates) and it is queried by the Client to download the .AppV file.</p>
<h3>Client</h3>
<p>The new App-V 5 Client is – like the server components &#8211;  more or less a complete redesigned and redeveloped agent for Desktops, Remote Desktop Servers or VDI machines. The App-V 5 Client consists of several modules and performs various tasks. Describing these module more detailed would go far beyond the scope of this article, so here is an overview:</p>
<ul>
<li>Query the App-V 5 Publishing Server to get a list of Packages, Applications and Connection Groups along with publishing information like Link Locations, File Type Associations and other OS entry points. During this &#8220;client announcement&#8221; several sub-steps are made. Interestingly the Client also communicates with the Package Repository (.AppV file) during that task</li>
<li>Download Packages (content of .AppV files). As mentioned before, the App-V 5 Client does not just download the .AppV file as a whole but loads specific data from within that file  </li>
<li>Create the Virtual Environment</li>
<li>Execute the virtualized application</li>
<li>Store User Modifications</li>
</ul>
<p>The App-V 5 Client does not communicate with the App-V Management Server (and it does not communicate with the Database).</p>
<h3>Sequencer</h3>
<p>From the look&amp;feel, the Sequencer will be the component you&#8217;d feel most familiar with. Like it or not, the App-V 5 Sequencer does very much follow the Sequencing Steps that were introduced with SP1 for App-V 4.6 with only some smaller changes. Of course there are some fundamental changes under the hood (no more Q-Drive, no SFT file format or OSD files). From the communication perspective, nothing changed here: After Sequencing, you have to save the package and manually copy it onto the Package Repository (we used to call that &#8220;Content Share&#8221;).</p>
<h3>Summary</h3>
<p>When you compare the Version 5 communication architecture with the previous one you&#8217;ll notice that Microsoft separated different tasks from each other more clearly.</p>
<p>The Management Server is strictly for managing meta data in the backend. It is interacting with the Database (SQL), the Management Console (HTTP), the Package Repository (HTTP or SMB) and the Publishing Server (HTTP). It does not communicate with App-V 5 Clients.</p>
<p>The Publishing Server is designed to deploy user/machine specific configuration data to the client (what apps are available and how should they be integrated with the User Interface. It gets those information from the Management Server (HTTP:XML).</p>
<p>The Package Repository / Download Server is not any App-V specific solution any longer. File or Web Server are the technologies used. The Management Server, Publishing Server and Client are initiating communications with it via HTTP or SMB.</p>
<p>The Client does quite a lot, but essentially gets and executes Virtual Applications. The Client communicates with the Publishing Server (HTTP:XML) and the Package Repository (SMB or HTTP)</p>
<p>The Sequencer does not play any role in this &#8220;online&#8221; communication overview</p>
<p>Note: All server-like services can be hosted on a single (virtual) machine, like for a small Test or Proof-of-Concept scenario. When running on the same machine you’d have to plan with different ports for IIS itself (that actually could serve the Package Repository), the Management Server and the Publishing Server.</p>
<p>I would not install the App-V 5 Client onto such a test-box, just to ensure that the services can be reach from “the outside”. And of course I won’t install the Sequencer onto such a box either.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kirxblog.wordpress.com/1040/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kirxblog.wordpress.com/1040/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kirxblog.wordpress.com&#038;blog=10822251&#038;post=1040&#038;subd=kirxblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kirxblog.wordpress.com/2012/04/27/app-v-5-beta-component-communication-overview/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/4f30b56d12bedc4c923a807b86c67e56?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kirxblog</media:title>
		</media:content>

		<media:content url="http://kirxblog.files.wordpress.com/2012/04/app-v_5_overview_b.png" medium="image">
			<media:title type="html">App-V_5_Overview</media:title>
		</media:content>
	</item>
	</channel>
</rss>
