亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? install.tcl

?? 這是vxworks 的圖形界面開發(fā)軟件windML2.0的補(bǔ)丁CP2。
?? TCL
?? 第 1 頁 / 共 5 頁
字號(hào):
# install.tcl - Installation program for Unix/Windows platforms.
#
# Copyright 1984-1997 Wind River Systems, Inc
#
# Modification history:
# ---------------------
# 02s,12aug97,pdn  moved version string to VERSION.TCL
# 02r,04aug97,pdn  merged fixed from qms1_0_x branch.
# 02q,20jun97,pdn  allowed native $(AR), and $(RANLIB) to be defined.
# 02p,13jun97,pdn  changed to use setup APIs as a DLL.
# 02o,19may97,pdn  fixed fileNameAppreviate() to handle the case that regexp
#                  fails to match.
# 02n,02may97,pdn  added comments.
# 02m,08apr97,pdn  fixed fileDup() to handle file permission accordingly
# 02l,28mar97,pdn  added code to support correct uninstall
# 02k,10mar97,pdn  fixed library update routine.
# 02j,08mar97,tcy  undo last mod
# 02i,07mar97,tcy  moved needUpdateWlmd() from INSTTK.TCL to here
# 02h,07mar97,pdn  fixed uninstStart to allow patch uninstallation.
# 02g,05mar97,pdn  sorted the product list.
# 02f,04mar97,pdn  copy ZIP utility to bin directory.
#                  added hook for patch installation.
# 02e,25feb97,pdn  added function byteToMbyte()
# 02d,24feb97,pdn  modified fileDup() to allow update/overwrite.
# 02c,09feb97,pdn  fixed cdInfoGet to return correct selected feature Id list
# 02b,04feb97,pdn  fixed library updating problem.
# 02a,24jan97,pdn  rounded up the product size upto 0.1 MB where needed
# 01z,24jan97,pdn  returned to the calling function when user hit cancel
# 01y,22jan97,pdn  fixed the ar so that console windows in Windows 95 won't show up.
# 01x,21jan97,pdn  fixed fileDup(), and execute().
# 01w,20jan97,pdn  fixed replicated feature id/name, better error hanlding
# 01v,14jan97,pdn  updated uninstBinCopy() to support Windows, fixed indentation
# 01u,07jan97,pdn  updated the pre/post install
#                  implemented billboard cycling from product dir
# 01t,18dec96,sks  changed location of TCL and BITMAP files; renamed
#                  TEXT.TCL to MESSAGES.TCL                   
# 01s,13dec96,pdn  updated postInstall()
# 01r,12dec96,pdn  added productName to the productObj
# 01r,11dec96,pdn  fixed cdInfoGet and productInfoGet to return correct
#                  featureId list
# 01q,09dec96,pdn  added hierachy selection option
# 01p,23nov96,sj   incorporated post and presinstall mechanisms
# 01o,18nov96,sj   caught user removing CDROM when files are being 
#                  copied over and included the check for backuped
#                  files into backup().
# 01m,11nov96,pdn  centralized all strings to TEXT.TCL 
# 01l,08nov96,pdn  backup newer files in the same manner as older files.
# 01k,06nov96,pdn  added retry option for fileDup()
# 01j,05nov96,pdn  fixed the uninstall logging
# 01i,24oct96,pdn  added uninstLog()
# 01h,21oct96,pdn  added pageRemove()
# 01g,18oct96,pdn  updated uninstStart() to use new uninst dir, and added
#                  uninstBinCopy()
# 01f,01oct96,tcy  moved umaskGet(), umaskSet(), getSelection() here  
# 01e,29aug96,pdn  allowed non-tk specific installation
# 01d,27aug96,pdn  handle messages return from zip.
# 01c,02jul96,pdn  added directory creation, and implement lib update.
# 01b,25jun96,pdn  modified the GUI to meet the specification.
# 01a,11jun96,jco  translated to tk from the uitcl/Windows.
#

source [cdromRootDirGet]/RESOURCE/TCL/VERSION.TCL

##############################################################################
#
# fileNameAppreviate - shorten the filename for GUI displaying purpose
#
# This procedure shorten filename if it's longer than 40 chars.  The shorten
# filename will be in the form firstDir/.../lastDir/fileName.  There is no
# warranty that the resulted filename will be any shorter than the original one.
#
# SYNOPSIS
# fileNameAppreviate <fileName>
#
# PARAMETERS: 
#    fileName : a path filename
#
# RETURNS: shorten filename
#
# ERRORS: N/A
#

