• View Communities
    • Citrix Communities
      Visit the Citrix Communities to get and share technical information and best practices about desktop delivery, datacenter, networking and cloud computing solutions.
    • Citrix Blogs
      Learn the latest from the Citrix employees who are building the future of virtual computing.
    • Citrix Developer Network
      The place for unfiltered straight talk on Citrix products. Find related blogs, best practices, code downloads, APIs and more.
    • Citrix Ready Community Verified
      Does it work with Citrix? Application compatibility questions are a thing of the past with the new Citrix Community Verified site.
  •  Sign In
Citrix Developer Network

Citrix XenApp Publishing Extensions 2.0

Description

The XenApp Publishing Extensions 2.0 are two tools that enable easy publication of applications to your XenApp 4.5 or 5.0 farm.

The first tool, CitrixXenAppPe, is an updated version of the original version posted by Shannon Ma, who worked for Citrix at tht time.  This tool supports the easy publishing to the farm using an existing shortcut to the application on a server.  Version 2.0 of this tool fixes an issue with publishing from shortcuts that are App-V virtual application shortcuts, an issue that caused the Citrix Published App to have a "black box" for an icon.  A video demo using version 1.0 of the tool exists, and operation remains unchanged in version 2.0.

The second tool, Citrix.XenApp.PublishFromAppV, is a new alternative publishing tool that only works with App-V virtual applications.   This tool supports the easy publishing to the farm using the information already stored in the App-V client.  This tool is started from the start menu, and the interface is just like the shortcut tool, except that it will enumerate the App-V applications present on the server and allow you to select which are to be published.

Both of these tools work with XenApp 4.5 and 5.0, but not 6.0 due to changes in the Citrix SDKs.  When working with App-V, the tools support App-V deployments using App-V 4.1 through at least 4.6, no matter how the App-V apps were deployed (using the App-V Management Server, SCCM is used

Download

Download the Binary Installer Only or download the full source code.

Code Snippet

Note: The fix for icons for App-V may be needed for any application that uses a "launcher" program.  It is possible to further modify the code to support other launchers.  Inside of MfcommAppProvider.cs, you can locate the following line:

if (app.Target.Contains("sfttray.exe") \|\| app.Target.Contains("VAppLauncher.exe"))

which identifies the two launchers used by App-V shortcuts.  Ultimately, the code that follows locates and loads the correct icon, and makes the following call to associated it with the publishing model:

winApp.ReadIconFromFile(iconRef.ToString(), 0);

It should be possible to add an else clause for other launcher programs.

Disclaimer

These software applications are provided to you as is with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. CITRIX AND TMURGENT DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the software application may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software application fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software application. In no event should the code be used to support of ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX, TMURGENT, NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE APPLICATION, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix and TMurgent against any and all claims arising from your use, modification or distribution of the code.

Tags

xenapp codeshare xenapp codeshare Delete
xenapp tools xenapp tools Delete
xenapp scripts xenapp scripts Delete
appv appv Delete
Enter tags to add to this page:
Please wait 
Looking for a tag? Just start typing.
  1. Jun 24, 2010

    Keith Thompson says:

    I downloaded binary installer and tryed to install it on a zone data collec...

    I downloaded binary installer and tryed to install it on a zone data collector in my XenApp 5.0 farm and I got an error "Citrix XenApp Publishing Extension can only be installed on a XenApp 4.5, 5.0 or 6.0 server.  Please rerun this setup on a supported system.

    Any ideas?

    Keith Thompson

    SIG, LLP

  2. Jun 24, 2010

    Timothy Mangan says:

    I did not test against a ZDC, but this probably was an issue with the original c...

    I did not test against a ZDC, but this probably was an issue with the original code from Shannon. The code requires MFCOM access, so perhaps installing the mfcom sdk would suffice.

Related Links