home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 December / PCWKCD1296.iso / vjplusb / activex / inetsdk / subroutn.inf < prev   
Encoding:
INI File  |  1996-04-15  |  13.5 KB  |  389 lines

  1. [SetupMessage]
  2.     set Status     = STATUS_FAILED
  3.     set UserAction = "CANCEL"
  4.  
  5.     set DlgText = $($2)
  6.     ifstr(i) $($1) == "WARNING"
  7.         read-syms WarningDlg$($0)
  8.     else-ifstr(i) $($1) == "FATAL"
  9.         read-syms FatalDlg$($0)
  10.     else-ifstr(i) $($1) == "NONFATAL"
  11.         read-syms NonfatalDlg$($0)
  12.     else-ifstr(i) $($1) == "STATUS"
  13.         read-syms StatusDlg$($0)
  14.     else
  15.         goto finish_SetupMessage
  16.     endif
  17.     ui start "SetupMessage"
  18.     ifstr(i) $(DLGEVENT) == "OK"
  19.         set Status     = STATUS_SUCCESSFUL
  20.         set UserAction = $(DLGEVENT)
  21.     else-ifstr(i) $(DLGEVENT) == "CANCEL"
  22.         set Status     = STATUS_SUCCESSFUL
  23.         set UserAction = $(DLGEVENT)
  24.     else
  25.     endif
  26. finish_SetupMessage = +
  27.     Return $(Status) $(UserAction)
  28.     end
  29. [QueryUserQuit]
  30.     set Status     = STATUS_FAILED
  31.     set UserAction = CANCEL
  32.     read-syms ExitWarningDlg$($0)
  33.     ui start "ExitWarning"
  34.     ifstr(i) $(DLGEVENT) == "YES"
  35.         set Status     = STATUS_SUCCESSFUL
  36.         set UserAction = "OK"
  37.     else-ifstr(i) $(DLGEVENT) == "NO"
  38.         set Status     = STATUS_SUCCESSFUL
  39.         set UserAction = "CANCEL"
  40.     else
  41.     endif
  42.     Return $(Status) $(UserAction)
  43. [PushBillboard]
  44.     read-syms BillboardDlg$(!STF_LANGUAGE)
  45.     ui start "Billboard"
  46.     Return
  47. [PopBillboard]
  48.     ui pop 1
  49.     Return
  50. [AllocateUnusedDrive]
  51.     set Status = STATUS_FAILED
  52.     set Drive  = ""
  53.     ifstr(i) $(!STF_UNUSEDDRIVES) == {}
  54.         goto finish_allocate
  55.     else-ifstr(i) $(!STF_UNUSEDDRIVES) == ""
  56.         goto finish_allocate
  57.     else
  58.         set NewDriveList = {}
  59.         ForListDo $(!STF_UNUSEDDRIVES)
  60.             ifstr(i) $(#) != 1
  61.                 set NewDriveList = >($(NewDriveList), $($))
  62.             else
  63.                 set Drive  = $($)
  64.                 set Status = STATUS_SUCCESSFUL
  65.             endif
  66.         EndForListDo
  67.         set !STF_UNUSEDDRIVES = $(NewDriveList)
  68.     endif
  69. finish_allocate = +
  70.     Return $(Status) $(Drive)
  71. [FreeUnusedDrive]
  72.     set !STF_UNUSEDDRIVES = >($(!STF_UNUSEDDRIVES), $($0))
  73.     Return
  74. [DriversExist]
  75.     set Status = STATUS_FAILED
  76.     read-syms DriversExistDlg$($0)
  77.     ui start "DriversExist"
  78.     ifstr(i) $(DLGEVENT) == "DLGBUTTON0"
  79.         set Status = STATUS_CURRENT
  80.     else-ifstr(i) $(DLGEVENT) == "DLGBUTTON1"
  81.         set Status = STATUS_NEW
  82.     else-ifstr(i) $(DLGEVENT) == "BACK"
  83.         set Status = STATUS_USERCANCEL
  84.     endif
  85.     ui pop 1
  86.     Return $(Status)
  87. [DoAskSource]
  88.     read-syms DoAskSourceDlgText$(!STF_LANGUAGE)
  89.     shell "" DoAskSourceEx $($0) $(DlgText)
  90.     Return $($R0) $($R1) $($R2) $($R3)
  91. [DoAskSourceEx]
  92.     set Status      = STATUS_FAILED
  93.     set Src         = $($0)
  94.     set DriveToFree = ""
  95.     read-syms  AskSourceStrings$(!STF_LANGUAGE)
  96. asksource = +
  97.     read-syms DisketteDlg$(!STF_LANGUAGE)
  98.     ui start "Diskette"
  99.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  100.         LibraryProcedure IsFullPath, $(!LIBHANDLE), CheckPathFullPathSpec $(EditTextOut)
  101.         ifstr(i) $(IsFullPath) == "NO"
  102.             StartWait
  103.             LibraryProcedure STATUS, $(!LIBHANDLE), ProcessForUNC $(EditTextOut)
  104.             EndWait
  105.             ifstr(i) $(STATUS) == "ERROR"
  106.                 shell "" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(String1)
  107.                 goto asksource
  108.             else-ifstr(i) $(STATUS) == "NOT-UNC"
  109.                 shell "" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(String2)
  110.                 goto asksource
  111.             else-ifstr(i) $(STATUS) == "UNC-FAILCONNECT"
  112.                 shell "" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(String4)
  113.                 goto asksource
  114.             else
  115.                 set Src = $(STATUS)
  116.             endif
  117.         else
  118.             set Src = $(EditTextOut)
  119.         endif
  120.         ui pop 1
  121.         LibraryProcedure STATUS, $(!LIBHANDLE), AppendBackSlash $(Src)
  122.         ifstr(i) $(STATUS) == "ERROR"
  123.             goto finish_DoAskSource
  124.         else
  125.             set Src = $(STATUS)
  126.             set Status = STATUS_SUCCESSFUL
  127.             goto finish_DoAskSource
  128.         endif
  129.     else-ifstr(i) $(DLGEVENT) == "BACK"
  130.         ui pop 1
  131.         set Status = STATUS_USERCANCEL
  132.         goto finish_DoAskSource
  133.     else
  134.         ui pop 1
  135.         goto finish_DoAskSource
  136.     endif
  137. finish_DoAskSource = +
  138.     Return $(Status) $(Src) $(DriveToFree) $(EditTextOut)
  139. [SetupHelpIds]
  140.     !MinimumID                 =    0
  141.     !MaximumID                 = 5000
  142.     !InitialContentsID         = 5
  143.     !IDH_DB_COMPUTERNAMEQ_INS  =   10
  144.     !IDH_DB_COMPUTERNAMEV_INS  =   11
  145.     !IDH_DB_FULLNAMEQ_INS      =   30
  146.     !IDH_DB_FULLNAMEV_INS      =   31
  147.     !IDH_DB_ORGNAMEQ_INS       =   32
  148.     !IDH_DB_ORGNAMEV_INS       =   33
  149.     !IDH_DB_PRODUCTIDQ_INS     =   40
  150.     !IDH_DB_PRODUCTIDV_INS     =   41
  151.     !IDH_DB_INSTALLMODE_INS    =   50
  152.     !IDH_DB_OPTIONS_INS        =   60
  153.     !IDH_DB_SYSTEM_INS         =   70
  154.     !IDH_DB_VIRTUAL_INS        =   80
  155.     !IDH_DB_REPAIR_INS         =   90
  156.     !IDH_DB_PRNSETUP_INS       =  100
  157.     !IDH_DB_OPTIONAL_INS       =  110
  158.     !IDH_DB_CUSTOMISE_INS      =  111
  159.     !IDH_DB_OEMSINGLESEL_INS   =  120
  160.     !IDH_DB_OEMMULTISEL_INS    =  121
  161.     !IDH_DB_ACCOUNTSETUP_INS   =  130
  162.     !IDH_DB_ACCOUNTADMN_INS    =  131
  163.     !IDH_DB_SEARCHDRIVE_INS    =  150
  164.     !IDH_DB_APPCONFLICT_INS    =  151
  165.     !IDH_DB_ASTYPE_INS      =  160
  166.     !IDH_DB_MAINTAIN_INS            = 1000
  167.     !IDH_DB_MOPTIONAL_INS           = 1010
  168.     !IDH_DB_MCUSTOMISE_INS          = 1011
  169.     !IDH_DB_MSYSTEM_INS             = 1020
  170.     !IDH_DB_MPROFILE_INS            = 1030
  171.     !IDH_DB_SCSI_DRIVER_INS         = 1040
  172.     !IDH_DB_SCSI_SELECTDRIVER_INS   = 1041
  173.     !IDH_DB_DRIVEREXIST_INS         = 1042
  174.     !IDH_DB_TAPE_DRIVER_INS         = 1043
  175.     !IDH_DB_TAPE_SELECTDRIVER_INS   = 1044
  176.     !IDH_DB_CARDSELECTION_INS   = 3000  
  177.     !IDH_DB_SOFTSELECTION_INS   = 3001  
  178.     !IDH_DB_OEMNADD1_INS        = 3500  
  179.     !IDH_DB_OEMNADD2_INS        = 3510  
  180.     !IDH_DB_OEMNADDE_INS        = 3520  
  181.     !IDH_UB_OEMNADDP_INS        = 3521  
  182.     !IDH_DB_OEMNADE1_INS        = 3530  
  183.     !IDH_DB_OEMNADE2_INS        = 3540  
  184.     !IDH_DB_OEMNADE3_INS        = 3545  
  185.     !IDH_DB_OEMNADLB_INS        = 3546  
  186.     !IDH_DB_OEMNADAM_INS        = 3547  
  187.     !IDH_DB_OEMNADEM_INS        = 3550  
  188.     !IDH_DB_OEMNADN2_INS        = 3551  
  189.     !IDH_DB_OEMNADN1_INS        = 3552  
  190.     !IDH_DB_OEMNADNE_INS        = 3560  
  191.     !IDH_DB_OEMNADIN_INS        = 3561  
  192.     !IDH_DB_OEMNADP3_INS        = 3570  
  193.     !IDH_DB_OEMNADP9_INS        = 3580  
  194.     !IDH_DB_OEMNADSO_INS        = 3590  
  195.     !IDH_DB_OEMNADTK_INS        = 3600  
  196.     !IDH_DB_OEMNADT2_INS        = 3601  
  197.     !IDH_DB_OEMNADTE_INS        = 3602  
  198.     !IDH_DB_OEMNADTM_INS        = 3605  
  199.     !IDH_DB_OEMNADUB_INS        = 3610  
  200.     !IDH_DB_OEMNADWD_INS        = 3620  
  201.     !IDH_DB_OEMNADWM_INS        = 3630  
  202.     !IDH_DB_OEMNADAR1_INS       = 3631  
  203.     !IDH_DB_OEMNADAR2_INS       = 3632  
  204.     !IDH_DB_OEMNADAR3_INS       = 3633  
  205.     !IDH_DB_OEMNADNF_INS        = 3634  
  206.     !IDH_DB_OEMNSVNB_INS        = 3640  
  207.     !IDH_DB_OEMNSVRD_INS        = 3650  
  208.     !IDH_DB_OEMNSVRE_INS        = 3660  
  209.     !IDH_DB_OEMNSVSV_INS        = 3670  
  210.     !IDH_DB_OEMNSVWK_INS        = 3680  
  211.     !IDH_DB_OEMNXPDL_INS        = 3690  
  212.     !IDH_DB_OEMNXPNB_INS        = 3700  
  213.     !IDH_DB_OEMNXPSN_INS        = 3710  
  214.     !IDH_DB_OEMNXPSN_1          = 3711  
  215.     !IDH_DB_OEMNXPSN_2          = 3712  
  216.     !IDH_DB_OEMNXPTC_INS        = 3720  
  217.     !IDH_DB_OEMNXPTC_1          = 3721  
  218.     !IDH_DB_OEMNXPTC_2          = 3722  
  219.     !IDH_DB_OEMNXPTC_3          = 3723  
  220.     !IDH_DB_LMHOST_INS          = 3730  
  221.     !IDH_DB_RPCLOCATE_INS       = 3740  
  222.     !IDH_DB_OEMNSVRI_INS        = 3745  
  223.     !IDH_DB_RETURN_TO_NCPA      = 3750  
  224.     !IDH_DB_GET_PROTOCOL        = 4000  
  225.     !IDH_DB_VER_EXISTED         = 4010  
  226.     !IDH_DB_DETECT_BYPASS       = 4020  
  227.     !IDH_DB_DETECT_FOUND        = 4030  
  228.     !IDH_DB_DETECT_FAILED       = 4040  
  229.     !IDH_DB_DETECT_CHKRAS       = 4050  
  230.     !IDH_DB_OEMNADLT_INS            = 4060  
  231. [ReadSetupHelpIds]
  232.     read-syms "SetupHelpIds"
  233.     Return
  234. [GetDefaultAnswer]
  235.     ifstr(i) $(!STF_GUI_UNATTENDED) == "YES"
  236.         shell $(!STF_UNATTENDED) ReadDefaultData $($0)
  237.     endif
  238.     Return
  239. [WarningDlgENG]
  240.     STF_MB_TITLE = "Setup Message"
  241.     DlgType      = "MessageBox"
  242.     STF_MB_TEXT  = $(DlgText)
  243.     STF_MB_TYPE  = 2
  244.     STF_MB_ICON  = 5
  245.     STF_MB_DEF   = 2
  246. [WarningDlgJPN]
  247.     STF_MB_TITLE = "╛»─▒»╠▀ ╥»╛░╝▐"
  248.     DlgType      = "MessageBox"
  249.     STF_MB_TEXT  = $(DlgText)
  250.     STF_MB_TYPE  = 2
  251.     STF_MB_ICON  = 5
  252.     STF_MB_DEF   = 2
  253. [FatalDlgENG]
  254.     STF_MB_TITLE = "Setup Message"
  255.     DlgType      = "MessageBox"
  256.     STF_MB_TEXT  = $(DlgText)
  257.     STF_MB_TYPE  = 1
  258.     STF_MB_ICON  = 3
  259.     STF_MB_DEF   = 1
  260. [FatalDlgJPN]
  261.     STF_MB_TITLE = "╛»─▒»╠▀ ╥»╛░╝▐"
  262.     DlgType      = "MessageBox"
  263.     STF_MB_TEXT  = $(DlgText)
  264.     STF_MB_TYPE  = 1
  265.     STF_MB_ICON  = 3
  266.     STF_MB_DEF   = 1
  267. [NonfatalDlgENG]
  268.     STF_MB_TITLE = "Setup Message"
  269.     DlgType      = "MessageBox"
  270.     STF_MB_TEXT  = $(DlgText)
  271.     STF_MB_TYPE  = 1
  272.     STF_MB_ICON  = 5
  273.     STF_MB_DEF   = 1
  274. [NonfatalDlgJPN]
  275.     STF_MB_TITLE = "╛»─▒»╠▀ ╥»╛░╝▐"
  276.     DlgType      = "MessageBox"
  277.     STF_MB_TEXT  = $(DlgText)
  278.     STF_MB_TYPE  = 1
  279.     STF_MB_ICON  = 5
  280.     STF_MB_DEF   = 1
  281. [StatusDlgENG]
  282.     STF_MB_TITLE = "Setup Message"
  283.     DlgType      = "MessageBox"
  284.     STF_MB_TEXT  = $(DlgText)
  285.     STF_MB_TYPE  = 1
  286.     STF_MB_ICON  = 2
  287.     STF_MB_DEF   = 1
  288. [StatusDlgJPN]
  289.     STF_MB_TITLE = "╛»─▒»╠▀ ╥»╛░╝▐"
  290.     DlgType      = "MessageBox"
  291.     STF_MB_TEXT  = $(DlgText)
  292.     STF_MB_TYPE  = 1
  293.     STF_MB_ICON  = 2
  294.     STF_MB_DEF   = 1
  295. [ExitWarningDlgENG]
  296.     STF_MB_TITLE = "Exit Windows NT Setup"
  297.     STF_MB_TEXT  = "Windows NT is not correctly installed.  Are you "+
  298.                    "sure you want to exit Setup?"
  299.     DlgType      = "MessageBox"
  300.     STF_MB_TYPE  = 3
  301.     STF_MB_ICON  = 5
  302.     STF_MB_DEF   = 2
  303. [ExitWarningDlgJPN]
  304.     STF_MB_TITLE = "Exit Windows NT Setup"
  305.     STF_MB_TEXT  = "Windows NT is not correctly installed.  Are you "+
  306.                    "sure you want to exit Setup?"
  307.     DlgType      = "MessageBox"
  308.     STF_MB_TYPE  = 3
  309.     STF_MB_ICON  = 5
  310.     STF_MB_DEF   = 2
  311. [BillboardDlgENG]
  312.     DlgType     = Billboard
  313.     DlgTemplate = $($0)
  314.     TextFields  = {$($1)}
  315. [BillboardDlgJPN]
  316.     DlgType     = Billboard
  317.     DlgTemplate = $($0)
  318.     TextFields  = {$($1)}
  319. [DriversExistDlgENG]
  320.     Caption      = "Windows NT Setup"
  321.     DlgText      = "The driver(s) for this "$($1)" are already on the system. "+
  322.                    "Do you want to use the currently installed driver(s) or "+
  323.                    "install new one(s)."
  324.     Current      = "Cu&rrent"
  325.     New          = "&New"
  326.     Cancel       = "Cancel"
  327.     Help         = "&Help"
  328.     DlgType      = "Info"
  329.     DlgTemplate  = "DRIVEREXISTS"
  330.     HelpContext  = $(!IDH_DB_DRIVEREXIST_INS)
  331. [DriversExistDlgJPN]
  332.     Caption      = "Windows NT Setup"
  333.     DlgText      = "The driver(s) for this "$($1)" are already on the system. "+
  334.                    "Do you want to use the currently installed driver(s) or "+
  335.                    "install new one(s)."
  336.     Current      = "Cu&rrent"
  337.     New          = "&New"
  338.     Cancel       = "Cancel"
  339.     Help         = "&Help"
  340.     DlgType      = "Info"
  341.     DlgTemplate  = "DRIVEREXISTS"
  342.     HelpContext  = $(!IDH_DB_DRIVEREXIST_INS)
  343. [DoAskSourceDlgTextENG]
  344.     DlgText        = "Please enter the full path of the Windows NT distribution "+
  345.                      "files.  If you want to install files from the original Setup "+
  346.                      "floppy disks, type a drive path (such as A:\i386) and Setup "+
  347.                      "will prompt you for the correct disk.  Then choose Continue."
  348. [DoAskSourceDlgTextJPN]
  349.     DlgText        = "Please enter the full path of the Windows NT distribution "+
  350.                      "files.  If you want to install files from the original Setup "+
  351.                      "floppy disks, type a drive path (such as A:\i386) and Setup "+
  352.                      "will prompt you for the correct disk.  Then choose Continue."
  353. [AskSourceStringsENG]
  354. String1 = "Error processing path entered.  Please reenter the path."
  355. String2 = "Setup requires a full path of the Windows NT distribution files.  "+
  356.           "Please reenter the path."
  357. String3 = "Setup failed to find a free drive to use to connect to the "+
  358.           "server specified.  Please free up some drives and try again."
  359. String4 = "Setup failed to connect to the server specified.  Please reenter "+
  360.           "the path."
  361. [AskSourceStringsJPN]
  362. String1 = "ôⁿù═é│éΩé╜╩▀╜é╠Åêù¥é┼┤╫░é¬ö¡É╢é╡é▄é╡é╜üB╩▀╜é≡ì─ôⁿù═é╡é─é¡é╛é│éóüB"
  363. String2 = "╛»─▒»╠▀é═ Windows NT özòz╠º▓┘é╠╠┘╩▀╜é≡ùvïüé╡é▄é╖üB  "+
  364.           "╩▀╜é≡ì─ôⁿù═é╡é─é¡é╛é│éóüB"
  365. String3 = "ÄwÆΦé│éΩé╜╗░╩▐░é╓É┌æ▒é╖éΘé╜é▀é╠ï≤é½─▐╫▓╠▐é¬î⌐é┬é⌐éΦé▄é╣é±üB"+
  366.           "ï≤é½─▐╫▓╠▐é≡ùpê╙é╡é─ì─ôxÄ└ìsé╡é─é¡é╛é│éóüB"
  367. String4 = "╛»─▒»╠▀é═ÄwÆΦé│éΩé╜╗░╩▐░é╠É┌æ▒é╔Ä╕ösé╡é▄é╡é╜üB╩▀╜é≡ì─ôⁿù═é╡é─é¡é╛é│éóüB"+
  368.           "the path."
  369. [DisketteDlgENG]
  370.     Caption        = "Win32 SDK Setup"
  371.     Continue       = "Continue"
  372.     Cancel         = "Cancel"
  373.     DlgType        = "Edit"
  374.     DlgTemplate    = "DISKETTE"
  375.     DlgText        = $($1)
  376.     Edit1Label     = ""
  377.     EditTextIn     = $(Src)
  378.     EditFocus      = "ALL"
  379. [DisketteDlgJPN]
  380.     Caption        = "Win32 SDK ╛»─▒»╠▀"
  381.     Continue       = "æ▒ìs"
  382.     Cancel         = "╖¼▌╛┘"
  383.     DlgType        = "Edit"
  384.     DlgTemplate    = "DISKETTE"
  385.     DlgText        = $($1)
  386.     Edit1Label     = ""
  387.     EditTextIn     = $(Src)
  388.     EditFocus      = "ALL"
  389.