proc fileNameAppreviate {fileName} {
    set shortName $fileName

    if {[string length $fileName] > 40} {
        if [regexp {(^[^/]+)/.*/([^/]+/[^/]+$)} $fileName junk\
                 firstPart lastPart] {
            set shortName "$firstPart/.../$lastPart"
        }
    } 
    return $shortName
}

##############################################################################
#
# archListPut - save the object filename 
#
# This procedure checks the provided filename for a special pattent.  If 
# matches, the filename will be saved in a global array for later archiving
# step.  The keys of this associated array are the object location, and product
# index.
#
# SYNOPSIS
# archListPut <fileName> <index>
#
# PARAMETERS: 
#    fileName : a path filename
#    index : an index to a current product
#
# RETURNS: N/A
#
# ERRORS: N/A
#

proc archListPut {fileName index} {
    global objects

    # toolset and typeset can be a set of strings "|" together
    # "gnu|gnucoff|..."

    set toolset "gnu"
    set typeset "vx"

    if {[regexp "^.*/lib/obj(.*)($toolset)($typeset)(.*)/(.*$)" $fileName \
         junk cpu tool type typex tailFileName] == "1"} {

        set objDir "$index,obj,$cpu,$tool,$type,$typex"

        if [info exists objects($objDir)] {
            if {[lsearch $objects($objDir) $tailFileName] == "-1"} {
                lappend objects($objDir) $tailFileName
            }
        } {
            set objects($objDir) [list $tailFileName]
        }
    }
}

##############################################################################
#
# backup - save the specified file into a zip file. 
#
# This procedure zips the specified file into a zipfile.  If the file is
# previously backed up, nothing will be done.
#
# SYNOPSIS
# backup <fileName>
#
# PARAMETERS: 
#    fileName : a path filename
#
# RETURNS: N/A
#
# ERRORS: N/A
#

proc backup {fileName} {
    global setupVals backUpFileArray   

    if ![info exists backUpFileArray($fileName)] { 

        set saveDir [pwd]
        cd [destDirGet]

        # only interested in the existent of the array element, not the content

        set backUpFileArray($fileName) "" 

        if [catch {exec ZIP $setupVals(uninstFile) -g -q -1 $fileName} error] {
            uninstLog setup "\twarning: $fileName : $error"
            if [debug] {puts "warning: $fileName: $error"}
        } {
            uninstLog backup "wind_base\t$fileName"
        }

        cd $saveDir
    }
}

##############################################################################
#
# fileBackupAndRemove - backup and remove
#
# This procedure backups, then removes the specified file.
#
# SYNOPSIS
# fileBackupAndRemove <fileName>
#
# PARAMETERS: 
#    fileName : a path filename
#
# RETURNS: N/A
#
# ERRORS: N/A
#

proc fileBackupAndRemove {fileName} {
    backup $fileName
    catch {file delete $fileName}
}

##############################################################################
#
# fileRemove - remove the specified file
#
# This procedure removes the specified file, and if fails to do so, it's then
# popping up a dialog to query for the next action.
#
# SYNOPSIS
# fileRemove <fileName>
#
# PARAMETERS: 
#    fileName : a path filename
#
# RETURNS: 
#    OK     : successful removing <filename>
#    RETRY  : failed to remove the file, and user wants to retry.
#    IGNORE : failed to remove the file, and user wants to ignore it.
#
# ERRORS: N/A
#

proc fileRemove {fileName} {
    global setupVals

    if [catch {file delete $fileName} error] {
        set msg [strTableGet 1370_FILE_ACCESS_ERROR $fileName $error]

        switch [dialog re_ig_cancel "Setup" $msg question 0] {
            0 { return "RETRY" }
            1 {
                set logMsg "\terror: $fileName: $error"
                lastErrorSet $logMsg
                uninstLog setup $logMsg
                return "IGNORE"
            }
            default {quitCallback}
        }
    }
    return "OK"
}

