home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-10-09 | 97.6 KB | 2,485 lines |
- ##############################################################################
- # #
- # Copyright (c) Micrografx, Inc., 1991 - 1992. All rights reserved. #
- # Permission to use this work for any purpose must by obtained in writing #
- # from Micrografx, 1303 Arapaho, Richardson, TX. 75081. #
- # #
- ##############################################################################
-
- [MgxMain] ()
- SetText ("\n\n\n\n\n\n~One moment, please...");
- SetIcon (DrawIcon,1,1,"Draw for OS/2");
- LoadManifest;
- SetHelp ("Click CONTINUE to proceed.");
- SetExtHelp (
- "Get ready to install Draw for OS/2! Our easy-to-use
- " installation program will have you up and running in just
- " a few minutes.\n\n
- "Shortly, you will see the Micrografx Installer Main Menu.
- " The Main Menu provides these options for installing Draw for
- " OS/2:\n\n
- "- Update Draw for OS/2 (if applicable). This option updates
- " a previously installed version of Draw for OS/2 and requires
- " little additional disk space.\n\n
- "- Minimum installation. This option installs the minimum
- " number of files and requires about 4 Mb of disk space.\n\n
- "- Full installation. This option installs everything and
- " requires about 18.5 Mb of disk space.\n\n
- "- Custom installation. This option installs the features you
- " choose. Disk space requirements will vary.");
- SetButtons ("&Continue","","",BUTTON1,BUTTON1);
- TextDialog (
- "Welcome to the Micrografx Installer for Draw 3.0 for OS/2.
- " Draw for OS/2 is the fun, fast, and friendly way to draw attention!\n\n
- "Use this program to install Draw 3.0 for OS/2 and to add additional
- " features to Draw for OS/2, such as fonts and import/export
- " translators.\n\n\n
- "~Micrografx Installer Version 3.1\n
- "~Copyright (c) Micrografx, Inc., 1991 - 1992.\n
- "~All Rights Reserved.");
- BOOL bCancel FALSE;
- BOOL bDeleted FALSE;
- BOOL bFit FALSE;
- BOOL bFonts FALSE;
- BOOL bIcons FALSE;
- BOOL bInstall FALSE;
- BOOL bResult FALSE;
- BOOL bReview FALSE;
- BOOL bSuccess FALSE;
- BOOL bUpdate FALSE;
- BOOL bLibPath FALSE;
- BOOL bLibPathchg FALSE;
- BOOL bStop FALSE;
- BOOL bQuit FALSE;
- BOOL bDraw FALSE;
- BOOL bOutlineFonts FALSE;
- BOOL bTranslators FALSE;
- BOOL bSamples FALSE;
- BOOL bClipArt FALSE;
- BOOL bRetailFonts FALSE;
- BOOL bDeleteFonts FALSE;
- BOOL bSkipClipPath FALSE;
- BOOL bSkipMenuText FALSE;
- INT nCount 0;
- INT nResult 0;
- INT nFontType 0;
- INT MGX 1;
- INT BIT 2;
- INT URW 3;
- INT SPD 4;
- INT PS 5;
- STRING pathOS2 "";
- STRING pathSystem "";
- STRING pathDraw "";
- STRING pathLibrary "";
- STRING pathTutorial "";
- STRING pathAFMFiles "";
- STRING pathMGXFonts "";
- STRING pathBITFonts "";
- STRING pathSPDFonts "";
- STRING pathURWFonts "";
- STRING pathSamples "";
- STRING pathClipArt "";
- STRING pathRetail "";
- STRING pathSave "";
- STRING pathSaveApp "";
- STRING pathSaveLib "";
- STRING szHelp "";
- STRING szIni "";
- STRING szNetIni "";
- STRING szReadMe "";
- STRING szSelection "";
- STRING szSerialNumber "";
- STRING szTemp "";
- STRING szTemp2 "";
- GetWindowsPath (pathOS2);
- GetSystemPath (pathSystem);
- GetModuleFileName (szTemp);
- PathUp (szTemp,szTemp);
- PathCat (szHelp,szTemp,"INSTALL.HLP");
- PathCat (szReadMe,szTemp,"README.HLP");
- GetProfileString ('Micrografx','Draw 3.0 for OS/2',pathDraw);
- GetProfileString ('Micrografx','Libraries 4.0',pathLibrary);
- GetProfileString ('Micrografx','ClipArt',pathClipArt);
- GetProfileString ('Micrografx','AFM_Dir',pathAFMFiles);
- if STRCMP (pathAFMFiles,'')
- {
- PathCat (pathAFMFiles,pathOS2,'DLL');
- }
- SetIcon (SPAIcon,1,1,"Draw for OS/2");
- SetHelp ("Click CONTINUE to proceed.");
- SetButtons ("&Continue","","",BUTTON1,BUTTON1);
- TextDialog (
- "Federal copyright law permits you to make a backup of this
- " software for archival purposes only. Any other duplication,
- " including copies offered through sale, loan, rental, or gift,
- " is a violation of law, and is subject to criminal and civil
- " penalties.\n\n
- "Report copyright violations to:\n\n\n
- "~Software Publishers Association\n
- "~1101 Connecticut Ave NW, Suite 901\n
- "~Washington, DC 20036");
- SetIcon (DrawIcon,1,1,"Draw for OS/2");
- if STRCMP (szSerialNumber,'')
- {
- GetProfileString ('Draw 3.0 for OS/2','SN',szSerialNumber);
- }
- if STRCMP (szSerialNumber,'')
- {
- szTemp = "";
- SetHelp ("Click OK to accept serial number and proceed.");
- SetExtHelp (
- "It is important that you enter the Draw for OS/2 serial number
- " in the text box provided. Technical Support will need this
- " number should you contact them for assistance.\n\n
- "You can locate the serial number on the registration card, on
- " the bottom of the Draw for OS/2 packaging, and on the inside
- " cover of the user's guide.");
- SetButtons ("Ok","&Skip","",BUTTON1,BUTTON2);
- Input (szTemp,"Enter serial number."
- "Draw for OS/2 needs your serial number for future reference.
- " In the box below, type the serial number that appears on
- " your Draw for OS/2 registration card.\n\n
- "Also, be sure to complete and mail your registration card.
- " When you do, Micrografx will donate $1.00 to the charity
- " of your choice!");
- if PRESSED (BUTTON1)
- {
- szSerialNumber = szTemp;
- }
- }
- WinHelp (bResult,szHelp,HELP_INDEX);
- if EQUALS (bResult,TRUE)
- {
- SetHelp ("Click CONTINUE to proceed.");
- SetExtHelp ("");
- SetButtons ("&Continue","","",BUTTON1,BUTTON1);
- TextDialog (
- "Behind the Micrografx Installer, you will find a help
- " window containing Common Questions and Answers about
- " the Micrografx Installer.\n\n
- "To see the help window fully, click anywhere on it.
- " The help window will surface over the Micrografx
- " Installer.\n\n
- "To return to the Micrografx Installer, minimize the
- " help window. For information on minimizing a window,
- " see your OS/2 manual.");
- }
- while EQUALS (bQuit,FALSE)
- {
- SetIcon (DrawIcon,1,1,"Draw for OS/2");
- ClearPackage ("",SP_ALL);
- bCancel = FALSE;
- bFonts = FALSE;
- bIcons = FALSE;
- bInstall = FALSE;
- bLibPath = FALSE;
- if STRCMP (pathDraw,'')
- {
- if EQUALS (bSkipMenuText,FALSE)
- {
- SetHelp ("Click CONTINUE to proceed.");
- SetExtHelp (
- "Minimum installation requires about 4 Mb of disk space:\n
- "- Draw for OS/2, for fun, fast, and friendly drawings\t\t\t2.5 Mb\n
- "- Various outline fonts\t\t\t\t\t\t1 Mb\n
- "- Sample artwork created by award-winning Micrografx artists\t0.5 Mb\n\n
- "Full installation requires about 18.5 Mb of disk space:\n
- "- Draw for OS/2, for fun, fast, and friendly drawings\t\t\t2.5 Mb\n
- "- All Type 1, Bitstream, and URW fonts\t\t\t\t2.5 Mb\n
- "- All translators, CGM, GEM, Mac PICT, WPG\t\t\t1 Mb\n
- "- All sample artwork, created by award-winning Micrografx artists\t0.5 Mb\n
- "- All Micrografx ClipArt, over 2,600 images\t\t\t\t12 Mb\n\n
- "Custom installation installs the features you choose:\n
- "- Draw for OS/2, for fun, fast, and friendly drawings\t\t\t2.5 Mb\n
- "- Fonts, including Type 1, Bitstream, and URW fonts\t\tup to 2.5 Mb\n
- "- Translators CGM, GEM, Mac PICT, WPG\t\t\tup to 1 Mb\n
- "- Sample artwork created by award-winning Micrografx artists\tup to 0.5 Mb\n
- "- ClipArt, over 2,600 images\t\t\t\t\tup to 12 Mb");
- SetButtons ("&Continue","","",BUTTON1,BUTTON1);
- TextDialog (
- "To install Draw for OS/2, click CONTINUE to see the Main
- " Menu, then choose Minimum installation, Full installation,
- " or Custom installation.\n\n
- "Minimum installation installs Draw for OS/2, various outline
- " fonts, and sample artwork.\n\n
- "Full installation installs everything, including Draw for
- " OS/2, all fonts, all translators, all sample artwork, and
- " all ClipArt.\n\n
- "Custom installation installs the features you choose,
- " including Draw for OS/2, fonts, translators, sample
- "artwork, and ClipArt.\n\n
- "~Click HELP for more information.");
- }
- bSkipMenuText = TRUE;
- SetHelp ("Choose an option, click CONTINUE to proceed.");
- SetButtons ("&Continue","&Quit","",BUTTON1,BUTTON2);
-
- SetExtHelp (
- "- Minimum installation installs Draw for OS/2 fast. You will
- " enter the path where you want to store the program files.
- " Minimum installation then installs Draw for OS/2, various
- " fonts, and sample artwork. It does not install Type 1 fonts,
- " translators, or ClipArt.\n\n
- "- Full installation installs everything. You will enter the
- " path where you want to store the program files. Full
- " installation then installs Draw for OS/2, all fonts,
- " all translators, all sample artwork, and all ClipArt.\n\n
- "- Custom installation installs the features you choose,
- " including Draw for OS/2, fonts, translators, sample
- "artwork, and ClipArt.");
- RadioMenu (szSelection,"Main Menu"
- TRUE "Minimum installation (requires 4 Mb)" Minimum
- FALSE "Full installation (requires 18.5 Mb)" Full
- FALSE "Custom installation (requirements vary)" Custom);
- }
- else
- {
- if EQUALS (bSkipMenuText,FALSE)
- {
- SetHelp ("Click CONTINUE to proceed.");
- SetExtHelp (
- "Update Draw for OS/2 replaces previously installed Draw for OS/2
- " files with new versions and requires little additional disk space.\n\n
- "Minimum installation requires about 4 Mb of disk space:\n
- "- Draw for OS/2, for fun, fast, and friendly drawings\t\t\t\t2.5 Mb\n
- "- Various outline fonts, including Courier, Dutch, and Swiss\t\t\t1 Mb\n
- "- Sample artwork created by award-winning Micrografx artists\t\t0.5 Mb\n\n
- "Full installation requires about 18.5 Mb of disk space:\n
- "- Draw for OS/2, for fun, fast, and friendly drawings\t\t\t\t2.5 Mb\n
- "- All Type 1, Bitstream, and URW fonts\t\t\t\t\t2.5 Mb\n
- "- All translators, Adobe Illustrator EPS, CGM, GEM, Mac PICT, WPG\t1 Mb\n
- "- All sample artwork, created by award-winning Micrografx artists\t\t0.5 Mb\n
- "- All Micrografx ClipArt, over 2,600 images\t\t\t\t\t12 Mb\n\n
- "Custom installation installs the features you choose.");
- SetButtons ("&Continue","","",BUTTON1,BUTTON1);
- TextDialog (
- "To install Draw for OS/2, click CONTINUE to see the Main
- " Menu, then choose Update Draw for OS/2, Full installation,
- " or Custom installation.\n\n
- "Update Draw for OS/2 replaces previously installed Draw for
- " OS/2 files with new versions.\n\n
- "Minimum installation installs Draw for OS/2, various outline
- " fonts, and sample artwork.\n\n
- "Full installation installs everything, including Draw for
- " OS/2, all fonts, all translators, all sample
- " artwork, and all ClipArt.\n\n
- "~Click HELP for more information.");
- }
- bSkipMenuText = TRUE;
- SetHelp ("Choose an option, click CONTINUE to proceed.");
- SetButtons ("&Continue","&Quit","",BUTTON1,BUTTON2);
-
- SetExtHelp (
- "- Update Draw for OS/2 installs Draw for OS/2 fast. It replaces
- " old Draw for OS/2 program files with new versions.\n\n
- "- Minimum installation installs Draw for OS/2 fast. You will
- " enter the path where you want to store the program files.
- " Minimum installation then installs Draw for OS/2, various
- " outline fonts, and sample artwork. It does not install
- " Type 1 fonts, translators, or ClipArt.\n\n
- "- Full installation installs everything. You will enter the
- " path where you want to store the program files. Full
- " installation then installs Draw for OS/2, all fonts,
- " all translators, all sample artwork, and all ClipArt.\n\n
- "- Custom installation installs the features you choose,
- " including Draw for OS/2, fonts, translators, sample
- " artwork, and ClipArt.");
- RadioMenu (szSelection,"Main Menu"
- TRUE "Update Draw for OS/2 (recommended)" Update
- FALSE "Minimum installation (requires 4 Mb)" Minimum
- FALSE "Full installation (requires 18.5 Mb)" Full
- FALSE "Custom installation (requirements vary)" Custom);
- }
- if PRESSED (BUTTON1)
- {
- call szSelection;
- if EQUALS (bInstall,TRUE)
- {
- GetSelectCount (nCount,'','','');
- if GT (nCount,0)
- {
- SetIcon (FloppyIcon,0,0,"Draw for OS/2");
- CreateInfoPanel (bResult,0,
- "Micrografx offers a complete family of software products:\n\n
- "* Micrografx Designer - for precision illustration with
- " flexibility and features no other program can match.\n
- "* Charisma - for spectacular business charts and
- " graphics.\n
- "* Picture Publisher - for complete color and gray scale
- " image editing.\n
- "* ABC Flowcharter - for high-quality, professional flowcharts.\n
- "* Windows OrgChart - for quick and easy organizational
- " charts.\n\n
- "For more information on any of these products, or to order
- " Micrografx products, call:\n
- "800-733-DRAW, ext. 5050");
- CreateInfoPanel (bResult,33,
- "Micrografx offers the most complete Windows and OS/2 graphics
- " software solutions available anywhere. In addition, our
- " technical support is available 24 hours a day, Monday
- " through Friday, and from 8 a.m. to 5 p.m. on Saturday and
- " Sunday (central time)!\n\n
- "To speak with the most helpful technical support in the
- " industry, call 214-234-2694.");
- CreateInfoPanel (bResult,66,
- "Please take a moment to fill out and return your product
- " registration card. Select one of the five charities listed
- " on the card and Micrografx will donate $1.00 to that
- " charity in your name.\n\n
- "By returning your registration card, you do more than
- " protect your software investment, you also support a good
- " cause!");
- SetHelp ("Click CANCEL to stop installation.");
- SetExtHelp ("");
- SetButtons ("Cancel","","",BUTTON1,BUTTON1);
- Install (bSuccess,SM_SHOW,ES_SELECTED,EX_UPDATE,
- "Installing %s in\n %s",
- "Insert Draw for OS/2 diskette %u in drive %c:.\n\nNOTE: Depending on the options you selected, you may not use every diskette.
- "DISK_%03u.MDA");
- SetIcon (DrawIcon,1,1);
- SetHelp ("");
- SetButtons ("","","",BUTTON1,BUTTON1);
- ClearInfoPanel (CLEAR_ALL);
- if EQUALS (bSuccess,TRUE)
- {
- if EQUALS (bFonts,TRUE)
- {
- SetText ("\n\n\n\n\n\n~Processing fonts...");
- UpdateFonts (pathBITFonts,BIT,'MGXBIT.FTM','BSBEZ.FTM');
- UpdateFonts (pathSPDFonts,SPD,'MGXSPD.FTM','BSSPD.FTM');
- UpdateFonts (pathURWFonts,URW,'MGXURW.FTM','URWBEZ.FTM');
- ProcessFonts (bSuccess,'MGXFNT.FTM',MGX,TRUE,'pkgFonts',TRUE);
- ProcessFonts (bSuccess,'MGXFNT.FTM',MGX,TRUE,'pkgCoreFonts',TRUE);
- ProcessFonts (bSuccess,'',PS,TRUE,'pkgFonts',TRUE);
- ProcessFonts (bSuccess,'',PS,TRUE,'pkgCoreFonts',TRUE);
- szIni = "OS2.INI";
- }
- }
- if EQUALS (bSuccess,TRUE)
- {
- if EQUALS (bIcons,TRUE)
- {
- SetText ("\n\n\n\n\n\n~Adding icon...");
- call AddIcons;
- }
- }
- if EQUALS (bSuccess,TRUE)
- {
- SetText ("\n\n\n\n\n\n~Processing OS2.INI...");
- call AddOs2Ini;
- if EQUALS (SCRIPT.bNetwork,TRUE)
- {
- SetText ("\n\n\n\n\n\n~Processing MGXNET.INI...");
- call AddNetIni;
- if EQUALS (bFonts,TRUE)
- {
- szIni = szNetIni;
- }
- }
- #AppendToPath (bResult,pathDraw);
- }
- if EQUALS (bSuccess,TRUE)
- {
- if EQUALS (bLibPath,TRUE)
- {
- SetText ("\n\n\n\n\n\n~Updating CONFIG.SYS...");
- call UpdateLibpath;
- }
- }
- SetText ("\n\n\n\n\n\n~One moment, please...");
- ShowWindow;
- call ResultDialog;
- SetIcon (DrawIcon,1,1);
- }
- }
- }
- else
- {
- bQuit = TRUE;
- }
- }
-
- ##############################################################################
-
- [Minimum] ()
- SetHelp ("Click CONTINUE to proceed.");
- SetExtHelp ("");
- SetButtons ("&Continue","Cancel","",BUTTON1,BUTTON2);
- TextDialog (
- "Minimum installation will install the following:\n\n
- "\t- Draw for OS/2\t\t\t2.5 Mb\n
- "\t- Various outline fonts\t\t1.0 Mb\n
- "\t- All sample artwork\t\t\t0.5 Mb\n
- "\t\t\t\t\t\t------------\n
- "\tTotal disk space required:\t\t4.0 Mb\n\n
- "To install Draw for OS/2, click CONTINUE now.");
- if PRESSED (BUTTON1)
- {
- pathSaveApp = pathDraw;
- pathSaveLib = pathLibrary;
- if STRCMP (pathDraw,'')
- {
- PathCat (pathDraw,pathOS2,"DRAW");
- }
- bReview = FALSE;
- bStop = FALSE;
- while EQUALS (bStop,FALSE)
- {
- SetIcon (DrawIcon,1,1,"Draw for OS/2");
- SetHelp ("Click OK to accept Draw for OS/2 path.");
- SetExtHelp (
- "You can choose where you want to install the Draw for OS/2
- " files. It's as easy as accepting the drive and directory
- " in the text box or typing new information in the text
- " box.\n\n
- "To select a drive and directory:\n
- "- Type a new drive and directory in the text box, then
- " click Ok.\n
- "\tOR\n
- "- Accept the path listed in the text box by clicking Ok.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","Cancel","",BUTTON1,BUTTON2);
- GetPath (pathDraw,"Enter the path to use for Draw for OS/2.
- "Where do you want to put Draw for OS/2? The directory you specify will
- " contain Draw for OS/2 when the installation process is complete.");
- if PRESSED (BUTTON1)
- {
- SetExtHelp ("");
- if STRCMP (pathLibrary,'')
- {
- PathUp (szTemp,pathDraw);
- PathCat (pathLibrary,szTemp,"MGXLIBS");
- }
- PathCat (pathClipart,pathLibrary,"CLIPART");
- PathCat (pathMGXFonts,pathLibrary,'MGXFONTS');
- PathCat (pathBITFonts,pathLibrary,'BITFONTS');
- PathCat (pathSPDFonts,pathLibrary,'SPDFONTS');
- PathCat (pathURWFonts,pathLibrary,'URWFONTS');
- PathCat (pathSamples,pathDraw,"SAMPLES");
- PathCat (pathTutorial,pathDraw,"TUTORIAL");
- if EQUALS (SCRIPT.bNetwork,TRUE)
- {
- PathCat (pathSystem,pathLibrary,"SYSTEM");
- }
- SelectPackage ('pkgDraw' ,SP_ALL);
- SelectPackage ('pkgLibrary' ,SP_ALL);
- SelectPackage ('pkgClipCat' ,SP_ALL);
- SelectPackage ('pkgTutorial' ,SP_ALL);
- SelectPackage ('pkgCoreFonts',SP_ALL);
- SelectPackage ('pkgSamples' ,SP_ALL);
- if EQUALS (SCRIPT.bNetwork,TRUE)
- {
- SelectPackage ('pkgNetwork',SP_ALL);
- }
- bCancel = FALSE;
- if EQUALS (bCancel,FALSE)
- {
- SetHelp ("");
- SetExtHelp ("");
- SetButtons ("","","",BUTTON1,BUTTON1);
- Fit (bFit);
- if EQUALS (bFit,TRUE)
- {
- bFonts = TRUE;
- bIcons = TRUE;
- bInstall = TRUE;
- bStop = TRUE;
- bLibPath = TRUE;
- }
- else
- {
- SetHelp ("Click REVIEW to change your selections.");
- SetButtons ("&Review","Cancel","",BUTTON1,BUTTON2);
- TextDialog (
- "The selections you made will not fit. If you want to
- " change your selections, click REVIEW now.");
- if PRESSED (BUTTON1)
- {
- bReview = TRUE;
- }
- else
- {
- bStop = TRUE;
- }
- }
- }
- else
- {
- bStop = TRUE;
- }
- }
- else
- {
- pathDraw = pathSaveApp;
- pathLibrary = pathSaveLib;
- bStop = TRUE;
- }
- }
- }
-
- ##############################################################################
-
- [Update] ()
- bUpdate = TRUE;
- if STRCMP (pathDraw,'')
- {
- bUpdate = FALSE;
- }
- if STRCMP (pathLibrary,'')
- {
- bUpdate = FALSE;
- }
- if STRCMP (pathClipArt,'')
- {
- bUpdate = FALSE;
- }
- if EQUALS (bUpdate,TRUE)
- {
- SetIcon (DrawIcon,1,1);
- SetText (
- "\n\n\n\n\n\n
- "~Searching for files to update.\n
- "~One moment, please...");
- SetHelp ("");
- SetExtHelp ("");
- SetButtons ("","","",BUTTON1,BUTTON1);
- PathCat (pathSamples,pathDraw,"SAMPLES");
- PathCat (pathTutorial,pathDraw,"TUTORIAL");
- if EQUALS (SCRIPT.bNetwork,TRUE)
- {
- PathCat (pathSystem,pathLibrary,"SYSTEM");
- }
- SelectPackage ('pkgDraw' ,SP_ALL);
- SelectPackage ('pkgLibrary' ,SP_ALL);
- SelectPackage ('pkgClipCat' ,SP_ALL);
- SelectPackage ('pkgTutorial' ,SP_ALL);
- SelectPackage ('pkgFonts' ,SP_EXISTS);
- SelectPackage ('pkgTranslators',SP_EXISTS);
- PathCat (pathMGXFonts,pathLibrary,'MGXFONTS');
- PathCat (pathBITFonts,pathLibrary,'BITFONTS');
- PathCat (pathSPDFonts,pathLibrary,'SPDFONTS');
- PathCat (pathURWFonts,pathLibrary,'URWFONTS');
- PathCat (szTemp,pathBITFonts,'BSBEZ.FTM');
- GetFontList (GFL_FTM,szTemp,'shipping',BIT,nCount);
- PathCat (szTemp,pathSPDFonts,'BSSPD.FTM');
- GetFontList (GFL_FTM,szTemp,'shipping',SPD,nCount);
- PathCat (szTemp,pathURWFonts,'URWBEZ.FTM');
- GetFontList (GFL_FTM,szTemp,'shipping',URW,nCount);
- SelectFonts ('pkgFonts',SP_EXISTS);
- ClearFontList;
- if EQUALS (SCRIPT.bNetwork,TRUE)
- {
- SelectPackage ('pkgNetwork',SP_ALL);
- }
- SetHelp ("");
- SetExtHelp ("");
- SetButtons ("","","",BUTTON1,BUTTON1);
- Fit (bFit);
- SetText ("\n\n\n\n\n\n~One moment, please...");
- if EQUALS (bFit,TRUE)
- {
- bFonts = TRUE;
- bInstall = TRUE;
- }
- else
- {
- SetHelp ("Click CONTINUE to return to the Main Menu.");
- SetButtons ("&Continue","","",BUTTON1,BUTTON1);
- TextDialog (
- "The selections required to update Draw for OS/2 will not
- " fit. Make room on your disk and try again or choose the
- " Custom installation option in the Main Menu of this
- " program to select fewer features.");
- }
- }
- else
- {
- SetHelp ("Click CONTINUE to return to the Main Menu.");
- SetButtons ("&Continue","","",BUTTON1,BUTTON1);
- TextDialog (
- "Directory information for Draw for OS/2 is missing from
- " the OS2.INI file. Try the Custom installation option in
- " the Main Menu of this program to install Draw for OS/2.");
- }
-
- ##############################################################################
-
- [Full] ()
- SetHelp ("Click CONTINUE to proceed.");
- SetExtHelp ("");
- SetButtons ("&Continue","Cancel","",BUTTON1,BUTTON2);
- TextDialog (
- "Full installation will install the following:\n\n
- "\t- Draw for OS/2\t\t 2.5 Mb\n
- "\t- All fonts\t\t\t 2.5 Mb\n
- "\t- All translators\t\t 1.0 Mb\n
- "\t- All sample artwork\t\t 0.5 Mb\n
- "\t- All Micrografx ClipArt\t12.0 Mb\n
- "\t\t\t\t\t------------\n
- "\tTotal disk space required:\t18.5 Mb\n\n
- "To install Draw for OS/2, click CONTINUE now.");
- if PRESSED (BUTTON1)
- {
- pathSaveApp = pathDraw;
- pathSaveLib = pathLibrary;
- if STRCMP (pathDraw,'')
- {
- PathCat (pathDraw,pathOS2,"DRAW");
- }
- bReview = FALSE;
- bStop = FALSE;
- while EQUALS (bStop,FALSE)
- {
- SetIcon (DrawIcon,1,1,"Draw for OS/2");
- SetHelp ("Click OK to accept Draw for OS/2 path.");
- SetExtHelp (
- "You can choose where you want to install the Draw for OS/2
- " files. It's as easy as accepting the drive and directory
- " in the text box or typing new information in the text
- " box.\n\n
- "To select a drive and directory:\n
- "- Type a new drive and directory in the text box, then
- " click Ok.\n
- "\tOR\n
- "- Accept the path listed in the text box by clicking Ok.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","Cancel","",BUTTON1,BUTTON2);
- GetPath (pathDraw,"Enter the path to use for Draw for OS/2.
- "Where do you want to put Draw for OS/2? The directory you specify will
- " contain Draw for OS/2 when the installation process is complete.");
- if PRESSED (BUTTON1)
- {
- SetExtHelp ("");
- if STRCMP (pathLibrary,'')
- {
- PathUp (szTemp,pathDraw);
- PathCat (pathLibrary,szTemp,"MGXLIBS");
- }
- PathCat (pathClipart,pathLibrary,"CLIPART");
- PathCat (pathMGXFonts,pathLibrary,'MGXFONTS');
- PathCat (pathBITFonts,pathLibrary,'BITFONTS');
- PathCat (pathSPDFonts,pathLibrary,'SPDFONTS');
- PathCat (pathURWFonts,pathLibrary,'URWFONTS');
- PathCat (pathSamples,pathDraw,"SAMPLES");
- PathCat (pathTutorial,pathDraw,"TUTORIAL");
- if EQUALS (SCRIPT.bNetwork,TRUE)
- {
- PathCat (pathSystem,pathLibrary,"SYSTEM");
- }
- SelectPackage ('pkgDraw' ,SP_ALL);
- SelectPackage ('pkgLibrary' ,SP_ALL);
- SelectPackage ('pkgClipCat' ,SP_ALL);
- SelectPackage ('pkgTutorial' ,SP_ALL);
- SelectPackage ('pkgFonts' ,SP_ALL);
- SelectPackage ('pkgTranslators',SP_ALL);
- SelectPackage ('pkgSamples' ,SP_ALL);
- SelectPackage ('pkgClipArt' ,SP_ALL);
- if EQUALS (SCRIPT.bNetwork,TRUE)
- {
- SelectPackage ('pkgNetwork',SP_ALL);
- }
- SetHelp ("");
- SetExtHelp ("");
- SetButtons ("","","",BUTTON1,BUTTON1);
- Fit (bFit);
- if EQUALS (bFit,TRUE)
- {
- bFonts = TRUE;
- bIcons = TRUE;
- bInstall = TRUE;
- bStop = TRUE;
- bLibPath = TRUE;
- }
- else
- {
- SetHelp ("Click REVIEW to change your selections.");
- SetButtons ("&Review","Cancel","",BUTTON1,BUTTON2);
- TextDialog (
- "The selections you made will not fit. If you want to
- " change your selections, click REVIEW now.");
- if PRESSED (BUTTON1)
- {
- bReview = TRUE;
- }
- else
- {
- bStop = TRUE;
- }
- }
- }
- else
- {
- pathDraw = pathSaveApp;
- pathLibrary = pathSaveLib;
- bStop = TRUE;
- }
- }
- }
-
- ##############################################################################
-
- [Custom] ()
- SetHelp ("Choose options, click CONTINUE to proceed.");
- SetExtHelp (
- "Use the Custom Installation Menu to install Draw for OS/2
- " and choose the features you want to use with it, including
- " fonts, import/export translators, sample artwork, and
- "ClipArt.\n\n
- "To select features:\n
- "1. Click the features you want to install.\n
- "2. Click Continue when you are ready to proceed.\n\n
- "Note: All options are selected by default. Click an option
- " once to prevent installing that option.");
- SetButtons ("&Continue","Cancel","",BUTTON1,BUTTON2);
- CheckMenu ("Custom Installation Menu"
- TRUE "Install Draw for OS/2" bDraw
- TRUE "Install fonts" bOutlineFonts
- TRUE "Install translators" bTranslators
- TRUE "Install samples" bSamples
- TRUE "Install ClipArt" bClipArt);
- if PRESSED (BUTTON1)
- {
- bReview = FALSE;
- bStop = FALSE;
- while EQUALS (bStop,FALSE)
- {
- bCancel = FALSE;
- if EQUALS (bDraw,TRUE)
- {
- call Draw;
- }
- if EQUALS (bCancel,FALSE)
- {
- if EQUALS (bOutlineFonts,TRUE)
- {
- call OutlineFonts;
- }
- }
- if EQUALS (bCancel,FALSE)
- {
- if EQUALS (bTranslators,TRUE)
- {
- call Translators;
- }
- }
- if EQUALS (bCancel,FALSE)
- {
- if EQUALS (bSamples,TRUE)
- {
- call Samples;
- }
- }
- if EQUALS (bCancel,FALSE)
- {
- if EQUALS (bClipArt,TRUE)
- {
- call ClipArt;
- }
- }
- if EQUALS (bCancel,FALSE)
- {
- GetSelectCount (nCount,'','','');
- if EQUALS (nCount,0)
- {
- SetIcon (DrawIcon,1,1,"Draw for OS/2");
- SetHelp ("Click CONTINUE to proceed.");
- SetExtHelp ("");
- SetButtons ("&Continue","","",BUTTON1,BUTTON1);
- TextDialog ("Nothing was selected to install.");
- bCancel = TRUE;
- }
- }
- if EQUALS (bCancel,FALSE)
- {
- bIcons = FALSE;
- if EQUALS (bDraw,TRUE)
- {
- SetIcon (DrawIcon,1,1,"Draw for OS/2");
- SetHelp ("Click ADD to add icon.");
- SetExtHelp ("");
- SetButtons ("&Add","&Skip","Cancel",BUTTON1,BUTTON3);
- TextDialog (
- "Custom installation can add the Draw for OS/2 icon
- " to the Micrografx Folder for you. If you want to
- " add the icon, click ADD now.");
- if PRESSED (BUTTON1)
- {
- bIcons = TRUE;
- }
- if PRESSED (BUTTON3)
- {
- bCancel = TRUE;
- }
- }
- }
- if EQUALS (bCancel,FALSE)
- {
- bLibPath = FALSE;
- if EQUALS (bDraw,TRUE)
- {
- SetIcon (DrawIcon,1,1,"Draw for OS/2");
- SetHelp ("Click UPDATE to update CONFIG.SYS file.");
- SetExtHelp ("");
- SetButtons ("&Update","&Skip","&Cancel",BUTTON1,BUTTON3);
- TextDialog (
- "Custom installation can update your CONFIG.SYS
- " file to ensure that the directory containing the
- " installed libraries is specified in the LIBPATH
- " statement. If you want to update the CONFIG.SYS
- " file, click UPDATE now.");
- if PRESSED (BUTTON1)
- {
- bLibPath = TRUE;
- }
- if PRESSED (BUTTON3)
- {
- bCancel = TRUE;
- }
- }
- }
- if EQUALS (bCancel,FALSE)
- {
- SetIcon (DrawIcon,1,1);
- SetHelp ("");
- SetExtHelp ("");
- SetButtons ("","","",BUTTON1,BUTTON1);
- Fit (bFit);
- SetIcon (DrawIcon,1,1,"Draw for OS/2");
- if EQUALS (bFit,TRUE)
- {
- SetHelp ("Click INSTALL to install your selections.");
- SetButtons ("&Install","&Review","Cancel",BUTTON1,BUTTON3);
- TextDialog (
- "Draw for OS/2 installation will now install your selections.
- " If you want to review your selections, click REVIEW
- " now.\n\n
- "Note: The Micrografx Installer requests only the diskettes
- " containing the options you selected. You may not use
- " every diskette.");
- if PRESSED (BUTTON1)
- {
- bStop = TRUE;
- }
- if PRESSED (BUTTON2)
- {
- bReview = TRUE;
- }
- if PRESSED (BUTTON3)
- {
- bCancel = TRUE;
- }
- }
- else
- {
- SetHelp ("Click REVIEW to change your selections.");
- SetButtons ("&Review","Cancel","",BUTTON1,BUTTON2);
- TextDialog (
- "The selections you made will not fit. If you want to
- " change your selections, click REVIEW now.");
- if PRESSED (BUTTON1)
- {
- bReview = TRUE;
- }
- else
- {
- bCancel = TRUE;
- }
- }
- }
- if EQUALS (bCancel,TRUE)
- {
- bInstall = FALSE;
- bStop = TRUE;
- }
- }
- }
-
- ##############################################################################
-
- [Utilities] ()
- bStop = FALSE;
- while EQUALS (bStop,FALSE)
- {
- ClearPackage ("",SP_ALL);
- bInstall = FALSE;
- SetIcon (DrawIcon,1,1,"Draw for OS/2");
- SetHelp ("Choose an option, click CONTINUE to proceed.");
- SetExtHelp (
- "Use the Utility Menu to install retail fonts (Bitstream
- " and URW) and to delete outline fonts. Retail fonts are
- " fonts purchased separately from Draw for OS/2.\n\n
- "To use a utility:\n
- "- Click an option and click Continue.");
- SetButtons ("&Continue","Cancel","",BUTTON1,BUTTON2);
- RadioMenu (szSelection,"Utility Menu"
- TRUE "Install retail fonts (Bitstream and URW)" RetailFonts
- FALSE "Delete outline fonts" DeleteFonts);
- if PRESSED (BUTTON1)
- {
- SetExtHelp ("");
- bReview = FALSE;
- bCancel = FALSE;
- while EQUALS (bCancel,FALSE)
- {
- call szSelection;
- if EQUALS (bInstall,TRUE)
- {
- SetHelp ("");
- SetExtHelp ("");
- SetButtons ("","","",BUTTON1,BUTTON1);
- Fit (bFit);
- if EQUALS (bFit,TRUE)
- {
- bCancel = TRUE;
- bStop = TRUE;
- }
- else
- {
- SetHelp ("Click REVIEW to change your selections.");
- SetButtons ("&Review","Cancel","",BUTTON1,BUTTON2);
- TextDialog (
- "The selections you made will not fit. If you want to
- " change your selections, click REVIEW now.");
- if PRESSED (BUTTON1)
- {
- bReview = TRUE;
- }
- else
- {
- bCancel = TRUE;
- }
- }
- }
- else
- {
- bCancel = TRUE;
- }
- }
- }
- else
- {
- bStop = TRUE;
- }
- }
-
- ##############################################################################
-
- [Draw] ()
- SetIcon (DrawIcon,1,1,"Draw for OS/2");
- PressButton (BUTTON1);
- if EQUALS (bReview,FALSE)
- {
- SetHelp ("Click ACCEPT to install Draw for OS/2.");
- SetExtHelp ("");
- SetButtons ("&Accept","&Skip","Cancel",BUTTON1,BUTTON3);
- TextDialog (
- "Custom installation will install Draw for OS/2 program files
- " after prompting you for any necessary information.\n\n
- "To install Draw for OS/2, click ACCEPT now.");
- }
- if PRESSED (BUTTON1)
- {
- pathSave = pathDraw;
- if STRCMP (pathDraw,'')
- {
- PathCat (pathDraw,pathOS2,"DRAW");
- }
- SetHelp ("Click OK to accept Draw for OS/2 path.");
- SetExtHelp (
- "You can choose where you want to install the Draw for OS/2
- " files. It's as easy as accepting the drive and directory
- " in the text box or typing new information.\n\n
- "To select a drive and directory:\n
- "- Type a new drive and directory in the text box, then
- " click Ok.\n
- "\tOR\n
- "- Click Ok to accept the path listed in the text box.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","&Skip","Cancel",BUTTON1,BUTTON3);
- GetPath (pathDraw,"Enter the path to use for Draw for OS/2.
- "Where do you want to put Draw for OS/2? The directory you specify
- " will contain Draw for OS/2 when the installation process is complete.");
- if NOT PRESSED (BUTTON1)
- {
- pathDraw = pathSave;
- }
- }
- if PRESSED (BUTTON1)
- {
- pathSave = pathLibrary;
- if STRCMP (pathLibrary,'')
- {
- PathUp (szTemp,pathDraw);
- PathCat (pathLibrary,szTemp,"MGXLIBS");
- }
- SetHelp ("Click OK to accept library path.");
- SetExtHelp (
- "To conserve space on your hard disk, Micrografx shares
- " files among its applications. These files, called
- " libraries, include fonts, translators, and other files.\n\n
- "To select a drive and directory:\n
- "- Type a new drive and directory in the text box and
- " click Ok.\n
- "\tOR\n
- "- Click Ok to accept the path listed in the text box.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","&Skip","Cancel",BUTTON1,BUTTON3);
- GetPath (pathLibrary,"Enter the path to use for Micrografx libraries.
- "Where do you want to put Micrografx libraries? The directory you
- " specify will contain libraries when the installation process is
- " complete. The directory must be specified in the LIBPATH statement
- " in your CONFIG.SYS file.");
- if NOT PRESSED (BUTTON1)
- {
- pathLibrary = pathSave;
- }
- }
- if PRESSED (BUTTON1)
- {
- pathSave = pathClipArt;
- if STRCMP (pathClipArt,'')
- {
- PathCat (pathClipArt,pathLibrary,"CLIPART");
- }
- SetHelp ("Click OK to accept ClipArt path.");
- SetExtHelp (
- "You can choose where to install the ClipArt catalogs that
- " Draw for OS/2 uses to organize ClipArt.\n\n
- "To choose a drive and directory:\n
- "- Type a new drive and directory in the text box, then
- " click Ok.\n
- "\tOR\n
- "- Accept the path in the text box by clicking Ok.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","&Skip","Cancel",BUTTON1,BUTTON3);
- GetPath (pathClipArt,"Enter the path to use for ClipArt catalogs.
- "Where do you want to put ClipArt catalogs? The directory you
- " specify will contain ClipArt catalogs when the installation
- " process is complete.");
- if NOT PRESSED (BUTTON1)
- {
- pathClipArt = pathSave;
- }
- }
- if PRESSED (BUTTON1)
- {
- bSkipClipPath = TRUE;
- PathCat (pathSamples,pathDraw,"SAMPLES");
- PathCat (pathTutorial,pathDraw,"TUTORIAL");
- if EQUALS (SCRIPT.bNetwork,TRUE)
- {
- PathCat (pathSystem,pathLibrary,"SYSTEM");
- }
- SelectPackage ('pkgDraw' ,SP_ALL);
- SelectPackage ('pkgLibrary' ,SP_ALL);
- SelectPackage ('pkgClipCat' ,SP_ALL);
- SelectPackage ('pkgTutorial',SP_ALL);
- if EQUALS (SCRIPT.bNetwork,TRUE)
- {
- SelectPackage ('pkgNetwork',SP_ALL);
- }
- bInstall = TRUE;
- }
- if PRESSED (BUTTON2)
- {
- ClearPackage ('pkgDraw' ,SP_ALL);
- ClearPackage ('pkgLibrary' ,SP_ALL);
- ClearPackage ('pkgClipCat' ,SP_ALL);
- ClearPackage ('pkgTutorial',SP_ALL);
- if EQUALS (SCRIPT.bNetwork,TRUE)
- {
- ClearPackage ('pkgNetwork',SP_ALL);
- }
- }
- if PRESSED (BUTTON3)
- {
- bCancel = TRUE;
- }
-
- ##############################################################################
-
- [OutlineFonts] ()
- SetIcon (FontIcon,1,1,"fonts");
- PressButton (BUTTON1);
- if EQUALS (bReview,FALSE)
- {
- SetHelp ("Click CONTINUE to choose fonts.");
- SetExtHelp ("");
- SetButtons ("&Continue","&Skip","Cancel",BUTTON1,BUTTON3);
- TextDialog (
- "Draw for OS/2 provides outline fonts from Bitstream and URW. Also
- " provided are 32 Type1 fonts.\n\n
- "Because each font you install occupies disk space, you may want
- " to install only the fonts you plan to use.\n");
- }
- if PRESSED (BUTTON1)
- {
- if STRCMP (pathDraw,'')
- {
- PathCat (pathDraw,pathOS2,"DRAW");
- SetHelp ("Click OK to accept Draw for OS/2 path.");
- SetExtHelp (
- "You can choose where you want to install the Draw for OS/2
- " files. It's as easy as accepting the drive and directory
- " in the text box or typing new information.\n\n
- "To select a drive and directory:\n
- "- Type a new drive and directory in the text box, then
- " click Ok.\n
- "\tOR\n
- "- Click Ok to accept the path listed in the text box.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","&Skip","Cancel",BUTTON1,BUTTON3);
- GetPath (pathDraw,"Enter the path to Draw for OS/2.
- "Where is Draw for OS/2? The location of Draw for OS/2 is
- " required to install fonts.");
- if NOT PRESSED (BUTTON1)
- {
- pathDraw = '';
- }
- }
- }
- if PRESSED (BUTTON1)
- {
- if STRCMP (pathLibrary,'')
- {
- PathUp (szTemp,pathDraw);
- PathCat (pathLibrary,szTemp,"MGXLIBS");
- SetHelp ("Click OK to accept library path.");
- SetExtHelp (
- "To conserve space on your hard disk, Micrografx shares
- " files among its applications. These files, called
- " libraries, include fonts, translators, and other files.\n\n
- "To select a drive and directory:\n
- "- Type a new drive and directory in the text box and
- " click Ok.\n
- "\tOR\n
- "- Click Ok to accept the path listed in the text box.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","&Skip","Cancel",BUTTON1,BUTTON3);
- GetPath (pathLibrary,"Enter the path to use for Micrografx libraries.
- "Where do you want to put Micrografx libraries? The directory you
- " specify will contain libraries when the installation process is
- " complete. The directory must be specified in the LIBPATH statement
- " in your CONFIG.SYS file.");
- if NOT PRESSED (BUTTON1)
- {
- pathLibrary = '';
- }
- }
- }
- if PRESSED (BUTTON1)
- {
- PathCat (pathMGXFonts,pathLibrary,'MGXFONTS');
- PathCat (pathBITFonts,pathLibrary,'BITFONTS');
- PathCat (pathSPDFonts,pathLibrary,'SPDFONTS');
- PathCat (pathURWFonts,pathLibrary,'URWFONTS');
- if EQUALS (SCRIPT.bNetwork,TRUE)
- {
- PathCat (pathSystem,pathLibrary,"SYSTEM");
- }
- SetHelp ("Click ACCEPT to install the selected fonts.");
- SetExtHelp (
- "You can choose as many fonts as you want.\n\n
- "To select fonts:\n
- "1. Click a font to select it or click All to
- " select all Bitstream, URW, and Type1 fonts.\n
- "2. Click Accept when you are ready to proceed.\n\n
- "Note: Information shown at the bottom of the list box
- " changes to show the disk space required for all files
- " that will be installed.");
- SetButtons ("&Accept","&Skip","Cancel",BUTTON1,BUTTON3);
- SelectPackage ('pkgFonts',SP_MENU,
- "Select the fonts you want to install."
- "%c: %lu Kb required, %lu Kb remaining",pathMGXFonts,BUTTON1);
- if PRESSED (BUTTON1)
- {
- bFonts = TRUE;
- bInstall = TRUE;
- }
- }
- if PRESSED (BUTTON3)
- {
- bCancel = TRUE;
- }
-
- ##############################################################################
-
-
- [Translators] ()
- SetIcon (TranslatorIcon,1,1,"translators");
- PressButton (BUTTON1);
- if EQUALS (bReview,FALSE)
- {
- SetHelp ("Click CONTINUE to choose translators.");
- SetExtHelp ("");
- SetButtons ("&Continue","&Skip","Cancel",BUTTON1,BUTTON3);
- TextDialog (
- "Translators are special programs that let you import and export
- " files in many different formats, such as CGM, GEM, and WPG.\n\n
- "Because each translator you install occupies disk space, you may
- " want to install only the translators you plan to use.\n");
- }
- if PRESSED (BUTTON1)
- {
- if STRCMP (pathDraw,'')
- {
- PathCat (pathDraw,pathOS2,"DRAW");
- SetHelp ("Click OK to accept Draw for OS/2 path.");
- SetExtHelp (
- "You can choose where you want to install the Draw for OS/2
- " files. It's as easy as accepting the drive and directory
- " in the text box or typing new information.\n\n
- "To select a drive and directory:\n
- "- Type a new drive and directory in the text box, then
- " click Ok.\n
- "\tOR\n
- "- Click Ok to accept the path listed in the text box.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","&Skip","Cancel",BUTTON1,BUTTON3);
- GetPath (pathDraw,"Enter the path to Draw for OS/2.
- "Where is Draw for OS/2? The location of Draw for OS/2 is
- " required to install translators.");
- if NOT PRESSED (BUTTON1)
- {
- pathDraw = '';
- }
- }
- }
- if PRESSED (BUTTON1)
- {
- if STRCMP (pathLibrary,'')
- {
- PathUp (szTemp,pathDraw);
- PathCat (pathLibrary,szTemp,"MGXLIBS");
- SetHelp ("Click OK to accept library path.");
- SetExtHelp (
- "To conserve space on your hard disk, Micrografx shares
- " files among its applications. These files, called
- " libraries, include fonts, translators, and other files.\n\n
- "To select a drive and directory:\n
- "- Type a new drive and directory in the text box and
- " click Ok.\n
- "\tOR\n
- "- Click Ok to accept the path listed in the text box.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","&Skip","Cancel",BUTTON1,BUTTON3);
- GetPath (pathLibrary,"Enter the path to use for Micrografx libraries.
- "Where do you want to put Micrografx libraries? The directory you
- " specify will contain libraries when the installation process is
- " complete. The directory must be specified in the LIBPATH statement
- " in your CONFIG.SYS file.");
- if NOT PRESSED (BUTTON1)
- {
- pathLibrary = '';
- }
- }
- }
- if PRESSED (BUTTON1)
- {
- SetHelp ("Click ACCEPT to install the selected translators.");
- SetExtHelp (
- "Translators let you import and export files with different
- " formats. You can choose as many translators as you want.\n\n
- "To select translators:\n
- "1. Click a translator to select it or click All to select all
- " translators.\n
- "2. Click Accept when you are ready to proceed.\n\n
- "Note: Information shown at the bottom of the list box changes
- " to show the disk space required for all files that will be
- " installed.");
- SetButtons ("&Accept","&Skip","Cancel",BUTTON1,BUTTON3);
- SelectPackage ('pkgTranslators',SP_MENU,
- "Select the translators you want to install."
- "%c: %lu Kb required, %lu Kb remaining",pathLibrary,BUTTON1);
- if PRESSED (BUTTON1)
- {
- bInstall = TRUE;
- }
- }
- if PRESSED (BUTTON3)
- {
- bCancel = TRUE;
- }
-
- ##############################################################################
-
- [Samples] ()
- SetIcon (SampleIcon,1,1,"samples");
- PressButton (BUTTON1);
- if EQUALS (bReview,FALSE)
- {
- SetHelp ("Click CONTINUE to choose sample artwork.");
- SetExtHelp ("");
- SetButtons ("&Continue","&Skip","Cancel",BUTTON1,BUTTON3);
- TextDialog (
- "Micrografx artists have prepared sample artwork to show
- " you the capabilities of Draw for OS/2.");
- }
- if PRESSED (BUTTON1)
- {
- if STRCMP (pathDraw,'')
- {
- PathCat (pathDraw,pathOS2,"DRAW");
- SetHelp ("Click OK to accept Draw for OS/2 path.");
- SetExtHelp (
- "You can choose where you want to install the Draw for OS/2
- " files. It's as easy as accepting the drive and directory
- " in the text box or typing new information.\n\n
- "To select a drive and directory:\n
- "- Type a new drive and directory in the text box, then
- " click Ok.\n
- "\tOR\n
- "- Click Ok to accept the path listed in the text box.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","&Skip","Cancel",BUTTON1,BUTTON3);
- GetPath (pathDraw,"Enter the path to Draw for OS/2.
- "Where is Draw for OS/2? The location of Draw for OS/2 is
- " required to install samples.");
- if NOT PRESSED (BUTTON1)
- {
- pathDraw = '';
- }
- }
- }
- if PRESSED (BUTTON1)
- {
- PathCat (pathSamples,pathDraw,"SAMPLES");
- SetHelp ("Click ACCEPT to install the selected samples.");
- SetExtHelp (
- "Select the sample artwork you want to install.\n\n
- "To select sample artwork:\n
- "1. Click a sample to select it or click All to select all
- " samples.\n
- "2. Click Accept when you are ready to proceed.\n\n
- "Note: Information shown at the bottom of the list box changes
- " to show the disk space required for all files that will be
- " installed.");
- SetButtons ("&Accept","&Skip","Cancel",BUTTON1,BUTTON3);
- SelectPackage ('pkgSamples',SP_MENU,
- "Select the samples you want to install."
- "%c: %lu Kb required, %lu Kb remaining",pathSamples,BUTTON1);
- if PRESSED (BUTTON1)
- {
- bInstall = TRUE;
- }
- }
- if PRESSED (BUTTON3)
- {
- bCancel = TRUE;
- }
-
- ##############################################################################
-
- [ClipArtLoop] ()
- bReview = FALSE;
- bStop = FALSE;
- while EQUALS (bStop,FALSE)
- {
- bInstall = FALSE;
- call ClipArt;
- if EQUALS (bInstall,TRUE)
- {
- SetHelp ("");
- SetExtHelp ("");
- SetButtons ("","","",BUTTON1,BUTTON1);
- Fit (bFit);
- if EQUALS (bFit,TRUE)
- {
- bStop = TRUE;
- }
- else
- {
- SetHelp ("Click REVIEW to change your selections.");
- SetButtons ("&Review","Cancel","",BUTTON1,BUTTON2);
- TextDialog (
- "The selections you made will not fit. If you want to
- " change your selections, click REVIEW now.");
- if PRESSED (BUTTON1)
- {
- bReview = TRUE;
- }
- else
- {
- bInstall = FALSE;
- bStop = TRUE;
- }
- }
- }
- else
- {
- bStop = TRUE;
- }
- }
-
- ##############################################################################
-
- [ClipArt] ()
- SetIcon (ClipArtIcon,1,1,"ClipArt");
- PressButton (BUTTON1);
- if EQUALS (bReview,FALSE)
- {
- SetHelp ("Click CONTINUE to choose ClipArt.");
- SetExtHelp ("");
- SetButtons ("&Continue","&Skip","Cancel",BUTTON1,BUTTON3);
- TextDialog (
- "Draw for OS/2 includes 2600 ClipArt images created by
- " our award-winning artists using Micrografx Designer.\n\n
- "You can install ClipArt subjects for easy reference.
- " Each subject includes several files containing
- " ClipArt images.\n\n
- "Or, you can install ClipArt files to conserve disk space.
- " See the chapter \"Using ClipArt\" in the user's guide to
- " determine which files you want to install.\n\n");
- }
- if PRESSED (BUTTON1)
- {
- if STRCMP (pathDraw,'')
- {
- PathCat (pathDraw,pathOS2,"DRAW");
- SetHelp ("Click OK to accept Draw for OS/2 path.");
- SetExtHelp (
- "You can choose where you want to install the Draw for OS/2
- " files. It's as easy as accepting the drive and directory
- " in the text box or typing new information.\n\n
- "To select a drive and directory:\n
- "- Type a new drive and directory in the text box, then
- " click Ok.\n
- "\tOR\n
- "- Click Ok to accept the path listed in the text box.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","&Skip","Cancel",BUTTON1,BUTTON3);
- GetPath (pathDraw,"Enter the path to Draw for OS/2.
- "Where is Draw for OS/2? The location of Draw for OS/2 is
- " required to install ClipArt.");
- if NOT PRESSED (BUTTON1)
- {
- pathDraw = '';
- }
- }
- }
- if PRESSED (BUTTON1)
- {
- if STRCMP (pathLibrary,'')
- {
- PathUp (szTemp,pathDraw);
- PathCat (pathLibrary,szTemp,"MGXLIBS");
- SetHelp ("Click OK to accept library path.");
- SetExtHelp (
- "To conserve space on your hard disk, Micrografx shares
- " files among its applications. These files, called
- " libraries, include fonts, translators, and other files.\n\n
- "To select a drive and directory:\n
- "- Type a new drive and directory in the text box and
- " click Ok.\n
- "\tOR\n
- "- Click Ok to accept the path listed in the text box.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","&Skip","Cancel",BUTTON1,BUTTON3);
- GetPath (pathLibrary,"Enter the path to use for Micrografx libraries.
- "Where do you want to put Micrografx libraries? The directory you
- " specify will contain libraries when the installation process is
- " complete. The directory must be specified in the LIBPATH statement
- " in your CONFIG.SYS file.");
- if NOT PRESSED (BUTTON1)
- {
- pathLibrary = '';
- }
- }
- }
- if PRESSED (BUTTON1)
- {
- if STRCMP (pathClipArt,'')
- {
- PathCat (pathClipArt,pathLibrary,"CLIPART");
- }
- if EQUALS (bSkipClipPath,FALSE)
- {
- SetHelp ("Click OK to accept ClipArt path.");
- SetExtHelp (
- "You can choose where to install the ClipArt that you want
- " to use in Draw for OS/2.\n\n
- "To choose a drive and directory:\n
- "- Type a new drive and directory in the text box, then
- " click Ok.\n
- "\tOR\n
- "- Accept the path in the text box by clicking Ok.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","&Skip","Cancel",BUTTON1,BUTTON3);
- GetPath (pathClipArt,"Enter the path to use for ClipArt.
- "Where do you want to put ClipArt? The directory you
- " specify will contain ClipArt when the installation
- " process is complete.");
- }
- bSkipClipPath = FALSE;
- }
- if PRESSED (BUTTON1)
- {
- SetHelp ("Choose an option, click CONTINUE to proceed.");
- SetExtHelp (
- "Micrografx ClipArt(tm) is divided into different subjects,
- " so you can easily find what you want. Subjects range from
- " Animals to People, Maps to Transportation, and Borders to
- " Business Forms. Each subject contains files, and each file
- " contains images.\n\n
- "You can choose the subjects or files that you want to use
- " in Draw for OS/2. You must have approximately 12 MB of space
- " available on your hard disk to install all ClipArt files.
- " You can view the files or subjects using the ClipArt command
- " in Draw for OS/2. See the chapter \"Using ClipArt\" in the
- " user's guide for more information.\n\n
- "If you know the specific files that you want to install,
- " choose the Select ClipArt files option. Otherwise, choose
- " the Select ClipArt subjects option.");
- SetButtons ("&Continue","&Skip","Cancel",BUTTON1,BUTTON3);
- RadioMenu (szSelection,"ClipArt Menu"
- TRUE "Select ClipArt subjects" Subjects
- FALSE "Select ClipArt files" Files);
- }
- if PRESSED (BUTTON1)
- {
- SetButtons ("&Accept","&Skip","Cancel",BUTTON1,BUTTON3);
- if STRCMP (szSelection,'Subjects')
- {
- SetHelp ("Click ACCEPT to install the selected ClipArt subjects.");
- SetExtHelp (
- "When you install subjects, you automatically install all
- " files for each subject. You can view subjects using the
- " ClipArt command in Draw for OS/2. See the chapter \"Using
- " ClipArt\" in the user's guide for more information.\n\n
- "To select ClipArt subjects:\n
- "1. Click a ClipArt subject to select it or click All to select
- " all ClipArt subjects.\n
- "2. Click Accept when you are ready to proceed.\n\n
- "Note: Information shown at the bottom of the list box changes
- " to show the disk space required for all files that will be
- " installed.");
- SelectPackage ('pkgClipArt',SP_MENU,
- "Select the ClipArt subjects you want to install."
- "%c: %lu Kb required, %lu Kb remaining",pathClipArt,BUTTON1);
- }
- else
- {
- SetHelp ("Click ACCEPT to install the selected ClipArt files.");
- SetExtHelp (
- "You can view images using the ClipArt command in Draw for
- " OS/2. See the chapter \"Using ClipArt\" in the user's
- " guide for more information.\n\n
- "To select ClipArt files:\n
- "1. Click a ClipArt file to select it or click All to select
- " all ClipArt files.\n
- "2. Click Accept when you are ready to proceed.\n\n
- "Note: Information shown at the bottom of the list box changes
- " to show the disk space required for all files that will be
- " installed.");
- SelectPackage ('pkgClipArtFiles',SP_MENU,
- "Select the ClipArt files you want to install."
- "%c: %lu Kb required, %lu Kb remaining",pathClipArt,BUTTON1);
- }
- if PRESSED (BUTTON1)
- {
- SelectPackage ('pkgClipCat',SP_ALL);
- bInstall = TRUE;
- }
- }
- if PRESSED (BUTTON3)
- {
- bCancel = TRUE;
- }
-
- ##############################################################################
-
- [RetailFonts] ()
- SetIcon (FontIcon,1,1,"retail fonts");
- PressButton (BUTTON1);
- if EQUALS (bReview,FALSE)
- {
- SetHelp ("Click CONTINUE to proceed.");
- SetExtHelp ("");
- SetButtons ("&Continue","Cancel","",BUTTON1,BUTTON2);
- TextDialog (
- "You can increase the selection of fonts available to Draw for OS/2
- " by purchasing and installing retail outline fonts.\n\n
- "For additional Bitstream fonts, call:\n
- " 1-800-522-FONT\n
- " 1-617-497-6222 (outside the U.S.)\n\n");
- #"For additional URW fonts, call:\n
- #" 1-800-442-FONT\n
- #" 1-602-996-6606 (in Arizona or outside the U.S.)");
- }
- if PRESSED (BUTTON1)
- {
- if STRCMP (pathDraw,'')
- {
- PathCat (pathDraw,pathOS2,"DRAW");
- SetHelp ("Click OK to accept Draw for OS/2 path.");
- SetExtHelp (
- "You can choose where you want to install the Draw for OS/2
- " files. It's as easy as accepting the drive and directory
- " in the text box or typing new information.\n\n
- "To select a drive and directory:\n
- "- Type a new drive and directory in the text box, then
- " click Ok.\n
- "\tOR\n
- "- Click Ok to accept the path listed in the text box.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","Cancel","",BUTTON1,BUTTON2);
- GetPath (pathDraw,"Enter the path to Draw for OS/2.
- "Where is Draw for OS/2? The location of Draw for OS/2 is
- " required to install retail fonts.");
- if NOT PRESSED (BUTTON1)
- {
- pathDraw = '';
- }
- }
- }
- if PRESSED (BUTTON1)
- {
- if STRCMP (pathLibrary,'')
- {
- PathUp (szTemp,pathDraw);
- PathCat (pathLibrary,szTemp,"MGXLIBS");
- SetHelp ("Click OK to accept library path.");
- SetExtHelp (
- "To conserve space on your hard disk, Micrografx shares
- " files among its applications. These files, called
- " libraries, include fonts, translators, and other files.\n\n
- "To select a drive and directory:\n
- "- Type a new drive and directory in the text box and
- " click Ok.\n
- "\tOR\n
- "- Click Ok to accept the path listed in the text box.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","Cancel","",BUTTON1,BUTTON2);
- GetPath (pathLibrary,"Enter the path to use for Micrografx libraries.
- "Where do you want to put Micrografx libraries? The directory you
- " specify will contain libraries when the installation process is
- " complete. The directory must be specified in the LIBPATH statement
- " in your CONFIG.SYS file.");
- if NOT PRESSED (BUTTON1)
- {
- pathLibrary = '';
- }
- }
- }
- if PRESSED (BUTTON1)
- {
- PathCat (pathMGXFonts,pathLibrary,'MGXFONTS');
- PathCat (pathBITFonts,pathLibrary,'BITFONTS');
- PathCat (pathSPDFonts,pathLibrary,'SPDFONTS');
- PathCat (pathURWFonts,pathLibrary,'URWFONTS');
- }
- else
- {
- bCancel = TRUE;
- }
- while EQUALS (bCancel,FALSE)
- {
- SetHelp ("Choose a font type, click CONTINUE to proceed.");
- SetExtHelp (
- "Draw for OS/2 supports third-party outline font formats,
- " including Bitstream Fontware and URW Nimbus Q.\n\n
- "To select a font format:\n
- "- Click a font format, then click Continue.");
- SetButtons ("&Continue","Cancel","",BUTTON1,BUTTON2);
- RadioMenu (szSelection,"Typeface Menu"
- TRUE "Bitstream Fontware" Bitstream
- FALSE "URW Nimbus Q" URW);
- if PRESSED (BUTTON1)
- {
- if STRCMP (szSelection,'Bitstream')
- {
- SetHelp ("Click CONTINUE to proceed.");
- SetExtHelp ("");
- SetButtons ("&Continue","Cancel","",BUTTON1,BUTTON2);
- TextDialog (
- "Draw for OS/2 can use scalable outline typefaces from
- " any Bitstream Fontware typeface package. Use the
- " typeface disk with the silver label if it is
- " available.\n\n
- "Bitstream improves the quality of typefaces as
- " technology advances. To find out if an improved
- " version of your typeface is available, call
- " Bitstream at:\n\n
- " 1-800-522-FONT\n
- " 1-617-497-6222 (outside the U.S.)");
- }
- if PRESSED (BUTTON1)
- {
- SetHelp ("Click OK to accept retail font path.");
- SetExtHelp (
- "It's easy to install retail fonts. Just enter the
- " drive and directory where the retail fonts are located.
- " The Micrografx Installer will prompt you to insert a
- " diskette if necessary.\n\n
- "To select a drive and directory:\n
- "- Type the new drive and directory where the retail
- " fonts are located, then click Ok.\n
- "\tOR\n
- "- Click Ok to accept the path listed in the text box.");
- SetButtons ("Ok","Cancel","",BUTTON1,BUTTON2);
- GetPath (pathRetail,"Enter the path to retail fonts.
- "Where are your retail fonts? The Micrografx Installer will
- " install retail fonts from the directory you specify.");
- if PRESSED (BUTTON1)
- {
- SetIcon (FontIcon,1,1);
- SetHelp ("");
- SetExtHelp ("");
- SetButtons ("","","",BUTTON1,BUTTON1);
- SetText ("\n\n\n\n\n\n~Looking for retail fonts...");
- GetFontList (GFL_RTL,pathRetail,szSelection,nFontType,nCount);
- SetText ("\n\n\n\n\n\n~One moment, please...");
- SetIcon (FontIcon,1,1,"retail fonts");
- if EQUALS (nCount,0)
- {
- SetHelp ("Click CONTINUE to return to the Typeface Menu.");
- SetButtons ("&Continue","","",BUTTON1,BUTTON1);
- TextDialog (
- "No outline fonts found in the specified directory.");
- }
- else
- {
- SetHelp ("Click ACCEPT to install the selected retail fonts.");
- SetExtHelp (
- "You can choose as many retail fonts as you want.\n\n
- "To select retail fonts:\n
- "1. Click a retail font to select it or click
- " All to select all retail fonts.\n
- "2. Click Accept when you are ready to proceed.");
- SetButtons ("&Accept","Cancel","",BUTTON1,BUTTON2);
- SelectFonts ('',SP_MENU,
- "Select the retail fonts you want to install."
- "",pathMGXFonts,BUTTON1);
- #"%c: %lu Kb required, %lu Kb remaining",pathMGXFonts,BUTTON1);
- if PRESSED (BUTTON1)
- {
- SetExtHelp ("");
- if EQUALS (nFontType,BIT)
- {
- SetIcon (FloppyIcon,0,0,"retail fonts");
- SetHelp ("Click CANCEL to stop installation.");
- SetButtons ("Cancel","","",BUTTON1,BUTTON1);
- InstallFonts (bSuccess,SM_SHOW,ES_SELECTED,EX_UPDATE,
- "Installing %s in\n %s",BIT,pathBITFonts);
- SetIcon (FontIcon,1,1);
- SetHelp ("");
- SetButtons ("","","",BUTTON1,BUTTON1);
- if EQUALS (bSuccess,TRUE)
- {
- SetText ("\n\n\n\n\n\n~Processing fonts...");
- UpdateFonts (pathBITFonts,BIT,'MGXBIT.FTM','BSBEZ.FTM');
- ProcessFonts (bSuccess,'MGXBIT.FTM',BIT,FALSE,pathBITFonts,TRUE);
- }
- if EQUALS (bSuccess,TRUE)
- {
- PathCat (szTemp,pathLibrary,'BITFONTS,MGXFNT,MGXBIT.FTM,0,0');
- SetProfileString ('Micrografx Fonts 4.0 for OS/2','BSBEZIER',szTemp);
- }
- }
- if EQUALS (nFontType,SPD)
- {
- SetIcon (FloppyIcon,0,0,"retail fonts");
- SetHelp ("Click CANCEL to stop installation.");
- SetButtons ("Cancel","","",BUTTON1,BUTTON1);
- InstallFonts (bSuccess,SM_SHOW,ES_SELECTED,EX_UPDATE,
- "Installing %s in\n %s",SPD,pathSPDFonts);
- SetIcon (FontIcon,1,1);
- SetHelp ("");
- SetButtons ("","","",BUTTON1,BUTTON1);
- if EQUALS (bSuccess,TRUE)
- {
- SetText ("\n\n\n\n\n\n~Processing fonts...");
- UpdateFonts (pathSPDFonts,SPD,'MGXSPD.FTM','BSSPD.FTM');
- ProcessFonts (bSuccess,'MGXSPD.FTM',SPD,FALSE,pathSPDFonts,TRUE);
- }
- if EQUALS (bSuccess,TRUE)
- {
- PathCat (szTemp,pathLibrary,'SPDFONTS,MGXFNT,MGXSPD.FTM,0,0');
- SetProfileString ('Micrografx Fonts 4.0 for OS/2','BSSPEEDO',szTemp);
- }
- }
- if EQUALS (nFontType,URW)
- {
- SetIcon (FloppyIcon,0,0,"retail fonts");
- SetHelp ("Click CANCEL to stop installation.");
- SetButtons ("Cancel","","",BUTTON1,BUTTON1);
- InstallFonts (bSuccess,SM_SHOW,ES_SELECTED,EX_UPDATE,
- "Installing %s in\n %s",URW,pathURWFonts);
- SetIcon (FontIcon,1,1);
- SetHelp ("");
- SetButtons ("","","",BUTTON1,BUTTON1);
- if EQUALS (bSuccess,TRUE)
- {
- SetText ("\n\n\n\n\n\n~Processing fonts...");
- UpdateFonts (pathURWFonts,URW,'MGXURW.FTM','URWBEZ.FTM');
- ProcessFonts (bSuccess,'MGXURW.FTM',URW,FALSE,pathURWFonts,TRUE);
- }
- if EQUALS (bSuccess,TRUE)
- {
- PathCat (szTemp,pathLibrary,'URWFONTS,MGXFNT,MGXURW.FTM,0,0');
- SetProfileString ('Micrografx Fonts 4.0 for OS/2','URWBEZIER',szTemp);
- }
- }
- SetText ("\n\n\n\n\n\n~One moment, please...");
- ShowWindow;
- call ResultDialog;
- bCancel = TRUE;
- bStop = TRUE;
- }
- }
- ClearFontList;
- }
- }
- }
- else
- {
- bCancel = TRUE;
- }
- }
- bCancel = TRUE;
-
- ##############################################################################
-
- [DeleteFonts] ()
- SetIcon (FontIcon,1,1,"delete fonts");
- PressButton (BUTTON1);
- if EQUALS (bReview,FALSE)
- {
- SetHelp ("Click CONTINUE to choose outline fonts.");
- SetExtHelp ("");
- SetButtons ("&Continue","Cancel","",BUTTON1,BUTTON2);
- TextDialog (
- "To increase the available disk space on your computer, you may
- " want to delete unused outline fonts. Deleted outline fonts can
- " be reinstalled at any time using the Micrografx Installer.");
- }
- if PRESSED (BUTTON1)
- {
- if STRCMP (pathDraw,'')
- {
- PathCat (pathDraw,pathOS2,"DRAW");
- SetHelp ("Click OK to accept Draw for OS/2 path.");
- SetExtHelp (
- "You can choose where you want to install the Draw for OS/2
- " files. It's as easy as accepting the drive and directory
- " in the text box or typing new information.\n\n
- "To select a drive and directory:\n
- "- Type a new drive and directory in the text box, then
- " click Ok.\n
- "\tOR\n
- "- Click Ok to accept the path listed in the text box.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","&Skip","Cancel",BUTTON1,BUTTON3);
- GetPath (pathDraw,"Enter the path to Draw for OS/2.
- "Where is Draw for OS/2? The location of Draw for OS/2 is
- " required to delete outline fonts.");
- if NOT PRESSED (BUTTON1)
- {
- pathDraw = '';
- }
- }
- }
- if PRESSED (BUTTON1)
- {
- if STRCMP (pathLibrary,'')
- {
- PathUp (szTemp,pathDraw);
- PathCat (pathLibrary,szTemp,"MGXLIBS");
- SetHelp ("Click OK to accept library path.");
- SetExtHelp (
- "To conserve space on your hard disk, Micrografx shares
- " files among its applications. These files, called
- " libraries, include fonts, translators, and other files.\n\n
- "To select a drive and directory:\n
- "- Type a new drive and directory in the text box and
- " click Ok.\n
- "\tOR\n
- "- Click Ok to accept the path listed in the text box.\n\n
- "Note: The space available on each drive is located to the
- " right of the drive letter in the list box.");
- SetButtons ("Ok","&Skip","Cancel",BUTTON1,BUTTON3);
- GetPath (pathLibrary,"Enter the path to use for Micrografx libraries.
- "Where do you want to put Micrografx libraries? The directory you
- " specify will contain libraries when the installation process is
- " complete. The directory must be specified in the LIBPATH statement
- " in your CONFIG.SYS file.");
- if NOT PRESSED (BUTTON1)
- {
- pathLibrary = '';
- }
- }
- }
- if PRESSED (BUTTON1)
- {
- PathCat (pathBITFonts,pathLibrary,'BITFONTS');
- PathCat (pathMGXFonts,pathLibrary,'MGXFONTS');
- PathCat (pathSPDFonts,pathLibrary,'SPDFONTS');
- PathCat (pathURWFonts,pathLibrary,'URWFONTS');
- SetIcon (FontIcon,1,1);
- SetHelp ("");
- SetExtHelp ("");
- SetButtons ("","","",BUTTON1,BUTTON1);
- SetText ("\n\n\n\n\n\n~Looking for outline fonts...");
- GetProfileString ('Micrografx Fonts 4.0 for OS/2','MGXFNT',szTemp);
- if NOT STRCMP (szTemp,'')
- {
- PathCat (szTemp,pathMGXFonts,'MGXFNT.FTM');
- GetFontList (GFL_FTM,szTemp,'',MGX,nCount);
- if NOT EQUALS (nCount,0)
- {
- bFonts = TRUE;
- }
- }
- GetProfileString ('Micrografx Fonts 4.0 for OS/2','BSBEZIER',szTemp);
- if NOT STRCMP (szTemp,'')
- {
- UpdateFonts (pathBITFonts,BIT,'MGXBIT.FTM','BSBEZ.FTM');
- PathCat (szTemp,pathBITFonts,'MGXBIT.FTM');
- GetFontList (GFL_FTM,szTemp,'',BIT,nCount);
- if NOT EQUALS (nCount,0)
- {
- bFonts = TRUE;
- }
- }
- GetProfileString ('Micrografx Fonts 4.0 for OS/2','BSSPEEDO',szTemp);
- if NOT STRCMP (szTemp,'')
- {
- UpdateFonts (pathSPDFonts,SPD,'MGXSPD.FTM','BSSPD.FTM');
- PathCat (szTemp,pathSPDFonts,'MGXSPD.FTM');
- GetFontList (GFL_FTM,szTemp,'',SPD,nCount);
- if NOT EQUALS (nCount,0)
- {
- bFonts = TRUE;
- }
- }
- GetProfileString ('Micrografx Fonts 4.0 for OS/2','URWBEZIER',szTemp);
- if NOT STRCMP (szTemp,'')
- {
- UpdateFonts (pathURWFonts,URW,'MGXURW.FTM','URWBEZ.FTM');
- PathCat (szTemp,pathURWFonts,'MGXURW.FTM');
- GetFontList (GFL_FTM,szTemp,'',URW,nCount);
- if NOT EQUALS (nCount,0)
- {
- bFonts = TRUE;
- }
- }
- SetText ("\n\n\n\n\n\n~One moment, please...");
- SetIcon (FontIcon,1,1,"delete fonts");
- if EQUALS (bFonts,TRUE)
- {
- SetHelp ("Click ACCEPT to delete the selected outline fonts.");
- SetExtHelp (
- "You can choose as many outline fonts as you want.\n\n
- "Only Micrografx outline fonts will appear in this list.
- " Use the ATM Control Panel to delete Adobe Type 1 fonts.
- " See your Adobe Type Manager user's guide for more
- " information.\n\n
- "To select outline fonts:\n
- "1. Click an outline font to select it or click All to
- " select all outline fonts.\n
- "2. Click Accept when you are ready to proceed.");
- SetButtons ("&Accept","Cancel","",BUTTON1,BUTTON2);
- SelectFonts ('',SP_MENU,
- "Select the outline fonts you want to delete."
- "",pathMGXFonts,BUTTON1);
- #"%c: %lu Kb required, %lu Kb remaining",pathMGXFonts,BUTTON1);
- if PRESSED (BUTTON1)
- {
- SetIcon (FontIcon,1,1);
- SetHelp ("");
- SetExtHelp ("");
- SetButtons ("","","",BUTTON1,BUTTON1);
- SetText ("\n\n\n\n\n\n~Deleting fonts...");
- ProcessFonts (bDeleted,'MGXFNT.FTM',MGX,FALSE,pathMGXFonts,FALSE);
- ProcessFonts (bDeleted,'MGXBIT.FTM',BIT,FALSE,pathBITFonts,FALSE);
- ProcessFonts (bDeleted,'MGXSPD.FTM',SPD,FALSE,pathSPDFonts,FALSE);
- ProcessFonts (bDeleted,'MGXURW.FTM',URW,FALSE,pathURWFonts,FALSE);
- SetText ("\n\n\n\n\n\n~One moment, please...");
- ShowWindow;
- #call ResultDialog;
- }
- }
- else
- {
- SetHelp ("Click CONTINUE to return to the Main Menu.");
- SetButtons ("&Continue","","",BUTTON1,BUTTON1);
- TextDialog ("No outline fonts found to delete.");
- }
- ClearFontList;
- }
- bCancel = TRUE;
- bFonts = FALSE;
-
- ##############################################################################
-
- [AddIcons] ()
- InitProgMan (bResult);
- if EQUALS (bResult,TRUE)
- {
- GetSelectCount (nCount,'pkgDraw','','');
- if GT (nCount,0)
- {
- PathCat (szTemp,pathDraw,"DRAW.EXE");
- AddIcon ("Micrografx","Draw 3.0 for OS/2",szTemp,szTemp2,0);
- }
- TermProgMan;
- }
-
- ##############################################################################
-
- [AddOs2Ini] ()
- GetSelectCount (nCount,'pkgDraw','','');
- if GT (nCount,0)
- {
- SetProfileString ('Micrografx','Draw 3.0 for OS/2',pathDraw);
- SetProfileString ('Micrografx','Libraries 4.0',pathLibrary);
- SetProfileString ('Micrografx','ClipArt',pathClipArt);
-
- PathCat (szTemp,pathLibrary,'MGXSFS.DRV');
- SetOS2IniString ('PM_DEVICE_DRIVERS','MGXSFS',szTemp);
-
- if STRCMP (szSerialNumber,'')
- {
- SetProfileString ('Draw 3.0 for OS/2','Warning','0');
- }
- else
- {
- SetProfileString ('Draw 3.0 for OS/2','Warning','1');
- SetProfileString ('Draw 3.0 for OS/2','SN',szSerialNumber);
- }
-
- SetProfileString ('Draw 3.0 for OS/2','Drawings',pathTutorial);
- SetProfileString ('Draw 3.0 for OS/2','ImportPath',pathTutorial);
-
- PathCat (szTemp,pathDraw,"DRAW.EXE ^.drw");
- SetProfileString ('Extensions','drw',szTemp);
-
- SetProfileString ('Clipboard Formats','MGX_DRAWM','0,\'Micrografx Picture\'');
- SetProfileString ('Clipboard Formats','MGX_PICTM','0,\'In*a*Vision or Draw for OS/2 Picture\'');
-
- SetProfileString ('Compatibility','DRAW',NULL);
- }
- GetSelectCount (nCount,'pkgClipCat','','');
- if GT (nCount,0)
- {
- PathCat (szTemp,pathClipArt,"ANIMALS.CAT");
- SetProfileString ('Subjects',"Animals" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"ARROWS.CAT");
- SetProfileString ('Subjects',"Arrows" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"BANNERS.CAT");
- SetProfileString ('Subjects',"Banners" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"BORDERS.CAT");
- SetProfileString ('Subjects',"Borders" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"BUSINESS.CAT");
- SetProfileString ('Subjects',"Business forms" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"CARTOONS.CAT");
- SetProfileString ('Subjects',"Cartoons" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"DINGBATS.CAT");
- SetProfileString ('Subjects',"Dingbats" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"DRY.CAT");
- SetProfileString ('Subjects',"Dry goods" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"GRAPHS.CAT");
- SetProfileString ('Subjects',"Graphs" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"GROCERY.CAT");
- SetProfileString ('Subjects',"Groceries" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"HANDS.CAT");
- SetProfileString ('Subjects',"Hands" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"HARDWARE.CAT");
- SetProfileString ('Subjects',"Hardware" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"HOLIDAYS.CAT");
- SetProfileString ('Subjects',"Holidays" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"ICONS.CAT");
- SetProfileString ('Subjects',"Icons" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"LANDMARK.CAT");
- SetProfileString ('Subjects',"Landmarks" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"MAPS.CAT");
- SetProfileString ('Subjects',"Maps" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"MONEY.CAT");
- SetProfileString ('Subjects',"Money" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"OFFICE.CAT");
- SetProfileString ('Subjects',"Office" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"PEOPLE.CAT");
- SetProfileString ('Subjects',"People" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"PRESIDEN.CAT");
- SetProfileString ('Subjects',"Presidents" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"SIGNS.CAT");
- SetProfileString ('Subjects',"Signs" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"SPORTS.CAT");
- SetProfileString ('Subjects',"Sports" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"TRANSPOR.CAT");
- SetProfileString ('Subjects',"Transportation" ,szTemp,'MGXART.INI');
-
- PathCat (szTemp,pathClipArt,"TYPE.CAT");
- SetProfileString ('Subjects',"Type" ,szTemp,'MGXART.INI');
- }
- GetSelectCount (nCount,'pkgTutorial','','');
- if GT (nCount,0)
- {
- PathCat (szTemp,pathTutorial,"TUTORIAL.CAT");
- SetProfileString ('Subjects',"Tutorial" ,szTemp,'MGXART.INI');
- }
- GetSelectCount (nCount,'pkgSamples','','');
- if GT (nCount,0)
- {
- PathCat (szTemp,pathSamples,"WINDRW.CAT");
- SetProfileString ('Subjects',"Samples" ,szTemp,'MGXART.INI');
- }
- GetSelectCount (nCount,'pkgFonts','','');
- if GT (nCount,0)
- {
- PathCat (szTemp,pathLibrary,'MGXFONTS,MGXFNT,MGXFNT.FTM,0,0');
- SetProfileString ('Micrografx Fonts 4.0 for OS/2','MGXFNT',szTemp);
- }
- GetSelectCount (nCount,'pkgCoreMGXFonts','','');
- if GT (nCount,0)
- {
- PathCat (szTemp,pathLibrary,'MGXFONTS,MGXFNT,MGXFNT.FTM,0,0');
- SetProfileString ('Micrografx Fonts 4.0 for OS/2','MGXFNT',szTemp);
- }
- PathCat (szTemp,pathLibrary,'BITFONTS\\MGXBIT.FTM');
- if EXISTS (szTemp)
- {
- PathCat (szTemp,pathLibrary,'BITFONTS,MGXFNT,MGXBIT.FTM,0,0');
- SetProfileString ('Micrografx Fonts 4.0 for OS/2','BSBEZIER',szTemp);
- }
- PathCat (szTemp,pathLibrary,'SPDFONTS\\MGXSPD.FTM');
- if EXISTS (szTemp)
- {
- PathCat (szTemp,pathLibrary,'SPDFONTS,MGXFNT,MGXSPD.FTM,0,0');
- SetProfileString ('Micrografx Fonts 4.0 for OS/2','BSSPEEDO',szTemp);
- }
- PathCat (szTemp,pathLibrary,'URWFONTS\\MGXURW.FTM');
- if EXISTS (szTemp)
- {
- PathCat (szTemp,pathLibrary,'URWFONTS,MGXFNT,MGXURW.FTM,0,0');
- SetProfileString ('Micrografx Fonts 4.0 for OS/2','URWBEZIER',szTemp);
- }
- GetSelectCount (nCount,'pkgClipArt','','');
- if GT (nCount,0)
- {
- SetProfileString ('Micrografx','ClipArt',pathClipArt);
- }
-
- ##############################################################################
-
- [AddNetIni] ()
- PathCat (szNetIni,pathDraw,'MGXNET.INI');
- GetSelectCount (nCount,'pkgDraw','','');
- if GT (nCount,0)
- {
- SetProfileString ('Micrografx','Draw 3.0 for OS/2',pathDraw ,szNetIni);
- SetProfileString ('Micrografx','Libraries 4.0',pathLibrary ,szNetIni);
- SetProfileString ('Micrografx','ClipArt',pathClipArt ,szNetIni);
-
- SetProfileString ('Draw 3.0 for OS/2','SN',szSerialNumber ,szNetIni);
- SetProfileString ('Draw 3.0 for OS/2','Drawings',pathTutorial ,szNetIni);
- SetProfileString ('Draw 3.0 for OS/2','ImportPath',pathTutorial ,szNetIni);
- }
- GetSelectCount (nCount,'pkgClipCat','','');
- if GT (nCount,0)
- {
- PathCat (szTemp,pathClipArt,"ANIMALS.CAT");
- SetProfileString ('Subjects',"Animals" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"ARROWS.CAT");
- SetProfileString ('Subjects',"Arrows" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"BANNERS.CAT");
- SetProfileString ('Subjects',"Banners" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"BORDERS.CAT");
- SetProfileString ('Subjects',"Borders" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"BUSINESS.CAT");
- SetProfileString ('Subjects',"Business forms" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"CARTOONS.CAT");
- SetProfileString ('Subjects',"Cartoons" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"DINGBATS.CAT");
- SetProfileString ('Subjects',"Dingbats" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"DRY.CAT");
- SetProfileString ('Subjects',"Dry goods" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"GRAPHS.CAT");
- SetProfileString ('Subjects',"Graphs" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"GROCERY.CAT");
- SetProfileString ('Subjects',"Groceries" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"HANDS.CAT");
- SetProfileString ('Subjects',"Hands" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"HARDWARE.CAT");
- SetProfileString ('Subjects',"Hardware" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"HOLIDAYS.CAT");
- SetProfileString ('Subjects',"Holidays" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"ICONS.CAT");
- SetProfileString ('Subjects',"Icons" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"LANDMARK.CAT");
- SetProfileString ('Subjects',"Landmarks" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"MAPS.CAT");
- SetProfileString ('Subjects',"Maps" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"MONEY.CAT");
- SetProfileString ('Subjects',"Money" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"OFFICE.CAT");
- SetProfileString ('Subjects',"Office" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"PEOPLE.CAT");
- SetProfileString ('Subjects',"People" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"PRESIDEN.CAT");
- SetProfileString ('Subjects',"Presidents" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"SIGNS.CAT");
- SetProfileString ('Subjects',"Signs" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"SPORTS.CAT");
- SetProfileString ('Subjects',"Sports" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"TRANSPOR.CAT");
- SetProfileString ('Subjects',"Transportation" ,szTemp,szNetIni);
-
- PathCat (szTemp,pathClipArt,"TYPE.CAT");
- SetProfileString ('Subjects',"Type" ,szTemp,szNetIni);
- }
- GetSelectCount (nCount,'pkgTutorial','','');
- if GT (nCount,0)
- {
- PathCat (szTemp,pathTutorial,"TUTORIAL.CAT");
- SetProfileString ('Subjects',"Tutorial" ,szTemp,szNetIni);
- }
- GetSelectCount (nCount,'pkgSamples','','');
- if GT (nCount,0)
- {
- PathCat (szTemp,pathSamples,"WINDRW.CAT");
- SetProfileString ('Subjects',"Samples" ,szTemp,szNetIni);
- }
- GetSelectCount (nCount,'pkgFonts','','');
- if GT (nCount,0)
- {
- PathCat (szTemp,pathLibrary,'MGXFONTS,MGXFNT,MGXFNT.FTM,0,0');
- SetProfileString ('Micrografx Fonts 4.0 for OS/2','MGXFNT' ,szTemp,szNetIni);
- }
- GetSelectCount (nCount,'pkgCoreMGXFonts','','');
- if GT (nCount,0)
- {
- PathCat (szTemp,pathLibrary,'MGXFONTS,MGXFNT,MGXFNT.FTM,0,0');
- SetProfileString ('Micrografx Fonts 4.0 for OS/2','MGXFNT' ,szTemp,szNetIni);
- }
- PathCat (szTemp,pathLibrary,'BITFONTS\\MGXBIT.FTM');
- if EXISTS (szTemp)
- {
- PathCat (szTemp,pathLibrary,'BITFONTS,MGXFNT,MGXBIT.FTM,0,0');
- SetProfileString ('Micrografx Fonts 4.0 for OS/2','BSBEZIER' ,szTemp,szNetIni);
- }
- PathCat (szTemp,pathLibrary,'SPDFONTS\\MGXSPD.FTM');
- if EXISTS (szTemp)
- {
- PathCat (szTemp,pathLibrary,'SPDFONTS,MGXFNT,MGXSPD.FTM,0,0');
- SetProfileString ('Micrografx Fonts 4.0 for OS/2','BSSPEEDO' ,szTemp,szNetIni);
- }
- PathCat (szTemp,pathLibrary,'URWFONTS\\MGXURW.FTM');
- if EXISTS (szTemp)
- {
- PathCat (szTemp,pathLibrary,'URWFONTS,MGXFNT,MGXURW.FTM,0,0');
- SetProfileString ('Micrografx Fonts 4.0 for OS/2','URWBEZIER' ,szTemp,szNetIni);
- }
- GetSelectCount (nCount,'pkgClipArt','','');
- if GT (nCount,0)
- {
- SetProfileString ('Micrografx','ClipArt',pathClipArt ,szNetIni);
- }
-
-
- ##############################################################################
-
- [UpdateLibpath]
- AppendToLibPath (nResult,pathLibrary);
- if EQUALS (nResult,2)
- {
- bLibPathchg = TRUE;
- }
-
- ##############################################################################
-
- [ResultDialog] ()
- bCancel = FALSE;
- bStop = FALSE;
- bQuit = FALSE;
- if EQUALS (bSuccess,TRUE)
- {
- SetExtHelp ("");
- WinHelp (bResult,szReadMe,HELP_INDEX);
- SetIcon (DrawIcon,1,1,"Draw for OS/2");
- if EQUALS (bResult,TRUE)
- {
- SetHelp ("Click CONTINUE to proceed.");
- SetExtHelp ("");
- SetButtons ("&Continue","","",BUTTON1,BUTTON1);
- TextDialog (
- "Behind the Micrografx Installer, you will find a help
- " window containing information you should know about
- " Draw 3.0 for OS/2.\n\n
- "To see the help window fully, click anywhere on it.
- " The help window will surface over the Micrografx
- " Installer.\n\n
- "To return to the Micrografx Installer, minimize the
- " help window. For information on minimizing a window,
- " see your OS/2 manual.");
- }
- PathCat (szTemp,pathDraw,"DRAW.EXE");
- if EXISTS (szTemp)
- {
- SetHelp ("Click MAIN MENU to return to the Main Menu.");
- SetButtons ("&Main Menu","&Quit","",BUTTON1,BUTTON2);
- if EQUALS (bIcons,TRUE)
- {
- if EQUALS (bLibPathchg,TRUE)
- {
- TextDialog (
- "~Installation was successful!\n\n
- "Your CONFIG.SYS file has been updated. It is necessary
- " for you to shutdown your system before using Draw for OS/2.\n\n
- "To start Draw for OS/2, close the Micrografx Installer,
- " shutdown your system, double click the Draw for OS/2
- " icon in the Micrografx folder.\n\n
- "To return to the Main Menu of this program, click
- " MAIN MENU now.\n\n
- "Also, remember to complete and mail your Draw for OS/2
- " registration card so Micrografx can donate $1.00 to
- " the charity of your choice!");
- }
- else
- {
- TextDialog (
- "~Installation was successful!\n\n
- "To start Draw for OS/2, close the Micrografx Installer, then
- " double click the Draw for OS/2 icon in the Micrografx folder.\n\n
- "To return to the Main Menu of this program, click
- " MAIN MENU now.\n\n
- "Also, remember to complete and mail your Draw for OS/2
- " registration card so Micrografx can donate $1.00 to
- " the charity of your choice!");
- }
- }
- else
- {
- if EQUALS (bLibPathchg,TRUE)
- {
- TextDialog (
- "~Installation was successful!\n\n
- "Your CONFIG.SYS file has been updated. It is necessary
- " for you to shutdown your system before using Draw for OS/2.\n\n
- "To start Draw for OS/2, close the Micrografx Installer,
- " shutdown your system, run the OS/2 Drives utility,
- " change to the Draw for OS/2 directory, and double click
- " the file DRAW.EXE.\n\n
- "To return to the Main Menu of this program, click
- " MAIN MENU now.\n\n
- "Also, remember to complete and mail your Draw for OS/2
- " registration card so Micrografx can donate $1.00 to
- " the charity of your choice!");
- }
- else
- {
- TextDialog (
- "~Installation was successful!\n\n
- "To start Draw for OS/2, close the Micrografx Installer,
- " run the OS/2 Drives utility, change to the Draw for OS/2
- " directory, and double click the file DRAW.EXE.\n\n
- "To return to the Main Menu of this program, click
- " MAIN MENU now.\n\n
- "Also, remember to complete and mail your Draw for OS/2
- " registration card so Micrografx can donate $1.00 to
- " the charity of your choice!");
- }
- }
- SetIcon (DrawIcon,1,1);
- SetHelp ("");
- SetButtons ("","","",BUTTON1,BUTTON1);
- if PRESSED (BUTTON2)
- {
- bCancel = TRUE;
- bStop = TRUE;
- bQuit = TRUE;
- }
- }
- else
- {
- SetHelp ("Click QUIT to end Micrografx Installer.");
- SetButtons ("&Main Menu","&Quit","",BUTTON1,BUTTON2);
- TextDialog (
- "~Installation was successful!\n\n
- "To return to the Main Menu of this program, click
- " MAIN MENU now.\n\n
- "To end the Micrografx Installer, click QUIT now.\n\n
- "Also, remember to complete and mail your Draw for OS/2
- " registration card so Micrografx can donate $1.00 to
- " the charity of your choice!");
- SetIcon (DrawIcon,1,1);
- SetHelp ("");
- SetButtons ("","","",BUTTON1,BUTTON1);
- if PRESSED (BUTTON2)
- {
- bCancel = TRUE;
- bStop = TRUE;
- bQuit = TRUE;
- }
- }
- }
-
- ##############################################################################
-
-
-