Professional Documents
Culture Documents
Custom Transform Files
Custom Transform Files
Version History
Introduction....................................................................................................................................................... 1
Prerequisites ...................................................................................................................................................... 1
How to Obtain the Orca Editor and the Windows Installer 2.0 Update....................................................................... 2
Orca Editor .................................................................................................................................................... 2
Windows Installer 2.0...................................................................................................................................... 4
Prerequisites
• One workstation or member server (Windows 2000 workstation, Windows 2000 member server, or Windows XP
Pro) for editing and creating an MST file.
• One Windows 2000 Server with Service Pack 2 on which to install Feature Release 2 (FR2).
• Microsoft’s Orca Editor
• Windows Installer 2.0
• Access to Feature Release 2 (either network or CD access)
• Access to Appendix B of the MetaFrame XP 1.0 Feature Release 2 Administrators Guide
NOTE: You can perform all of the steps in this exercise on the same server.
3. In the right window pane, select Install this SDK! After you select the link, you are redirected to the Confirm
Install Selections Web page. Your server is scanned for any existing components.
5. Click the Continue button on the right side of the screen to start the download. This download will include the
following components:
• Windows Installer SDK Documentation
• Windows Installer development files (.h, .lib)
• Sample MSI files
• Sample scripts for working with MSI
• Orca Database Editing Tool
• MSIVal2 tool database validation tool
• Code samples
Before the download starts, you will be notified that the Installer has privileged access to your server and to download
the SDK only from the Microsoft Web site. If you are downloading from the Microsoft Web site, click OK (see bitmap
below).
Double-click the MSI package to install it on the server where you will install FR2.
NOTE: Make sure you install the MSI package before you contine.
Double-click the new entry to start the editor. When you start the editor, the following dialog box appears:
The Orca Editor is very similar in look and usage to the Registry Editor. When you open an MSI file, the “keys” are
opened in the left window pane and the properties and values are listed in the right window pane. To change a value,
double-click a property and type a new value.
Note that the left pane is populated with the various data tables that make up the MSI package. Next we want to apply an
existing transform file to the MSI package and modify it for our needs. To do this, select Apply Transform from the
Transform pull-down menu. You need to select a transform that you want to apply to the MSI file. Select the
localdb_access_create.mst file from the Support\Install directory on your FR2 server CD. Once you do this, scroll down
through the left window pane to the Property table. Note the colored vertical bar next to Property.
The right window pane is now populated with properties and values. Notice that some of the values have a colored
outline. The Citrix sample MST files do this to show you which properties need to be changed. These properties and
acceptable values are described in Appendix B of the Feature Release 2 Administrators Guide. Take time to review
Appendix B and familiarize yourself with the available properties, their definitions, and acceptable values.
Now that you have reviewed Appendix B, you need to change the required entries for creating a new farm with an
Access database. To change the values, double-click the existing value and enter the appropriate new value.
The values to change for the first server in a farm using an Access database are listed below.
CTX_MF_NEW_FARM_NAME – Specify the name of your new farm here.
CTX_MF_USER_NAME – This is the user name for the initial Citrix administrator credentials.
CTX_MF_DOMAIN_NAME – This is the machine or domain name for the above entry.
CTX_MF_SERVER_TYPE – Specify the version of MetaFrame to install: XPs, XPa, or XPe.
CTX_MF_PRODUCT_CODE – Add the appropriate product code for the CTX_MF_SERVER_TYPE selection.
You now have the Properties wizard for your DSN file to specify the appropriate properties. These are the same dialog
boxes that appear during a manual installation of MetaFrame XP. Fill in the appropriate information and finish creating
the file.
NOTE: Click the Test Data Source button to verify the setting before you complete the DSN wizard.
Now you are ready to open the Orca Editor to create your custom transform file.
2. Click File, Open from the pull-down menu (or use the Open Folder shortcut) and select the Mfxp001 MSI file. By
default, this file is in the MetaFrame directory on the CD.
3. Now you want to apply an existing transform file to the MSI package and modify it for your needs. To do this, from
the Transform pull-down menu, select Apply Transform.
5. Scroll to the Properties table entry in the left window pane. As in the Access exercise, there is a colored vertical bar
next to the Property entry.
6. Double-click the Property table. The fields you need to change are outlined in bold. Those entries are:
When the file is loaded, click the Analyze button. This causes the utility to search for any errors in the file and
recommend potential solutions.
Additional Information
Citrix Resources
• “Installing MetaFrame XP,” Chapter 4 of the MetaFrame Feature Release 2 Administrator’s Guide
• “Deploying Feature Release 2 and Service Pack 2,” Chapter 5 of the MetaFrame Feature Release 2 Administrator’s
Guide
Microsoft Resources
• TechNet Article Q223300, “How to Enable Windows Installer Logging”
• TechNet Article Q227091, “Command-Line Switches for the Microsoft Windows Installer Tool”
NOTE: This information is available on the MSDN Web site with a bit more detail at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/app_73eb.asp.)
• Microsoft White Paper, “Software Installation and Maintenance.” Download Siamwp.doc from
http://www.microsoft.com/windows2000/techinfo/administration/management/siamwp.asp.
This paper presents background and architectural information about the IntelliMirror Software Installation and
Maintenance feature. It is intended for Information Technology planners and administrators who want to understand
how their organizations can benefit from using this feature.
This paper does not provide information about how to use Software Installation and Maintenance. For information
about how to use the feature, see the Windows 2000 Server online Help and the Software Installation and
Maintenance Walkthrough, both of which are available from the Microsoft Windows 2000 Server Web site.
• TechNet Article Q271957, “HOW TO: Determine the Differences Between Two Windows Installer .msi Packages”
CTX_MF_ODBC_PASSWORD
Definition: Password for a third-party database
Possible values: User defined
Default value: “Password”
Update – The default value in the MSI package and MST files is citrix in lower case letters.
CTX_MF_SILENT_DSNFILE
Definition: DSN file for the silent install to be used for the data store
Possible values: Complete path to the DSN file
Default value: “” (null)
Update – The default value in the MSI package and MST files is C:\testsql.dsn.
CTX_MF_LAUNCH_CLIENT_CD_WIZARD
Definition: Specifies whether or not to launch the ICA Client Distribution wizard (to update the ICA Clients on the
MetaFrame server)
Possible values: Yes = launch wizard or No = do not launch wizard; that is, do not update clients
Default value: No
Update – The default value in the MSI package and MST files is Yes.