##############################################################################
#
# uninstStart - obtains a zip filename
#
# This procedure obtains a zip filename for use in sub-sequence calls to zip,
# creates $WIND_BASE/.wind/uninst if not exist.  Must be called prior any zip 
# function call.
#
# SYNOPSIS
# uninstStart [type]
#
# PARAMETERS: 
#    [type] : if 'license' is specified, zip filename w/ extension 001 returns.
#
# RETURNS: zip filename.
#
# ERRORS: N/A
#

proc uninstStart {{type Software}} {
    global setupVals

    uninstHomeDirSet [destDirGet]/.wind/uninst

    if ![file isdirectory [uninstHomeDirGet]] {
        file mkdir [uninstHomeDirGet]
    }

    if {"$type" == "license"} {
        set setupVals(uninstFile) "[uninstHomeDirGet]/data.001"
    } {
        set setupVals(uninstFile) \
            "[uninstHomeDirGet]/data.[format "%03d" [expr 1 + \
             [llength [glob -nocomplain [uninstHomeDirGet]/data.*]]]]"
    }
}

##############################################################################
#
# uninstFileClose - close uninstall file descriptions.
#
# This procedure closes uninstall file descriptions if they are still opened.
#
# SYNOPSIS
# uninstFileClose
#
# PARAMETERS: N/A
#
# RETURNS: N/A
#
# ERRORS: N/A
#

proc uninstFileClose {} {
    global setupVals

    if {"$setupVals(uninstFileOpen)" == "opened"} {
        close $setupVals(fInstallFile)
        close $setupVals(fInstallInfo)
        close $setupVals(fInstallBackup)
        close $setupVals(fInstallResource)
        puts $setupVals(fSetupLog) ""
        close $setupVals(fSetupLog)
        set setupVals(uninstFileOpen) closed
    }
}

##############################################################################
#
# uninstFileOpen - opens files for recording uninstall info.
#
# This procedure opens disk files for writing the temporary uninstall records.
# These files will be closed by calling uninstFileClose()
#
# SYNOPSIS
# uninstFileOpen
#
# PARAMETERS: N/A
#
# RETURNS: N/A
#
# ERRORS: N/A
#

set setupVals(uninstFileOpen) ""

proc uninstFileOpen {} {
    global setupVals

    if {"$setupVals(uninstFileOpen)" != "opened"} {
        set setupLog [tempDirGet]/setup.log.tmp
        set uninstFile [tempDirGet]/installFile.tmp
        set uninstResource [tempDirGet]/installResource.tmp
        set uninstBackup [tempDirGet]/installBackup.tmp
        set uninstInfo [tempDirGet]/installInfo.tmp
    
        set setupVals(fSetupLog) [open $setupLog "w"]
        set setupVals(fInstallFile) [open $uninstFile "w"]
        set setupVals(fInstallInfo) [open $uninstInfo "w"]
        set setupVals(fInstallBackup) [open $uninstBackup "w"]
        set setupVals(fInstallResource) [open $uninstResource "w"]
        
        set setupVals(uninstFileOpen) opened
    }
}

##############################################################################
#
# uninstBinCopy - copies uninstall agent
#
# This procedure copies neccessary files from CDROM to the destination 
# directory for the uninstall program to work.  No-op if patch installation
# is detected.
#
# SYNOPSIS
# uninstBinCopy
#
# PARAMETERS:  N/A
#
# RETURNS: N/A
#
# ERRORS: N/A
#

