[THIN] Re: Published apps NT4 TSE + 1.8

  • From: "Rick Mack" <Rick.Mack@xxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Thu, 29 Jul 2004 22:12:47 +1000

Hi Ryan,

Wrote this up a while ago, should help.

MetaFrame 1.8 published applications can be backed up in a form that
would allow them to be "restored" or recreated in the MetaFrame XP farm.
This operation uses 3 utilities from the Citrix Server Software
Development Kit version 2.2 (CSSDK), export.exe, enum.exe and
newapp.exe.

Note: On MetaFrame 1.8, while enum and export appear to work properly,
they will only list/export published applications listed on the local
server under:

        HKLM\System\CurrentControlSet\Control\Citrix\ManagedApplications

As a result, the published application list/export will have to be done
on more than one server, and the applications list will need to be
checked for completeness against the Farm applications listed by the
published application manager (appcfg.exe).

Enum lists all published applications. It is run at the command line and
the output can be modified to produce an apps list file for automation
purposes, eg.

        For /f "tokens=3 delims=\" %i in ('enum ^| find "Applications"')
do @echo %i >> xp_appslist.txt

Export can produce an APP file, which is basically an application
descriptor file that can be used to re-create a published application.

The syntax of the export command is:
        Export app_name /ea App_filename eg
        Export "\Applications\Travel System" /ea "Travel System.app"

Or if we automate this, we can use the apps list above xp_appslist.txt
list as follows:

        For /f " "tokens=1 delims=:" %i in (xp_applist.txt) do export
"\Applications\%i" /ea "%i.app"

This will produce a published_appname.app file for each of the published
applications.

Newapp is used to create a published application. It uses the syntax:

        Newapp published_appname.app

This allows us to use xp_appslist.txt above to recreate the published
applications in the MetaFrame XP. For example, from a server in the 1.8
farm copy the utilities, the *.app files and xp_appslist.txt to a
temporary directory.

Then run:

For /f "tokens=1 delims=:" %i in (xp_applist.txt) do newapp "%i.app"

Appfile Conversion between Metaframe 1.8 and Metaframe XP

Note that the format of the *.app file used by metaframe XP and
Metaframe 1.8 are slightly different. To use newapp to port 1.8
published applications to Metaframe XP, the following changes will have
to be made.

In the MetaFrame 1.8 *.app file the published application command line
and working directory are appended to the server name, eg

        ServerList = "Server1", " C:\Program Files\Microsoft
Office\Office\Msaccess.exe" "C:\Access_Apps\travel
system\travelsystem.mdb", "C:\Access_Apps\travel system";

In MetaFrame XP, these parameters are defined separately, eg

      BeginApplication
      .
      .
      DefaultInitialProgram C:\Program Files\Microsoft
Office\Office\Msaccess.exe" "C:\Access_Apps\travel
system\travelsystem.mdb"
      DefaultWorkingDirectory = "C:\Access_Apps\travel system"

Ported several hundred apps this way without problems.

It's also fairly easy to convert IMS 1.0 (for NT 4.0) ADF installer
packages to 2003 if you're careful, but that's another story.

About the only major issue is JET differences, since 2003 support Jet
4.0 only be default. So you've got to install Jet 3.5 components on to
2003 to take care of this.

Regards,

Rick
 
Ulrich Mack
Volante Systems Ltd
18 Heussler Terrace, Milton 4064
Queensland Australia.
Ph: +61 7 3246 7704
email: rmack@xxxxxxxxxxxxxx
web: www.volante.com.au



-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Ryan Lambert
Sent: Thursday, 29 July 2004 6:05 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Published apps NT4 TSE + 1.8


Hey all,

We're doing a migration of a client's network from completely NT4 to
Windows 2003. We've got a boat load of published applications on their
Metaframe server, and would like an easy way (other than hand writing or
notepad) to extract the application names/paths/users configured.

I'm not too familiar with the inside details of the 1.8 product, so, I
figured I'd take a shot here and see if there is a way to extract this
info.

Anyone know?

Thanks!

--
Ryan Lambert, MCP, CCA
Network Engineer
OnlyOne IS
1242 East 49th St.
Cleveland, OH 44114
Ph/Fax: 216-373-2757
http://www.onlyoneis.com/
http://www.myonlyone.com/
#####################################################################################
This e-mail, including all attachments, may be confidential or privileged.  
Confidentiality or privilege is not waived or lost because this email has been 
sent to you in error.  If you are not the intended recipient any use, 
disclosure or copying of this email is prohibited.  If you have received it in 
error please notify the sender immediately by reply email and destroy all 
copies of this email and any attachments.  All liability for direct and 
indirect loss arising from this email and any attachments is hereby disclaimed 
to the extent permitted by law.
#####################################################################################
********************************************************
This weeks sponsor Emergent Online Thinssentials Utilities
Using the latest software, hardware, networking technologies, proven technical 
expertise, proprietary software and best practices, EOL provides 
custom-tailored solutions for each client?s mission and specific goals.
http://www.go-eol.com
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: