home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 October / Pcwk1097.iso / ARTISOFT / MSHARE / DOS / INSTALL.DAT < prev    next >
Encoding:
INSTALL Professional project  |  1997-02-27  |  51.5 KB  |  1,976 lines

  1. //****************************************************************************
  2. //   FILE:                                                                   *
  3. //        INSTALL.DAT                                                        *
  4. //                                                                           *
  5. //   DESCRIPTION:                                                            *
  6. //                                                                           *
  7. //        This file is used for installing INSYNC ModemShare (DOS ONLY)               *
  8. //                                                                           *
  9. //   LAST UPDATE:                                                            *
  10. //                                                                           *
  11. //        3/08/96                                                             *
  12. //                                                                           *
  13. //****************************************************************************
  14.  
  15. //****************************************************************************
  16. // Define the project variables                                              *
  17. //****************************************************************************
  18.  
  19. @DefineProject
  20.   @Name = "INSYNC ModemShare"
  21.   @Version  = "7.00"
  22.   @Subdir   = "\\Insync\\Mshare\\"
  23.   @OutDrive = C
  24.   @Requires @HardDisk
  25.   @AssumeHardDisk = 1
  26.   @Immediate = 1
  27. @EndProject
  28.  
  29. @Backgroundmode(3,@RGB(128,0,128),@RGB(128,0,128))
  30.  
  31. //****************************************************************************
  32. // Show the opening display                                                  *
  33. //****************************************************************************
  34.  
  35. @If(@Platform != 3) // DOS installation 
  36.  
  37. @Display
  38.  
  39. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  40. @MoveCStr(2,2,95,"║                     Welcome to INSYNC ModemShare                         ║")
  41. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  42.  
  43.   
  44.      ModemShare is an easy software solution for sharing data/fax 
  45.      modems and their attached phone lines across a local area network. 
  46.      It works seamlessly in a DOS, Windows 3.1x or Windows 95 
  47.      environment  -  or in all three.
  48.  
  49.  
  50.  
  51.  
  52.    @Pause
  53.  
  54. @EndDisplay
  55. @EndIf
  56.  
  57. /////////////////////////////////////////////////////////////////////////
  58. // Opening screen for Windows - Ask to Install or Uninstall 
  59. /////////////////////////////////////////////////////////////////////////
  60.  
  61. INSTALL:
  62.  
  63. @If(@Platform == 3) // if Windows installation.
  64.  
  65. @DlgCtrlSize(0,8,11,10,42)  // set coordinates & size of list box
  66. @GetOption @Prompt = "Select Install or Uninstall"
  67.  
  68. Congratulations on your purchase of @Name!
  69.  
  70. This installation program will install @Name Version @Version 
  71. on your computer system and verify the integrity of the distribution 
  72. diskette files.
  73.  
  74. Options:
  75.  
  76. @Option 500 = "Install @Name"
  77. @Option 501 = "Uninstall @name"
  78.  
  79. @EndOption
  80.  
  81. @Else // DOS  installation.
  82.  
  83. @GetOption @Prompt = "Select Install or Uninstall"  @LocalWindow(19,40)
  84.  
  85. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  86. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                               INSTALL       ║")
  87. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  88.  
  89.   NOTE:  This installation program installs only ModemShare for DOS.
  90.        To install ModemShare for Windows 3.x or Windows 95, you'll
  91.        need to quit this program and use the Windows diskettes 
  92.        that came in this package.
  93.  
  94.        To begin installing ModemShare for DOS, Select Install INSYNC
  95.        ModemShare and press <ENTER>.
  96.       
  97.        If ModemShare is already installed on this computer and you 
  98.        want to remove it, select Uninstall INSYNC ModemShare and
  99.        press <ENTER>.
  100.  
  101.  
  102.  
  103.  
  104.  To Quit, press <ESC>
  105. @Option 500 = "Install @Name"
  106. @Option 501 = "Uninstall @name"
  107.  
  108. @EndOption
  109.  
  110. @EndIf // DOS 
  111.  
  112.  
  113. /////////////////////////////////////////////////////////////////////////
  114. // Check for Install or Uninstall 
  115. /////////////////////////////////////////////////////////////////////////
  116.  
  117. @If (500 [= @Option)
  118.  @Else
  119.   @Goto Uninstall
  120. @EndIf
  121.  
  122.  
  123.  
  124. //****************************************************************************
  125. // If the user has not installed before, see what network is in use          *
  126. //****************************************************************************
  127. NETWORK:
  128.   
  129. @ClearOption(128)
  130. @ClearOption(127)
  131. @ClearOption(126)
  132.  
  133. // WINDOWS
  134.  
  135. @If(@Platform ==3)  
  136.   @GetOption
  137.     @DlgCtrlSize(0,4,10,9,60) @Prompt = "Select the network operating system"
  138. Please select the network operating system you are using. 
  139.  
  140. Options:    
  141.     @Option 128 = "Novell Netware (IPX/SPX)"
  142.     @Option 200 = "Novell Netware running Windows for Workgroups"
  143.     @Option 126 = "Windows for Workgroups (NetBEUI)"
  144.     @Option 127 = "LANtastic or other NetBEUI or NetBIOS Networks"
  145.     @Option 99 = "Quit"
  146.   
  147.   @EndOption
  148. @EndIf  
  149.  
  150. // DOS
  151.  
  152. @If(@Platform ==1)  
  153. @GetOption @Prompt = "Select Network Operating System"  @LocalWindow(12,36)
  154. @Cls
  155. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  156. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                               INSTALL       ║")
  157. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  158.  
  159.  
  160.    Select the network type you're using: 
  161.  
  162.  
  163.    
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  To Quit, press <ESC>
  176.     @Option 127 = "LANtastic or NetBEUI/NetBIOS Networks"
  177.     @Option 128 = "Novell Netware (IPX/SPX)"
  178.   
  179.   
  180.   
  181.   
  182.   @EndOption
  183.  
  184.  
  185. @EndIf
  186.   
  187.  
  188. //****************************************************************************
  189. // Show Network Selected                                                     *
  190. //****************************************************************************
  191.  
  192. @If(@Platform == 3)
  193.  @DlgCtrlSize(0,6,12,8,40)
  194.  @GetOption @Prompt = "Selected Network Summary"
  195.  You have selected the following network.
  196.  
  197.  @If(128 [= @Option) Novell Netware (IPX/SPX) @Else @EndIf @If(126 [= @Option) Windows for Workgroups (NetBeui) @Else @EndIf
  198.  @If(127 [= @Option) LANtastic or other NetBEUI/NetBIOS Networks @Else @EndIf @If(200 [= @Option) Novell Netware running Windows for Workgroups @Else @EndIf
  199.  
  200.  You may:
  201.  @Option 1600 = "Continue"
  202.  @Option 1700 = "Reselect Options"
  203.  
  204.  @EndOption
  205. @EndIf
  206.  
  207. @If(@Platform == 1)
  208.  @GetOption @Prompt = "Selected Network Summary" @LocalWindow(17,30)
  209.   @Cls
  210. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  211. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                               INSTALL       ║")
  212. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  213.   
  214.   
  215.   You've selected the following network:
  216.  
  217.  @If(127 [= @Option) LANtastic or NetBEUI/NetBIOS Networks @Else @EndIf
  218.  @If(128 [= @Option) Novell Netware (IPX/SPX) @Else @EndIf 
  219.  
  220.   
  221.   If this is correct, select Continue.
  222.   To change your network type, choose Reselect Network.
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  To Quit, Press <ESC>
  231.  @Option 1600 = "Continue"
  232.  @Option 1700 = "Reselect Network"
  233.  
  234.   @EndOption
  235.  @EndIf
  236. @EndIf
  237.  
  238. @If(1700 [= @Option) @Goto NETWORK @EndIf
  239.  
  240. //****************************************************************************
  241. // Is this a Server or Client install?                                       *
  242. //****************************************************************************
  243.  
  244. @If(@Platform == 3)
  245.  @GetOption
  246.    @DlgCtrlSize(0,4,0,6,50) @Prompt = "Where am I?"
  247. Right now I am installing ModemShare:
  248.  
  249. @Option 1 = "on a PC with a modem attached (the Modem Server)"
  250. @Option 2 = "on a PC with no modem (the Modem Client)"
  251. @EndOption
  252. @Endif
  253.  
  254. @If(@Platform == 1)
  255.  @GetOption  @LocalWindow(12,38)
  256. @CLS
  257.  
  258. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  259. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                               INSTALL       ║")
  260. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  261.  
  262.  
  263.   Select the connection type that matches your configuration:
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  To Quit, press <ESC>
  278.  @Option 1 = "There is a modem(s) attached to this computer (ModemShare Server)"
  279.  @Option 2 = "There is no modem attached to this computer (ModemShare Client)"
  280.  
  281.  @EndOption
  282. @Endif
  283.  
  284. //****************************************************************************
  285. // Define the variables                                                      *
  286. //****************************************************************************
  287.  
  288. @If (1 [= @Option)
  289.  
  290.   @DefineVars
  291.     @Qstring @StaType = "SERVER"
  292.     @Qstring @SType = "MSERVER"
  293.     @Drive @BatDrive = C
  294.     @Dir @BatDir = "\\"
  295.     @Drive @WinDrive = @WindowsDrive
  296.     @Dir @WinDir = "@WindowsDir"
  297.     @Qstring @DrvVal = ""
  298.     @Qstring @LftVal = ""
  299.     @Qstring @NewVal = ""
  300.     @Qstring @ComNam = ""
  301.     @Qstring @COMVal = ""
  302.     @Qstring @DrvNam = ""
  303.     @Qstring @CG     = "" // used for CreateGroup command
  304.     @Qstring @AI1   = "" // used for Adding Item 1 command
  305.     @Qstring @AI2   = "" // used for Adding Item 2 command
  306.     @Qstring @AI3   = "" // used for Adding Item 3 command
  307.     @Qstring @AI4   = "" // used for Adding Item 4 command
  308.     @Qstring @AI5   = "" // used for Adding Item 5 command
  309.     @Qstring @AI6   = "" // used for Adding Item 6 command
  310.     @Qstring @AI7   = "" // used for Adding Item 7 command
  311.     @Qstring @AI8   = "" // used for Adding Item 8 command
  312.     @Qstring @AI9   = "" // used for Adding Item 9 command
  313.     @Qstring @AI10   = "" // used for Adding Item 10 command
  314.     @Qstring @SG    = "" // used for Show Group command
  315.     @Qstring @PMLIST= "" // used for the @ProgramManager command
  316.     @Integer @CNLen = 0
  317.     @Integer @LastS = 0
  318.     @Integer @StrL  = 0
  319.     @Integer @LefL  = 0
  320.     @Integer @Green = @RGB(0,255,0) //DEFINE COLOR GREEN
  321.     @Integer @Blue  = @RGB(0,0,255) //DEFINE COLOR BLUE
  322.     @Integer @Black = @RGB(0,0,0)   //DEFINE COLOR BLACK
  323.   @EndVars
  324.  
  325. @Else
  326.  
  327.   @DefineVars
  328.     @Qstring @StaType = "Client"
  329.     @Qstring @SType = "MCLIENT"
  330.     @Drive @BatDrive = C
  331.     @Dir @BatDir = "\\"
  332.     @Drive @WinDrive = @WindowsDrive
  333.     @Dir @WinDir = "@WindowsDir"
  334.     @Qstring @DrvVal = ""
  335.     @Qstring @LftVal = ""
  336.     @Qstring @NewVal = ""
  337.     @Qstring @ComNam = ""
  338.     @Qstring @COMVal = ""
  339.     @Qstring @DrvNam = ""
  340.     @Qstring @CG     = "" // used for CreateGroup command
  341.     @Qstring @AI1   = "" // used for Adding Item 1 command
  342.     @Qstring @AI2   = "" // used for Adding Item 2 command
  343.     @Qstring @AI3   = "" // used for Adding Item 3 command
  344.     @Qstring @AI4   = "" // used for Adding Item 4 command
  345.     @Qstring @AI5   = "" // used for Adding Item 5 command
  346.     @Qstring @AI6   = "" // used for Adding Item 6 command
  347.     @Qstring @AI7   = "" // used for Adding Item 7 command
  348.     @Qstring @AI8   = "" // used for Adding Item 8 command
  349.     @Qstring @AI9   = "" // used for Adding Item 9 command
  350.     @Qstring @AI10   = "" // used for Adding Item 10 command
  351.     @Qstring @SG    = "" // used for Show Group command
  352.     @Qstring @PMLIST= "" // used for the @ProgramManager command
  353.     @Integer @CNLen = 0
  354.     @Integer @LastS = 0
  355.     @Integer @StrL  = 0
  356.     @Integer @LefL  = 0
  357.     @Integer @Green = @RGB(0,255,0) //DEFINE COLOR GREEN
  358.     @Integer @Blue  = @RGB(0,0,255) //DEFINE COLOR BLUE
  359.     @Integer @Black = @RGB(0,0,0)   //DEFINE COLOR BLACK
  360.   @EndVars
  361.  
  362. @Endif
  363.  
  364. //****************************************************************************
  365. //  Delete any existing ModemShare Group                           *
  366. //****************************************************************************
  367.  
  368. @If (@Platform == 3)
  369.   @If (@Exists "@WinDrive:\\@Windir\\MODEMASS.GRP")
  370.     @CG = "[DeleteGroup(ModemShare)]"
  371.     @ProgramManager("@CG")
  372.   @Endif
  373. @Endif
  374.            
  375. //****************************************************************************
  376. // See if the user wants to build a DOS batch file                           *
  377. //****************************************************************************
  378.  
  379. @If (2 [= @Option && @Platform == 3)
  380.   @Else
  381.    @If(@Platform == 3)
  382.     @GetOption
  383.      @DlgCtrlSize(0,5,1,7,70) @Prompt = "Batch File Options"
  384. Please choose one of these batch file options to invoke 
  385. the @Name @StaType program:
  386.  
  387.     @Option 50 = "Create a batch file in the program directory"
  388.     @Option 60 = "Add commands to the end of the AUTOEXEC.BAT file"
  389.     @EndOption
  390.  
  391.    @Endif
  392.  
  393.   @If(@Platform == 1)
  394. @GetOption @LocalWindow(11,38)
  395. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  396. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                               INSTALL       ║")
  397. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  398.   
  399.   
  400.   Select one of the following batch file options:
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  To Quit, press <ESC>
  416. @Option 50 = "Create a batch file (@StaType.BAT) to run the @StaType software"
  417. @Option 60 = "Add the @StaType startup command to your existing AUTOEXEC.BAT file"
  418.     
  419.     @EndOption
  420.  @EndIf
  421. @EndIf
  422.  
  423. //****************************************************************************
  424. // Get the disk and directory information                                    *
  425. //****************************************************************************
  426.  
  427. GETDRIVE:
  428.  
  429. @If(@Platform == 3)
  430.   @GetOutDrive
  431.      @DlgCtrlSize(0,7,15,17,28) @Prompt = "Enter target drive"
  432.  Please select the drive where you wish the @Name 
  433.  @StaType files to be installed. Any available drive (including 
  434.  network drives) can be used assuming you have access rights to 
  435.  the drive. 
  436.  
  437. Drives:
  438.   @EndOutDrive
  439.  
  440.   @GetSubdir
  441.      @DlgCtrlSize(0,5,1,6,70) @Prompt = "Enter target subdirectory"
  442.   Please select the subdirectory PATH where you want
  443.   the @Name @StaType files to be installed.
  444.  
  445.   @EndSubdir
  446. @EndIf
  447.  
  448. // DOS
  449.  
  450. @If(@Platform == 1)
  451.   @GetOutDrive @LocalWindow(15,35)
  452. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  453. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                               INSTALL       ║")
  454. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  455.  
  456.    Select the drive where you want to install the ModemShare files. 
  457.    You can use any drive (including a network drive) to which you 
  458.    have access.
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  To Quit, press <ESC>
  473.   @EndOutDrive
  474.  
  475.   @GetSubdir @LocalWindow(17,45)
  476. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  477. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                               INSTALL       ║")
  478. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  479.   
  480.    
  481.    ModemShare will be installed to the following directory:
  482.    
  483.    @OutDrive:\INSYNC\MSHARE
  484.    
  485.    If this is correct, press <ENTER>.
  486.  
  487.    To change the location, type the new information in the Subdirectory
  488.    Name field, then press <ENTER>.
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  To Quit, press <ESC>
  497.   @EndSubdir
  498. @EndIf
  499.  
  500. //****************************************************************************
  501. // Show Drive and Subdirector  Selected                                                     *
  502. //****************************************************************************
  503.  
  504. @If(@Platform == 3)
  505.  @DlgCtrlSize(0,5,12,7,40)
  506.  @GetOption @Prompt = "Drive and Subdirectory Summary"
  507.  You have selected the Drive and Subdirectory:
  508.  
  509. @Outdrive:@Subdir
  510.  
  511.  You may:
  512.  @Option 1800 = "Continue"
  513.  @Option 1900 = "Reselect Options"
  514.  
  515.  @EndOption
  516. @EndIf
  517.  
  518.  
  519. //**********************************************
  520. // Check to see if Network or Hard drive install
  521. //**********************************************
  522. @If(@Platform ==3)
  523.  @GetOption @DlgCtrlSize(0,4,12,6,35) @Prompt = "Network or Local Drive?"
  524.  Are you installing the @Name Files to a Network 
  525.  drive or to a local drive?
  526.  
  527.  
  528.  
  529.  
  530.  
  531. NOTE: Selecting "Network Drive" will install all @Name 
  532. files and will allow for Client installations from the
  533. network. Selecting "Local Drive" will only install the necessary 
  534. @SType files for this workstation.
  535.  
  536.  
  537.  @Option 1400 = "Network Drive"
  538.  @Option 1401 = "Local Drive"
  539.  
  540.  @EndOption
  541. @EndIf
  542.  
  543. //***************************************************************************
  544. // Check to see if EXE files already exists
  545. //***************************************************************************
  546.  
  547. @If(@Platform == 3)
  548.   @If (@Exists "@OutDrive:\\@SubDir\\@SType.EXE")
  549.      @GetOption @DlgCtrlSize(0,4,25,6,30) @Prompt = "@SType already exists"
  550. The @StaType already exists in @OutDrive:@SubDir.
  551. Do You want to write over the existing executable files?
  552.  
  553.  
  554.  
  555.  
  556. WARNING: If you have @Name installed on a network 
  557. drive for shared use, you will need to have all Windows users of 
  558. @Name exit Windows before proceeding. Failure to 
  559. do so will result in file installation errors.
  560.  
  561.        @Option 11 = "Yes"
  562.        @Option 10 = "No"
  563.      @EndOption
  564.   @Endif
  565. @Endif
  566.  
  567. @If(@Platform == 1)
  568.   @If (@Exists "@OutDrive:\\@SubDir\\@SType.EXE")
  569.     @GetOption @LocalWindow(13,30)
  570. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  571. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                               INSTALL       ║")
  572. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  573.  
  574.        The @StaType already exists in @OutDrive:@SubDir.
  575.        Do You want to write over the existing executable files?
  576.  
  577.        
  578.        @Option 11 = "Yes"
  579.        @Option 10 = "No"
  580.      @EndOption
  581.   @Endif
  582. @Endif
  583.   
  584.   
  585.   @If (10 [= @Option)
  586.     @Abort
  587.   @Endif
  588.  
  589. //***************************************************************************
  590. // Check to see if CON files already exists
  591. //***************************************************************************
  592.  
  593. @If(@Platform == 3)
  594.   @If (@Exists "@OutDrive:\\@SubDir\\CLIENT.CON")
  595.    @SetOption(27)
  596.   @Else 
  597.    @SetOption(28)
  598.   @Endif
  599. @EndIf
  600.  
  601. // DOS
  602.  
  603. @If(@Platform == 1)
  604.   @If (@Exists "@OutDrive:\\@SubDir\\CLIENT.CON")
  605.    @SetOption(27)
  606.   @Else 
  607.    @SetOption(28)
  608.   @Endif
  609. @EndIf
  610.  
  611.  
  612. //************************************************************************
  613. // Call the Program Manager to create the ModemShare Group               *
  614. // We will add the icons later                                           *
  615. //************************************************************************
  616.  
  617. @If (@Platform == 3)
  618.   @CG = "[CreateGroup(ModemShare)]"
  619.   @ProgramManager("@CG")
  620. @Endif
  621.  
  622. //****************************************************************************
  623. // See what com ports and default speeds the Server is to use                *
  624. //****************************************************************************
  625.  
  626. @If (2 [! @Option)
  627.   @SetOption(1)
  628. @Endif
  629.  
  630. @If (1 [! @Option)
  631.   @SetOption(2)
  632. @Endif
  633.  
  634. @If (27 [= @Option)
  635. @Else
  636.   @If (1 [= @Option)
  637.  
  638.    @If(@Platform == 3)
  639.     @GetOption  @DlgCtrlSize(0,3,1,6,70) @Prompt = "Server Configuration"
  640. Please choose one of these Server configuration options:
  641.  
  642. @Option 12 = "Server uses standard COM ports with modems attached"
  643. @Option 13 = "Server uses standard COM ports without modems (direct connects)"
  644. @Option 14 = "Server uses multi-port boards"
  645.  
  646.     @EndOption
  647.    @Endif
  648.  
  649.    @If(@Platform == 1)
  650.     @GetOption @LocalWindow(12,40)
  651. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  652. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                               INSTALL       ║")
  653. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  654.  
  655.       
  656.       Select one of the following configuration options:
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  To Quit, press <ESC>
  672. @Option 12 = "Server uses standard COM ports with modems attached"
  673. @Option 13 = "Server uses standard COM ports without modems attached"
  674. @Option 14 = "Server uses multi-port boards"
  675.     @EndOption
  676.    @Endif
  677.   
  678.   
  679. @If (12 [= @Option || 13 [= @Option)
  680.  
  681.   @If(@Platform == 3)
  682.     @GetOption @DlgCtrlSize(0,4,10,12,30) @Prompt = "COM port selection"
  683.       Please select the COM port or combination of 
  684.       COM ports to be used by the Server:
  685.  
  686.       @Option 15 = "COM1"
  687.       @Option 16 = "COM2"
  688.       @Option 17 = "COM3"
  689.       @Option 18 = "COM4"
  690.       @Option 19 = "COM1 and COM2"
  691.       @Option 20 = "COM1 and COM4"
  692.       @Option 21 = "COM2 and COM3"
  693.       @Option 22 = "COM3 and COM4"
  694.     @EndOption
  695.  
  696.   @Endif
  697.  
  698.   @If(@Platform == 1)
  699.     @GetOption @LocalWindow(13,35)
  700. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  701. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                               INSTALL       ║")
  702. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  703.       
  704.       
  705.       Select the COM port(s) that others will use to access your modem:
  706.  
  707.       
  708.       
  709.       
  710.       
  711.       
  712.       
  713.       
  714.       
  715.  
  716.  
  717.  
  718.  
  719.       
  720.  To Quit, press <ESC>     
  721.       @Option 15 = "COM1"
  722.       @Option 16 = "COM2"
  723.       @Option 17 = "COM3"
  724.       @Option 18 = "COM4"
  725.       @Option 19 = "COM1 and COM2"
  726.       @Option 20 = "COM1 and COM4"
  727.       @Option 21 = "COM2 and COM3"
  728.       @Option 22 = "COM3 and COM4"
  729.     @EndOption
  730.  
  731.   @Endif
  732. @Endif  
  733.  
  734. @If (12 [= @Option)
  735.  
  736.   @If(@Platform == 3)
  737.     @GetOption @DlgCtrlSize(0,3,9,7,32) @Prompt = "Default baud rate"
  738.       Please select the default baud rate for the modem(s):
  739.  
  740.       @Option 125 = "28800"
  741.       @Option 124 = "14400"
  742.       @Option 123 = "9600"
  743.       @Option 122 = "2400"
  744.  
  745.     @EndOption
  746.   @Endif
  747.  
  748.   @If(@Platform == 1)
  749.     @GetOption @LocalWindow(13,35)
  750. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  751. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                               INSTALL       ║")
  752. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  753.       
  754.       
  755.       Select the default baud rate for the modem. If you have more than 
  756.       one modem attached, select the baud rate of the slowest one:
  757.  
  758.       
  759.  
  760.       
  761.       
  762.  
  763.  
  764.       
  765.       
  766.       
  767.       
  768.       
  769.       
  770.  To Quit, press <ESC>      
  771.       @Option 125 = "28800"
  772.       @Option 124 = "14400"
  773.       @Option 123 = "9600"
  774.       @Option 122 = "2400"
  775.  
  776.     @EndOption
  777.   @Endif
  778. @Endif
  779.   
  780. @If (14 [= @Option)
  781.  @If(@Platform ==3)
  782.     @Display
  783.       @Cls
  784.  
  785. To simplify the setup of your Multi-Port card, several sample
  786. parameter files (MULTI4.CON, MULTI8.CON & MULTI16.CON), for you to 
  787. use as models, will be installed. After Installation is complete, 
  788. examine the appropriate CON file using the PAREDIT program and 
  789. make changes if necessary. 
  790.  
  791.  
  792.  
  793.       @Pause
  794.     @EndDisplay
  795.  @EndIf
  796.  
  797.  @If(@Platform ==1)
  798.     @Display @CLS
  799. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  800. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                               INSTALL       ║")
  801. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  802.  
  803.   
  804.   To simplify the setup of your Multi-Port card, several sample
  805.   parameter files (MULTI4.CON, MULTI8.CON & MULTI16.CON), for you to 
  806.   use as models, will be installed. After Installation is complete, 
  807.   examine the appropriate CON file using the PAREDIT program and 
  808.   make changes if necessary. 
  809.  
  810.  
  811.  
  812.       @Pause
  813.     @EndDisplay
  814.  @EndIf
  815. @Endif
  816. @EndIf
  817. @EndIf
  818.  
  819. //****************************************************************************
  820. // Check for a previous Windows install and ask permission to update files   *
  821. //****************************************************************************
  822.  
  823. @If (@Platform == 3)
  824.  
  825.   @DrvVal = @GetINI("boot","comm.drv","system.ini")
  826.   @StrL = @StrLen("@DrvVal")
  827.   @If (@StrL == 0)
  828.  
  829.     @ComNam = "COMM.DRV"
  830.  
  831.   @Else
  832.  
  833.     @LastS = @StrRFind("@DrvVal","\\")
  834.     @LefL = @Eval(@LastS + 1)
  835.     @If(@LastS == @StrL)
  836.       @ComNam = "@DrvVal"
  837.     @Else
  838.       @CNLen = @Eval(@StrL - @LefL)
  839.       @ComNam = @StrTail("@DrvVal",@CNLen)
  840.       @LftVal = @StrHead("@DrvVal",@LefL)
  841.     @Endif
  842.   @EndIf
  843. @EndIf
  844.   
  845. @If(@Platform ==3)  
  846.   @If (1 [= @Option)
  847.     @If (@Exists "@WinDrive:\\@Windir\\MCLIENT.INI")
  848.       @Display
  849. @Name has previously been installed for Windows on
  850. this machine. This installation will update files and 
  851. the Windows parameters for operation with the current
  852. version of @Name.
  853.     @Pause
  854.       @EndDisplay
  855.       @SetOption(44)
  856.     @Else
  857.       @GetOption
  858.        @DlgCtrlSize(0,18,38,20,43) @Prompt = "Windows Changes"
  859. When acting as a Client at the non-dedicated @Name 
  860. Server, two changes are necessary to support Windows 
  861. communications programs: 
  862.  
  863. 1) The comm.drv= statement in the [boot] section of 
  864. the SYSTEM.INI file must point to the @Name 
  865. communications driver (MACOMM.DRV). 
  866.  
  867. 2) The MCLIENT.INI file must be installed in the 
  868. @WinDrive:@WinDir directory.
  869.  
  870. The @Name redirector does not "replace" your
  871. current communications driver (@DrvVal).  Any request
  872. not sent to the @Name "redirected" com port 
  873. will be passed to @DrvVal.
  874.  
  875. Do you want to make these changes?
  876.        
  877.        @Option 44 = "Yes"
  878.        @Option 43 = "No"
  879.       
  880.       @EndOption
  881.       @Display
  882.     @Cls
  883.  
  884.    IMPORTANT: If you plan to run Windows on this machine while the
  885.    @Name Server is active, we STRONGLY RECOMMEND 
  886.    the use of a 16550 UART (rather that 8250 or 16450). Use of an 
  887.    8250 UART while Windows is active can result in data overruns for 
  888.    incoming data. 
  889.    
  890.    You can check your UART type by running the DOS MSD program
  891.    and selecting the "C" option (for COM ports). The bottom of the
  892.    display will show the UART type.
  893.    @Pause
  894.       @EndDisplay
  895.     @Endif
  896.  @EndIf
  897. @EndIf
  898.  
  899. @If (@Platform == 3)
  900.  @If (2 [= @Option)
  901.     @If (@Exists "@WinDrive:\\@Windir\\MCLIENT.INI")
  902.       @Display
  903.     @Cls
  904.  
  905.     @Name has been previously installed for Windows on
  906.     this machine. This execution of Install will make any necessary
  907.     changes to the Windows parameters.
  908.  
  909.  
  910.  
  911.     @Pause
  912.       @EndDisplay
  913.       @SetOption(44)
  914.     @Else
  915.       @GetOption
  916.        @DlgCtrlSize(0,20,38,22,43) @Prompt = "Windows Changes"
  917. The following changes will enable the Client to support 
  918. Windows communications programs:
  919.        
  920. 1) The comm.drv= statement in the [boot] section of the 
  921. SYSTEM.INI file must point to the @Name
  922. communications driver (MACOMM.DRV). 
  923.  
  924. The @Name redirector does not "replace" your
  925. current communications driver (@DrvVal).  Any request
  926. not sent to the @Name "redirected" com port 
  927. will be passed to @DrvVal.
  928.     
  929. 2) The MCLIENT.INI file must be installed in the 
  930. @WinDrive:@WinDir directory.
  931.  
  932. 3) A device=@OutDrive:@SubDir\MCLIENT.EXE statement must
  933. be added to the [386Enh] section of the SYSTEM.INI file.
  934.  
  935. Do you want to make these changes?
  936.  
  937.        @Option 44 = "Yes"
  938.        @Option 43 = "No"
  939.       @EndOption
  940.     @Endif
  941.   @Endif
  942. @EndIf
  943.  
  944. @If (@Platform == 3)
  945.   @If (43 [= @Option)
  946.  
  947.     @GetOption
  948.     @DlgCtrlSize(0,10,15,12,20)
  949.       Install will continue without making the changes necessary for
  950.       supporting Non-NASI/INT14 Windows communications programs. You can 
  951.       use DOS and Windows programs only if they support NASI or INT14.
  952.  
  953.       Do you want Install to continue?
  954.  
  955.        @Option 45 = "No"
  956.        @Option 46 = "Yes"
  957.       @EndOption
  958.   @Endif
  959.  
  960.   @If (45 [= @Option)
  961.     @Abort
  962.   @Endif
  963. @EndIf
  964.  
  965. @If(@Platform ==3)  
  966.   @If (44 [= @Option)
  967.      @If (2 [= @Option)
  968.     @Copy("UPINI.EXE","@WinDrive:\\@Windir")
  969.     @WinExec("@WinDrive:\\@Windir\\UPINI.EXE @WinDrive:\\@WinDir,-",1)
  970.     @WinExec("@WinDrive:\\@Windir\\UPINI.EXE @WinDrive:\\@Windir,@WinDrive:\\@WinDir",1)
  971.     @Copy("@WinDrive:\\@Windir\\SYSTEM.INI","@WinDrive:\\@Windir\\SYSTEM.MA")
  972.     @Delete("@WinDrive:\\@Windir\\System.CMG")
  973.     @Display
  974.       @Cls
  975.  
  976.       Your SYSTEM.INI file was saved as SYSTEM.MA
  977.       @Pause
  978.     @EndDisplay
  979.       @Endif
  980.   @Else
  981.       @Copy("@WinDrive:\\@Windir\\SYSTEM.INI","@WinDrive:\\@Windir\\SYSTEM.MA")
  982.   @Endif
  983. @Endif
  984.     
  985. @If(@Platform ==3)    
  986.     @If (2 [= @Option)
  987.       @If (@Exists "@WinDrive:\\@Windir\\SYSTEM.MA")
  988.     @Delete("@WinDrive:\\@Windir\\UPINI.EXE")
  989.       @Else
  990.     @Display
  991.       @Cls
  992.  
  993.       Install was unable to update your SYSTEM.INI file. Please
  994.       insert the following statement in the [386Enh] section:
  995.  
  996.            device=@OutDrive:@SubDir\MCLIENT.EXE
  997.  
  998.  
  999.       @Pause
  1000.  
  1001.  
  1002.     @EndDisplay
  1003.       @Endif
  1004.     @Endif
  1005. @EndIf
  1006.     
  1007. @If(@Platform ==3)    
  1008.   @If (44 [= @Option)
  1009.     @If (@Exists "@WinDrive:\\@Windir\\MCLIENT.INI")
  1010.       @NewVal = @GetINI("Redirector","CommDriver","mclient.ini")
  1011.     @Else
  1012.       @Copy("mclient.INI","@WinDrive:\\@Windir")
  1013.       @If("@ComNam" == "comm.drv" || "@ComNam" == "COMM.DRV")
  1014.     @If(@Exists "@WinDrive:\\@Windir\\COMM.DRV")
  1015.       @Copy("@WinDrive:\\@Windir\\COMM.DRV","@WinDrive:\\@Windir\\MSCOMM.DRV")
  1016.     @Else
  1017.       @Copy("@WinDrive:\\@Windir\\SYSTEM\\COMM.DRV","@WinDrive:\\@Windir\\SYSTEM\\MSCOMM.DRV")
  1018.     @Endif
  1019.        @ComNam = "mscomm.drv"
  1020.        @NewVal = "@LftVal@ComNam"
  1021.       @Else
  1022.        @NewVal = "@DrvVal"
  1023.       @Endif
  1024.     @Endif
  1025.  
  1026.     @SetINI("Redirector","CommDriver","@NewVal","mclient.ini")
  1027.     @SetINI("boot","comm.drv","@WinDrive:\\@WinDir\\macomm.drv","system.ini")
  1028.  
  1029.     @GetOption
  1030.       @DlgCtrlSize(0,7,25,11,33) @Prompt = "Redirected Port Selection"
  1031.       @If (1 [= @Option)
  1032.       Please select the "COM" port that will be redirected by the Local 
  1033.       Client to use the shared modem pool. To continue using local devices 
  1034.       on your PC you should select a port that does not physically exist.
  1035.       @Else
  1036.       Please select the "COM" port that will be redirected by the Client
  1037.       to use the shared modem pool. To continue using local devices on 
  1038.       your PC you should select a port that does not physically exist.
  1039.       @Endif
  1040.  
  1041.       @Option 69 = "COM 4"
  1042.       @Option 68 = "COM 3"
  1043.       @Option 67 = "COM 2"
  1044.       @Option 66 = "COM 1"
  1045.  
  1046.     @EndOption
  1047.  
  1048.       @SetINI("Redirector","ClientDLL","@OutDrive:\\@SubDir\\mclient.dll","mclient.ini")
  1049.       @SetINI("ClientParms","FileName","@OutDrive:\\@SubDir\\client.con","mclient.ini")
  1050.     
  1051.     @If (66 [= @Option)
  1052.       @SetINI("Redirector","RedirectPorts","1","mclient.ini")
  1053.     @Endif
  1054.     @If (67 [= @Option)
  1055.       @SetINI("Redirector","RedirectPorts","2","mclient.ini")
  1056.     @Endif
  1057.     @If (68 [= @Option)
  1058.       @SetINI("Redirector","RedirectPorts","3","mclient.ini")
  1059.     @Endif
  1060.     @If (69 [= @Option)
  1061.       @SetINI("Redirector","RedirectPorts","4","mclient.ini")
  1062.     @Endif
  1063.  
  1064.     @If (1 [= @Option)
  1065.       @GetOption
  1066.       @DlgCtrlSize(0,9,20,11,25) @Prompt = "Create/Edit WINSTART.BAT?"
  1067.     Would you like to automatically load the Local Client each time
  1068.     you load Windows by creating an entry in the WINSTART.BAT file?
  1069.     If you use DOS communications programs outside of Windows, you 
  1070.     should not select this option.
  1071.  
  1072.     Do you want Install to create or edit the WINSTART.BAT?
  1073.  
  1074.     @Option 71 = "Yes"
  1075.     @Option 70 = "No"
  1076.       @EndOption
  1077.       @If (71 [= @Option)
  1078.     @Write("@WinDrive:\\@Windir\\WINSTART.BAT","wt","@@Echo off\n")
  1079.     @Write( ,  , "@OutDrive:\\@Subdir\\MLCLIENT.EXE @OutDrive:\\@Subdir\\CLIENT.CON\n")
  1080.       @Endif
  1081.     @Endif
  1082.   @Endif
  1083. @Endif
  1084. @EndIf
  1085. @EndIf
  1086. //**************************************************************************
  1087. // We set the variables to add the Icons to the ModemShare group           *
  1088. // and the command to show the group                                       *
  1089. //**************************************************************************
  1090.  
  1091. @If (@Platform == 3)
  1092.   @AI1 = "[AddItem(@Outdrive:\\@Subdir\\inhost.exe,Inbound Service, @OutDrive:\\@Subdir\\inbound.ico, 0)]"
  1093.   @AI2 = "[AddItem(NOTEPAD.EXE @OutDrive:\\@SubDir\\README.TXT,Read Me,@OutDrive:\\@Subdir\\readme.ico, 0)]"
  1094.   @AI3 = "[AddItem(@Outdrive:\\@Subdir\\paredit.exe,Parameter Editor, @OutDrive:\\@Subdir\\paredit.ico, 0)]"
  1095.   @AI4 = "[AddItem(@Outdrive:\\@Subdir\\mlights.exe,Modem View, , 0)]"
  1096.   @AI5 = "[AddItem(@Outdrive:\\@Subdir\\mlights.exe,Modem View, , 0)]"
  1097.   @AI6 = "[AddItem(@Outdrive:\\@Subdir\\portsetc.exe,Port Status & Setup, , 0)]"
  1098.   @AI9 = "[AddItem(@Outdrive:\\@Subdir\\Install.exe,Client Install/UnInstall, , 0)]"
  1099.   @AI10 = "[AddItem(@Outdrive:\\@Subdir\\winmon.exe,Remote Monitor, , 0)]"
  1100.   @If (1 [= @Option)
  1101.     @AI7 = "[AddItem(@Outdrive:\\@Subdir\\monitor.exe,Server Monitor, @OutDrive:\\@Subdir\\monitor.ico, 0)]"
  1102.   @Endif
  1103.   @SG  = "[ShowGroup(ModemShare, 6)]"
  1104.  
  1105. @Endif
  1106.  
  1107. @If (@Platform == 3 && 69 [= @Option)
  1108.   @AI8 = "[AddItem(TERMINAL.EXE @OutDrive:\\@SubDir\\MODEM4.TRM,Terminal Com4,, 0)]"
  1109. @Endif
  1110.  
  1111. @If (@Platform == 3 && 68 [= @Option)
  1112.   @AI8 = "[AddItem(TERMINAL.EXE @OutDrive:\\@SubDir\\MODEM3.TRM,Terminal Com3,, 0)]"
  1113. @Endif
  1114.  
  1115. @If (@Platform == 3 && 67 [= @Option)
  1116.   @AI8 = "[AddItem(TERMINAL.EXE @OutDrive:\\@SubDir\\MODEM2.TRM,Terminal Com2,, 0)]"
  1117. @Endif
  1118.  
  1119. @If (@Platform == 3 && 66 [= @Option)
  1120.   @AI8 = "[AddItem(TERMINAL.EXE @OutDrive:\\@SubDir\\MODEM1.TRM,Terminal Com1,, 0)]"
  1121. @Endif
  1122.  
  1123. @Endif
  1124.  
  1125. //****************************************************************************
  1126. // Select the files to install                                               *
  1127. //****************************************************************************
  1128.  
  1129. @If (2 [! @Option)
  1130.   @SetOption(1)
  1131. @Endif
  1132.  
  1133. @If (1 [! @Option)
  1134.   @SetOption(2)
  1135. @Endif
  1136.  
  1137. @If (200 [= @Option)
  1138.   @SetOption(128)
  1139. @Endif
  1140.  
  1141.  
  1142. @DefineDisk
  1143.  
  1144.   @Label = "Disk 1"
  1145.  
  1146. @If (@Platform == 3)  
  1147.   
  1148.   @File UPINI.EXE 
  1149.   @File INSTALL.EXE
  1150.   @File DISK.ID
  1151.   @File README.TXT
  1152.  
  1153.   @BeginLib COMMON.SYN
  1154.     @File     PAREDIT.EXE
  1155.     @File     PEDIT.MSG
  1156.     @File     PEDIT.NDX
  1157.     @File     MACOMM.DRV
  1158.     @File     MACOMM.DRV @Out @WindowsDrive:\@WindowsDir\Macomm.drv
  1159.     @File     INHOST.EXE
  1160.     @File     INHOST.HLP
  1161.     @File     INBOUND.ICO
  1162.     @File     README.ICO
  1163.     @File     MONITOR.ICO
  1164.     @File     PAREDIT.ICO
  1165.     @File     TERMTEST.EXE
  1166.     @File     MENU.EXE
  1167.     @File     MLIGHTS.EXE
  1168.     @File     PROCHOOK.DLL
  1169.     @File     PORTSETC.EXE
  1170.     @File     PORTSETC.HLP
  1171.     @File     INSTALL.DAT
  1172.     @File     MODEM1.TRM
  1173.     @File     MODEM2.TRM
  1174.     @File     MODEM3.TRM
  1175.     @File     MODEM4.TRM
  1176.     @File     WINMON.EXE
  1177.     @File     MACI16.DLL
  1178.   @EndLib
  1179. @EndIf
  1180.  
  1181.  
  1182. @If(@Platform != 3)
  1183.   
  1184.   @File README.TXT
  1185.  
  1186.   @BeginLib COMMON.SYN
  1187.     @File     PAREDIT.EXE
  1188.     @File     PEDIT.MSG
  1189.     @File     PEDIT.NDX
  1190.     @File     INHOST.EXE
  1191.     @File     TERMTEST.EXE
  1192.     @File     MENU.EXE
  1193.     @File     CM.DAT
  1194.   @EndLib
  1195. @EndIf
  1196.  
  1197. @If (27 [= @Option)
  1198.       @Else
  1199.     @BeginLib COMMON.SYN
  1200.      @File     CLIENT.CON 
  1201.     @EndLib
  1202. @Endif    
  1203.  
  1204. //EndDisk
  1205.  
  1206. //DefineDisk
  1207.  
  1208. //  @Label = "Disk 2"
  1209.  
  1210. // Install Server for IPX  
  1211.  
  1212. @If (1 [= @Option && 128 [= @Option || 128 [= @Option && 1400 [=@Option)
  1213.      @BeginLib ISERVER.SYN
  1214.       @File     MSERVER.EXE
  1215.       @File     MLCLIENT.EXE
  1216.       @File     MONITOR.EXE
  1217.     @EndLib
  1218. @EndIf
  1219.  
  1220. // Install Server for NETBEUI/NETBIOS  
  1221.  
  1222. @If (1 [= @Option || 1400 [= @Option) 
  1223. @If (126 [= @Option || 127 [= @Option)
  1224.     @BeginLib NSERVER.SYN
  1225.       @File     MSERVER.EXE
  1226.       @File     MLCLIENT.EXE
  1227.       @File     MONITOR.EXE
  1228.     @EndLib
  1229.  @EndIf
  1230. @EndIf
  1231.     
  1232.  
  1233.     @If (27 [= @Option)
  1234.     @Else
  1235.  
  1236.       
  1237.       @If (12 [= @Option && 15 [= @Option && 122 [= @Option)
  1238.  
  1239.     @BeginLib SERVER.SYN
  1240.       @File     CON_1.24 @Out SERVER.CON
  1241.     @EndLib
  1242.  
  1243.       @Endif
  1244.  
  1245.       @If (12 [= @Option &&  15 [= @Option && 123 [= @Option)
  1246.  
  1247.     @BeginLib SERVER.SYN
  1248.       @File     CON_1.96 @Out SERVER.CON
  1249.     @EndLib
  1250.  
  1251.       @Endif
  1252.  
  1253.       @If (12 [= @Option &&  15 [= @Option &&  124 [= @Option)
  1254. @BeginLib SERVER.SYN
  1255.       @File     CON_1.19 @Out SERVER.CON
  1256.     @EndLib
  1257.  
  1258.       @Endif
  1259.  
  1260.       @If (12 [= @Option &&  15 [= @Option &&  125 [= @Option)
  1261.  
  1262.     @BeginLib SERVER.SYN
  1263.       @File     CON_1.19 @Out SERVER.CON
  1264.     @EndLib
  1265.  
  1266.       @Endif
  1267.       @If (12 [= @Option &&  16 [= @Option &&  122 [= @Option)
  1268.  
  1269.     @BeginLib SERVER.SYN
  1270.       @File     CON_2.24 @Out SERVER.CON
  1271.     @EndLib
  1272.  
  1273.       @Endif
  1274.  
  1275.       @If (12 [= @Option &&  16 [= @Option &&  123 [= @Option)
  1276.  
  1277.     @BeginLib SERVER.SYN
  1278.       @File     CON_2.96 @Out SERVER.CON
  1279.     @EndLib
  1280.  
  1281.       @Endif
  1282.  
  1283.       @If (12 [= @Option &&  16 [= @Option &&  124 [= @Option)
  1284.  
  1285.     @BeginLib SERVER.SYN
  1286.       @File     CON_2.19 @Out SERVER.CON
  1287.     @EndLib
  1288.  
  1289.       @Endif
  1290.  
  1291.       @If (12 [= @Option &&  16 [= @Option &&  125 [= @Option)
  1292.  
  1293.     @BeginLib SERVER.SYN
  1294.       @File     CON_2.19 @Out SERVER.CON
  1295.     @EndLib
  1296.  
  1297.       @Endif
  1298.       
  1299.       @If (12 [= @Option &&  17 [= @Option &&  122 [= @Option)
  1300.  
  1301.     @BeginLib SERVER.SYN
  1302.       @File     CON_3.24 @Out SERVER.CON
  1303.     @EndLib
  1304.  
  1305.       @Endif
  1306.  
  1307.       @If (12 [= @Option &&  17 [= @Option &&  123 [= @Option)
  1308.  
  1309.     @BeginLib SERVER.SYN
  1310.       @File     CON_3.96 @Out SERVER.CON
  1311.     @EndLib
  1312.  
  1313.       @Endif
  1314.  
  1315.       @If (12 [= @Option &&  17 [= @Option &&  124 [= @Option)
  1316.  
  1317.     @BeginLib SERVER.SYN
  1318.       @File     CON_3.19 @Out SERVER.CON
  1319.     @EndLib
  1320.  
  1321.       @Endif
  1322.  
  1323.       @If (12 [= @Option &&  17 [= @Option &&  125 [= @Option)
  1324.  
  1325.     @BeginLib SERVER.SYN
  1326.       @File     CON_3.19 @Out SERVER.CON
  1327.     @EndLib
  1328.  
  1329.       @Endif
  1330.       
  1331.       @If (12 [= @Option &&  18 [= @Option &&  122 [= @Option)
  1332.  
  1333.     @BeginLib SERVER.SYN
  1334.       @File     CON_4.24 @Out SERVER.CON
  1335.     @EndLib
  1336.  
  1337.       @Endif
  1338.  
  1339.       @If (12 [= @Option &&  18 [= @Option &&  123 [= @Option)
  1340.  
  1341.     @BeginLib SERVER.SYN
  1342.       @File     CON_4.96 @Out SERVER.CON
  1343.     @EndLib
  1344.  
  1345.       @Endif
  1346.  
  1347.       @If (12 [= @Option &&  18 [= @Option &&  124 [= @Option)
  1348.  
  1349.     @BeginLib SERVER.SYN
  1350.       @File     CON_4.19 @Out SERVER.CON
  1351.     @EndLib
  1352.  
  1353.       @Endif
  1354.  
  1355.       @If (12 [= @Option &&  18 [= @Option &&  125 [= @Option)
  1356.  
  1357.     @BeginLib SERVER.SYN
  1358.       @File     CON_4.19 @Out SERVER.CON
  1359.     @EndLib
  1360.  
  1361.       @Endif
  1362.       
  1363.       @If (12 [= @Option &&  19 [= @Option &&  122 [= @Option)
  1364.  
  1365.     @BeginLib SERVER.SYN
  1366.       @File     CON_12.24 @Out SERVER.CON
  1367.     @EndLib
  1368.  
  1369.       @Endif
  1370.  
  1371.       @If (12 [= @Option &&  19 [= @Option &&  123 [= @Option)
  1372.  
  1373.     @BeginLib SERVER.SYN
  1374.       @File     CON_12.96 @Out SERVER.CON
  1375.     @EndLib
  1376.  
  1377.       @Endif
  1378.  
  1379.       @If (12 [= @Option &&  19 [= @Option &&  124 [= @Option)
  1380.  
  1381.     @BeginLib SERVER.SYN
  1382.       @File     CON_12.19 @Out SERVER.CON
  1383.     @EndLib
  1384.  
  1385.       @Endif
  1386.  
  1387.       @If (12 [= @Option &&  19 [= @Option &&  125 [= @Option)
  1388.  
  1389.     @BeginLib SERVER.SYN
  1390.       @File     CON_12.19 @Out SERVER.CON
  1391.     @EndLib
  1392.  
  1393.       @Endif
  1394.       
  1395.       @If (12 [= @Option &&  20 [= @Option &&  122 [= @Option)
  1396.  
  1397.     @BeginLib SERVER.SYN
  1398.       @File     CON_14.24 @Out SERVER.CON
  1399.     @EndLib
  1400.  
  1401.       @Endif
  1402.  
  1403.       @If (12 [= @Option &&  20 [= @Option &&  123 [= @Option)
  1404.  
  1405.     @BeginLib SERVER.SYN
  1406.       @File     CON_14.96 @Out SERVER.CON
  1407.     @EndLib
  1408.  
  1409.       @Endif
  1410.  
  1411.       @If (12 [= @Option &&  20 [= @Option &&  124 [= @Option)
  1412.  
  1413.     @BeginLib SERVER.SYN
  1414.       @File     CON_14.19 @Out SERVER.CON
  1415.     @EndLib
  1416.  
  1417.       @Endif
  1418.  
  1419.       @If (12 [= @Option &&  20 [= @Option &&  125 [= @Option)
  1420.  
  1421.     @BeginLib SERVER.SYN
  1422.       @File     CON_14.19 @Out SERVER.CON
  1423.     @EndLib
  1424.  
  1425.       @Endif
  1426.       
  1427.       @If (12 [= @Option &&  21 [= @Option &&  122 [= @Option)
  1428.  
  1429.     @BeginLib SERVER.SYN
  1430.       @File     CON_23.24 @Out SERVER.CON
  1431.     @EndLib
  1432.  
  1433.       @Endif
  1434.  
  1435.       @If (12 [= @Option &&  21 [= @Option &&  123 [= @Option)
  1436.  
  1437.     @BeginLib SERVER.SYN
  1438.       @File     CON_23.96 @Out SERVER.CON
  1439.     @EndLib
  1440.  
  1441.       @Endif
  1442.  
  1443.       @If (12 [= @Option &&  21 [= @Option &&  124 [= @Option)
  1444.  
  1445.     @BeginLib SERVER.SYN
  1446.       @File     CON_23.19 @Out SERVER.CON
  1447.     @EndLib
  1448.  
  1449.       @Endif
  1450.  
  1451.       @If (12 [= @Option &&  21 [= @Option &&  125 [= @Option)
  1452.  
  1453.     @BeginLib SERVER.SYN
  1454.       @File     CON_23.19 @Out SERVER.CON
  1455.     @EndLib
  1456.  
  1457.       @Endif
  1458.       
  1459.       @If (12 [= @Option &&  22 [= @Option &&  122 [= @Option)
  1460.  
  1461.     @BeginLib SERVER.SYN
  1462.       @File     CON_34.24 @Out SERVER.CON
  1463.     @EndLib
  1464.  
  1465.       @Endif
  1466.  
  1467.       @If (12 [= @Option &&  22 [= @Option &&  123 [= @Option)
  1468.  
  1469.     @BeginLib SERVER.SYN
  1470.       @File     CON_34.96 @Out SERVER.CON
  1471.     @EndLib
  1472.  
  1473.       @Endif
  1474.  
  1475.       @If (12 [= @Option &&  22 [= @Option &&  124 [= @Option)
  1476.  
  1477.     @BeginLib SERVER.SYN
  1478.       @File     CON_34.19 @Out SERVER.CON
  1479.     @EndLib
  1480.  
  1481.       @Endif
  1482.  
  1483.       @If (12 [= @Option &&  22 [= @Option &&  125 [= @Option)
  1484.  
  1485.     @BeginLib SERVER.SYN
  1486.       @File     CON_34.19 @Out SERVER.CON
  1487.     @EndLib
  1488.  
  1489.       @Endif
  1490.       
  1491.       @If (13 [= @Option &&  15 [= @Option)
  1492.  
  1493.     @BeginLib SERVER.SYN
  1494.       @File     CON_1.NO @Out SERVER.CON
  1495.     @EndLib
  1496.  
  1497.       @Endif
  1498.  
  1499.       @If (13 [= @Option &&  16 [= @Option)
  1500.  
  1501.     @BeginLib SERVER.SYN
  1502.       @File     CON_2.NO @Out SERVER.CON
  1503.     @EndLib
  1504.  
  1505.       @Endif
  1506.  
  1507.       @If (13 [= @Option &&  17 [= @Option)
  1508.  
  1509.     @BeginLib SERVER.SYN
  1510.       @File     CON_3.NO @Out SERVER.CON
  1511.     @EndLib
  1512.  
  1513.       @Endif
  1514.  
  1515.       @If (13 [= @Option &&  18 [= @Option)
  1516.  
  1517.     @BeginLib SERVER.SYN
  1518.       @File     CON_4.NO @Out SERVER.CON
  1519.     @EndLib
  1520.  
  1521.       @Endif
  1522.  
  1523.       @If (13 [= @Option &&  19 [= @Option)
  1524.  
  1525.     @BeginLib SERVER.SYN
  1526.       @File     CON_12.NO @Out SERVER.CON
  1527.     @EndLib
  1528.  
  1529.       @Endif
  1530.  
  1531.       @If (13 [= @Option &&  20 [= @Option)
  1532.  
  1533.     @BeginLib SERVER.SYN
  1534.       @File     CON_14.NO @Out SERVER.CON
  1535.     @EndLib
  1536.  
  1537.       @Endif
  1538.  
  1539.       @If (13 [= @Option &&  21 [= @Option)
  1540.  
  1541.     @BeginLib SERVER.SYN
  1542.       @File     CON_23.NO @Out SERVER.CON
  1543.     @EndLib
  1544.  
  1545.       @Endif
  1546.  
  1547.       @If (13 [= @Option &&  22 [= @Option)
  1548.  
  1549.     @BeginLib SERVER.SYN
  1550.       @File     CON_34.NO @Out SERVER.CON
  1551.     @EndLib
  1552.  
  1553.       @Endif
  1554.       
  1555.       @If (14 [= @Option)
  1556.  
  1557.     @BeginLib SERVER.SYN
  1558.       @File     MULTI4.CON @Out SERVER.CON
  1559.       @File     MULTI4.CON
  1560.       @File     MULTI8.CON
  1561.       @File     MULTI16.CON
  1562.     @EndLib
  1563.  
  1564.       @Endif
  1565.     @Endif
  1566.   @Endif
  1567.  
  1568. // Install Client for IPX  
  1569.  
  1570.   @If (2 [= @Option && 128 [= @Option && @Platform == 3 || 128 [= @Option && 1400 [= @Option && @Platform ==3)
  1571.  
  1572.     @BeginLib ICLIENT.SYN
  1573.       @File     MCLIENT.EXE
  1574.       @File     MCLIENT.EXE @Out @WindowsDrive:\@WindowsDir\MCLIENT.EXE
  1575.       @File     MCLIENT.DLL
  1576.     @EndLib
  1577.  
  1578.   @Endif
  1579.  
  1580.   @If (2 [= @Option && 128 [= @Option && @Platform == 1)
  1581.  
  1582.     @BeginLib ICLIENT.SYN
  1583.       @File     MCLIENT.EXE
  1584.     @EndLib
  1585.  
  1586.   @Endif
  1587.  
  1588. // Install Client for NETBIOS  
  1589.  
  1590. @If (2 [= @Option && @Platform == 3 || 1400 [= @Option && @Platform ==3) 
  1591. @If (126 [= @Option || 127 [= @Option)
  1592.  
  1593.     @BeginLib NCLIENT.SYN
  1594.       @File     MCLIENT.EXE @Out @WindowsDrive:\@WindowsDir\MCLIENT.EXE
  1595.       @File     MCLIENT.EXE
  1596.       @File     MCLIENT.DLL
  1597.     @EndLib
  1598.  
  1599.   @Endif
  1600. @Endif
  1601.  
  1602. @If (2 [= @Option && @Platform == 1) 
  1603. @If (126 [= @Option || 127 [= @Option)
  1604.  
  1605.     @BeginLib NCLIENT.SYN
  1606.       @File     MCLIENT.EXE
  1607.     @EndLib
  1608.   @Endif
  1609. @Endif
  1610.  
  1611. @EndDisk
  1612.  
  1613. //****************************************************************************
  1614. // Create/update any DOS batch files the user requested                      *
  1615. //****************************************************************************
  1616.  
  1617. @If (126 [= @Option && 1 [= @Option && 60 [= @Option)
  1618.  
  1619.   @SetAutoexec
  1620.     @Overwrite
  1621.     @Verbatim "NET START NETBEUI"
  1622.     @Verbatim "@OutDrive:"
  1623.     @Verbatim "CD @Subdir"
  1624.     @Verbatim "@SType"
  1625.   @EndAutoexec
  1626.  
  1627.   @SetINI("NetBeui","NCBS","30","Protocol.ini")
  1628.   @SetINI("NetBeui","SESSIONS","15","Protocol.ini")
  1629. // @SetINI("386ENH","NetHeapSize","128","System.INI")
  1630.  
  1631. @Endif
  1632.  
  1633. @If (126 [= @Option && 1 [= @Option && 50 [= @Option)
  1634.  
  1635.     @MkDir("@Outdrive:\\@Subdir")
  1636.     @Write("@OutDrive:\\@Subdir\\@STaType.bat","wt","Net Start NETBEUI\n")
  1637.     @Write( , ,"@OutDrive:\n")
  1638.     @Write( , ,"CD @Subdir\n")
  1639.     @Write( , ,"@SType\n")
  1640.  
  1641.   @SetINI("NetBeui","NCBS","30","Protocol.ini")
  1642.   @SetINI("NetBeui","SESSIONS","15","Protocol.ini")
  1643.  
  1644. @Endif
  1645.  
  1646. @If (128 [= @Option && 1 [= @Option && 60 [= @Option)
  1647.  
  1648.   @SetAutoexec
  1649.     @Overwrite
  1650.     @Verbatim "@OutDrive:"
  1651.     @Verbatim "CD @Subdir"
  1652.     @Verbatim "@SType"
  1653.   @EndAutoexec
  1654.  
  1655. @Endif
  1656.  
  1657. @If (128 [= @Option && 1 [= @Option && 50 [= @Option)
  1658.  
  1659.     @MkDir("@Outdrive:\\@Subdir")
  1660.     @Write("@OutDrive:\\@Subdir\\@StaType.bat","wt","@OutDrive:\n")
  1661.     @Write( , ,"CD @Subdir\n")
  1662.     @Write( , ,"@SType\n")
  1663.  
  1664. @Endif
  1665.  
  1666. @If (127 [= @Option && 1 [= @Option && 60 [= @Option)
  1667.  
  1668.   @SetAutoexec
  1669.     @Overwrite
  1670.     @Verbatim "@OutDrive:"
  1671.     @Verbatim "CD @Subdir"
  1672.     @Verbatim "@SType"
  1673.   @EndAutoexec
  1674.  
  1675. @Endif
  1676.  
  1677. @If (127 [= @Option && 1 [= @Option && 50 [= @Option)
  1678.  
  1679.     @MkDir("@Outdrive:\\@Subdir")
  1680.     @Write("@OutDrive:\\@Subdir\\@StaType.bat","wt","@OutDrive:\n")
  1681.     @Write( , ,"CD @Subdir\n")
  1682.     @Write( , ,"@SType\n")
  1683.  
  1684. @Endif
  1685.  
  1686. @If(2 [= @Option && 60 [= @Option)
  1687.  
  1688.   @SetAutoexec
  1689.     @Overwrite
  1690.     @Verbatim "@OutDrive:"
  1691.     @Verbatim "CD @Subdir"
  1692.     @Verbatim "@SType"
  1693.   @EndAutoexec
  1694.     
  1695. @EndIf    
  1696.  
  1697. @If(2 [= @Option && 50 [= @Option)
  1698.     
  1699.     @MkDir("@Outdrive:\\@Subdir")
  1700.     @Write("@OutDrive:\\@Subdir\\@StaType.bat","wt","@OutDrive:\n")
  1701.     @Write( ,  , "CD @Subdir\n")
  1702.     @Write( ,  , "@SType\n")
  1703. @Endif
  1704.  
  1705.  
  1706. //****************************************************************************
  1707. // See if the user wants to look at the readme file                          *
  1708. //****************************************************************************
  1709.  
  1710.  
  1711.  
  1712. @If(@Platform == 3)
  1713.   @GetOption @DlgCtrlSize(0,9,15,11,28) @Prompt = "View README.TXT?"
  1714.  
  1715. The readme file contains tips on using @Name and changes 
  1716. in each release. You should review the README.TXT file before 
  1717. using @Name.
  1718.  
  1719. View the README.TXT file as soon as the installation has 
  1720. finished?
  1721.  
  1722.  
  1723.    @Option 30 = "Yes"
  1724.    @Option 29 = "No"
  1725.   
  1726.   @EndOption
  1727. @Endif
  1728.  
  1729. @If (@Platform == 3)
  1730.  
  1731.   @If (1 [= @Option)
  1732.     @PMLIST = "@AI1@AI2@AI3@AI4@AI5@AI6@AI7@AI8"
  1733.   @Else
  1734.     @PMLIST = "@AI1@AI2@AI3@AI4@AI5@AI6@AI8@AI9@AI10"
  1735.   @Endif
  1736.  
  1737.   @ProgramManager("@PMLIST")
  1738.   @PMLIST = "@SG"
  1739.  
  1740. @Endif
  1741.  
  1742. //*************************************
  1743. // Uninstall routine
  1744. //*************************************
  1745. Uninstall:
  1746.  
  1747. @If (501 [=@Option)
  1748.  @If(@Platform == 3)
  1749.   @GetOption @DlgCtrlSize(0,10,15,12,45) @Prompt = "Uninstall"
  1750. WARNING: To uninstall @Name files from a shared network 
  1751. drive, you must first do the following:
  1752.  
  1753. - Run the INSTALL.EXE program (Install\UnInstall) from each 
  1754.   Client on your network and select uninstall @Name.
  1755.  
  1756. This will ensure correct Windows operation at the Client 
  1757. after @name has been removed from the network.
  1758.  
  1759. @Option 510 = "Continue with uninstall"
  1760. @Option 511 = "Cancel uninstall"
  1761.  
  1762.   @EndOption
  1763.  
  1764.  @If(511 [=@Option) 
  1765.     @Exit
  1766.  @Endif
  1767.  
  1768. @GetOutDrive @DlgCtrlSize(0,4,15,14,28) @Prompt = "Uninstall from drive"
  1769. Please select the drive where the @Name files are 
  1770. currently installed.
  1771.  
  1772. Drives:
  1773.   @EndOutDrive
  1774.   
  1775.   @GetSubdir
  1776.      @DlgCtrlSize(0,5,1,6,70) @Prompt = "Uninstall from subdirectory"
  1777.     Please select the subdirectory PATH where the @Name  
  1778.     files are currently installed.
  1779.  
  1780.   @EndSubdir
  1781.  
  1782.   @GetOption
  1783.      @DlgCtrlSize(0,6,27,8,33) @Prompt = "Proceed with uninstall"
  1784. UnInstall will now remove references to @Name from the 
  1785. Windows SYSTEM.INI file and the @Name files will be 
  1786. removed from @OutDrive:@SubDir.
  1787.  
  1788. Proceed with uninstall?:
  1789.  
  1790.    @Option 600 = "Yes"
  1791.    @Option 601 = "No"
  1792.   
  1793.   @EndOption
  1794.  @Endif
  1795.  
  1796. @If (600 [= @Option)
  1797.    @If (@Exists "@OutDrive:\\@Subdir\\CLIENT.CON")
  1798.     @Delete("@OutDrive:\\@Subdir\\*.*")
  1799.     @RmDir("@OutDrive:\\@Subdir")
  1800.     @Delete("@WindowsDrive:\\@Windowsdir\\MACOMM.DRV")
  1801.     @Delete("@WindowsDrive:\\@Windowsdir\\MCLIENT.EXE")
  1802.     @Delete("@WindowsDrive:\\@Windowsdir\\MCLIENT.INI")
  1803.     @SetINI("Boot", "comm.drv", "comm.drv", "system.ini")
  1804.     @Delete("@WindowsDrive:\\@WindowsDir\\system.ma")
  1805.     @Delete("@WindowsDrive:\\@WindowsDir\\Winstart.bat")
  1806.     @WinExec("UPINI.EXE @WindowsDrive:\\@WindowsDir,-",1)
  1807.     @ProgramManager("[DeleteGroup (ModemShare)]")
  1808.    @Else
  1809.      @Display
  1810.       Files where not found in the @OutDrive:@Subdir
  1811.       Location. Check your drive and directory and run
  1812.       uninstall again
  1813.       @Pause
  1814.      @EndDisplay
  1815.     @Goto Install
  1816.    @Endif
  1817. @Else
  1818. //   @Abort
  1819. @Endif
  1820. @EndIf
  1821. @EndIF
  1822.  
  1823. @If (501 [=@Option)
  1824.  @If(@Platform == 1)
  1825.     @GetOutDrive @LocalWindow(13,35)
  1826. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  1827. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                             UNINSTALL       ║")
  1828. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  1829.    
  1830.    Select the drive where the @Name files are 
  1831.    currently installed.
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  To Quit, press <ESC>
  1847.   @EndOutDrive
  1848.   
  1849.     @GetSubdir @LocalWindow(16,40) @SetOption(600)
  1850. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  1851. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                             UNINSTALL       ║")
  1852. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  1853.    
  1854.    ModemShare will be uninstalled from the following directory:  
  1855.    
  1856.    @OutDrive:\INSYNC\MSHARE
  1857.  
  1858.    If this is correct, press <ENTER>
  1859.  
  1860.    To change the location, type the new information in the Subdirectory
  1861.    Name field, then press <ENTER>
  1862.   
  1863.   
  1864.   
  1865.   
  1866.   
  1867.  
  1868.  
  1869.  To Quit, press <ESC>  
  1870.   @EndSubdir
  1871.  
  1872. @EndIf
  1873.  
  1874. @If(@Platform == 1)
  1875.  @If (600 [= @Option)
  1876.    @If (@Exists "@OutDrive:\\@Subdir\\CLIENT.CON")
  1877.     @Delete("@OutDrive:\\@Subdir\\*.*")
  1878.     @RmDir("@OutDrive:\\@Subdir")
  1879.    @Else
  1880.      @Display @LocalWindow(13,35)
  1881. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  1882. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                             UNINSTALL       ║")
  1883. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  1884.       
  1885.       Files where not found in the @OutDrive:@Subdir
  1886.       Location. Check your drive and directory and run
  1887.       Uninstall again.
  1888.       
  1889.       
  1890.       @Pause
  1891.      @EndDisplay
  1892.     @Goto Install
  1893.    @Endif
  1894.  @Else
  1895.    @Abort
  1896. @Endif
  1897. @EndIf
  1898. @EndIF
  1899.  
  1900. @If (600 [= @Option)
  1901.  @If(@Platform ==3)
  1902.  @Display
  1903.    All @Name files deleted Successfully! 
  1904.    Uninstall complete.
  1905.  @Pause
  1906.  @Exit
  1907.  @EndDisplay
  1908.  @Endif
  1909.  
  1910.  @If(@Platform ==1)
  1911.     @Display @LocalWindow(13,35)
  1912. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  1913. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                             UNINSTALL       ║")
  1914. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  1915.  
  1916.    Uninstall Successful.
  1917.    
  1918.    All @Name files were removed from your computer. 
  1919.  
  1920.  
  1921.  
  1922.  @Pause
  1923.  @Exit
  1924.  @EndDisplay
  1925.  @Endif
  1926. @EndIf
  1927.  
  1928. @If(@Platform == 3)
  1929.   @If(2 [=@Option)
  1930.    @Display
  1931. If you have installed the Client files to a network drive, 
  1932. subsequent Client installations can be performed by running the
  1933. INSTALL.EXE program from the @OutDrive:@Subdir
  1934. subdirectory.
  1935.  
  1936.    @Pause   
  1937.    @EndDisplay
  1938.  @EndIf
  1939. @EndIf
  1940.  
  1941. @Finish
  1942.  
  1943.   @If(@Platform == 3)
  1944.     Installation successful.
  1945.  
  1946.     Be sure to register your copy of @Name. Technical support
  1947.     is available ONLY to registered users.
  1948.  
  1949.     Please REBOOT your PC to activate the changes made for 
  1950.     @Name.
  1951.     @Pause
  1952.   @EndIf
  1953.  
  1954.   @If(@Platform == 1)
  1955. @MoveCStr(1,2,95,"╔══════════════════════════════════════════════════════════════════════════╗")
  1956. @MoveCStr(2,2,95,"║      INSYNC ModemShare  v7.0                               INSTALL       ║")
  1957. @MoveCStr(3,2,95,"╚══════════════════════════════════════════════════════════════════════════╝")
  1958.   
  1959.     Installation successful.
  1960.  
  1961.     Be sure to register your copy of @Name. Technical support
  1962.     is available ONLY to registered users.
  1963.   
  1964.     The README.TXT file contains tips on using @Name and changes 
  1965.     in each release. You should review the README.TXT file before 
  1966.     using @Name.
  1967.    @Pause
  1968.   @EndIf
  1969.  
  1970.  @If (30 [= @Option)
  1971.     @WinExec("NOTEPAD.EXE @OutDrive:\\@SubDir\\README.TXT",1)
  1972.  @Endif
  1973.    
  1974. @Exit
  1975. @EndFinish
  1976.