proc uninstBinCopy {} {
    global setupVals

    if {[instTypeGet] == "patch"} {
        return

    } elseif {[windHostTypeGet] == "x86-win32"} {
        set winDir [setupWinDirGet]
        set cdBinDir [cdromRootDirGet]\\X86\\WIN32
        set usrBinDir [destDirGet]\\host\\[windHostTypeGet]\\bin
        
        fileDup $cdBinDir\\ZIP.EXE $usrBinDir\\ZIP.EXE update
        fileDup $cdBinDir\\MFC42.DLL $usrBinDir\\MFC42.DLL
        fileDup $cdBinDir\\MSVCRT.DLL $usrBinDir\\MSVCRT.DLL
        fileDup $cdBinDir\\PCTREE32.DLL $usrBinDir\\PCTREE32.DLL
        fileDup $cdBinDir\\TCL.DLL $usrBinDir\\TCL.DLL
        fileDup $cdBinDir\\UITCL.DLL $usrBinDir\\UITCL.DLL
        fileDup $cdBinDir\\UITCLSH.EXE $usrBinDir\\UITCLSH.EXE
        fileDup $cdBinDir\\SETUPTCL.DLL $usrBinDir\\SETUPTCL.DLL update
        fileDup [cdromRootDirGet]\\RESOURCE\\BITMAPS\\UNINST.BMP \
                [uninstHomeDirGet]\\UNINST.BMP update
        fileDup [cdromRootDirGet]\\RESOURCE\\TCL\\UNINST.TCL \
                [uninstHomeDirGet]\\UNINST.TCL update
    } {
        set usrBinDir [destDirGet]/host/[windHostTypeGet]/bin

        fileDup [cdromRootDirGet]/RESOURCE/TCL/UNINST.TCL \
                [uninstHomeDirGet]/UNINST.TCL update

        fileDup [cdromRootDirGet]/RESOURCE/TCL/LIB/TKLIB.TAR \
                [uninstHomeDirGet]/TKLIB.TAR update

        fileDup [cdromRootDirGet]/RESOURCE/BITMAPS/UNINST.PPM \
                [uninstHomeDirGet]/UNINST.PPM update
    
        fileDup [cdromBinDirGet]/INSTTCL2 $usrBinDir/INSTTCL2 update
        fileDup [cdromBinDirGet]/INSTTK2 $usrBinDir/INSTTK2 update
        fileDup [cdromRootDirGet]/UNINST $usrBinDir/UNINST update
        fileDup [cdromBinDirGet]/ZIP $usrBinDir/ZIP update
        fileDup [cdromBinDirGet]/SETUPTCL[string toupper \
                                           [info sharedlibextension]] \
		$usrBinDir/setuptcl[info sharedlibextension] update
    }
}

