<?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>Mohd Aslam&#039;s Blog</title>
	<atom:link href="http://mdaslam.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mdaslam.wordpress.com</link>
	<description>Learning and Sharing...</description>
	<lastBuildDate>Fri, 30 Dec 2011 10:20:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mdaslam.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/f8779c84d516fcb5720a98a21e27c730?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Mohd Aslam&#039;s Blog</title>
		<link>http://mdaslam.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mdaslam.wordpress.com/osd.xml" title="Mohd Aslam&#039;s Blog" />
	<atom:link rel='hub' href='http://mdaslam.wordpress.com/?pushpress=hub'/>
		<item>
		<title>App-V troubleshooting&#8211;Error Code &#8220;04-0000180B&#8221;</title>
		<link>http://mdaslam.wordpress.com/2011/07/14/app-v-troubleshootingerror-code-04-0000180b/</link>
		<comments>http://mdaslam.wordpress.com/2011/07/14/app-v-troubleshootingerror-code-04-0000180b/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 19:23:51 +0000</pubDate>
		<dc:creator>Mohd Aslam</dc:creator>
				<category><![CDATA[App-V]]></category>
		<category><![CDATA[04-0000180B]]></category>
		<category><![CDATA[file streaming]]></category>
		<category><![CDATA[AllowIndependentFileStreaming]]></category>

		<guid isPermaLink="false">https://mdaslam.wordpress.com/2011/07/14/app-v-troubleshootingerror-code-04-0000180b/</guid>
		<description><![CDATA[Sometimes when you are trying to access the sequenced application from the file share, you might get the below error message: &#160; To get rid of the above error message, follow the below steps: Go to Run prompt and type “Regedit”. Press Enter. Registry editor will open. Go to the location HKLM\SOFTWARE\Microsoft\SoftGrid\4.5\Client\Configuration and set the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=510&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sometimes when you are trying to access the sequenced application from the file share, you might get the below error message:</p>
<p>&#160;</p>
<p><a href="http://mdaslam.files.wordpress.com/2011/07/clip_image002.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="clip_image002" border="0" alt="clip_image002" src="http://mdaslam.files.wordpress.com/2011/07/clip_image002_thumb.jpg?w=487&#038;h=167" width="487" height="167" /></a></p>
<p>To get rid of the above error message, follow the below steps:</p>
<ol>
<li>Go to Run prompt and type “Regedit”. Press Enter. </li>
<li>Registry editor will open. Go to the location HKLM\SOFTWARE\Microsoft\SoftGrid\4.5\Client\Configuration and set the value of the key “AllowIndependentFileStreaming&quot; to 1 as shown below:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </li>
</ol>
<p><a href="http://mdaslam.files.wordpress.com/2011/07/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://mdaslam.files.wordpress.com/2011/07/image_thumb.png?w=276&#038;h=182" width="276" height="182" /></a>&#160;</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; The default value is 0.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdaslam.wordpress.com/510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdaslam.wordpress.com/510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdaslam.wordpress.com/510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdaslam.wordpress.com/510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdaslam.wordpress.com/510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdaslam.wordpress.com/510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdaslam.wordpress.com/510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdaslam.wordpress.com/510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdaslam.wordpress.com/510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdaslam.wordpress.com/510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdaslam.wordpress.com/510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdaslam.wordpress.com/510/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdaslam.wordpress.com/510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdaslam.wordpress.com/510/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=510&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdaslam.wordpress.com/2011/07/14/app-v-troubleshootingerror-code-04-0000180b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa00c80ac501bca8baa7b7ee13489ce3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdaslam</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/07/clip_image002_thumb.jpg" medium="image">
			<media:title type="html">clip_image002</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/07/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting Windows services information using VBScript</title>
		<link>http://mdaslam.wordpress.com/2011/06/29/getting-services-information-using-vbscript/</link>
		<comments>http://mdaslam.wordpress.com/2011/06/29/getting-services-information-using-vbscript/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 12:33:03 +0000</pubDate>
		<dc:creator>Mohd Aslam</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[ExecQuery]]></category>
		<category><![CDATA[Services]]></category>
		<category><![CDATA[VBScript]]></category>
		<category><![CDATA[win32_service]]></category>

		<guid isPermaLink="false">https://mdaslam.wordpress.com/2011/06/29/getting-services-information-using-vbscript/</guid>
		<description><![CDATA[Many times, we need to check if particular service is running or not on some particular server. Then we need to log into that server to check it. To simplify it, I wrote a VBScript that will get the information for you from that server without login to the server. Important NOTE: To get the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=501&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many times, we need to check if particular service is running or not on some particular server. Then we need to log into that server to check it.</p>
<p>To simplify it, I wrote a VBScript that will get the information for you from that server without login to the server. </p>
<p><em>Important NOTE: To get the service information, you need to run this VBScript with the account that has admin rights on the server for which you need the service information.</em></p>
<p>VBScript will point to below screen: Enter server name and click Ok.</p>
<p><a href="http://mdaslam.files.wordpress.com/2011/06/clip_image0021.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="clip_image002" border="0" alt="clip_image002" src="http://mdaslam.files.wordpress.com/2011/06/clip_image002_thumb1.jpg?w=299&#038;h=148" width="299" height="148" /></a></p>
<p>It will create Service_Info.txt at the root location from where you are running the script.</p>
<p><strong>Format of output log file:</strong></p>
<p><font color="#0000ff"><em>Service Name::- Application Experience Lookup Service</em></font></p>
<p><font color="#0000ff"><em>Description::- Processes application compatibility lookup requests for applications as they are launched.</em></font></p>
<p><font color="#0000ff"><em>Status::- Running</em></font></p>
<p><font color="#0000ff"><em>Startup Type ::- Auto</em></font></p>
<p><font color="#0000ff"><em>Log on as ::- LocalSystem</em></font></p>
<p><strong>VBScript Content:</strong></p>
<pre style="border-bottom:#cecece 1px solid;border-left:#cecece 1px solid;background-color:#ffffff;min-height:40px;width:507px;height:801px;overflow:auto;border-top:#cecece 1px solid;border-right:#cecece 1px solid;padding:5px;">
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:17px;font-size:11px;margin:0;">'##############################################################
</pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:17px;font-size:11px;margin:0;">'#
</pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:21px;font-size:11px;margin:0;">'# Language     VBscript
</pre>
<pre style="background-color:#ffffff;width:100.29%;font-family:consolas,&#039;height:16px;font-size:11px;margin:0;">'#
</pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:21px;font-size:11px;margin:0;">'# Author       Mohd Aslam
</pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:20px;font-size:11px;margin:0;">'# Date         28.06.2011
</pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:23px;font-size:11px;margin:0;">'# Description  This script does following actions:
</pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:21px;font-size:11px;margin:0;">'#              1) it asks user to input the name of <span style="color:#0000ff;">server</span>
</pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:18px;font-size:11px;margin:0;">'#                 whose service info you want
</pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:16px;font-size:11px;margin:0;">'#              2) It <span style="color:#0000ff;">then</span> creates Service_Info.txt <span style="color:#0000ff;">file</span> <span style="color:#0000ff;">in</span>
</pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:17px;font-size:11px;margin:0;">'#                 the directory of the script <span style="color:#0000ff;">file</span>.
</pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:15px;font-size:11px;margin:0;">'#
</pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:17px;font-size:11px;margin:0;">'#############################################################
</pre>
<pre style="background-color:#ffffff;width:100%;font-family:consolas,&#039;font-size:11px;margin:0;"></pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:21px;font-size:11px;margin:0;"><span style="color:#0000ff;">Dim</span> oFSO              '<span style="color:#0000ff;">File</span> <span style="color:#0000ff;">Scripting</span> Object
</pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:19px;font-size:11px;margin:0;"><span style="color:#0000ff;">Dim</span> sScriptLog        'output <span style="color:#0000ff;">log</span> filename
</pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:18px;font-size:11px;margin:0;"><span style="color:#0000ff;">Dim</span> oScriptLog        'Script output <span style="color:#0000ff;">file</span> object
</pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:19px;font-size:11px;margin:0;"><span style="color:#0000ff;">Dim</span> oWshShell         'Windows <span style="color:#0000ff;">Scripting</span> Shell object
</pre>
<pre style="background-color:#fbfbfb;width:100%;font-family:consolas,&#039;font-size:11px;margin:0;"></pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:18px;font-size:11px;margin:0;">sScriptLog =    &quot;<span style="color:#8b0000;">.\Service_Info.txt</span>&quot;
</pre>
<pre style="background-color:#fbfbfb;width:100%;font-family:consolas,&#039;font-size:11px;margin:0;"></pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:20px;font-size:11px;margin:0;"><span style="color:#0000ff;">Set</span> oWshShell = WScript.<span style="color:#0000ff;">CreateObject</span>(&quot;<span style="color:#8b0000;">WScript.Shell</span>&quot;)
</pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:21px;font-size:11px;margin:0;"><span style="color:#0000ff;">Set</span> oFSO = <span style="color:#0000ff;">CreateObject</span>(&quot;<span style="color:#8b0000;">Scripting.FileSystemObject</span>&quot;)
</pre>
<pre style="background-color:#ffffff;width:100%;font-family:consolas,&#039;font-size:11px;margin:0;"></pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:19px;font-size:11px;margin:0;"><span style="color:#0000ff;">Set</span> oScriptLog =  oFSO.CreateTextFile (sScriptLog,True)
</pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:18px;font-size:11px;margin:0;">oScriptLog.Close()
</pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:22px;font-size:11px;margin:0;"><span style="color:#0000ff;">Set</span> oScriptLog = oFSO.OpenTextFile(sScriptLog,8)
</pre>
<pre style="background-color:#ffffff;width:100%;font-family:consolas,&#039;font-size:11px;margin:0;"></pre>
<pre style="background-color:#fbfbfb;width:100.29%;font-family:consolas,&#039;height:21px;font-size:11px;margin:0;">InputServerName = <span style="color:#0000ff;">InputBox</span>(&quot;<span style="color:#8b0000;">Enter the name of server whose service information you want:</span>&quot;,&quot;<span style="color:#8b0000;">Service Information</span>&quot;)
</pre>
<pre style="background-color:#ffffff;width:100%;font-family:consolas,&#039;font-size:11px;margin:0;"></pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:21px;font-size:11px;margin:0;">strComputer = InputServerName
</pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:21px;font-size:11px;margin:0;"><span style="color:#0000ff;">Set</span> objWMIService = <span style="color:#0000ff;">GetObject</span>(&quot;<span style="color:#8b0000;">winmgmts:</span>&quot; _
</pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:19px;font-size:11px;margin:0;">    &amp; &quot;<span style="color:#8b0000;">{impersonationLevel=impersonate}!\\</span>&quot; &amp; strComputer &amp; &quot;<span style="color:#8b0000;">\root\cimv2</span>&quot;)
</pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:20px;font-size:11px;margin:0;"><span style="color:#0000ff;">Set</span> colRunningServices = objWMIService.ExecQuery _
</pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:20px;font-size:11px;margin:0;">    (&quot;<span style="color:#8b0000;">Select * from Win32_Service</span>&quot;)
</pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:8px;font-size:11px;margin:0;">
</pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:19px;font-size:11px;margin:0;"><span style="color:#0000ff;">For</span> <span style="color:#0000ff;">Each</span> objService <span style="color:#0000ff;">in</span> colRunningServices
</pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:20px;font-size:11px;margin:0;">     oScriptLog.WriteLine &quot;<span style="color:#8b0000;">Service Name::- </span>&quot; &amp; objService.DisplayName  &amp; VbCrLf
</pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:18px;font-size:11px;margin:0;">     oScriptLog.WriteLine &quot;<span style="color:#8b0000;">Description::- </span>&quot; &amp; objService.Description  &amp; VbCrLf
</pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:19px;font-size:11px;margin:0;">     oScriptLog.WriteLine &quot;<span style="color:#8b0000;">Status::- </span>&quot; &amp; objService.State &amp; VbCrLf
</pre>
<pre style="background-color:#fbfbfb;width:100.14%;font-family:consolas,&#039;height:20px;font-size:11px;margin:0;">     oScriptLog.WriteLine &quot;<span style="color:#8b0000;">Startup Type ::- </span>&quot; &amp; objService.startmode &amp; VbCrLf
</pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:18px;font-size:11px;margin:0;">     oScriptLog.WriteLine &quot;<span style="color:#8b0000;">Log on as ::- </span>&quot; &amp; objService.startname &amp; VbCrLf
</pre>
<pre style="background-color:#fbfbfb;width:100%;font-family:consolas,&#039;font-size:11px;margin:0;">     oScriptLog.WriteLine &quot;<span style="color:#8b0000;">-------------------------------------------</span>&quot; &amp; VbCrLf
</pre>
<pre style="background-color:#ffffff;width:100.14%;font-family:consolas,&#039;height:14px;font-size:11px;margin:0;"><span style="color:#0000ff;">Next</span></pre>
</pre>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8211;End of Article&#8211;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdaslam.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdaslam.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdaslam.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdaslam.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdaslam.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdaslam.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdaslam.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdaslam.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdaslam.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdaslam.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdaslam.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdaslam.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdaslam.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdaslam.wordpress.com/501/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=501&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdaslam.wordpress.com/2011/06/29/getting-services-information-using-vbscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa00c80ac501bca8baa7b7ee13489ce3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdaslam</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/clip_image002_thumb1.jpg" medium="image">
			<media:title type="html">clip_image002</media:title>
		</media:content>
	</item>
		<item>
		<title>How to publish App-V package in XenApp 6 : {XenApp 6 &#8211;App-V integration}</title>
		<link>http://mdaslam.wordpress.com/2011/06/14/how-to-publish-app-v-package-in-xenapp-6xenappapp-v-integration/</link>
		<comments>http://mdaslam.wordpress.com/2011/06/14/how-to-publish-app-v-package-in-xenapp-6xenappapp-v-integration/#comments</comments>
		<pubDate>Tue, 14 Jun 2011 15:33:29 +0000</pubDate>
		<dc:creator>Mohd Aslam</dc:creator>
				<category><![CDATA[App-V]]></category>
		<category><![CDATA[AppV integration]]></category>
		<category><![CDATA[XenApp 6]]></category>
		<category><![CDATA[App V publish in XenApp 6]]></category>

		<guid isPermaLink="false">https://mdaslam.wordpress.com/2011/06/14/how-to-publish-app-v-package-in-xenapp-6xenappapp-v-integration/</guid>
		<description><![CDATA[Purpose: To publish application sequenced package created using Microsoft App-V 4.6 SP1 into Citrix XenApp 6. I have used the sequenced package for WinZip as a publish candidate for this article. Pre-requisite: Following are the prerequisites for publishing application sequenced package created using Microsoft App-V 4.6 SP1 into Citrix XenApp 6: App-V client for remote [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=486&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Purpose:</strong></p>
<p>To publish application sequenced package created using Microsoft App-V 4.6 SP1 into Citrix XenApp 6. I have used the sequenced package for WinZip as a publish candidate for this article.</p>
<p><strong>Pre-requisite:</strong></p>
<p>Following are the prerequisites for publishing application sequenced package created using Microsoft App-V 4.6 SP1 into Citrix XenApp 6:</p>
<ol>
<li>App-V client for remote desktop services SP1 {included in the download “Application Virtualization 4.6 for Remote Desktop Services Service Pack 1 (x86) – CD (Multiple Languages)” from MSDN site <a href="http://msdn.microsoft.com/en-us/subscriptions/downloads/default.aspx">http://msdn.microsoft.com/en-us/subscriptions/downloads/default.aspx</a>}</li>
<li>Sequenced package for WinZip created using Microsoft App-V 4.6 SP1 sequencer in some shared location.</li>
<li>Citrix App-V Integration Kit. (Download: <span style="text-decoration:underline;"><a href="http://citrix.com/English/ss/downloads/details.asp?downloadId=2310183&amp;productId=1689163&amp;ntref=clientcenter">http://citrix.com/English/ss/downloads/details.asp?downloadId=2310183&amp;productId=1689163&amp;ntref=clientcenter#top</a></span><a name="P9_930"></a> ) Save the unzipped contents locally and use them to deliver the App-V sequences to users. Create a folder “AppVConduit” in the shared location where App-V packages will be copied. Save the unzipped contents to this “AppVConduit” folder. The folder contains a pre-created AppStreamingToAppVConduit.profile file, as well as the required support files for the profile. This single profile can be used to publish an unlimited number of App-V sequences.</li>
</ol>
<p><strong>Solution:</strong></p>
<p>First step is to install pre-requisite 1 {App-V client for remote desktop services SP1} in XenApp 6 environment.</p>
<p>Copy the sequenced package to some pre-defined share location if it is not already copied there. After copying the sequenced package, open the OSD file to edit it. Edit the following line in the OSD file for the parameter HREF:<em> {Do this step if you are using shared location to stream the application. If you are using streaming server or App-V infrastructure, modify OSD file accordingly.}</em></p>
<p><span style="color:#9b00d3;">&lt;CODEBASE HREF=”<strong><a href="http://servername/WinZip/Winzip.sft">\\ServerName\WinZip\Winzip.sft</a></strong>&#8221; GUID=&#8221;D81A77E4-9134-4607-B900-224AA5286D16&#8243; PARAMETERS=&#8221;" FILENAME=&#8221;WinZip\WINZIP32.EXE&#8221; SYSGUARDFILE=&#8221;WinZip\osguard.cp&#8221; SIZE=&#8221;40241038&#8243;/&gt;</span></p>
<p>Keep the default value of other parameters.</p>
<p>Next step is to publish it in XenApp 6 environment. Below are the steps:</p>
<ol>
<li>Welcome screen: Click Next <a href="http://mdaslam.files.wordpress.com/2011/06/clip_image002.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="clip_image002" src="http://mdaslam.files.wordpress.com/2011/06/clip_image002_thumb.jpg?w=310&#038;h=287" alt="clip_image002" width="310" height="287" border="0" /></a></li>
<li>Enter the text “Winzip” to the Display name and application description textbox. Click Next.<a href="http://mdaslam.files.wordpress.com/2011/06/clip_image0025.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="clip_image002[5]" src="http://mdaslam.files.wordpress.com/2011/06/clip_image0025_thumb.jpg?w=307&#038;h=313" alt="clip_image002[5]" width="307" height="313" border="0" /></a></li>
<li>Select the radio button for “Application” and application type as “Streamed if possible, otherwise accessed from a server”. From Server application type dropdown list, select “installed application”. Click Next<a href="http://mdaslam.files.wordpress.com/2011/06/clip_image00271.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="clip_image002[7]" src="http://mdaslam.files.wordpress.com/2011/06/clip_image0027_thumb1.jpg?w=307&#038;h=295" alt="clip_image002[7]" width="307" height="295" border="0" /></a></li>
<li>Browse to the App-V integration kit {AppStreamingToAppVConduit.profile}. It will select the “AppStreamingToAppVConduit” application in the dropdown for Application to launch. Put the location of OSD file in the textbox for “extra command line parameter”. Click Next.<a href="http://mdaslam.files.wordpress.com/2011/06/image4.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" src="http://mdaslam.files.wordpress.com/2011/06/image_thumb6.png?w=304&#038;h=282" alt="image" width="304" height="282" border="0" /></a></li>
<li>Keep the default option and click Next. <a href="http://mdaslam.files.wordpress.com/2011/06/clip_image0029.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="clip_image002[9]" src="http://mdaslam.files.wordpress.com/2011/06/clip_image0029_thumb.jpg?w=303&#038;h=281" alt="clip_image002[9]" width="303" height="281" border="0" /></a></li>
<li>Location screen: Input the following information:            Command line: “C:\\Program Files\Microsoft Application Virtualization Client\sfttray.exe&#8221; “\\AppVServer\AppVPackages\WinZip\WinZip 25.0.9468.0.osd”.  Working directory: “C:\\Program Files\Microsoft Application Virtualization Client”. Click Next<a href="http://mdaslam.files.wordpress.com/2011/06/image5.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" src="http://mdaslam.files.wordpress.com/2011/06/image_thumb7.png?w=306&#038;h=285" alt="image" width="306" height="285" border="0" /></a></li>
<li>Server screen: Add the list of server/s, where you need to run the publish application.</li>
<li>Users screen: Add the list of users who will have rights on the published application.</li>
<li>Shortcut presentation screen: You need to select the application icon manually. Click on “Change icon…” button. Following screen will appear: Select the radio button for “Choose an icon from a locally browsed file and browse the icon file. <a href="http://mdaslam.files.wordpress.com/2011/06/image6.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" src="http://mdaslam.files.wordpress.com/2011/06/image_thumb8.png?w=318&#038;h=268" alt="image" width="318" height="268" border="0" /></a></li>
<li>Select the icon file and click Open.<a href="http://mdaslam.files.wordpress.com/2011/06/clip_image00211.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="clip_image002[11]" src="http://mdaslam.files.wordpress.com/2011/06/clip_image00211_thumb.jpg?w=319&#038;h=259" alt="clip_image002[11]" width="319" height="259" border="0" /></a></li>
<li>Following screen will appear. Select the required icon. Click Ok.<a href="http://mdaslam.files.wordpress.com/2011/06/clip_image00213.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="clip_image002[13]" src="http://mdaslam.files.wordpress.com/2011/06/clip_image00213_thumb.jpg?w=322&#038;h=271" alt="clip_image002[13]" width="322" height="271" border="0" /></a></li>
<li>Enter Client application Folder. Click Next<a href="http://mdaslam.files.wordpress.com/2011/06/clip_image002151.jpg"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="clip_image002[15]" src="http://mdaslam.files.wordpress.com/2011/06/clip_image00215_thumb1.jpg?w=324&#038;h=319" alt="clip_image002[15]" width="324" height="319" border="0" /></a></li>
<li>Published immediately screen: Click finish to finish the publishing of App-V sequenced package.</li>
</ol>
<p><strong>Quick Test:</strong></p>
<p>Open the command window in XenApp and write the command</p>
<p><span style="color:#9b00d3;">&#8220;c:\Program Files (x86)\Microsoft Application Virtualization Client\sfttray.<br />
exe&#8221; “\\server\AppVPackages\WinZip\WinZip.sft”</span></p>
<p><a href="http://mdaslam.files.wordpress.com/2011/06/image7.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" src="http://mdaslam.files.wordpress.com/2011/06/image_thumb9.png?w=369&#038;h=210" alt="image" width="369" height="210" border="0" /></a><br />
Note: Path of sfttray.exe will depend on the 64 bit or 32 bit OS.</p>
<p>It should launch the application successfully.</p>
<p><a href="http://mdaslam.files.wordpress.com/2011/06/image8.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" src="http://mdaslam.files.wordpress.com/2011/06/image_thumb10.png?w=365&#038;h=264" alt="image" width="365" height="264" border="0" /></a></p>
<p><strong>Logic in Conduit utility (profiled application) provided by Citrix:</strong></p>
<p>It checks if the user device does supports application streaming by checking if it has App-V client installed. If App-V client is installed, XenApp streams virtualized application to the users device. If it is not able to find the App-V client installed like in MAC, then it streams it to XenApp server and then deliver it to users as normal XenApp published application. In anyway, user will be able to get the required virtualized application. It is shown in the below diagram:</p>
<p><a href="http://mdaslam.files.wordpress.com/2011/06/image9.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border:0;" title="image" src="http://mdaslam.files.wordpress.com/2011/06/image_thumb11.png?w=362&#038;h=387" alt="image" width="362" height="387" border="0" /></a></p>
<p>Citrix has provided source code of Conduit utility so if we need to modify it for our needs, we can do it.</p>
<p>&#8212;End of Article&#8212;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdaslam.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdaslam.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdaslam.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdaslam.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdaslam.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdaslam.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdaslam.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdaslam.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdaslam.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdaslam.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdaslam.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdaslam.wordpress.com/486/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdaslam.wordpress.com/486/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdaslam.wordpress.com/486/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=486&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdaslam.wordpress.com/2011/06/14/how-to-publish-app-v-package-in-xenapp-6xenappapp-v-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa00c80ac501bca8baa7b7ee13489ce3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdaslam</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/clip_image002_thumb.jpg" medium="image">
			<media:title type="html">clip_image002</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/clip_image0025_thumb.jpg" medium="image">
			<media:title type="html">clip_image002[5]</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/clip_image0027_thumb1.jpg" medium="image">
			<media:title type="html">clip_image002[7]</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/clip_image0029_thumb.jpg" medium="image">
			<media:title type="html">clip_image002[9]</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/image_thumb7.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/image_thumb8.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/clip_image00211_thumb.jpg" medium="image">
			<media:title type="html">clip_image002[11]</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/clip_image00213_thumb.jpg" medium="image">
			<media:title type="html">clip_image002[13]</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/clip_image00215_thumb1.jpg" medium="image">
			<media:title type="html">clip_image002[15]</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/image_thumb9.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/image_thumb10.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/image_thumb11.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>How to publish App-V package in XenApp 4.5</title>
		<link>http://mdaslam.wordpress.com/2011/06/13/how-to-publish-app-v-package-in-xenapp-4-5/</link>
		<comments>http://mdaslam.wordpress.com/2011/06/13/how-to-publish-app-v-package-in-xenapp-4-5/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 14:47:39 +0000</pubDate>
		<dc:creator>Mohd Aslam</dc:creator>
				<category><![CDATA[App-V]]></category>
		<category><![CDATA[XenApp]]></category>
		<category><![CDATA[Application publishing]]></category>
		<category><![CDATA[Sequenced package]]></category>
		<category><![CDATA[MDOP]]></category>

		<guid isPermaLink="false">https://mdaslam.wordpress.com/2011/06/13/how-to-publish-app-v-package-in-xenapp-4-5/</guid>
		<description><![CDATA[Purpose: To publish application sequenced package created using Microsoft App-V 4.6 SP1 into Citrix XenApp 4.5. I have used the sequenced package for WinZip as a publish candidate for this article. Pre-requisite: Following are the prerequisites for publishing application sequenced package created using Microsoft App-V 4.6 SP1 into Citrix XenApp 4.5: App-V client for remote [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=455&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Purpose:</strong></p>
<p>To publish application sequenced package created using Microsoft App-V 4.6 SP1 into Citrix XenApp 4.5. I have used the sequenced package for WinZip as a publish candidate for this article. </p>
<p><strong>Pre-requisite:</strong></p>
<p>Following are the prerequisites for publishing application sequenced package created using Microsoft App-V 4.6 SP1 into Citrix XenApp 4.5:</p>
<ol>
<li>App-V client for remote desktop services SP1 {included in the download “Application Virtualization 4.6 for Remote Desktop Services Service Pack 1 (x86) &#8211; CD (Multiple Languages)” from MSDN site <a title="http://msdn.microsoft.com/en-us/subscriptions/downloads/default.aspx" href="http://msdn.microsoft.com/en-us/subscriptions/downloads/default.aspx">http://msdn.microsoft.com/en-us/subscriptions/downloads/default.aspx</a>} </li>
<li>Sequenced package for WinZip created using Microsoft App-V 4.6 SP1 sequencer in some shared location. </li>
</ol>
<p><strong>Solution:</strong></p>
<p>First step is to install pre-requisite 1 {App-V client for remote desktop services SP1} in XenApp 4.5 environment. Copy the sequenced package to some pre-defined share location if it is not already copied there. After copying the sequenced package, open the OSD file to edit it. Edit the following line in the OSD file for the parameter HREF:&#160;&#160;&#160; </p>
<p><font color="#9b00d3">&lt;CODEBASE HREF=”<strong><font color="#400080"><a href="//\\ServerName\WinZip\Winzip.sft">\\ServerName\WinZip\Winzip.sft</a></font></strong>&quot; GUID=&quot;D81A77E4-9134-4607-B900-224AA5286D16&quot; PARAMETERS=&quot;&quot; FILENAME=&quot;WinZip\WINZIP32.EXE&quot; SYSGUARDFILE=&quot;WinZip\osguard.cp&quot; SIZE=&quot;40241038&quot;/&gt; </font></p>
<p><font color="#333333">Keep the default value of other parameters.</font></p>
<p>Next step is to publish it in XenApp 4.5 environment. Below are the steps:</p>
<ol>
<li>Welcome Screen: Click Next.<a href="http://mdaslam.files.wordpress.com/2011/06/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://mdaslam.files.wordpress.com/2011/06/image_thumb.png?w=335&#038;h=322" width="335" height="322" /></a> </li>
<li>Enter the Display name and application description as “WinZipAppV”. Click Next.<a href="http://mdaslam.files.wordpress.com/2011/06/image3.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://mdaslam.files.wordpress.com/2011/06/image_thumb5.png?w=339&#038;h=344" width="339" height="344" /></a> </li>
<li>Select the radio button for “Application” and application type as “Accessed from a server”. From Server application type dropdown list, select “installed application” and click Next. <img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://mdaslam.files.wordpress.com/2011/06/image_thumb2.png?w=333&#038;h=308" width="333" height="308" /> </li>
<li>This step is the core step:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Add Command line as <font color="#9b00d3">&quot;C:\Program Files\Microsoft Application Virtualization Client\<strong>sfttray.exe</strong>&quot; “\\Server\WinZip\WinZip 25.0.9468.0.osd”. </font><font color="#333333">Working directory as “C:\Program Files\Microsoft Application Virtualization Client”. Click Next.<a href="http://mdaslam.files.wordpress.com/2011/06/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://mdaslam.files.wordpress.com/2011/06/image_thumb3.png?w=342&#038;h=338" width="342" height="338" /></a></font> </li>
<li>Now follow the rest of publishing steps to fully publish the App-V package. You can refer to the article at <a title="http://mdaslam.wordpress.com/2010/06/10/application-publish-in-xenapp/" href="http://mdaslam.wordpress.com/2010/06/10/application-publish-in-xenapp/">http://mdaslam.wordpress.com/2010/06/10/application-publish-in-xenapp/</a> for rest of the steps. </li>
</ol>
<p>Now you can access this newly published App-V package for WinZip in XenApp 4.5 like any other published application. When you will access it, below screen will come up. Note the notification “WinZip 25.0.9568.0 launched” above system tray.</p>
<p><a href="http://mdaslam.files.wordpress.com/2011/06/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://mdaslam.files.wordpress.com/2011/06/image_thumb4.png?w=366&#038;h=281" width="366" height="281" /></a></p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8211;End of Article&#8211;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdaslam.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdaslam.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdaslam.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdaslam.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdaslam.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdaslam.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdaslam.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdaslam.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdaslam.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdaslam.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdaslam.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdaslam.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdaslam.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdaslam.wordpress.com/455/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=455&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdaslam.wordpress.com/2011/06/13/how-to-publish-app-v-package-in-xenapp-4-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa00c80ac501bca8baa7b7ee13489ce3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdaslam</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2011/06/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>XenApp: How to add and run VBScript in Streaming package</title>
		<link>http://mdaslam.wordpress.com/2010/09/15/xenapp-how-to-add-and-run-vbscript-in-streaming-package/</link>
		<comments>http://mdaslam.wordpress.com/2010/09/15/xenapp-how-to-add-and-run-vbscript-in-streaming-package/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 05:24:00 +0000</pubDate>
		<dc:creator>Mohd Aslam</dc:creator>
				<category><![CDATA[Citrix XenApp]]></category>
		<category><![CDATA[XenApp; Application streaming package; streaming; Streaming package update; VBScript in streaming package]]></category>

		<guid isPermaLink="false">https://mdaslam.wordpress.com/2010/09/15/xenapp-how-to-add-and-run-vbscript-in-streaming-package/</guid>
		<description><![CDATA[Streaming is the virtualization technique. It enables applications to be delivered to client devices and run in a protected, virtual environment.&#160; Applications are managed in a centralized Application Hub, but are streamed to the client device and run in an isolation environment.&#160; Applications become an on-demand service that is always available and up-to-date. Streaming package [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=440&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Streaming is the virtualization technique. It enables applications to be delivered to client devices and run in a protected, virtual environment.&#160; Applications are managed in a centralized Application Hub, but are streamed to the client device and run in an isolation environment.&#160; Applications become an on-demand service that is always available and up-to-date. </p>
<p>Streaming package needs to be created using the Streaming profiler. Once created successfully, it needs to be published for the user community.</p>
<p>Its creation is explained in my article at <a href="http://mdaslam.wordpress.com/2010/08/18/xenapp-application-streaming-package-creation">http://mdaslam.wordpress.com/2010/08/18/xenapp-application-streaming-package-creation</a></p>
<p>Now in this article, we will learn: </p>
<ol>
<li>How to add VBScript in streaming package : Sometimes we need to add VBScript to the package for doing some required operations like mapping of drives.&#160; </li>
<li>How to run the added VBScript: We need to run the VBScript before launching the application. Application launch instruction should be written in the VBScript.&#160; </li>
</ol>
<p>For implementing above requirement, I will use streaming package for MS Word component that we created in my article at the above link. </p>
<p><strong>Steps to Update streaming package: </strong></p>
<ol>
<li>Streaming package is modified using Streaming Profiler. To run streaming profiler go to {All Programs &gt; Citrix &gt; Streaming Profiler} and click on Streaming Profiler. Following screen will appear:<a href="http://mdaslam.files.wordpress.com/2010/07/image57.png"><img title="image" style="display:inline;border-width:0;" height="255" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb57.png?w=362&#038;h=255" width="362" border="0" /></a> </li>
<li>Click on “Open Profile” button, following screen will appear: Select the application streaming package profile file and click Open.<a href="http://mdaslam.files.wordpress.com/2010/07/image58.png"><img title="image" style="display:inline;border-width:0;" height="310" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb58.png?w=424&#038;h=310" width="424" border="0" /></a> </li>
<li>Following screen will appear:<a href="http://mdaslam.files.wordpress.com/2010/07/image59.png"><img title="image" style="display:inline;border-width:0;" height="310" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb59.png?w=424&#038;h=310" width="424" border="0" /></a> </li>
<li>Expand the package {MSOffice – Word} node and right click on first child node and select “Update / Install Application as shown below:<a href="http://mdaslam.files.wordpress.com/2010/07/image60.png"><img title="image" style="display:inline;border-width:0;" height="310" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb60.png?w=424&#038;h=310" width="424" border="0" /></a>&#160; Following progress screen will appear: It will take couple of minutes to open package for editing.<a href="http://mdaslam.files.wordpress.com/2010/07/image61.png"><img title="image" style="display:inline;border-width:0;" height="131" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb61.png?w=308&#038;h=131" width="308" border="0" /></a> </li>
<li>Following screen will appear: Click Next<a href="http://mdaslam.files.wordpress.com/2010/07/image62.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb62.png?w=424&#038;h=378" width="424" border="0" /></a>&#160;&#160;&#160; </li>
<li>&#160; Select radio button for “Advanced Install” and click Next. Note: <a href="http://mdaslam.files.wordpress.com/2010/07/image63.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb63.png?w=424&#038;h=378" width="424" border="0" /></a> </li>
<li>For first requirement {adding VBScript} Select the radio button for “Select files and folders” and Click Next.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="http://mdaslam.files.wordpress.com/2010/07/image64.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb64.png?w=424&#038;h=378" width="424" border="0" /></a>&#160; Following screen will appear:&#160; Select the required file from left hand side window and select the required destination location from right hand window. Once selected, click on arrow button to add the file. Once added, Click Next.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <em>Note: We need to add <strong>wscript.exe</strong> along with VBScript on same location as it will be required to run the script.</em> <a href="http://mdaslam.files.wordpress.com/2010/07/image65.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb65.png?w=424&#038;h=378" width="424" border="0" /></a> Following screen will appear: Select radio button for “Finish&#160; installations”. Click Next.<a href="http://mdaslam.files.wordpress.com/2010/07/image66.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb66.png?w=424&#038;h=378" width="424" border="0" /></a> </li>
<li>Below screen will appear, containing the list of applications that are installed on this package. You can select application from this list and click on “Run” button to run that application. Some application requires some settings to be done after launching it for the first time. Those type of activities can be done using this screen.<a href="http://mdaslam.files.wordpress.com/2010/07/image67.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb67.png?w=424&#038;h=378" width="424" border="0" /></a>&#160; </li>
<li>Once the application is executed in above step for the first time, exit the application and its status will be changed to “Application Run” as shown below: <a href="http://mdaslam.files.wordpress.com/2010/07/image68.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb68.png?w=424&#038;h=378" width="424" border="0" /></a> </li>
<li>If you want to add/modify/delete any application, use the below screen: <a href="http://mdaslam.files.wordpress.com/2010/07/image69.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb69.png?w=424&#038;h=378" width="424" border="0" /></a> Click Add {for above second requirement}, following screen will appear:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Add the following information:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>Application name:</strong> MSOffice – Word&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>Version:</strong> 2003&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>Path:</strong> C:\Program Files\Microsoft Office\wscript.exe {Browse to this location by clicking Browse button. Browse button will take you inside package to get the file that you have added above}. <strong>Working Directory:</strong> C:\Program Files\Microsoft Office.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>Command line parameters:</strong> testWord.vbs<img title="image" style="display:inline;border-width:0;" height="326" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb70.png?w=361&#038;h=326" width="361" border="0" />&#160; After clicking ok, following screen will appear: Click Next.<a href="http://mdaslam.files.wordpress.com/2010/07/image70.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb71.png?w=424&#038;h=378" width="424" border="0" /></a> </li>
<li>You can sign the profile using below screen: Click Next<a href="http://mdaslam.files.wordpress.com/2010/07/image71.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb72.png?w=424&#038;h=378" width="424" border="0" /></a> </li>
<li>Profile summary will appear in the below screen. Click Finish to finish the profile creation.<a href="http://mdaslam.files.wordpress.com/2010/07/image72.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb73.png?w=424&#038;h=378" width="424" border="0" /></a> </li>
<li>On successful updation of profile, following main screen will appear. Click on the save button as shown in circle in below screenshot to save the profile: Profile will saved under the same shared location.<a href="http://mdaslam.files.wordpress.com/2010/07/image73.png"><img title="image" style="display:inline;border-width:0;" height="308" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb74.png?w=424&#038;h=308" width="424" border="0" /></a> </li>
<li>Now during its publishing in XenApp, we need to select “MSOffice – Word” as application name under “Location” screen as shown below: <a href="http://mdaslam.files.wordpress.com/2010/07/image74.png"><img title="image" style="display:inline;border-width:0;" height="375" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb75.png?w=424&#038;h=375" width="424" border="0" /></a>&#160; For information of how to publish streaming package, refer to below articles:&#160; <a href="http://mdaslam.wordpress.com/2010/08/25/xenapp-publishing-streaming-package/">http://mdaslam.wordpress.com/2010/08/25/xenapp-publishing-streaming-package/</a> and <a href="http://mdaslam.wordpress.com/2010/09/01/xenapp-automated-streaming-package-publish-using-powershell/">http://mdaslam.wordpress.com/2010/09/01/xenapp-automated-streaming-package-publish-using-powershell/</a>&#160; </li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdaslam.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdaslam.wordpress.com/440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdaslam.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdaslam.wordpress.com/440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdaslam.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdaslam.wordpress.com/440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdaslam.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdaslam.wordpress.com/440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdaslam.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdaslam.wordpress.com/440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdaslam.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdaslam.wordpress.com/440/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdaslam.wordpress.com/440/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdaslam.wordpress.com/440/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=440&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdaslam.wordpress.com/2010/09/15/xenapp-how-to-add-and-run-vbscript-in-streaming-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa00c80ac501bca8baa7b7ee13489ce3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdaslam</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb57.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb58.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb59.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb60.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb61.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb62.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb63.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb64.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb65.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb66.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb67.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb68.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb69.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb70.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb71.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb72.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb73.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb74.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb75.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>XenApp: How to modify Streaming package?</title>
		<link>http://mdaslam.wordpress.com/2010/09/08/xenapp-how-to-modify-streaming-package/</link>
		<comments>http://mdaslam.wordpress.com/2010/09/08/xenapp-how-to-modify-streaming-package/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 08:02:00 +0000</pubDate>
		<dc:creator>Mohd Aslam</dc:creator>
				<category><![CDATA[Citrix XenApp]]></category>
		<category><![CDATA[XenApp; Application streaming package; streaming; Streaming package update;]]></category>

		<guid isPermaLink="false">https://mdaslam.wordpress.com/2010/09/08/xenapp-how-to-modify-streaming-package/</guid>
		<description><![CDATA[Streaming is the virtualization technique. It enables applications to be delivered to client devices and run in a protected, virtual environment.&#160; Applications are managed in a centralized Application Hub, but are streamed to the client device and run in an isolation environment.&#160; Applications become an on-demand service that is always available and up-to-date. Streaming package [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=402&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Streaming is the virtualization technique. It enables applications to be delivered to client devices and run in a protected, virtual environment.&#160; Applications are managed in a centralized Application Hub, but are streamed to the client device and run in an isolation environment.&#160; Applications become an on-demand service that is always available and up-to-date. </p>
<p>Streaming package needs to be created using the Streaming profiler. Once created successfully, it needs to be published for the user community.</p>
<p>Its creation is explained in my article at <a href="http://mdaslam.wordpress.com/2010/08/18/xenapp-application-streaming-package-creation">http://mdaslam.wordpress.com/2010/08/18/xenapp-application-streaming-package-creation</a></p>
<p>Now in this article, we will learn, how to modify streaming package for </p>
<ol>
<li>adding one file : Sometimes we need to add/update application configuration file </li>
<li>updating registry: Sometimes we need to update registry entry for application data </li>
</ol>
<p>For implementing above requirement, I will use streaming package for MS Word component that we created in my article at the above link. </p>
<p><strong>Steps to Update streaming package: </strong></p>
<ol>
<li>Streaming package is modified using Streaming Profiler. To run streaming profiler go to {All Programs &gt; Citrix &gt; Streaming Profiler} and click on Streaming Profiler. Following screen will appear:<a href="http://mdaslam.files.wordpress.com/2010/07/image36.png"><img title="image" style="display:inline;border-width:0;" height="258" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb36.png?w=372&#038;h=258" width="372" border="0" /></a> </li>
<li>Click on “Open Profile” button, following screen will appear: Select the application streaming package profile file and click Open.<a href="http://mdaslam.files.wordpress.com/2010/07/image37.png"><img title="image" style="display:inline;border-width:0;" height="315" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb37.png?w=424&#038;h=315" width="424" border="0" /></a> </li>
<li>Following screen will appear:<a href="http://mdaslam.files.wordpress.com/2010/07/image38.png"><img title="image" style="display:inline;border-width:0;" height="316" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb38.png?w=424&#038;h=316" width="424" border="0" /></a> </li>
<li>Expand the package {MSOffice – Word} node and right click on first child node and select “Update / Install Application as shown below:<a href="http://mdaslam.files.wordpress.com/2010/07/image39.png"><img title="image" style="display:inline;border-width:0;" height="315" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb39.png?w=424&#038;h=315" width="424" border="0" /></a>&#160; Following progress screen will appear: It will take couple of minutes to open package for editing.<a href="http://mdaslam.files.wordpress.com/2010/07/image40.png"><img title="image" style="display:inline;border-width:0;" height="138" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb40.png?w=324&#038;h=138" width="324" border="0" /></a> </li>
<li>Following screen will appear: Click Next<a href="http://mdaslam.files.wordpress.com/2010/07/image41.png"><img title="image" style="display:inline;border-width:0;" height="382" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb41.png?w=424&#038;h=382" width="424" border="0" /></a>&#160;&#160; </li>
<li>&#160; Select radio button for “Advanced Install” and click Next. Note: <a href="http://mdaslam.files.wordpress.com/2010/07/image42.png"><img title="image" style="display:inline;border-width:0;" height="381" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb42.png?w=424&#038;h=381" width="424" border="0" /></a> </li>
<li>For first requirement {adding one file} Select the radio button for “Select files and folders” and Click Next.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="http://mdaslam.files.wordpress.com/2010/07/image43.png"><img title="image" style="display:inline;border-width:0;" height="381" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb43.png?w=424&#038;h=381" width="424" border="0" /></a>&#160; Following screen will appear:&#160; Select the required file from left hand side window and select the required destination location from right hand window. Once selected, click on arrow button to add the file. Click Next.<a href="http://mdaslam.files.wordpress.com/2010/07/image44.png"><img title="image" style="display:inline;border-width:0;" height="381" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb44.png?w=424&#038;h=381" width="424" border="0" /></a> Following screen will appear: Select radio button for “perform additional installations” to implement second requirement. Click Next.<a href="http://mdaslam.files.wordpress.com/2010/07/image45.png"><img title="image" style="display:inline;border-width:0;" height="381" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb45.png?w=424&#038;h=381" width="424" border="0" /></a> </li>
<li>For second requirement {updating registry} Select the radio button for “Edit registry” and Click Next. <a href="http://mdaslam.files.wordpress.com/2010/07/image46.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb46.png?w=424&#038;h=378" width="424" border="0" /></a>&#160; Following screen will appear:&#160; Click on “Lunch Windows Registry Editor” button:<a href="http://mdaslam.files.wordpress.com/2010/07/image47.png"><img title="image" style="display:inline;border-width:0;" height="381" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb47.png?w=424&#038;h=381" width="424" border="0" /></a> Registry editor will be launched as shown below: Update it for the required data and then close the editor. <a href="http://mdaslam.files.wordpress.com/2010/07/image48.png"><img title="image" style="display:inline;border-width:0;" height="331" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb48.png?w=424&#038;h=331" width="424" border="0" /></a> Following screen will appear again: Click Next<a href="http://mdaslam.files.wordpress.com/2010/07/image47.png"><img title="image" style="display:inline;border-width:0;" height="381" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb47.png?w=424&#038;h=381" width="424" border="0" /></a> </li>
<li>Following screen will appear: Select radio button for “Finish installations” and Click Next.<a href="http://mdaslam.files.wordpress.com/2010/07/image49.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb49.png?w=424&#038;h=378" width="424" border="0" /></a>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </li>
<li>Below screen will appear, containing the list of applications that are installed on this package. You can select application from this list and click on “Run” button to run that application. Some application requires some settings to be done after launching it for the first time. Those type of activities can be done using this screen.<a href="http://mdaslam.files.wordpress.com/2010/07/image50.png"><img title="image" style="display:inline;border-width:0;" height="381" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb50.png?w=424&#038;h=381" width="424" border="0" /></a> </li>
<li>Once the application is executed in above step for the first time, exit the application and its status will be changed to “Application Run” as shown below: <a href="http://mdaslam.files.wordpress.com/2010/07/image51.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb51.png?w=424&#038;h=378" width="424" border="0" /></a> </li>
<li>If you want to add/modify/delete any application, use the below screen: Click Next <a href="http://mdaslam.files.wordpress.com/2010/07/image52.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb52.png?w=424&#038;h=378" width="424" border="0" /></a> </li>
<li>You can sign the profile using below screen: Click Next<a href="http://mdaslam.files.wordpress.com/2010/07/image53.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb53.png?w=424&#038;h=378" width="424" border="0" /></a> </li>
<li>Profile summary will appear in the below screen. Click Finish to finish the profile creation.<a href="http://mdaslam.files.wordpress.com/2010/07/image54.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb54.png?w=424&#038;h=378" width="424" border="0" /></a> </li>
<li>On successful updation of profile, following main screen will appear. Click on the save button as shown in circle in below screenshot to save the profile: Profile will saved under the same shared location.<a href="http://mdaslam.files.wordpress.com/2010/07/image55.png"><img title="image" style="display:inline;border-width:0;" height="310" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb55.png?w=424&#038;h=310" width="424" border="0" /></a> </li>
<li>Resultant Folder structure of profile as saved at shared location: <a href="http://mdaslam.files.wordpress.com/2010/07/image56.png"><img title="image" style="display:inline;border-width:0;" height="98" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb56.png?w=424&#038;h=98" width="424" border="0" /></a>&#160; Please note the presence of second cab file. Whenever streaming profile is updated, new cab file is created. You can delete the old cab file if you don’t want to maintain history as old cab file might be used to rollback the changes. </li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdaslam.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdaslam.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdaslam.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdaslam.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdaslam.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdaslam.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdaslam.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdaslam.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdaslam.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdaslam.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdaslam.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdaslam.wordpress.com/402/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdaslam.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdaslam.wordpress.com/402/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=402&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdaslam.wordpress.com/2010/09/08/xenapp-how-to-modify-streaming-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa00c80ac501bca8baa7b7ee13489ce3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdaslam</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb36.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb37.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb38.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb39.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb40.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb41.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb42.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb43.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb44.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb45.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb46.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb47.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb48.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb47.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb49.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb50.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb51.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb52.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb53.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb54.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb55.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb56.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>XenApp: Automated streaming package publish using PowerShell</title>
		<link>http://mdaslam.wordpress.com/2010/09/01/xenapp-automated-streaming-package-publish-using-powershell/</link>
		<comments>http://mdaslam.wordpress.com/2010/09/01/xenapp-automated-streaming-package-publish-using-powershell/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 05:10:00 +0000</pubDate>
		<dc:creator>Mohd Aslam</dc:creator>
				<category><![CDATA[Citrix XenApp]]></category>
		<category><![CDATA[XenApp; Application streaming package publishing; Streaming package publish; Powershell and Citrix; streaming; Powershell script]]></category>

		<guid isPermaLink="false">https://mdaslam.wordpress.com/2010/09/01/xenapp-automated-streaming-package-publish-using-powershell/</guid>
		<description><![CDATA[Purpose: To publish application streaming package in XenApp automatically using PowerShell script. Pre-requisite: Following are the prerequisites for setting up the environment to execute PowerShell script to publish application in XenApp: .Net Framework 3.5 SP1 {Download it from Microsoft website} Microsoft PowerShell 1.0 {Download it from Microsoft website} XenApp Command technology preview{Download it from citrix [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=358&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Purpose:</strong></p>
<p>To publish application streaming package in XenApp automatically using PowerShell script.</p>
<p><strong>Pre-requisite:</strong></p>
<p>Following are the prerequisites for setting up the environment to execute PowerShell script to publish application in XenApp:</p>
<ol>
<li>.Net Framework 3.5 SP1 {Download it from Microsoft website} </li>
<li>Microsoft PowerShell 1.0 {Download it from Microsoft website} </li>
<li>XenApp Command technology preview{Download it from citrix site: <a title="https://www.citrix.com/English/ss/downloads/details.asp?downloadId=1687620&amp;productId=186#top" href="https://www.citrix.com/English/ss/downloads/details.asp?downloadId=1687620&amp;productId=186#top">https://www.citrix.com/English/ss/downloads/details.asp?downloadId=1687620&amp;productId=186#top</a>} : These commands are a PowerShell Tool Pack that allows managing most aspects related to XenApp.&#160; They cover all of MFCOM functionality for features available in XenApp 5 and include functionality from both AMC and CMC. </li>
<li>Person who is publishing application icon should have full administrative rights on Access management console and should have atleast read access rights on the shared location where streaming package is stored. </li>
<li>Application users should also has read access rights on the shared location where streaming package is stored. </li>
</ol>
<p>Install all the above components {step 1 – 3} in the given order onto the XenApp environment.</p>
<p><strong>Solution:</strong>&#160;</p>
<p>Below script is the solution. It has four parts:</p>
<li>Creation of input box for application information &#8211; {Line 10 – 99} </li>
<li>Creation the published application icon for streaming package &#8211; {Line 101-117} </li>
<li>Addition of users/groups to the application –{Line 119-120} </li>
<li>Assignment of servers to the published app –{Line 122-123}
<p><strong>Script:</strong></p>
<div id="codeSnippetWrapper">
<div id="codeSnippet" style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;padding:0;">
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum1" style="color:#606060;">   1:</span> <span style="color:#008000;"># =========================================================</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum2" style="color:#606060;">   2:</span> <span style="color:#008000;"># </span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum3" style="color:#606060;">   3:</span> <span style="color:#008000;"># AUTHOR: Mohd Aslam</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum4" style="color:#606060;">   4:</span> <span style="color:#008000;"># DATE  : 7/06/2010</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum5" style="color:#606060;">   5:</span> <span style="color:#008000;"># </span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum6" style="color:#606060;">   6:</span> <span style="color:#008000;"># COMMENT: This script will publish application streaming </span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum7" style="color:#606060;">   7:</span> <span style="color:#008000;"># package in XenApp.</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum8" style="color:#606060;">   8:</span> <span style="color:#008000;"># </span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum9" style="color:#606060;">   9:</span> <span style="color:#008000;"># =========================================================</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum10" style="color:#606060;">  10:</span> [void] [System.Reflection.Assembly]::LoadWithPartialName(</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum11" style="color:#606060;">  11:</span> <span style="color:#006080;">&quot;System.Drawing&quot;</span>) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum12" style="color:#606060;">  12:</span> [void] [System.Reflection.Assembly]::LoadWithPartialName(</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum13" style="color:#606060;">  13:</span> <span style="color:#006080;">&quot;System.Windows.Forms&quot;</span>) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum14" style="color:#606060;">  14:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum15" style="color:#606060;">  15:</span> $objForm = New-Object System.Windows.Forms.Form </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum16" style="color:#606060;">  16:</span> $objForm.Text = <span style="color:#006080;">&quot;Server Desktop publish information&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum17" style="color:#606060;">  17:</span> $objForm.Size = New-Object System.Drawing.Size(430,200) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum18" style="color:#606060;">  18:</span> $objForm.StartPosition = <span style="color:#006080;">&quot;CenterScreen&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum19" style="color:#606060;">  19:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum20" style="color:#606060;">  20:</span> $objForm.KeyPreview = $True</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum21" style="color:#606060;">  21:</span> $objForm.Add_KeyDown({<span style="color:#0000ff;">if</span> ($_.KeyCode -eq <span style="color:#006080;">&quot;Enter&quot;</span>) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum22" style="color:#606060;">  22:</span>     {$x=$objTextBox.Text;$objForm.Close()}})</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum23" style="color:#606060;">  23:</span> $objForm.Add_KeyDown({<span style="color:#0000ff;">if</span> ($_.KeyCode -eq <span style="color:#006080;">&quot;Escape&quot;</span>) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum24" style="color:#606060;">  24:</span>     {$objForm.Close()}})</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum25" style="color:#606060;">  25:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum26" style="color:#606060;">  26:</span> $OKButton = New-Object System.Windows.Forms.Button</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum27" style="color:#606060;">  27:</span> $OKButton.Location = New-Object System.Drawing.Size(190,140)</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum28" style="color:#606060;">  28:</span> $OKButton.Size = New-Object System.Drawing.Size(75,23)</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum29" style="color:#606060;">  29:</span> $OKButton.Text = <span style="color:#006080;">&quot;OK&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum30" style="color:#606060;">  30:</span> $OKButton.Add_Click(</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum31" style="color:#606060;">  31:</span> {</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum32" style="color:#606060;">  32:</span> $AppName=$objAppName.Text;</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum33" style="color:#606060;">  33:</span> $AppUsers=$objAppUsers.Text;</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum34" style="color:#606060;">  34:</span> $AppServers=$objAppServers.Text;</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum35" style="color:#606060;">  35:</span> $objForm.Close()</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum36" style="color:#606060;">  36:</span> }</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum37" style="color:#606060;">  37:</span> )</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum38" style="color:#606060;">  38:</span> $objForm.Controls.Add($OKButton)</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum39" style="color:#606060;">  39:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum40" style="color:#606060;">  40:</span> $CancelButton = New-Object System.Windows.Forms.Button</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum41" style="color:#606060;">  41:</span> $CancelButton.Location = New-Object System.Drawing.Size(290,140)</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum42" style="color:#606060;">  42:</span> $CancelButton.Size = New-Object System.Drawing.Size(75,23)</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum43" style="color:#606060;">  43:</span> $CancelButton.Text = <span style="color:#006080;">&quot;Cancel&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum44" style="color:#606060;">  44:</span> $CancelButton.Add_Click(</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum45" style="color:#606060;">  45:</span> {</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum46" style="color:#606060;">  46:</span> $objForm.Close()</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum47" style="color:#606060;">  47:</span> }</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum48" style="color:#606060;">  48:</span> )</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum49" style="color:#606060;">  49:</span> $objForm.Controls.Add($CancelButton)</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum50" style="color:#606060;">  50:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum51" style="color:#606060;">  51:</span> $objLabel = New-Object System.Windows.Forms.Label</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum52" style="color:#606060;">  52:</span> $objLabel.Location = New-Object System.Drawing.Size(10,15) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum53" style="color:#606060;">  53:</span> $objLabel.Size = New-Object System.Drawing.Size(280,20) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum54" style="color:#606060;">  54:</span> $objLabel.Text = <span style="color:#006080;">&quot;Please enter the information in the space below:&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum55" style="color:#606060;">  55:</span> $objForm.Controls.Add($objLabel) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum56" style="color:#606060;">  56:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum57" style="color:#606060;">  57:</span> $objLbl_AppName = New-Object System.Windows.Forms.Label</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum58" style="color:#606060;">  58:</span> $objLbl_AppName.Location = New-Object System.Drawing.Size(10,40) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum59" style="color:#606060;">  59:</span> $objLbl_AppName.Size = New-Object System.Drawing.Size(160,20) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum60" style="color:#606060;">  60:</span> $objLbl_AppName.Text = <span style="color:#006080;">&quot;Application Name:&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum61" style="color:#606060;">  61:</span> $objForm.Controls.Add($objLbl_AppName) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum62" style="color:#606060;">  62:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum63" style="color:#606060;">  63:</span> $objAppName = New-Object System.Windows.Forms.TextBox </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum64" style="color:#606060;">  64:</span> $objAppName.Location = New-Object System.Drawing.Size(190,40) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum65" style="color:#606060;">  65:</span> $objAppName.Size = New-Object System.Drawing.Size(205,20) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum66" style="color:#606060;">  66:</span> $objForm.Controls.Add($objAppName) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum67" style="color:#606060;">  67:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum68" style="color:#606060;">  68:</span> $objLbl_AppUsers = New-Object System.Windows.Forms.Label</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum69" style="color:#606060;">  69:</span> $objLbl_AppUsers.Location = New-Object System.Drawing.Size(10,70) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum70" style="color:#606060;">  70:</span> $objLbl_AppUsers.Size = New-Object System.Drawing.Size(160,20) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum71" style="color:#606060;">  71:</span> $objLbl_AppUsers.Text = <span style="color:#006080;">&quot;Application Users*:&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum72" style="color:#606060;">  72:</span> $objForm.Controls.Add($objLbl_AppUsers) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum73" style="color:#606060;">  73:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum74" style="color:#606060;">  74:</span> $objAppUsers = New-Object System.Windows.Forms.TextBox </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum75" style="color:#606060;">  75:</span> $objAppUsers.Location = New-Object System.Drawing.Size(190,70) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum76" style="color:#606060;">  76:</span> $objAppUsers.Size = New-Object System.Drawing.Size(205,20) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum77" style="color:#606060;">  77:</span> $objForm.Controls.Add($objAppUsers) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum78" style="color:#606060;">  78:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum79" style="color:#606060;">  79:</span> $objLbl_Server = New-Object System.Windows.Forms.Label</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum80" style="color:#606060;">  80:</span> $objLbl_Server.Location = New-Object System.Drawing.Size(10,100) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum81" style="color:#606060;">  81:</span> $objLbl_Server.Size = New-Object System.Drawing.Size(160,20) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum82" style="color:#606060;">  82:</span> $objLbl_Server.Text = <span style="color:#006080;">&quot;Servers*:&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum83" style="color:#606060;">  83:</span> $objForm.Controls.Add($objLbl_Server) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum84" style="color:#606060;">  84:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum85" style="color:#606060;">  85:</span> $objAppServers = New-Object System.Windows.Forms.TextBox </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum86" style="color:#606060;">  86:</span> $objAppServers.Location = New-Object System.Drawing.Size(190,100) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum87" style="color:#606060;">  87:</span> $objAppServers.Size = New-Object System.Drawing.Size(205,20) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum88" style="color:#606060;">  88:</span> $objForm.Controls.Add($objAppServers) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum89" style="color:#606060;">  89:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum90" style="color:#606060;">  90:</span> $objLbl_Server = New-Object System.Windows.Forms.Label</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum91" style="color:#606060;">  91:</span> $objLbl_Server.Location = New-Object System.Drawing.Size(10,120) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum92" style="color:#606060;">  92:</span> $objLbl_Server.Size = New-Object System.Drawing.Size(180,20) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum93" style="color:#606060;">  93:</span> $objLbl_Server.Text = <span style="color:#006080;">&quot;*: Enter ';' separated data if any&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum94" style="color:#606060;">  94:</span> $objForm.Controls.Add($objLbl_Server) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum95" style="color:#606060;">  95:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum96" style="color:#606060;">  96:</span> $objForm.Topmost = $True</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum97" style="color:#606060;">  97:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum98" style="color:#606060;">  98:</span> $objForm.Add_Shown({$objForm.Activate()})</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum99" style="color:#606060;">  99:</span> [void] $objForm.ShowDialog()</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum100" style="color:#606060;"> 100:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum101" style="color:#606060;"> 101:</span> New-XAApplication -BrowserName $AppName `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum102" style="color:#606060;"> 102:</span> -DisplayName $AppName -FolderPath <span style="color:#006080;">&quot;Applications/Office&quot;</span> `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum103" style="color:#606060;"> 103:</span> -Enabled $<span style="color:#0000ff;">true</span> `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum104" style="color:#606060;"> 104:</span> -ApplicationType StreamedToServer `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum105" style="color:#606060;"> 105:</span> –ProfileLocation <span style="color:#006080;">&quot;\\Server\App_Profiles\MSOffice - Word.profile&quot;</span> `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum106" style="color:#606060;"> 106:</span> –ProfileProgramName <span style="color:#006080;">&quot;Microsoft Office Word 2003&quot;</span> `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum107" style="color:#606060;"> 107:</span> –IconStream (</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum108" style="color:#606060;"> 108:</span> Get-XAIconStream `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum109" style="color:#606060;"> 109:</span> -profilelocation <span style="color:#006080;">&quot;\\Server\App_Profiles\MSOffice - Word.profile&quot;</span> `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum110" style="color:#606060;"> 110:</span> -profileprogramname <span style="color:#006080;">&quot;Microsoft Office Word 2003&quot;</span> `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum111" style="color:#606060;"> 111:</span> –Index 0) `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum112" style="color:#606060;"> 112:</span> -AnonymousConnectionsAllowed $<span style="color:#0000ff;">false</span> `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum113" style="color:#606060;"> 113:</span> -InstanceLimit <span style="color:#006080;">&quot;-1&quot;</span> `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum114" style="color:#606060;"> 114:</span> -ColorDepth 1 `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum115" style="color:#606060;"> 115:</span> -AudioRequired $<span style="color:#0000ff;">false</span> `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum116" style="color:#606060;"> 116:</span> -ClientFolder <span style="color:#006080;">&quot;Office&quot;</span>`</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum117" style="color:#606060;"> 117:</span> -ProfileProgramArguments %* `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum118" style="color:#606060;"> 118:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum119" style="color:#606060;"> 119:</span> Add-XAApplicationAccount -BrowserName $AppName `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum120" style="color:#606060;"> 120:</span> -Accounts $AppUsers.Split(<span style="color:#006080;">&quot;;&quot;</span>)</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum121" style="color:#606060;"> 121:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum122" style="color:#606060;"> 122:</span> Add-XAApplicationServer -BrowserName $AppName `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum123" style="color:#606060;"> 123:</span> -ServerNames $AppServers.Split(<span style="color:#006080;">&quot;;&quot;</span>)</pre>
<p><!--CRLF--></div>
</p></div>
<div id="codeSnippetWrapper">&#160;<strong>How to Run above script?:</strong></div>
<p>Save above script to some location with .ps1 extension. To Run above script, go to “Programs &gt; Citrix &gt; XenApp Commands” and click “Windows PowerShell with XenApp Commands (CTP2)” icon. It will launch PowerShell command prompt.</p>
<p>On the PowerShell command prompt, write script name with full location and click enter. Script will run and below screen will be displayed:</p>
<p><a href="http://mdaslam.files.wordpress.com/2010/07/image33.png"><img title="image" style="display:inline;border-width:0;" height="189" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb33.png?w=376&#038;h=189" width="376" border="0" /></a> </p>
<p>Enter all the required data and click “Ok”. For application users and servers, multiple data can be entered separated by “;”.</p>
<p>Following screen will be displayed containing information about the published icon. </p>
<p><a href="http://mdaslam.files.wordpress.com/2010/07/image34.png"><img title="image" style="display:inline;border-width:0;" height="287" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb34.png?w=387&#038;h=287" width="387" border="0" /></a> </p>
<p>To confirm the successful publish, go to access management console and see the published icon as:</p>
<p><a href="http://mdaslam.files.wordpress.com/2010/07/image35.png"><img title="image" style="display:inline;border-width:0;" height="63" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb35.png?w=251&#038;h=63" width="251" border="0" /></a> </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8211;Finish&#8211;</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</li>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdaslam.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdaslam.wordpress.com/358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdaslam.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdaslam.wordpress.com/358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdaslam.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdaslam.wordpress.com/358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdaslam.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdaslam.wordpress.com/358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdaslam.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdaslam.wordpress.com/358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdaslam.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdaslam.wordpress.com/358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdaslam.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdaslam.wordpress.com/358/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=358&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdaslam.wordpress.com/2010/09/01/xenapp-automated-streaming-package-publish-using-powershell/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa00c80ac501bca8baa7b7ee13489ce3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdaslam</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb33.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb34.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb35.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>XenApp: Publishing streaming package</title>
		<link>http://mdaslam.wordpress.com/2010/08/25/xenapp-publishing-streaming-package/</link>
		<comments>http://mdaslam.wordpress.com/2010/08/25/xenapp-publishing-streaming-package/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 10:09:00 +0000</pubDate>
		<dc:creator>Mohd Aslam</dc:creator>
				<category><![CDATA[Citrix XenApp]]></category>
		<category><![CDATA[XenApp; Application Streaming publish; Application profile; Application isolation; application publish]]></category>

		<guid isPermaLink="false">https://mdaslam.wordpress.com/2010/08/25/xenapp-publishing-streaming-package/</guid>
		<description><![CDATA[Access Management console is required to publish application streaming package in XenApp. Below are the steps required to publish streaming package. Prerequisite: Citrix Access Management console should be installed on the XenApp farm. Person who is publishing application icon should have full administrative rights on Access management console and should have atleast read access rights [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=351&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Access Management console is required to publish application streaming package in XenApp. </p>
<p>Below are the steps required to publish streaming package. </p>
<p><strong>Prerequisite:</strong></p>
<ol>
<li>Citrix Access Management console should be installed on the XenApp farm. </li>
<li>Person who is publishing application icon should have full administrative rights on Access management console and should have atleast read access rights on the shared location where streaming package is stored. </li>
<li>Application users should also has read access rights on the shared location where streaming package is stored. </li>
<li>Streaming client should be installed on the user’s machine. </li>
</ol>
<p><strong>Steps:</strong></p>
<ol>
<li>Double click on the desktop icon “Access Management Console” or launch the exe “CmiLaunch.exe” from &quot;C:\Program Files\Common Files\Citrix\Access Management Console &#8211; Framework\&quot;. Citrix Access Management console window will be launched. Left side of window will have tree structure as shown below. It has a node for Presentation server and under it, there is a node for XenApp farm. It has different folders under it to manage the farm. For this article, our interest is the “Applications” folder under it.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="http://go2.wordpress.com/?id=725X1342&amp;site=mdaslam.wordpress.com&amp;url=http%3A%2F%2Fmdaslam.files.wordpress.com%2F2010%2F06%2Fimage.png&amp;sref=http%3A%2F%2Fmdaslam.wordpress.com%2F2010%2F06%2F10%2Fapplication-publish-in-xenapp%2F"><img title="image" height="217" alt="image" src="http://mdaslam.files.wordpress.com/2010/06/image_thumb.png?w=244&#038;h=217&#038;h=217" width="244" border="0" /></a>&#160; </li>
<li>Right Click on “Applications” folder and Select New –&gt; Create Folder as&#160; shown below:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a href="http://go2.wordpress.com/?id=725X1342&amp;site=mdaslam.wordpress.com&amp;url=http%3A%2F%2Fmdaslam.files.wordpress.com%2F2010%2F06%2Fimage1.png&amp;sref=http%3A%2F%2Fmdaslam.wordpress.com%2F2010%2F06%2F10%2Fapplication-publish-in-xenapp%2F"><img title="image" height="136" alt="image" src="http://mdaslam.files.wordpress.com/2010/06/image_thumb1.png?w=244&#038;h=136&#038;h=136" width="244" border="0" /></a> </li>
<li>Following screen will appear: <a href="http://mdaslam.files.wordpress.com/2010/07/image18.png"><img title="image" style="display:inline;border-width:0;" height="174" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb18.png?w=353&#038;h=174" width="353" border="0" /></a>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Enter the application name and click ok. It will create “Office” folder under the applications node. </li>
<li>Right click on “Office” folder and select New –&gt; Publish application. “Welcome” screen will appear: Click Next<img height="379" alt="image" src="http://mdaslam.files.wordpress.com/2010/06/image_thumb3.png?w=420&#038;h=405&#038;h=379" width="420" /> </li>
<li>“Name” screen will appear, add the following details and Click Next:&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Display Name: <strong>MSOffice &#8211; Word</strong> | Application description: <strong><strong>MSOffice &#8211; Word<a href="http://mdaslam.files.wordpress.com/2010/07/image19.png"><img title="image" style="display:inline;border-width:0;" height="377" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb19.png?w=424&#038;h=377" width="424" border="0" /></a> </strong></strong></li>
<li>“Type” screen will appear, Select the radio button for “Application” and then select radio button for “Application from a server”. From Server application type dropdown, select “Streamed to server” and Click Next.<a href="http://mdaslam.files.wordpress.com/2010/07/image20.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb20.png?w=424&#038;h=378" width="424" border="0" /></a> </li>
<li>“Location” screen will appear, browse to the application profile location and then select the required application from Application to launch dropdown list and then click Next. <a href="http://mdaslam.files.wordpress.com/2010/07/image21.png"><img title="image" style="display:inline;border-width:0;" height="377" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb21.png?w=424&#038;h=377" width="424" border="0" /></a> </li>
<li>“Servers” screen will appear, Click on “Add” button to add all the servers where you want application to stream to. By stream to, I mean, application will be run in isolation from that server. Servers added here will be having load balancing.<a href="http://mdaslam.files.wordpress.com/2010/07/image22.png"><img title="image" style="display:inline;border-width:0;" height="376" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb22.png?w=424&#038;h=376" width="424" border="0" /></a> </li>
<li>“Users” screen will appear for adding users who will have access rights on the published icon. Click Add button and it will open “second screen”. On that screen, click on “Add List of Names” button to add the users. “third Screen” will appear. Enter the users into the screen and click “Check Names” button to see the validity of the entered users. Once verified click Ok. Click Ok on second screen and click Next on First screen.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Note: <em>You can add any number of users from the below screens but the best practice is to have active directory group containing all the required users and that group can be added directly to the below screen. With active directory group it is very easy to manage users. By manage I mean, addition and deletion of users.<a href="http://mdaslam.files.wordpress.com/2010/07/image23.png"><img title="image" style="display:inline;border-width:0;" height="379" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb23.png?w=424&#038;h=379" width="424" border="0" /></a> </em></li>
<li>“Shortcut Presentation” screen will appear. Enter “Office” folder in the textbox for “Client application folder”. If the user access is through web ICA, do not check the checkbox for “add to the client’s start menu” and “add shortcut to the client’s desktop”.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Note: <em>You should enter the folder name that you have created at step 2 above. Users will see the application icon under this folder in their web ICA session.</em>&#160;<a href="http://mdaslam.files.wordpress.com/2010/07/image24.png"><img title="image" style="display:inline;border-width:0;" height="382" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb24.png?w=424&#038;h=382" width="424" border="0" /></a> Check for the application icon displayed on this screen. If you want to change it, click on change icon button, following screen will appear, select the appropriate radio button and get the required application icon and click Ok and then click Next to the parent screen.<a href="http://mdaslam.files.wordpress.com/2010/07/image25.png"><img title="image" style="display:inline;border-width:0;" height="243" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb25.png?w=409&#038;h=243" width="409" border="0" /></a> </li>
<li>“Publish immediately” screen will appear, select the checkbox for “Configure advanced application settings now” and click next.<a href="http://mdaslam.files.wordpress.com/2010/07/image26.png"><img title="image" style="display:inline;border-width:0;" height="384" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb26.png?w=424&#038;h=384" width="424" border="0" /></a> </li>
<li>Access control screen will appear: Keep the default options and click Next.<a href="http://mdaslam.files.wordpress.com/2010/07/image27.png"><img title="image" style="display:inline;border-width:0;" height="377" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb27.png?w=424&#038;h=377" width="424" border="0" /></a> </li>
<li>“Content redirection” screen will appear: select the required extensions and click Next.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Note: For more information, refer to my article: <a title="http://mdaslam.wordpress.com/2009/09/09/associating-published-applications-with-file-types/" href="http://mdaslam.wordpress.com/2009/09/09/associating-published-applications-with-file-types/">http://mdaslam.wordpress.com/2009/09/09/associating-published-applications-with-file-types/</a><a href="http://mdaslam.files.wordpress.com/2010/07/image28.png"><img title="image" style="display:inline;border-width:0;" height="380" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb28.png?w=424&#038;h=380" width="424" border="0" /></a> </li>
<li>Alternate profiles: Keep the default value and click Next.<a href="http://mdaslam.files.wordpress.com/2010/07/image29.png"><img title="image" style="display:inline;border-width:0;" height="378" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb29.png?w=424&#038;h=378" width="424" border="0" /></a> </li>
<li>“Limits” screen will appear: Depending on the application architecture and the bandwidth, check the checkbox for “Limit instances allowed to run in server farm” and then add Maximum instances. Click Next.<a href="http://mdaslam.files.wordpress.com/2010/07/image30.png"><img title="image" style="display:inline;border-width:0;" height="383" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb30.png?w=426&#038;h=383" width="426" border="0" /></a> </li>
<li>“Client options” screen will appear: Select the different options based on your requirements like the bandwidth, security or printing requirements. Click Next.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Note: For Client audio, refer to the article <a title="http://mdaslam.wordpress.com/2009/11/24/xenapp-legacy-audio/" href="http://mdaslam.wordpress.com/2009/11/24/xenapp-legacy-audio/">http://mdaslam.wordpress.com/2009/11/24/xenapp-legacy-audio/</a><a href="http://mdaslam.files.wordpress.com/2010/07/image31.png"><img title="image" style="display:inline;border-width:0;" height="379" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb31.png?w=425&#038;h=379" width="425" border="0" /></a> </li>
<li>“Appearance” screen will appear: Select the appropriate session window size and required color depth. Click Finish.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Note: For seamless mode, selecting any value under “session window size” will not make any difference. For Color depth, refer to my article: <a title="http://mdaslam.wordpress.com/2009/09/22/xenapp-colors-depth-in-published-application-properties/" href="http://mdaslam.wordpress.com/2009/09/22/xenapp-colors-depth-in-published-application-properties/">http://mdaslam.wordpress.com/2009/09/22/xenapp-colors-depth-in-published-application-properties/</a><a href="http://mdaslam.files.wordpress.com/2010/07/image32.png"><img title="image" style="display:inline;border-width:0;" height="379" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb32.png?w=424&#038;h=379" width="424" border="0" /></a> After this step, application icon will be published and available under “Office” folder. Users who are given access to this icon, will be able to see it in Web ICA session.&#160;&#160; </li>
</ol>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8211;Finish&#8211;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdaslam.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdaslam.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdaslam.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdaslam.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdaslam.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdaslam.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdaslam.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdaslam.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdaslam.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdaslam.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdaslam.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdaslam.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdaslam.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdaslam.wordpress.com/351/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=351&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdaslam.wordpress.com/2010/08/25/xenapp-publishing-streaming-package/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa00c80ac501bca8baa7b7ee13489ce3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdaslam</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/06/image_thumb.png?w=244&#38;h=217" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/06/image_thumb1.png?w=244&#38;h=136" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb18.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/06/image_thumb3.png?w=453&#38;h=405" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb19.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb20.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb21.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb22.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb23.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb24.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb25.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb26.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb27.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb28.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb29.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb30.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb31.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb32.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>XenApp: Application Streaming package creation</title>
		<link>http://mdaslam.wordpress.com/2010/08/18/xenapp-application-streaming-package-creation/</link>
		<comments>http://mdaslam.wordpress.com/2010/08/18/xenapp-application-streaming-package-creation/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 08:05:00 +0000</pubDate>
		<dc:creator>Mohd Aslam</dc:creator>
				<category><![CDATA[Citrix XenApp]]></category>
		<category><![CDATA[XenApp; Application Streaming; Application profile; Application isolation]]></category>

		<guid isPermaLink="false">https://mdaslam.wordpress.com/2010/08/18/xenapp-application-streaming-package-creation/</guid>
		<description><![CDATA[Streaming is the virtualization technique. It enables applications to be delivered to client devices and run in a protected, virtual environment.&#160; Applications are managed in a centralized Application Hub, but are streamed to the client device and run in an isolation environment.&#160; Applications become an on-demand service that is always available and up-to-date. Streaming package [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=320&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Streaming is the virtualization technique. It enables applications to be delivered to client devices and run in a protected, virtual environment.&#160; Applications are managed in a centralized Application Hub, but are streamed to the client device and run in an isolation environment.&#160; Applications become an on-demand service that is always available and up-to-date. </p>
<p>Streaming package needs to be created using the Streaming profiler. Once created successfully, it needs to be published for the user community</p>
<p>For explaining the package creation steps, I am creating streaming package for MS Word component of MS office. You can select any component of MS office or if you want, you can select all components.</p>
<p><strong>Steps to create streaming package:</strong></p>
<ol>
<li>Create a shared location like {\\ServerName\\Apps\App_Profiles\} to store the final streaming packages. </li>
<li>Streaming package is created using Streaming Profiler. To run streaming profiler go to {All Programs &gt; Citrix &gt; Streaming Profiler} and click on Streaming Profiler. Following screen will appear:<a href="http://mdaslam.files.wordpress.com/2010/07/image.png"><img title="image" style="display:inline;border-width:0;" height="256" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb.png?w=364&#038;h=256" width="364" border="0" /></a> </li>
<li>Click on New Profile button, following screen will appear: Enter Profile name as “MSOffice – Word” and Click Next.<a href="http://mdaslam.files.wordpress.com/2010/07/image1.png"><img title="image" style="display:inline;border-width:0;" height="328" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb1.png?w=440&#038;h=328" width="440" border="0" /></a> </li>
<li>Select radio button for “Relaxed security” and click Next.<a href="http://mdaslam.files.wordpress.com/2010/07/image2.png"><img title="image" style="display:inline;border-width:0;" height="397" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb2.png?w=439&#038;h=397" width="439" border="0" /></a> </li>
<li>Some applications are designed to interface directly with other applications to provide interoperability and extended functionality. Use this page to set up Inter-Isolation Communication in which profiled applications can communicate on the client device. Click Browse to locate your other profiles. Select the profiles to add and use the buttons to rank the selected profiles in order of priority, top being the highest rank. If you don’t want to set up Inter-Isolation Communication, click Next.<a href="http://mdaslam.files.wordpress.com/2010/07/image3.png"><img title="image" style="display:inline;border-width:0;" height="413" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb3.png?w=457&#038;h=413" width="457" border="0" /></a> </li>
<li>Select the checkbox for the target operating system and languages, and click Next. You can also select multiple values. <a href="http://mdaslam.files.wordpress.com/2010/07/image4.png"><img title="image" style="display:inline;border-width:0;" height="410" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb4.png?w=453&#038;h=410" width="453" border="0" /></a> </li>
<li>&#160; Select radio button for “Advanced Install” and click Next. Note: For simple install we can also select “Quick Install” option.<a href="http://mdaslam.files.wordpress.com/2010/07/image5.png"><img title="image" style="display:inline;border-width:0;" height="413" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb5.png?w=457&#038;h=413" width="457" border="0" /></a> </li>
<li>Select the radio button for “Run install program or command line script” and click Next.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Note: As per the below screen, following options are available: 1) Run install program or command line script – This is required for first time installation or for multiple installation for the same package.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2) Install IE plugins, web application, or online updated -&#160; It is required, if you want to install IE plugins or Microsoft updates.&#160; 3) Select files and folders &#8211; This is required to change/update {addition and deletion of files are allowed} or to view the file/folder structure.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4) Edit Registry – This is required to edit the registry entry.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 5) Continue with none of the above<a href="http://mdaslam.files.wordpress.com/2010/07/image6.png"><img title="image" style="display:inline;border-width:0;" height="404" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb6.png?w=447&#038;h=404" width="447" border="0" /></a> </li>
<li>Select the installation program / command line script and click Next. For EXE, just select the exe location. For MSI, use meiexec /i with MSI location. <a href="http://mdaslam.files.wordpress.com/2010/07/image7.png"><img title="image" style="display:inline;border-width:0;" height="403" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb7.png?w=446&#038;h=403" width="446" border="0" /></a> </li>
<li>Click on “Launch Installer” button as shown below<a href="http://mdaslam.files.wordpress.com/2010/07/image8.png"><img title="image" style="display:inline;border-width:0;" height="406" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb8.png?w=446&#038;h=406" width="446" border="0" /></a>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Application setup will start running. Follow all the setup steps and finish the application installation. </li>
<li>On application installation completion, following screen will appear, Select the radio button for “Finish Installations”.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Note: For additional actions, radio button for “Perform additional installations” can be selected. <a href="http://mdaslam.files.wordpress.com/2010/07/image9.png"><img title="image" style="display:inline;border-width:0;" height="408" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb9.png?w=450&#038;h=408" width="450" border="0" /></a> </li>
<li>Below screen will appear, containing the list of applications that are installed on this package. You can select application from this list and click on “Run” button to run that application. Some application requires some settings to be done after launching it for the first time. Those type of activities can be done using this screen.<a href="http://mdaslam.files.wordpress.com/2010/07/image10.png"><img title="image" style="display:inline;border-width:0;" height="403" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb10.png?w=449&#038;h=403" width="449" border="0" /></a> </li>
<li>Once the application is executed in above step for the first time, exit the application and its status will be changed to “Application Run” as shown below: <a href="http://mdaslam.files.wordpress.com/2010/07/image11.png"><img title="image" style="display:inline;border-width:0;" height="413" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb11.png?w=455&#038;h=413" width="455" border="0" /></a> </li>
<li>If you want to add/modify/delete any application, use the below screen: Click Next<a href="http://mdaslam.files.wordpress.com/2010/07/image12.png"><img title="image" style="display:inline;border-width:0;" height="408" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb12.png?w=458&#038;h=408" width="458" border="0" /></a> </li>
<li>You can sign the profile using below screen: Click Next<a href="http://mdaslam.files.wordpress.com/2010/07/image13.png"><img title="image" style="display:inline;border-width:0;" height="413" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb13.png?w=455&#038;h=413" width="455" border="0" /></a> </li>
<li>Profile summary will appear in the below screen. Click Finish to finish the profile creation.<a href="http://mdaslam.files.wordpress.com/2010/07/image14.png"><img title="image" style="display:inline;border-width:0;" height="407" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb14.png?w=455&#038;h=407" width="455" border="0" /></a> </li>
<li>On successful creation of profile, following main screen will appear. Click on the save button as shown in circle in below screenshot to save the profile:<a href="http://mdaslam.files.wordpress.com/2010/07/image15.png"><img title="image" style="display:inline;border-width:0;" height="311" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb15.png?w=412&#038;h=311" width="412" border="0" /></a> </li>
<li>After clicking save button, following screen will appear: Enter shared path as per step 1 and click “Save”. Profile will be saved to the shared location.<a href="http://mdaslam.files.wordpress.com/2010/07/image16.png"><img title="image" style="display:inline;border-width:0;" height="156" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb16.png?w=329&#038;h=156" width="329" border="0" /></a> </li>
<li>Resultant Folder structure of profile as saved at shared location: <a href="http://mdaslam.files.wordpress.com/2010/07/image17.png"><img title="image" style="display:inline;border-width:0;" height="184" alt="image" src="http://mdaslam.files.wordpress.com/2010/07/image_thumb17.png?w=455&#038;h=184" width="455" border="0" /></a>&#160; Please note the files “MSOffice – Word.profile” and a cab file. *.profile file contains the information about application installed and&#160; cab file contains all the files and folder with proper structure. To see all files and folder, rename it to *.zip and open it. </li>
</ol>
<p>For installation time using streaming and traditional technique, refer to the link:&#160; </p>
<p><a title="http://mdaslam.wordpress.com/2009/09/16/installation-time-study-using-citrix-streaming-and-traditional-installation-techniques/" href="http://mdaslam.wordpress.com/2009/09/16/installation-time-study-using-citrix-streaming-and-traditional-installation-techniques/">http://mdaslam.wordpress.com/2009/09/16/installation-time-study-using-citrix-streaming-and-traditional-installation-techniques/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdaslam.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdaslam.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdaslam.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdaslam.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdaslam.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdaslam.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdaslam.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdaslam.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdaslam.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdaslam.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdaslam.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdaslam.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdaslam.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdaslam.wordpress.com/320/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=320&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdaslam.wordpress.com/2010/08/18/xenapp-application-streaming-package-creation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa00c80ac501bca8baa7b7ee13489ce3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdaslam</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb7.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb8.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb9.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb10.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb11.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb12.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb13.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb14.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb15.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb16.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/07/image_thumb17.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>XenApp: Automated content publish in XenApp</title>
		<link>http://mdaslam.wordpress.com/2010/08/11/xenapp-automated-content-publish-in-xenapp/</link>
		<comments>http://mdaslam.wordpress.com/2010/08/11/xenapp-automated-content-publish-in-xenapp/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 23:37:00 +0000</pubDate>
		<dc:creator>Mohd Aslam</dc:creator>
				<category><![CDATA[Citrix XenApp]]></category>
		<category><![CDATA[XenApp; Application Content publishing; Automated content publish; Powershell and Citrix]]></category>

		<guid isPermaLink="false">https://mdaslam.wordpress.com/2010/08/11/xenapp-automated-content-publish-in-xenapp/</guid>
		<description><![CDATA[Purpose: To publish content like “www.google.com” in XenApp automatically using PowerShell script. Pre-requisite: Following are the prerequisites for setting up the environment to execute PowerShell script to publish application in XenApp: .Net Framework 3.5 SP1 {Download it from Microsoft website} Microsoft PowerShell 1.0 {Download it from Microsoft website} XenApp Command technology preview{Download it from citrix [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=262&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Purpose:</strong></p>
<p>To publish content like “www.google.com” in XenApp automatically using PowerShell script.</p>
<p><strong>Pre-requisite:</strong></p>
<p>Following are the prerequisites for setting up the environment to execute PowerShell script to publish application in XenApp:</p>
<ol>
<li>.Net Framework 3.5 SP1 {Download it from Microsoft website} </li>
<li>Microsoft PowerShell 1.0 {Download it from Microsoft website} </li>
<li>XenApp Command technology preview{Download it from citrix site: <a title="https://www.citrix.com/English/ss/downloads/details.asp?downloadId=1687620&amp;productId=186#top" href="https://www.citrix.com/English/ss/downloads/details.asp?downloadId=1687620&amp;productId=186#top">https://www.citrix.com/English/ss/downloads/details.asp?downloadId=1687620&amp;productId=186#top</a>} : These commands are a PowerShell Tool Pack that allows managing most aspects related to XenApp.&#160; They cover all of MFCOM functionality for features available in XenApp 5 and include functionality from both AMC and CMC. </li>
</ol>
<p>Install all the above components in the given order onto the XenApp environment.</p>
<p><strong>Solution:</strong>&#160;</p>
<p>Below script is the solution. It has four parts:</p>
<li>Creation of input box for application information &#8211; {Line 10 – 99} </li>
<li>Creation of new folder under Applications folder {Applications/Test} &#8211; {Line 106} </li>
<li>Publishing content &#8211; {Line 108 &#8211; 115} </li>
<li>Addition of users/groups to the application –{Line 117-118}
<p><strong>Script:</strong></p>
<p id="codeSnippetWrapper">
<div id="codeSnippet" style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;height:1895px;background-color:#f4f4f4;text-align:left;border-style:none;padding:0;">
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum1" style="color:#606060;">   1:</span> <span style="color:#008000;"># =========================================================</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum2" style="color:#606060;">   2:</span> <span style="color:#008000;"># </span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum3" style="color:#606060;">   3:</span> <span style="color:#008000;"># AUTHOR: Mohd Aslam</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum4" style="color:#606060;">   4:</span> <span style="color:#008000;"># DATE  : 7/15/2010</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum5" style="color:#606060;">   5:</span> <span style="color:#008000;"># </span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum6" style="color:#606060;">   6:</span> <span style="color:#008000;"># COMMENT: This script will publish content like website in </span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum7" style="color:#606060;">   7:</span> <span style="color:#008000;">#          XenApp</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum8" style="color:#606060;">   8:</span> <span style="color:#008000;"># </span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum9" style="color:#606060;">   9:</span> <span style="color:#008000;"># =========================================================</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum10" style="color:#606060;">  10:</span> [void] [System.Reflection.Assembly]::LoadWithPartialName(</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum11" style="color:#606060;">  11:</span> <span style="color:#006080;">&quot;System.Drawing&quot;</span>) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum12" style="color:#606060;">  12:</span> [void] [System.Reflection.Assembly]::LoadWithPartialName(</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum13" style="color:#606060;">  13:</span> <span style="color:#006080;">&quot;System.Windows.Forms&quot;</span>) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum14" style="color:#606060;">  14:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum15" style="color:#606060;">  15:</span> $objForm = New-Object System.Windows.Forms.Form </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum16" style="color:#606060;">  16:</span> $objForm.Text = <span style="color:#006080;">&quot;Server Desktop publish information&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum17" style="color:#606060;">  17:</span> $objForm.Size = New-Object System.Drawing.Size(430,200) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum18" style="color:#606060;">  18:</span> $objForm.StartPosition = <span style="color:#006080;">&quot;CenterScreen&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum19" style="color:#606060;">  19:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum20" style="color:#606060;">  20:</span> $objForm.KeyPreview = $True</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum21" style="color:#606060;">  21:</span> $objForm.Add_KeyDown({<span style="color:#0000ff;">if</span> ($_.KeyCode -eq <span style="color:#006080;">&quot;Enter&quot;</span>) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum22" style="color:#606060;">  22:</span>     {$x=$objTextBox.Text;$objForm.Close()}})</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum23" style="color:#606060;">  23:</span> $objForm.Add_KeyDown({<span style="color:#0000ff;">if</span> ($_.KeyCode -eq <span style="color:#006080;">&quot;Escape&quot;</span>) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum24" style="color:#606060;">  24:</span>     {$objForm.Close()}})</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum25" style="color:#606060;">  25:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum26" style="color:#606060;">  26:</span> $OKButton = New-Object System.Windows.Forms.Button</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum27" style="color:#606060;">  27:</span> $OKButton.Location = New-Object System.Drawing.Size(190,140)</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum28" style="color:#606060;">  28:</span> $OKButton.Size = New-Object System.Drawing.Size(75,23)</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum29" style="color:#606060;">  29:</span> $OKButton.Text = <span style="color:#006080;">&quot;OK&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum30" style="color:#606060;">  30:</span> $OKButton.Add_Click(</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum31" style="color:#606060;">  31:</span> {</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum32" style="color:#606060;">  32:</span> $AppName=$objAppName.Text;</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum33" style="color:#606060;">  33:</span> $AppUsers=$objAppUsers.Text;</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum34" style="color:#606060;">  34:</span> $AppCons=$objAppCons.Text;</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum35" style="color:#606060;">  35:</span> $objForm.Close()</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum36" style="color:#606060;">  36:</span> }</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum37" style="color:#606060;">  37:</span> )</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum38" style="color:#606060;">  38:</span> $objForm.Controls.Add($OKButton)</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum39" style="color:#606060;">  39:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum40" style="color:#606060;">  40:</span> $CancelButton = New-Object System.Windows.Forms.Button</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum41" style="color:#606060;">  41:</span> $CancelButton.Location = New-Object System.Drawing.Size(290,140)</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum42" style="color:#606060;">  42:</span> $CancelButton.Size = New-Object System.Drawing.Size(75,23)</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum43" style="color:#606060;">  43:</span> $CancelButton.Text = <span style="color:#006080;">&quot;Cancel&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum44" style="color:#606060;">  44:</span> $CancelButton.Add_Click(</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum45" style="color:#606060;">  45:</span> {</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum46" style="color:#606060;">  46:</span> $objForm.Close()</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum47" style="color:#606060;">  47:</span> }</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum48" style="color:#606060;">  48:</span> )</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum49" style="color:#606060;">  49:</span> $objForm.Controls.Add($CancelButton)</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum50" style="color:#606060;">  50:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum51" style="color:#606060;">  51:</span> $objLabel = New-Object System.Windows.Forms.Label</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum52" style="color:#606060;">  52:</span> $objLabel.Location = New-Object System.Drawing.Size(10,15) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum53" style="color:#606060;">  53:</span> $objLabel.Size = New-Object System.Drawing.Size(280,20) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum54" style="color:#606060;">  54:</span> $objLabel.Text = <span style="color:#006080;">&quot;Please enter the information in the space below:&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum55" style="color:#606060;">  55:</span> $objForm.Controls.Add($objLabel) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum56" style="color:#606060;">  56:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum57" style="color:#606060;">  57:</span> $objLbl_AppName = New-Object System.Windows.Forms.Label</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum58" style="color:#606060;">  58:</span> $objLbl_AppName.Location = New-Object System.Drawing.Size(10,40) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum59" style="color:#606060;">  59:</span> $objLbl_AppName.Size = New-Object System.Drawing.Size(160,20) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum60" style="color:#606060;">  60:</span> $objLbl_AppName.Text = <span style="color:#006080;">&quot;Publish Name:&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum61" style="color:#606060;">  61:</span> $objForm.Controls.Add($objLbl_AppName) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum62" style="color:#606060;">  62:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum63" style="color:#606060;">  63:</span> $objAppName = New-Object System.Windows.Forms.TextBox </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum64" style="color:#606060;">  64:</span> $objAppName.Location = New-Object System.Drawing.Size(190,40) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum65" style="color:#606060;">  65:</span> $objAppName.Size = New-Object System.Drawing.Size(205,20) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum66" style="color:#606060;">  66:</span> $objForm.Controls.Add($objAppName) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum67" style="color:#606060;">  67:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum68" style="color:#606060;">  68:</span> $objLbl_AppCon = New-Object System.Windows.Forms.Label</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum69" style="color:#606060;">  69:</span> $objLbl_AppCon.Location = New-Object System.Drawing.Size(10,70) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum70" style="color:#606060;">  70:</span> $objLbl_AppCon.Size = New-Object System.Drawing.Size(160,20) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum71" style="color:#606060;">  71:</span> $objLbl_AppCon.Text = <span style="color:#006080;">&quot;Content:&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum72" style="color:#606060;">  72:</span> $objForm.Controls.Add($objLbl_AppCon) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum73" style="color:#606060;">  73:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum74" style="color:#606060;">  74:</span> $objAppCons = New-Object System.Windows.Forms.TextBox </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum75" style="color:#606060;">  75:</span> $objAppCons.Location = New-Object System.Drawing.Size(190,70) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum76" style="color:#606060;">  76:</span> $objAppCons.Size = New-Object System.Drawing.Size(205,20) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum77" style="color:#606060;">  77:</span> $objForm.Controls.Add($objAppCons) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum78" style="color:#606060;">  78:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum79" style="color:#606060;">  79:</span> $objLbl_AppUsers = New-Object System.Windows.Forms.Label</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum80" style="color:#606060;">  80:</span> $objLbl_AppUsers.Location = New-Object System.Drawing.Size(10,100) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum81" style="color:#606060;">  81:</span> $objLbl_AppUsers.Size = New-Object System.Drawing.Size(160,20) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum82" style="color:#606060;">  82:</span> $objLbl_AppUsers.Text = <span style="color:#006080;">&quot;Application Users*:&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum83" style="color:#606060;">  83:</span> $objForm.Controls.Add($objLbl_AppUsers) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum84" style="color:#606060;">  84:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum85" style="color:#606060;">  85:</span> $objAppUsers = New-Object System.Windows.Forms.TextBox </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum86" style="color:#606060;">  86:</span> $objAppUsers.Location = New-Object System.Drawing.Size(190,100) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum87" style="color:#606060;">  87:</span> $objAppUsers.Size = New-Object System.Drawing.Size(205,20) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum88" style="color:#606060;">  88:</span> $objForm.Controls.Add($objAppUsers) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum89" style="color:#606060;">  89:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum90" style="color:#606060;">  90:</span> $objLbl_Server = New-Object System.Windows.Forms.Label</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum91" style="color:#606060;">  91:</span> $objLbl_Server.Location = New-Object System.Drawing.Size(10,120) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum92" style="color:#606060;">  92:</span> $objLbl_Server.Size = New-Object System.Drawing.Size(180,20) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum93" style="color:#606060;">  93:</span> $objLbl_Server.Text = <span style="color:#006080;">&quot;*: Enter ';' separated data if any&quot;</span></pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum94" style="color:#606060;">  94:</span> $objForm.Controls.Add($objLbl_Server) </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum95" style="color:#606060;">  95:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum96" style="color:#606060;">  96:</span> $objForm.Topmost = $True</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum97" style="color:#606060;">  97:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum98" style="color:#606060;">  98:</span> $objForm.Add_Shown({$objForm.Activate()})</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum99" style="color:#606060;">  99:</span> [void] $objForm.ShowDialog()</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum100" style="color:#606060;"> 100:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum101" style="color:#606060;"> 101:</span> If($AppCons.Substring(0,3) -eq <span style="color:#006080;">&quot;www&quot;</span>)</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum102" style="color:#606060;"> 102:</span> {</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum103" style="color:#606060;"> 103:</span>     $AppCons = <span style="color:#006080;">&quot;http://&quot;</span> + $AppCons</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum104" style="color:#606060;"> 104:</span> }</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum105" style="color:#606060;"> 105:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum106" style="color:#606060;"> 106:</span> New-XAFolder Applications/Desktops</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum107" style="color:#606060;"> 107:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum108" style="color:#606060;"> 108:</span> New-XAApplication -BrowserName $AppName `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum109" style="color:#606060;"> 109:</span> -ApplicationType <span style="color:#006080;">&quot;Content&quot;</span> `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum110" style="color:#606060;"> 110:</span> -ContentAddress $AppCons `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum111" style="color:#606060;"> 111:</span> -DisplayName $AppName -FolderPath <span style="color:#006080;">&quot;Applications/Desktops&quot;</span> `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum112" style="color:#606060;"> 112:</span> -Enabled $<span style="color:#0000ff;">true</span> `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum113" style="color:#606060;"> 113:</span> -AnonymousConnectionsAllowed $<span style="color:#0000ff;">false</span> `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum114" style="color:#606060;"> 114:</span> -AddToClientStartMenu $<span style="color:#0000ff;">false</span> `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum115" style="color:#606060;"> 115:</span> -ClientFolder <span style="color:#006080;">&quot;Desktops&quot;</span>`</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum116" style="color:#606060;"> 116:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:white;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum117" style="color:#606060;"> 117:</span> Add-XAApplicationAccount -BrowserName $AppName `</pre>
<p><!--CRLF--></p>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;direction:ltr;line-height:12pt;font-family:&#039;background-color:#f4f4f4;text-align:left;border-style:none;margin:0;padding:0;"><span id="lnum118" style="color:#606060;"> 118:</span> -Accounts $AppUsers.Split(<span style="color:#006080;">&quot;;&quot;</span>) </pre>
<p><!--CRLF--><!--CRLF--><!--CRLF--></div>
</p>
<p id="codeSnippetWrapper">&#160;<strong>How to Run above script?:</strong></p>
<p>Save above script to some location with .ps1 extension. To Run above script, go to “Programs &gt; Citrix &gt; XenApp Commands” and click “Windows PowerShell with XenApp Commands (CTP2)” icon. It will launch PowerShell command prompt.</p>
<p>On the PowerShell command prompt, write script name with full location and click enter. Script will run and below screen will be displayed:</p>
<p><a href="http://mdaslam.files.wordpress.com/2010/06/image41.png"><img title="image" style="display:inline;border-width:0;" height="196" alt="image" src="http://mdaslam.files.wordpress.com/2010/06/image_thumb41.png?w=392&#038;h=196" width="392" border="0" /></a> </p>
<p>Enter all the required data and click “Ok”. For application users, multiple data can be entered separated by “;”.</p>
<p>Following screen will be displayed containing information about the published content. </p>
<p><a href="http://mdaslam.files.wordpress.com/2010/06/image42.png"><img title="image" style="display:inline;border-width:0;" height="510" alt="image" src="http://mdaslam.files.wordpress.com/2010/06/image_thumb42.png?w=446&#038;h=510" width="446" border="0" /></a> </p>
<p>To confirm the successful publish, go to access management console and see the published icon as:</p>
<p><a href="http://mdaslam.files.wordpress.com/2010/06/image43.png"><img title="image" style="display:inline;border-width:0;" height="59" alt="image" src="http://mdaslam.files.wordpress.com/2010/06/image_thumb43.png?w=251&#038;h=59" width="251" border="0" /></a> </p>
<p>Right click on Web-Contents icon and see the properties as below:</p>
<p><a href="http://mdaslam.files.wordpress.com/2010/06/image44.png"><img title="image" style="display:inline;border-width:0;" height="343" alt="image" src="http://mdaslam.files.wordpress.com/2010/06/image_thumb44.png?w=435&#038;h=343" width="435" border="0" /></a> </p>
<p>&#160;</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8211;Finish&#8211;</p>
</p>
</li>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdaslam.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdaslam.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdaslam.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdaslam.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdaslam.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdaslam.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdaslam.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdaslam.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdaslam.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdaslam.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdaslam.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdaslam.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdaslam.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdaslam.wordpress.com/262/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdaslam.wordpress.com&amp;blog=9355754&amp;post=262&amp;subd=mdaslam&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdaslam.wordpress.com/2010/08/11/xenapp-automated-content-publish-in-xenapp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fa00c80ac501bca8baa7b7ee13489ce3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mdaslam</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/06/image_thumb41.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/06/image_thumb42.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/06/image_thumb43.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mdaslam.files.wordpress.com/2010/06/image_thumb44.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
	</channel>
</rss>
