App-V Package Publishing in XenApp 7.8

Purpose –

The purpose of this blog post is to state the steps required to publish virtualized package created using Microsoft App-V in Citrix XenApp 7.8.

App-V Package Publish Steps for XenApp 7.8 –

Follow the below steps –

1. Launch “Citrix Studio”.

2. Go to the node Configuration -> App-V Publishing. Right click on “App-V Publishing”. Click on Add Package.

image

3. It will open window to browse App-V package (.appv) file. Select the file with extension “.appv” and click Open.

image

Below screen will appear…

image

On successful addition of package, below screen will appear:

image

4. Now, go to the “Applications” node, right click it and select “Add Applications” option as shown below –

image

5. Below screen will appear. Click Next.

image

6. Select the “Delivery group” where the virtualized application will be delivered.

image

7. Click on Add button and select the “App-V..” option as shown below –

 image

Below screen will be displayed. It will show the list of App-V packages we add before. Select the respective one and click Ok. It will close the below screen and will take the control to the above screen. Click Next and it will take to the summary screen and click finish to add the application.

image

8. Once the application is added, right click on the added application and select the properties to add the users for its access control. Below screen will appear.

image

Add the required users as shown below –

image

Application is now published in XenApp 7.8 and is now ready to use.

App-V troubleshooting–Error Code “04-0000180B”

Sometimes when you are trying to access the sequenced application from the file share, you might get the below error message:

 

clip_image002

To get rid of the above error message, follow the below steps:

  1. Go to Run prompt and type “Regedit”. Press Enter.
  2. Registry editor will open. Go to the location HKLM\SOFTWARE\Microsoft\SoftGrid\4.5\Client\Configuration and set the value of the key “AllowIndependentFileStreaming" to 1 as shown below:          

image 

            The default value is 0.

How to publish App-V package in XenApp 6 : {XenApp 6 –App-V integration}

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:

  1. 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 http://msdn.microsoft.com/en-us/subscriptions/downloads/default.aspx}
  2. Sequenced package for WinZip created using Microsoft App-V 4.6 SP1 sequencer in some shared location.
  3. Citrix App-V Integration Kit. (Download: http://citrix.com/English/ss/downloads/details.asp?downloadId=2310183&productId=1689163&ntref=clientcenter#top ) 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.

Solution:

First step is to install pre-requisite 1 {App-V client for remote desktop services SP1} in XenApp 6 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: {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.}

<CODEBASE HREF=”\\ServerName\WinZip\Winzip.sft” GUID=”D81A77E4-9134-4607-B900-224AA5286D16″ PARAMETERS=”” FILENAME=”WinZip\WINZIP32.EXE” SYSGUARDFILE=”WinZip\osguard.cp” SIZE=”40241038″/>

Keep the default value of other parameters.

Next step is to publish it in XenApp 6 environment. Below are the steps:

  1. Welcome screen: Click Next clip_image002
  2. Enter the text “Winzip” to the Display name and application description textbox. Click Next.clip_image002[5]
  3. 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 Nextclip_image002[7]
  4. 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.image
  5. Keep the default option and click Next. clip_image002[9]
  6. Location screen: Input the following information:            Command line: “C:\\Program Files\Microsoft Application Virtualization Client\sfttray.exe” “\\AppVServer\AppVPackages\WinZip\WinZip 25.0.9468.0.osd”.  Working directory: “C:\\Program Files\Microsoft Application Virtualization Client”. Click Nextimage
  7. Server screen: Add the list of server/s, where you need to run the publish application.
  8. Users screen: Add the list of users who will have rights on the published application.
  9. 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. image
  10. Select the icon file and click Open.clip_image002[11]
  11. Following screen will appear. Select the required icon. Click Ok.clip_image002[13]
  12. Enter Client application Folder. Click Nextclip_image002[15]
  13. Published immediately screen: Click finish to finish the publishing of App-V sequenced package.

Quick Test:

Open the command window in XenApp and write the command

“c:\Program Files (x86)\Microsoft Application Virtualization Client\sfttray.
exe” “\\server\AppVPackages\WinZip\WinZip.sft”

image
Note: Path of sfttray.exe will depend on the 64 bit or 32 bit OS.

It should launch the application successfully.

image

Logic in Conduit utility (profiled application) provided by Citrix:

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:

image

Citrix has provided source code of Conduit utility so if we need to modify it for our needs, we can do it.

—End of Article—

How to publish App-V package in XenApp 4.5

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:

  1. 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 http://msdn.microsoft.com/en-us/subscriptions/downloads/default.aspx}
  2. Sequenced package for WinZip created using Microsoft App-V 4.6 SP1 sequencer in some shared location.

Solution:

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:   

<CODEBASE HREF=”\\ServerName\WinZip\Winzip.sft" GUID="D81A77E4-9134-4607-B900-224AA5286D16" PARAMETERS="" FILENAME="WinZip\WINZIP32.EXE" SYSGUARDFILE="WinZip\osguard.cp" SIZE="40241038"/>

Keep the default value of other parameters.

Next step is to publish it in XenApp 4.5 environment. Below are the steps:

  1. Welcome Screen: Click Next.image
  2. Enter the Display name and application description as “WinZipAppV”. Click Next.image
  3. 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. image
  4. This step is the core step:                                                         Add Command line as "C:\Program Files\Microsoft Application Virtualization Client\sfttray.exe" “\\Server\WinZip\WinZip 25.0.9468.0.osd”. Working directory as “C:\Program Files\Microsoft Application Virtualization Client”. Click Next.image
  5. Now follow the rest of publishing steps to fully publish the App-V package. You can refer to the article at https://mdaslam.wordpress.com/2010/06/10/application-publish-in-xenapp/ for rest of the steps.

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.

image

                            –End of Article–