##############################################################################
#

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国内欧美视频一区二区| 精品中文字幕一区二区小辣椒| 蜜桃91丨九色丨蝌蚪91桃色| 99精品视频在线观看| 亚洲精品一区二区三区四区高清| 亚洲一级二级在线| 播五月开心婷婷综合| 久久影院视频免费| 日本最新不卡在线| 在线免费亚洲电影| 亚洲欧洲无码一区二区三区| 国内精品写真在线观看| 日韩亚洲欧美高清| 午夜激情一区二区三区| 色综合色综合色综合色综合色综合| 久久久久久亚洲综合影院红桃| 日本午夜精品视频在线观看| 欧美丝袜丝交足nylons| 综合亚洲深深色噜噜狠狠网站| 国产精品18久久久久久vr| 一区二区三区四区激情| 成人晚上爱看视频| 国产午夜精品久久久久久免费视| 精品亚洲成av人在线观看| 欧美一区二区精品在线| 日韩精品乱码av一区二区| 欧美午夜宅男影院| 夜夜揉揉日日人人青青一国产精品 | 不卡的电影网站| 国产午夜精品一区二区三区视频| 国内久久婷婷综合| 26uuu另类欧美亚洲曰本| 久久99国产乱子伦精品免费| 日韩欧美一级二级| 久久成人免费网| 精品国产a毛片| 精品亚洲aⅴ乱码一区二区三区| 日韩欧美的一区| 六月丁香综合在线视频| 精品久久久久久亚洲综合网 | 一区二区成人在线视频| 色欧美88888久久久久久影院| 国产精品不卡在线观看| 99久久亚洲一区二区三区青草| 中文字幕一区二区三区在线不卡| 成人精品一区二区三区四区| 亚洲欧洲一区二区三区| 色诱视频网站一区| 亚洲一区二区在线视频| 欧美日韩视频在线一区二区 | 18欧美亚洲精品| 91成人在线精品| 香蕉成人啪国产精品视频综合网| 欧美日韩国产高清一区二区 | 亚洲欧美另类在线| 欧美在线观看视频一区二区三区| 午夜精品久久久久久久99樱桃 | 91啪亚洲精品| 亚洲国产乱码最新视频| 欧美一级免费大片| 国产原创一区二区三区| 国产精品麻豆视频| 99r精品视频| 天天综合天天做天天综合| 精品精品国产高清一毛片一天堂| 国产精品一二三区在线| 中文字幕人成不卡一区| 欧美系列在线观看| 精品亚洲porn| 国产美女在线观看一区| 国产精品国产精品国产专区不蜜 | 国产高清无密码一区二区三区| 国产精品国产三级国产有无不卡 | 精品久久久久久最新网址| 成人综合婷婷国产精品久久 | 国产欧美一区视频| 色婷婷久久综合| 日本三级亚洲精品| 国产日韩欧美a| 欧美视频中文字幕| 精品午夜久久福利影院| 中文字幕制服丝袜成人av| 欧美日韩一区精品| 国产伦精品一区二区三区免费迷| 中文字幕一区在线| 欧美人伦禁忌dvd放荡欲情| 国产做a爰片久久毛片| 依依成人综合视频| 欧美mv和日韩mv的网站| 色吧成人激情小说| 国内外成人在线视频| 一区二区三区在线免费播放 | 水野朝阳av一区二区三区| 精品动漫一区二区三区在线观看| av综合在线播放| 免费成人在线视频观看| 国产女同性恋一区二区| 欧美理论片在线| 成人免费va视频| 日韩成人一级片| 1024精品合集| 日韩免费在线观看| 欧美亚洲高清一区二区三区不卡| 国产精一区二区三区| 亚洲成人av在线电影| 国产精品久久久一区麻豆最新章节| 制服.丝袜.亚洲.中文.综合| 成人一区在线看| 免费观看成人鲁鲁鲁鲁鲁视频| 中文字幕一区二区三区精华液| 日韩美女主播在线视频一区二区三区| 91在线视频官网| 国产精品资源在线观看| 日韩电影免费在线| 亚洲免费观看高清完整版在线观看熊| 精品国产凹凸成av人网站| 欧美卡1卡2卡| 色婷婷综合久久久中文一区二区| 国产酒店精品激情| 美女爽到高潮91| 天天综合日日夜夜精品| 亚洲人成网站影音先锋播放| 国产日韩一级二级三级| 亚洲一区二区欧美| 1区2区3区欧美| 国产女人18水真多18精品一级做| 日韩欧美激情一区| 5月丁香婷婷综合| 欧美午夜精品一区二区三区| 成人免费视频app| 国内欧美视频一区二区| 久久福利资源站| 日韩av高清在线观看| 亚洲国产精品自拍| 亚洲自拍偷拍图区| 亚洲欧美日韩国产另类专区| 国产精品久久网站| 国产精品三级电影| 久久久美女毛片| 精品国产1区2区3区| 欧美一区二区二区| 欧美一级片在线观看| 欧美精品一二三四| 欧美日韩国产小视频在线观看| 欧美性大战久久久| 欧美午夜在线观看| 欧美日本在线视频| 欧美日韩国产片| 欧美精品在线观看播放| 欧美二区在线观看| 7777精品伊人久久久大香线蕉最新版 | 欧美国产日本韩| 国产欧美精品在线观看| 久久精品在线免费观看| 国产亚洲综合av| 国产欧美一区二区三区在线老狼| 久久丝袜美腿综合| 国产欧美精品区一区二区三区 | 亚洲午夜久久久久久久久电影院| 亚洲精品写真福利| 亚洲国产欧美一区二区三区丁香婷| 亚洲一级二级三级在线免费观看| 亚洲一区二区3| 午夜日韩在线电影| 麻豆传媒一区二区三区| 国产一区二区按摩在线观看| 国产精品夜夜嗨| 99精品国产91久久久久久| 色天使色偷偷av一区二区| 欧洲精品在线观看| 欧美一区二区在线视频| 欧美tickling网站挠脚心| 国产色爱av资源综合区| 国产精品久久久久婷婷| 夜夜嗨av一区二区三区四季av | 国产精品高清亚洲| 亚洲视频在线一区| 午夜视频在线观看一区二区 | 亚洲一区二区中文在线| 奇米一区二区三区av| 九九在线精品视频| 成人午夜大片免费观看| 91久久人澡人人添人人爽欧美| 欧美精选在线播放| 青青草91视频| 国产精品一区二区久久不卡| 97超碰欧美中文字幕| 欧美日韩小视频| 久久伊人中文字幕| 亚洲欧美日韩国产成人精品影院| 性久久久久久久久久久久| 开心九九激情九九欧美日韩精美视频电影| 国产精品一卡二| 日本韩国欧美一区二区三区| 欧美精品在线观看一区二区| 久久精子c满五个校花| 亚洲一区二区在线播放相泽| 久久99热99| 色综合视频一区二区三区高清| 欧美一区二区三区小说|