home *** CD-ROM | disk | FTP | other *** search
/ alphant.com / ftp.alphant.com.zip / ftp.alphant.com / Utilities / PERFTOOL.EXE / INSTALL.INF < prev    next >
INI File  |  1994-11-02  |  29KB  |  883 lines

  1. [Source Media Descriptions]
  2.  
  3.     1 = "Performance Tools Disk 1", TAGFILE = DISK1
  4.     2 = "Performance Tools Disk 2", TAGFILE = DISK2
  5.     3 = "Performance Tools Disk 3", TAGFILE = DISK3
  6.  
  7. [GeneralConstants]
  8.     ; Constants to support the use of radio button dialogs
  9.  
  10.     Radio1  = "1"
  11.     Radio2  = "2"
  12.  
  13.     ; Constants to support the use of checkbox dialogs
  14.     Chosen    = "ON"
  15.     NotChosen = "OFF"
  16.  
  17. [LanguageID]
  18.  
  19.     LANGID_ENG = ENG
  20.  
  21. [ProcessorID]
  22.  
  23.     ProcessorID_I386  = I386
  24.     ProcessorID_I486  = I486
  25.     ProcessorID_I586  = I586
  26.     ProcessorID_R4000 = R4000
  27.     ProcessorID_ALPHA = Alpha_AXP
  28.  
  29. [PlatformID]
  30.  
  31.     PlatformID_I386  = i386
  32.     PlatformID_MIPS  = mips
  33.     PlatformID_ALPHA = alpha
  34.  
  35. [ProcessorVar]
  36.  
  37.     STF_PROCESSOR = "" ? $(LIBHANDLE) GetProcessor
  38.     STF_PLATFORM  = ""
  39.  
  40. [LanguageVar]
  41.  
  42.     STF_LANGUAGE       = "" ? $(LIBHANDLE) GetLanguage
  43.     STF_WINDOWSSYSPATH = "" ? $(LIBHANDLE) GetWindowsNtSysDir
  44.  
  45. [UiVars]
  46.     BuildVersion   = "11-94"
  47.  
  48.     ; Destination TOOLS Drive Particulars
  49.     VolumeList      = {} ? $(LIBHANDLE) GetHardDriveLetters
  50.     VolumeFreeList  = {} ? $(LIBHANDLE) GetHardDriveFreeSpace
  51.     VolumeFSList    = {} ? $(LIBHANDLE) GetHardDriveFileSystems
  52.     DestVolume      = ""
  53.  
  54.     ; Defualt tools directory
  55.     TOOLDIR = "\PerfTool"
  56.  
  57.     ; BOOK Setup Help IDs
  58.  
  59.     !IDH_DB_TOOLSWELCOME_INS   = 3000
  60.     !IDH_DB_MSTINSTALLMODE_INS = 3010
  61.     !IDH_DB_MSTDEST_INS        = 3020
  62.     !IDH_DB_MSTOPTIONS_INS     = 3030
  63.  
  64. [ToolVars]
  65.  
  66.     ToolsSize      = 3
  67.     TotalSize      = 8
  68.  
  69.     DoMeasTool       = $(Chosen)
  70.     DoProbe          = $(Chosen)
  71.     DoSrc            = $(NotChosen)
  72.     DoAll            = $(NotChosen)
  73.     DoX86            = $(NotChosen)
  74.     DoMips           = $(NotChosen)
  75.     DoAlpha          = $(NotChosen)
  76.  
  77. [StringsENG]
  78.  
  79.     String1 = "Setup cannot install on the current processor."$(!LF)$(!LF)+
  80.               "Cannot proceed with install."
  81.  
  82.     String2 = "Setup couldn't copy over the tools files."$(!LF)$(!LF)+
  83.               "Cannot proceed with install."
  84.  
  85.     String3 = "Setup needs the full path specification of your destination.  Please "+
  86.               "reenter a new path.  An example of a full path is: "
  87.  
  88.     String4 = "The drive specified in the destination path does not "+
  89.               "have enough space for a minimal installation.  Please enter a "+
  90.           "new path."
  91.  
  92.     String5 = "There is no free space to install the components."
  93.  
  94.     String6 = "Setup has detected that you have chosen to install to a network "+
  95.           "drive.  If you are certain that this drive is valid, and that "+
  96.               "it has sufficient space, please choose OK to continue.  Otherwise, "+
  97.               "choose Cancel to specify another drive."
  98.  
  99. ;----------------------------------------------------
  100. ; BILLBOARD MESSAGES
  101. ;----------------------------------------------------
  102.  
  103. [BillboardsENG]
  104.  
  105. Billboard1 = "Please wait while Setup creates directories on the destination drive..."
  106.  
  107. [WelcomeDlgENG]
  108.  
  109.     DlgType     = "Info"
  110.     DlgTemplate = "WELCOME"
  111.     Caption     = "Optimizing Windows NT Tools Setup"
  112.  
  113.     DlgText     = "Welcome to the Optimizing Windows NT Tools Setup Program."$(LF)$(LF)+
  114.                   "Setup installs the Optimizing Windows NT Tools.  "+
  115.                   "Each setup dialog has basic instructions for "+
  116.                   "completing a step of the installation."$(LF)$(LF)+
  117.                   "To install the Optimizing Windows NT Tools on your computer now, choose Continue "+
  118.                   "or press Enter."$(LF)$(LF)+
  119.                   "To exit Setup without installing the Optimizing Windows NT Tools, choose Exit "+
  120.                   "or press F3."
  121.  
  122.     Continue     = "&Continue"
  123.     Help         = "&Help"
  124.     Exit         = "E&xit"
  125.     HelpContext  = $(!IDH_DB_MSTWELCOME_INS)
  126.  
  127. [DestinationDlgENG]
  128.  
  129.     DlgType      = "Combination"
  130.     DlgTemplate  = "DESTTOOLS"
  131.     Caption      = "Optimizing Windows NT Tools Destination"
  132.  
  133.     DlgText      = "Setup recommends installing the Optimizing Windows NT Tools on the drive indicated "+
  134.                    "below."
  135.  
  136.     Combo1Label  = "Destination Drive:"
  137.  
  138.     Continue     = "&Continue"
  139.     Help         = "&Help"
  140.     Exit         = "E&xit"
  141.     HelpContext  = $(!IDH_DB_MSTDEST_INS)
  142.  
  143.     GroupLabel   = "Destination Drive Characteristics"
  144.  
  145.     Static1Label = "Available Space:"
  146.     Static1Text  = $(DestVolumeFree)
  147.     footer1      = "MB"
  148.     footer2      = "Setup all processors"
  149.     footer3      = "Setup current system"
  150.     Static2Label = "Tool Space Needed:"
  151.     Static2Text  = $(TotalSize)
  152.     Static3Text  = $(ToolsSize)
  153.  
  154.     TextFields   = {$(Static1Text), $(Static2Text), $(Static3Text)}
  155.  
  156.     ; Editboxes in the dialog
  157.  
  158.     EditLabel   = "Tool Directory:"
  159.     EditTextLim = 256
  160.     EditTextIn  = $(BASEDIR)
  161.     EditFocus   = "ALL"
  162.  
  163.     Combo1List   = $(DestVolumeList)
  164.     Combo1Out    = $(DestVolume)
  165.  
  166.     ComboListItemsIn  = {Combo1List}
  167.     ComboListItemsOut = {Combo1Out}
  168.  
  169.     NotifyFields = {YES}
  170.  
  171. [ToolOptionDlg]
  172.     DlgType     = "Check"
  173.     DlgTemplate = "PDKOPTIONS"
  174.     Caption     = "Optimizing Windows NT Tools Setup"
  175.     DlgText     = "You can optionally install the components listed "+
  176.                   "below."$(!LF)$(!LF)+
  177.                   "To copy and install a component, select it's checkbox."$(!LF)$(!LF)+
  178.                   "To skip a component, clear it's checkbox."$(!LF)$(!LF)
  179.  
  180.     Check1Text  = "&Measurement Tools"
  181.     Check2Text  = "&Sample Performance Monitor source"
  182.     Check3Text  = "&Response Probe Synthetic Workload Generator"
  183.     Check4Text  = "Install for &all processor types"
  184.     Continue    = "&Continue"
  185.     Help        = "&Help"
  186.     Exit        = "E&xit"
  187.     HelpContext = $(!IDH_DB_MSTOPTIONS_INS)
  188.     CheckItemsIn = { $(!Chosen), $(!NotChosen), $(!Chosen), $(!NotChosen) }
  189.     OptionsGreyed = {}
  190.  
  191. [SetupDoneDlgENG]
  192.  
  193.     DlgType     = "Info"
  194.     DlgTemplate = "RESTART"
  195.     Caption     = "Optimizing Windows NT Tools Setup"
  196.     DlgText     = "The Optimizing Windows NT Tools have been successfully installed."$(LF)$(LF)+
  197.                   "Please choose Exit to return to Windows NT."
  198.     Windows     = "E&xit to Windows NT"
  199.  
  200. [SetupNotDoneDlgENG]
  201.  
  202.     DlgType     = "Info"
  203.     DlgTemplate = "RESTART"
  204.     Caption     = "Optimizing Windows NT Tools Setup"
  205.     DlgText     = "The Optimizing Windows NT Tools were not successfully installed."$(LF)$(LF)+
  206.                   "Please choose Exit to return to Windows NT."
  207.     Windows     = "E&xit to Windows NT"
  208.  
  209.  
  210. [LoadSetupLibrary]
  211.  
  212.     LoadLibrary "x" $(STF_CWDDIR)setupdll.dll LIBHANDLE
  213.     exit
  214.  
  215. [FreeLibraries]
  216.  
  217.     FreeLibrary $(LIBHANDLE)
  218.     exit
  219.  
  220. [ProgressCopyENG]
  221.  
  222.     ProCaption   = "Optimizing Windows NT Performance Tools Setup"
  223.     ProCancel    = "Cancel"
  224.     ProCancelMsg = "The Optimizing Windows NT Tools aren't completely installed.  Are you sure "+
  225.                    "you want to cancel copying files?"
  226.     ProCancelCap = "Setup Message"
  227.     ProText1     = "Copying:"
  228.     ProText2     = "To:"
  229.  
  230. [Shell Commands]
  231.  
  232.     ; Initialise the app, by setting the caption and loading the support library
  233.  
  234.     set-title "Optimizing Windows NT Tools Setup"
  235.     set Exit_Code = $(!SETUP_ERROR_GENERAL)
  236.  
  237.     install   LoadSetupLibrary
  238.  
  239.     ; put up the hourglass
  240.     StartWait
  241.  
  242.     ; read general constants
  243.     set-subst LF = "\n"
  244.     read-syms GeneralConstants
  245.  
  246.     ; read the platform independent choices
  247.     read-syms LanguageID
  248.     read-syms ProcessorID
  249.     read-syms PlatformID
  250.  
  251.     ; read the default language and try to detect the language
  252.     read-syms LanguageVar
  253.     detect    LanguageVar
  254.  
  255.     ; read and detect the processor we are working on
  256.     read-syms ProcessorVar
  257.     detect    ProcessorVar
  258.     read-syms Strings$(!STF_LANGUAGE)
  259.     read-syms Billboards$(!STF_LANGUAGE)
  260.  
  261.     ; Check processor type
  262.     ifstr(i) $(STF_PROCESSOR) == $(ProcessorID_I386)
  263.         set STF_PLATFORM = $(PlatformID_I386)
  264.     else-ifstr(i) $(STF_PROCESSOR) == $(ProcessorID_I486)
  265.         set STF_PLATFORM = $(PlatformID_I386)
  266.     else-ifstr(i) $(STF_PROCESSOR) == $(ProcessorID_I586)
  267.         set STF_PLATFORM = $(PlatformID_I386)
  268.     else-ifstr(i) $(STF_PROCESSOR) == $(ProcessorID_R4000)
  269.         set STF_PLATFORM = $(PlatformID_MIPS)
  270.     else-ifstr(i) $(STF_PROCESSOR) == $(ProcessorID_ALPHA)
  271.         set STF_PLATFORM = $(PlatformID_ALPHA)
  272.     else
  273.         shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "FATAL" $(String1)
  274.         goto setupnotdone
  275.     endif
  276.  
  277.     ; read the UI Variables and detect their setting on the current machine
  278.     read-syms UiVars
  279.     detect    UiVars
  280.     read-syms ToolVars
  281.  
  282.     ; remove the hourglass
  283.     EndWait
  284.  
  285. welcome =+
  286.  
  287.     read-syms WelcomeDlg$(STF_LANGUAGE)
  288.     ui start "Welcome"
  289.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  290.         ui pop 1
  291.         goto setdestination
  292.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  293.         shell "" QueryUserQuit
  294.         ifstr(i) $($R1) == "OK"
  295.             ui pop 1
  296.             goto setupnotdone
  297.         else
  298.             goto welcome
  299.         endif
  300.     else
  301.         goto end
  302.     endif
  303.  
  304. setdestination =+
  305.  
  306.     ; go through the volume list and form the destination volume list of
  307.     ; all volumes which have the size needed to install the tools.
  308.  
  309.     set DestVolumeList = {}
  310.     set DestVolumeFreeList = {}
  311.  
  312.     ForListDo $(VolumeList)
  313.  
  314.        set CurrentVolume      = *($(VolumeList), $(#))
  315.        set CurrentVolumeFree  = *($(VolumeFreeList), $(#))
  316.        set CurrentVolumeFS    = *($(VolumeFSList), $(#))
  317.  
  318.        set DestVolumeList     = >($(DestVolumeList),     $(CurrentVolume))
  319.        set DestVolumeFreeList = >($(DestVolumeFreeList), $(CurrentVolumeFree))
  320.  
  321.     EndForListDo
  322.  
  323.     ; destination drive is the drive with the maximum space
  324.  
  325.     set DestVolume     = ""
  326.     set DestVolumeFree = 0
  327.  
  328.     ForListDo $(DestVolumeList)
  329.         set Volume     = $($)
  330.         set VolumeFree = *($(DestVolumeFreeList), ~($(DestVolumeList), $(Volume)))
  331.  
  332.         ifint $(VolumeFree) > $(DestVolumeFree)
  333.             set DestVolume     = $(Volume)
  334.             set DestVolumeFree = $(VolumeFree)
  335.         endif
  336.  
  337.     EndForListDo
  338.  
  339.     set BASEDIR = $(DestVolume)$(TOOLDIR)
  340.  
  341. destination =+
  342.  
  343.     ; display tools destination, size available and needed for
  344.     ; user approval
  345.  
  346.     read-syms DestinationDlg$(STF_LANGUAGE)
  347.     ui start "Destination"
  348.     ifstr(i) $(DLGEVENT) == "NOTIFY"
  349.  
  350.         ifstr(i) $(Combo1Out) != $(DestVolume)
  351.             set ReInit = YES
  352.             set DestVolume     = $(Combo1Out)
  353.             set DestVolumeFree = *($(DestVolumeFreeList), ~($(DestVolumeList), $(DestVolume)))
  354.             set BASEDIR     = $(DestVolume)$(TOOLDIR)
  355.         else
  356.             set ReInit = NO
  357.         endif
  358.         goto destination
  359.  
  360.     else-ifstr(i) $(DLGEVENT) == "CONTINUE"
  361.         set ReInit = NO
  362.         LibraryProcedure IsFullPath, $(LIBHANDLE), CheckPathFullPathSpec $(EditTextOut)
  363.         ifstr(i) $(IsFullPath) == "NO"
  364.             shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(String3)$(DestVolume)$(TOOLDIR)
  365.             goto destination
  366.         else
  367.             GetDriveInPath Drive, $(EditTextOut)
  368.             Ifcontains(i) $(Drive) in $(DestVolumeList)
  369.                 set DestVolume     = $(Drive)
  370.                 set DestVolumeFree = *($(DestVolumeFreeList), ~($(DestVolumeList), $(DestVolume)))
  371.                 set BASEDIR     = $(EditTextOut)
  372.         ifint $(DestVolumeFree) < $(TotalSize)
  373.             shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(String4)
  374.             goto destination
  375.         endif
  376.             else
  377.                 shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "WARNING" $(String6)
  378.                 ifstr(i) $($R0) != STATUS_SUCCESSFUL
  379.             goto destination
  380.                 else
  381.                     ifstr(i) $($R1) == "OK"
  382.             set DestVolume = $(Drive)
  383.             set DestVolumeFree = $(TotalSize)
  384.             set BASEDIR = $(EditTextOut)
  385.                     else
  386.                         set ReInit = NO
  387.                         goto destination
  388.                     endif
  389.                 endif
  390.             endif
  391.         endif
  392.  
  393.         ui pop 1
  394.         goto queryinstall
  395.  
  396.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  397.  
  398.         set ReInit = NO
  399.         shell "" QueryUserQuit
  400.         ifstr(i) $($R1) == "OK"
  401.             ui pop 1
  402.             goto setupnotdone
  403.         else
  404.             goto destination
  405.         endif
  406.     else
  407.         goto end
  408.     endif
  409.  
  410. queryinstall =+
  411.  
  412.     read-syms ToolOptionDlg
  413.     ui start "Options" 
  414.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  415.         set DoMeasTool  = *($(CheckItemsOut), 1)
  416.         set DoSrc       = *($(CheckItemsOut), 2)
  417.         set DoProbe     = *($(CheckItemsOut), 3)
  418.         set DoAll       = *($(CheckItemsOut), 4)
  419.         ui pop 1
  420.         goto tooldirs
  421.     else-ifstr(i) $(DLGEVENT) == "EXIT"
  422.         shell "" QueryUserQuit
  423.         ifstr(i) $($R1) == "OK"
  424.             ui pop 1
  425.             goto setupnotdone
  426.         else
  427.             goto queryinstall
  428.         endif
  429.     else
  430.         goto "end"
  431.     endif
  432.  
  433. tooldirs = +
  434.  
  435.     ; First define the destination directories for the tools
  436.     set MEASDir         = $(BASEDIR)\meastool
  437.     set PROBEDir        = $(BASEDIR)\probe
  438.     set PERFSRCDir      = $(BASEDIR)\src
  439.  
  440. toolinstall    =+
  441.     StartWait
  442.  
  443.     shell "subroutn.inf" PushBillboard STATUSDLG $(Billboard1)
  444.     install Install-CopyToolsFiles
  445.     shell "subroutn.inf" PopBillboard
  446.  
  447.     EndWait
  448.  
  449. finish = +
  450.     read-syms ProgressCopy$(STF_LANGUAGE)
  451.     install Install-All-Files-Now
  452.     ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_SUCCESS"
  453.         goto setupdone
  454.     else
  455.         shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "FATAL" $(String2)
  456.         goto setupnotdone
  457.     endif
  458.  
  459. setupdone=+
  460.  
  461.     set Exit_Code = $(!SETUP_ERROR_SUCCESS)
  462.     read-syms SetupDoneDlg$(STF_LANGUAGE)
  463.  
  464.     ui start "Done"
  465.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  466.         ui pop 1
  467.         goto end
  468.     else
  469.         goto end
  470.     endif
  471.  
  472. setupnotdone=+
  473.  
  474.     read-syms SetupNotDoneDlg$(STF_LANGUAGE)
  475.  
  476.     ; remove the hourglass
  477.     EndWait
  478.  
  479.     ui start "NotDone"
  480.     ifstr(i) $(DLGEVENT) == "CONTINUE"
  481.         ui pop 1
  482.         goto end
  483.     else
  484.         goto end
  485.     endif
  486.  
  487. end = +
  488.  
  489.     install   FreeLibraries
  490.     exit
  491.  
  492. [QueryUserQuit]
  493.  
  494.     set Status     = STATUS_FAILED
  495.     set UserAction = CANCEL
  496.  
  497.     ; read in quit message
  498.  
  499.     read-syms ExitWarningDlg$(!STF_LANGUAGE)
  500.     ui start "ExitWarning"
  501.     ifstr(i) $(DLGEVENT) == "YES"
  502.         set Status     = STATUS_SUCCESSFUL
  503.         set UserAction = "OK"
  504.  
  505.     else-ifstr(i) $(DLGEVENT) == "NO"
  506.         set Status     = STATUS_SUCCESSFUL
  507.         set UserAction = "CANCEL"
  508.     else
  509.     endif
  510.  
  511. fin_QueryUserQuit = +
  512.     Return $(Status) $(UserAction)
  513.  
  514. [ExitWarningDlgENG]
  515.  
  516.     DlgType      = "MessageBox"
  517.     STF_MB_TITLE = "Exit Optimizing Windows NT Tools Setup"
  518.     STF_MB_TEXT  = "The Optimizing Windows NT Tools are not completely installed.  Are you "+
  519.                    "sure you want to exit Setup?"
  520.     STF_MB_TYPE  = 3
  521.     STF_MB_ICON  = 5
  522.     STF_MB_DEF   = 2
  523.  
  524. [Install-CopyToolsFiles]
  525.  
  526.     set STF_VITAL = ""
  527.     set STF_DECOMPRESS = 1
  528.     CreateDir  $(BASEDIR)
  529.     ifstr(i) $(!DoProbe) == $(!Chosen)
  530.         CreateDir  $(PROBEDir)
  531.         ifstr(i) $(!DoAll) == $(!Chosen)
  532.             CreateDir  $(PROBEDir)\$(PlatformID_I386)
  533.             CreateDir  $(PROBEDir)\$(PlatformID_MIPS)
  534.             CreateDir  $(PROBEDir)\$(PlatformID_ALPHA)
  535.         else
  536.             CreateDir  $(PROBEDir)\$(STF_PLATFORM)
  537.         endif
  538.         
  539.         CreateDir  $(PROBEDir)\example
  540.     endif
  541.     ifstr(i) $(!DoMeasTool) == $(!Chosen)
  542.         CreateDir  $(MEASDir)
  543.         CreateDir  $(MEASDir)\logger
  544.         CreateDir  $(MEASDir)\wap
  545.         CreateDir  $(MEASDir)\totlproc
  546.  
  547.         ifstr(i) $(!DoAll) == $(!Chosen)
  548.             set DoX86   = $(Chosen)
  549.             set DoMips  = $(Chosen)
  550.             set DoAlpha = $(Chosen)
  551.         else-ifstr(i) $(STF_PLATFORM) == $(PlatformID_I386) 
  552.             set DoX86   = $(Chosen)
  553.         else-ifstr(i) $(STF_PLATFORM) == $(PlatformID_MIPS) 
  554.             set DoMips  = $(Chosen)
  555.         else-ifstr(i) $(STF_PLATFORM) == $(PlatformID_ALPHA) 
  556.             set DoAlpha = $(Chosen)
  557.         endif            
  558.  
  559.         ifstr(i) $(!DoAll) == $(!Chosen)
  560.             CreateDir  $(MEASDir)\$(PlatformID_I386)
  561.             CreateDir  $(MEASDir)\$(PlatformID_MIPS)
  562.             CreateDir  $(MEASDir)\$(PlatformID_ALPHA)
  563.             CreateDir  $(MEASDir)\logger\$(PlatformID_I386)
  564.             CreateDir  $(MEASDir)\logger\$(PlatformID_MIPS)
  565.             CreateDir  $(MEASDir)\logger\$(PlatformID_ALPHA)
  566.             CreateDir  $(MEASDir)\wap\$(PlatformID_I386)
  567.             CreateDir  $(MEASDir)\wap\$(PlatformID_MIPS)
  568.             CreateDir  $(MEASDir)\wap\$(PlatformID_ALPHA)
  569.             CreateDir  $(MEASDir)\totlproc\$(PlatformID_I386)
  570.             CreateDir  $(MEASDir)\totlproc\$(PlatformID_MIPS)
  571.             CreateDir  $(MEASDir)\totlproc\$(PlatformID_ALPHA)
  572.             CreateDir  $(MEASDir)\p5ctrs
  573.  
  574.         else
  575.             CreateDir  $(MEASDir)\$(STF_PLATFORM)
  576.             CreateDir  $(MEASDir)\logger\$(STF_PLATFORM)
  577.             CreateDir  $(MEASDir)\wap\$(STF_PLATFORM)
  578.             CreateDir  $(MEASDir)\totlproc\$(STF_PLATFORM)
  579.             ifstr(i) $(STF_PLATFORM) == $(ProcessorID_I386)
  580.                 CreateDir  $(MEASDir)\p5ctrs
  581.             endif    
  582.         endif
  583.     endif
  584.     ifstr(i) $(!DoSrc) == $(!Chosen)
  585.         CreateDir  $(PERFSRCDir)
  586.         CreateDir  $(PERFSRCDir)\PerfMon
  587.     endif
  588.  
  589.     ifstr(i) $(!DoProbe) == $(!Chosen)
  590.         AddSectionFilesToCopyList Files-Main           $(STF_SRCDIR)probe $(PROBEDir)
  591.         ifstr(i) $(!DoAll) == $(!Chosen)
  592.             AddSectionFilesToCopyList Files-Probe-bin  $(STF_SRCDIR)probe\$(PlatformID_I386) $(PROBEDir)\$(PlatformID_I386)
  593.             AddSectionFilesToCopyList Files-Probe-bin  $(STF_SRCDIR)probe\$(PlatformID_MIPS) $(PROBEDir)\$(PlatformID_MIPS)
  594.             AddSectionFilesToCopyList Files-Probe-bin  $(STF_SRCDIR)probe\$(PlatformID_ALPHA) $(PROBEDir)\$(PlatformID_ALPHA)
  595.         else
  596.             AddSectionFilesToCopyList Files-Probe-bin  $(STF_SRCDIR)probe\$(STF_PLATFORM) $(PROBEDir)\$(STF_PLATFORM)
  597.         endif
  598.         AddSectionFilesToCopyList Files-Probe-example  $(STF_SRCDIR)probe\example $(PROBEDir)\example
  599.     endif
  600.  
  601.     ifstr(i) $(!DoSrc) == $(!Chosen)
  602.         AddSectionFilesToCopyList Files-Main           $(STF_SRCDIR)src $(PERFSRCDir)
  603.         AddSectionFilesToCopyList Files-PerfMonSrc     $(STF_SRCDIR)src\perfmon $(PERFSRCDir)\PerfMon
  604.     endif
  605.  
  606.     ifstr(i) $(!DoMeasTool) == $(!Chosen)
  607.         AddSectionFilesToCopyList Files-MeasTool-Main      $(STF_SRCDIR)MeasTool $(MEASDir)
  608.         AddSectionFilesToCopyList Files-MeasTool-tot-main    $(STF_SRCDIR)MeasTool\totlproc $(MEASDir)\totlproc
  609.  
  610.         ifstr(i) $(!DoX86) == $(!Chosen)
  611.             AddSectionFilesToCopyList Files-MeasTool-bin   $(STF_SRCDIR)MeasTool\$(PlatformID_I386) $(MEASDir)\$(PlatformID_I386)
  612.             AddSectionFilesToCopyList Files-MeasTool-p5    $(STF_SRCDIR)MeasTool\p5ctrs $(MEASDir)\p5ctrs
  613.             AddSectionFilesToCopyList Files-MeasTool-tot-bin     $(STF_SRCDIR)MeasTool\totlproc\$(PlatformID_I386) $(MEASDir)\totlproc\$(PlatformID_I386)
  614.         endif
  615.  
  616.         ifstr(i) $(!DoMips) == $(!Chosen)
  617.             AddSectionFilesToCopyList Files-MeasTool-tot-bin   $(STF_SRCDIR)MeasTool\totlproc\$(PlatformID_MIPS) $(MEASDir)\totlproc\$(PlatformID_MIPS)
  618.         endif
  619.  
  620.         ifstr(i) $(!DoAlpha) == $(!Chosen)
  621.             AddSectionFilesToCopyList Files-MeasTool-tot-bin   $(STF_SRCDIR)MeasTool\totlproc\$(PlatformID_ALPHA) $(MEASDir)\totlproc\$(PlatformID_ALPHA)
  622.         endif
  623.  
  624.         ifstr(i) $(!DoMips) == $(!Chosen)
  625.             AddSectionFilesToCopyList Files-MeasTool-N86-bin   $(STF_SRCDIR)MeasTool\$(PlatformID_MIPS) $(MEASDir)\$(PlatformID_MIPS)
  626.         endif
  627.  
  628.         ifstr(i) $(!DoAlpha) == $(!Chosen)
  629.             AddSectionFilesToCopyList Files-MeasTool-N86-bin   $(STF_SRCDIR)MeasTool\$(PlatformID_ALPHA) $(MEASDir)\$(PlatformID_ALPHA)
  630.         endif
  631.  
  632.         AddSectionFilesToCopyList Files-Disk3-main    $(STF_SRCDIR)MeasTool\logger $(MEASDir)\logger
  633.         AddSectionFilesToCopyList Files-Disk3-main    $(STF_SRCDIR)MeasTool\wap $(MEASDir)\wap
  634.         
  635.         ifstr(i) $(!DoX86) == $(!Chosen)
  636.             AddSectionFilesToCopyList Files-Logger-bin   $(STF_SRCDIR)MeasTool\logger\$(PlatformID_I386) $(MEASDir)\logger\$(PlatformID_I386)
  637.             AddSectionFilesToCopyList Files-Wap-bin   $(STF_SRCDIR)MeasTool\wap\$(PlatformID_I386) $(MEASDir)\wap\$(PlatformID_I386)
  638.         endif
  639.  
  640.         ifstr(i) $(!DoMips) == $(!Chosen)
  641.             AddSectionFilesToCopyList Files-Logger-bin   $(STF_SRCDIR)MeasTool\logger\$(PlatformID_MIPS) $(MEASDir)\logger\$(PlatformID_MIPS)
  642.             AddSectionFilesToCopyList Files-Wap-bin   $(STF_SRCDIR)MeasTool\wap\$(PlatformID_MIPS) $(MEASDir)\wap\$(PlatformID_MIPS)
  643.         endif
  644.  
  645.         ifstr(i) $(!DoAlpha) == $(!Chosen)
  646.             AddSectionFilesToCopyList Files-Logger-bin   $(STF_SRCDIR)MeasTool\logger\$(PlatformID_ALPHA) $(MEASDir)\logger\$(PlatformID_ALPHA)
  647.             AddSectionFilesToCopyList Files-Wap-bin   $(STF_SRCDIR)MeasTool\wap\$(PlatformID_ALPHA) $(MEASDir)\wap\$(PlatformID_ALPHA)
  648.         endif
  649.  
  650.     endif
  651.     AddSectionFilesToCopyList Files-Main           $(STF_SRCDIR) $(BASEDIR)
  652.     AddSectionFilesToCopyList Files-Raid           $(STF_SRCDIR) $(BASEDIR)
  653.  
  654.     exit
  655.  
  656. [Install-All-Files-Now]
  657.     CopyFilesInCopyList
  658.     exit
  659.  
  660. [Files-Main]
  661. 1,readme.txt,      !DECOMPRESS
  662.  
  663. [Files-Raid]
  664. 1,raid.do_, RENAME=raid.doc
  665.  
  666. [Files-MeasTool-Main]
  667. 1,readme.txt,      !DECOMPRESS
  668. 1,apfcvt.ex_, RENAME=apfcvt.exe
  669. 1,apfcvt.tx_, RENAME=apfcvt.txt
  670.  
  671. [Files-Probe-bin]
  672. 1,creatfil.ex_,    RENAME=creatfil.exe
  673. 1,probe.ex_,       RENAME=probe.exe
  674. 1,probeprc.ex_,    RENAME=probeprc.exe
  675. 1,statw32.dl_,     RENAME=statw32.dll
  676. 1,timerw32.dl_,    RENAME=timerw32.dll
  677. 1,wait.ex_,        RENAME=wait.exe
  678.  
  679. [Files-Probe-example]
  680. 1,1024.SP_,        RENAME=1024.SCP
  681. 1,1024.SR_,        RENAME=1024.SCR
  682. 1,1024.ST_,        RENAME=1024.SCT
  683. 1,2048.SP_,        RENAME=2048.SCP
  684. 1,2048.SR_,        RENAME=2048.SCR
  685. 1,2048.ST_,        RENAME=2048.SCT
  686. 1,4096.SP_,        RENAME=4096.SCP
  687. 1,4096.SR_,        RENAME=4096.SCR
  688. 1,4096.ST_,        RENAME=4096.SCT
  689. 1,512.SP_,         RENAME=512.SCP    
  690. 1,512.SR_,         RENAME=512.SCR    
  691. 1,512.ST_,         RENAME=512.SCT    
  692. 1,DOPROBE.BA_,     RENAME=DOPROBE.BAT
  693.  
  694. [Files-MeasTool-bin]
  695. 1,apf32cvt.ex_, RENAME=apf32cvt.exe
  696. 1,apf32dmp.ex_, RENAME=apf32dmp.exe
  697. 1,clearmem.ex_, RENAME=clearmem.exe
  698. 1,ctrlist.ex_, RENAME=ctrlist.exe
  699. 1,datalog.ex_, RENAME=datalog.exe
  700. 1,fastimer.dl_, RENAME=fastimer.dll
  701. 1,kill.ex_, RENAME=kill.exe
  702. 1,monitor.ex_, RENAME=monitor.exe
  703. 1,ntimer.ex_, RENAME=ntimer.exe
  704. 1,perfmtr.ex_, RENAME=perfmtr.exe
  705. 1,pmon.ex_, RENAME=pmon.exe
  706. 1,profile.ex_, RENAME=profile.exe
  707. 1,pview.ex_, RENAME=pview.exe
  708. 1,regini.ex_, RENAME=regini.exe
  709. 1,setedit.ex_, RENAME=setedit.exe
  710. 1,tlist.ex_, RENAME=tlist.exe
  711. 1,vadump.ex_, RENAME=vadump.exe
  712. 1,wperf.ex_, RENAME=wperf.exe
  713.  
  714. [Files-MeasTool-N86-bin]
  715. 2,apf32cvt.ex_, RENAME=apf32cvt.exe
  716. 2,apf32dmp.ex_, RENAME=apf32dmp.exe
  717. 2,clearmem.ex_, RENAME=clearmem.exe
  718. 2,ctrlist.ex_, RENAME=ctrlist.exe
  719. 2,datalog.ex_, RENAME=datalog.exe
  720. 2,fastimer.dl_, RENAME=fastimer.dll
  721. 2,kill.ex_, RENAME=kill.exe
  722. 2,monitor.ex_, RENAME=monitor.exe
  723. 2,ntimer.ex_, RENAME=ntimer.exe
  724. 2,perfmtr.ex_, RENAME=perfmtr.exe
  725. 2,pmon.ex_, RENAME=pmon.exe
  726. 2,profile.ex_, RENAME=profile.exe
  727. 2,pview.ex_, RENAME=pview.exe
  728. 2,regini.ex_, RENAME=regini.exe
  729. 2,setedit.ex_, RENAME=setedit.exe
  730. 2,tlist.ex_, RENAME=tlist.exe
  731. 2,vadump.ex_, RENAME=vadump.exe
  732. 2,wperf.ex_, RENAME=wperf.exe
  733.  
  734. [Files-PerfMonSrc]
  735. 1,addline.c_, RENAME=addline.c
  736. 1,addline.dl_, RENAME=addline.dlg
  737. 1,addline.h_, RENAME=addline.h
  738. 1,addlog.c_, RENAME=addlog.c
  739. 1,addlog.dl_, RENAME=addlog.dlg
  740. 1,addlog.h_, RENAME=addlog.h
  741. 1,alert.c_, RENAME=alert.c
  742. 1,alert.h_, RENAME=alert.h
  743. 1,alerts.bm_, RENAME=alerts.bmp
  744. 1,alrtdisp.dl_, RENAME=alrtdisp.dlg
  745. 1,alrtoptn.dl_, RENAME=alrtoptn.dlg
  746. 1,bookmark.c_, RENAME=bookmark.c
  747. 1,bookmark.h_, RENAME=bookmark.h
  748. 1,chosecom.c_, RENAME=chosecom.c
  749. 1,chosecom.dl_, RENAME=chosecom.dlg
  750. 1,command.c_, RENAME=command.c
  751. 1,command.h_, RENAME=command.h
  752. 1,counters.c_, RENAME=counters.c
  753. 1,counters.h_, RENAME=counters.h
  754. 1,datasrc.c_, RENAME=datasrc.c
  755. 1,datasrc.dl_, RENAME=datasrc.dlg
  756. 1,datasrc.h_, RENAME=datasrc.h
  757. 1,dialogs.c_, RENAME=dialogs.c
  758. 1,dialogs.h_, RENAME=dialogs.h
  759. 1,dispoptn.h_, RENAME=dispoptn.h
  760. 1,dlgids.h_, RENAME=dlgids.h
  761. 1,export.c_, RENAME=export.c
  762. 1,export.dl_, RENAME=export.dlg
  763. 1,fileopen.c_, RENAME=fileopen.c
  764. 1,fileopen.h_, RENAME=fileopen.h
  765. 1,filesave.c_, RENAME=filesave.c
  766. 1,fileutil.c_, RENAME=fileutil.c
  767. 1,fileutil.h_, RENAME=fileutil.h
  768. 1,globals.h_, RENAME=globals.h
  769. 1,grafdata.c_, RENAME=grafdata.c
  770. 1,grafdata.h_, RENAME=grafdata.h
  771. 1,grafdisp.c_, RENAME=grafdisp.c
  772. 1,grafdisp.h_, RENAME=grafdisp.h
  773. 1,graph.c_, RENAME=graph.c
  774. 1,graph.h_, RENAME=graph.h
  775. 1,helpline.rc_, RENAME=helpline.rc
  776. 1,init.c_, RENAME=init.c
  777. 1,init.h_, RENAME=init.h
  778. 1,intrline.c_, RENAME=intrline.c
  779. 1,intrline.h_, RENAME=intrline.h
  780. 1,legend.c_, RENAME=legend.c
  781. 1,legend.h_, RENAME=legend.h
  782. 1,line.c_, RENAME=line.c
  783. 1,line.h_, RENAME=line.h
  784. 1,log.c_, RENAME=log.c
  785. 1,log.h_, RENAME=log.h
  786. 1,logdisp.dl_, RENAME=logdisp.dlg
  787. 1,logoptns.c_, RENAME=logoptns.c
  788. 1,logoptns.dl_, RENAME=logoptns.dlg
  789. 1,logoptns.h_, RENAME=logoptns.h
  790. 1,logs.bm_, RENAME=logs.bmp
  791. 1,makefile._, RENAME=makefile
  792. 1,memory.c_, RENAME=memory.c
  793. 1,menuids.h_, RENAME=menuids.h
  794. 1,menus.rc_, RENAME=menus.rc
  795. 1,owndraw.h_, RENAME=owndraw.h
  796. 1,perfdata.c_, RENAME=perfdata.c
  797. 1,perfdata.h_, RENAME=perfdata.h
  798. 1,perferr.h_, RENAME=perferr.h
  799. 1,perfmon.bm_, RENAME=perfmon.bmp
  800. 1,perfmon.c_, RENAME=perfmon.c
  801. 1,perfmon.h_, RENAME=perfmon.h
  802. 1,perfmon.ic_, RENAME=perfmon.ico
  803. 1,perfmon.pr_, RENAME=perfmon.prf
  804. 1,perfmon.rc_, RENAME=perfmon.rc
  805. 1,perfmops.c_, RENAME=perfmops.c
  806. 1,perfmops.h_, RENAME=perfmops.h
  807. 1,perfmrc.h_, RENAME=perfmrc.h
  808. 1,playback.c_, RENAME=playback.c
  809. 1,playback.h_, RENAME=playback.h
  810. 1,pmemory.h_, RENAME=pmemory.h
  811. 1,pmhelpid.h_, RENAME=pmhelpid.h
  812. 1,pmrc.dl_, RENAME=pmrc.dlg
  813. 1,registry.c_, RENAME=registry.c
  814. 1,registry.h_, RENAME=registry.h
  815. 1,report.c_, RENAME=report.c
  816. 1,report.h_, RENAME=report.h
  817. 1,rptfct.c_, RENAME=rptfct.c
  818. 1,rptoptns.c_, RENAME=rptoptns.c
  819. 1,rptoptns.dl_, RENAME=rptoptns.dlg
  820. 1,rptoptns.h_, RENAME=rptoptns.h
  821. 1,sizes.h_, RENAME=sizes.h
  822. 1,status.c_, RENAME=status.c
  823. 1,status.h_, RENAME=status.h
  824. 1,strids.h_, RENAME=strids.h
  825. 1,strings.rc_, RENAME=strings.rc
  826. 1,system.c_, RENAME=system.c
  827. 1,system.h_, RENAME=system.h
  828. 1,timefrm.c_, RENAME=timefrm.c
  829. 1,timefrm.dl_, RENAME=timefrm.dlg
  830. 1,timefrm.h_, RENAME=timefrm.h
  831. 1,timeline.c_, RENAME=timeline.c
  832. 1,timeline.h_, RENAME=timeline.h
  833. 1,toolbar.c_, RENAME=toolbar.c
  834. 1,toolbar.h_, RENAME=toolbar.h
  835. 1,typedefs.h_, RENAME=typedefs.h
  836. 1,uiexprt.h_, RENAME=uiexprt.h
  837. 1,utils.c_, RENAME=utils.c
  838. 1,utils.h_, RENAME=utils.h
  839. 1,valuebar.c_, RENAME=valuebar.c
  840. 1,valuebar.h_, RENAME=valuebar.h
  841. 1,winhelpr.h_, RENAME=winhelpr.h
  842.  
  843. [Files-MeasTool-p5]
  844. 1,p5ctrnam.h_, RENAME=p5ctrnam.h
  845. 1,p5ctrs.dl_, RENAME=p5ctrs.dll
  846. 1,p5ctrs.in_, RENAME=p5ctrs.ini
  847. 1,p5dump.ex_, RENAME=p5dump.exe
  848. 1,p5reg.in_, RENAME=p5reg.ini
  849. 1,p5stat.sy_, RENAME=p5stat.sys
  850. 1,pperf.ex_, RENAME=pperf.exe
  851. 1,readme.tx_, RENAME=readme.txt
  852.  
  853. [Files-MeasTool-tot-main]
  854. 1,perftp.h_, RENAME=perftp.h
  855. 1,perftp.in_, RENAME=perftp.ini
  856. 1,tp.in_, RENAME=tp.ini
  857. 1,readme.tx_, RENAME=readme.txt
  858.  
  859. [Files-MeasTool-tot-bin]
  860. 1,perftp.dl_, RENAME=perftp.dll
  861. 1,totlproc.ex_, RENAME=totlproc.exe
  862.  
  863. [Files-Disk3-Main]
  864. 3,readme.txt,      !DECOMPRESS
  865.  
  866. [Files-Logger-bin]
  867. 3,logger32.dl_, RENAME=logger32.dll
  868. 3,zdi32.dl_, RENAME=zdi32.dll
  869. 3,zdvapi32.dl_, RENAME=zdvapi32.dll
  870. 3,zernel32.dl_, RENAME=zernel32.dll
  871. 3,zrtdll.dl_, RENAME=zrtdll.dll
  872. 3,zser32.dl_, RENAME=zser32.dll
  873.  
  874. [Files-Wap-bin]
  875. 3,zdi32.dl_, RENAME=zdi32.dll
  876. 3,zdvapi32.dl_, RENAME=zdvapi32.dll
  877. 3,zernel32.dl_, RENAME=zernel32.dll
  878. 3,zinsrv.dl_, RENAME=zinsrv.dll
  879. 3,zle32.dl_, RENAME=zle32.dll
  880. 3,zrtdll.dl_, RENAME=zrtdll.dll
  881. 3,zser32.dl_, RENAME=zser32.dll
  882.  
  883.