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

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

?? install.old

?? 這是vxworks 的圖形界面開發(fā)軟件windML2.0的補丁CP2。
?? OLD
?? 第 1 頁 / 共 5 頁
字號:
# 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
    }
}

##############################################################################
#
# uninstStop - wraps up the uninstall process.
#
# This procedure copies uninstall agent, executes all queued commands, closes 
# all tempfiles, saves the temporary uninstall records into a zip file.
#
# SYNOPSIS
# uninstStop
#
# PARAMETERS: N/A
#
# RETURNS: N/A
#
# ERRORS: N/A

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品人在线二区三区| 香蕉av福利精品导航| 国产精品超碰97尤物18| 国产日本欧美一区二区| 国产亚洲欧美日韩日本| 日本一区二区三区dvd视频在线| 国产精品私人影院| 欧美国产日韩精品免费观看| ...中文天堂在线一区| 亚洲综合另类小说| 日本亚洲天堂网| 国产精品资源在线| av一区二区三区在线| 欧美唯美清纯偷拍| 日韩免费在线观看| 国产欧美日韩综合精品一区二区| 亚洲人成精品久久久久久| 一区二区三区精品久久久| 免费在线观看一区| 国产sm精品调教视频网站| 色综合久久88色综合天天6| 51精品国自产在线| 精品国产乱码久久久久久免费| 国产欧美一区二区三区沐欲| 一区二区免费看| 久久精品国产99国产精品| 成人黄色a**站在线观看| 欧美电影在线免费观看| 久久久777精品电影网影网 | 亚洲成人av一区| 久久99深爱久久99精品| 91丨九色丨黑人外教| 91麻豆精品国产91| 国产精品丝袜在线| 亚洲成人精品影院| 成人国产精品免费观看动漫| 69精品人人人人| 国产精品丝袜一区| 亚洲一区二区三区四区在线免费观看| 麻豆成人免费电影| 色婷婷av一区二区| 国产午夜精品理论片a级大结局| 亚洲自拍另类综合| 国产精品91一区二区| 欧美色精品天天在线观看视频| 久久久一区二区三区捆绑**| 亚洲福中文字幕伊人影院| 成人综合在线观看| 精品区一区二区| 亚洲一二三四区| 国产成人精品在线看| 欧美精品久久久久久久久老牛影院| 国产精品嫩草99a| 精品一区精品二区高清| 欧美日韩视频在线第一区| 《视频一区视频二区| 国产美女av一区二区三区| 欧美丰满少妇xxxbbb| 一区二区三区日韩在线观看| 天堂久久一区二区三区| 99九九99九九九视频精品| 一区二区三区精密机械公司| 国产成人av电影在线播放| 精品国产一区二区亚洲人成毛片 | 极品美女销魂一区二区三区| 91麻豆精品国产91久久久资源速度 | 99国产精品国产精品久久| 制服丝袜亚洲色图| 亚洲午夜在线视频| 色吧成人激情小说| 亚洲靠逼com| 色94色欧美sute亚洲线路一ni| 亚洲丝袜另类动漫二区| 99久久久国产精品| 亚洲欧美一区二区久久| 97精品超碰一区二区三区| 亚洲欧美一区二区三区久本道91 | 一区二区三区四区乱视频| 色呦呦日韩精品| 亚洲黄色小视频| 欧美系列在线观看| 亚洲成年人影院| 欧美一区二区黄| 久久精品国产精品亚洲综合| 精品电影一区二区| 国内不卡的二区三区中文字幕 | 成人久久视频在线观看| 亚洲欧洲日韩一区二区三区| 色婷婷国产精品| 婷婷夜色潮精品综合在线| 欧美一区二视频| 激情综合网av| 中国色在线观看另类| 色婷婷av久久久久久久| 偷拍与自拍一区| 精品欧美一区二区三区精品久久| 国产酒店精品激情| 国产精品二区一区二区aⅴ污介绍| 91一区二区在线| 成人精品视频.| 久久精品人人做人人爽97| 99精品1区2区| 亚洲最色的网站| 欧美私人免费视频| 麻豆国产一区二区| 国产精品久久久久久亚洲毛片 | 日韩主播视频在线| 欧美aⅴ一区二区三区视频| 成人国产精品免费观看动漫| 国内精品不卡在线| 国产精品影视网| 国产精品一区一区| 成人av小说网| 91美女在线看| 欧美日精品一区视频| 91福利资源站| 69久久夜色精品国产69蝌蚪网| 日韩美女视频在线| 久久久久久一二三区| 国产一区二区在线视频| 一区二区三区欧美| 精品久久久网站| 色综合天天狠狠| 紧缚奴在线一区二区三区| 亚洲精品高清在线| 26uuu亚洲综合色| 日本福利一区二区| 国产乱子轮精品视频| 一区二区欧美视频| 久久久影视传媒| 这里是久久伊人| 91视频免费观看| 国产一区二区在线免费观看| 亚洲午夜电影在线观看| 国产清纯白嫩初高生在线观看91| 欧美无乱码久久久免费午夜一区 | 51精品秘密在线观看| youjizz久久| 精品一区二区影视| 亚洲在线一区二区三区| 久久精品网站免费观看| 在线综合视频播放| 在线免费不卡视频| 成人午夜电影网站| 久久99九九99精品| 午夜伊人狠狠久久| 亚洲欧美一区二区三区久本道91| 久久久电影一区二区三区| 欧美高清激情brazzers| av爱爱亚洲一区| 国产精品一线二线三线| 日韩精品一卡二卡三卡四卡无卡| 亚洲精品水蜜桃| 国产精品视频免费看| 日韩欧美在线综合网| 精品视频1区2区| 色婷婷综合五月| 99精品久久免费看蜜臀剧情介绍| 狂野欧美性猛交blacked| 天天色图综合网| 亚洲成人你懂的| 亚洲在线视频网站| 亚洲精品第1页| 亚洲女厕所小便bbb| 国产精品视频一二三区| 久久精品一级爱片| aaa亚洲精品| 日本一区二区三区四区| 欧美色图激情小说| 美女一区二区三区| 7777精品伊人久久久大香线蕉最新版| 亚洲青青青在线视频| 99精品视频在线观看| 国产精品久久久久影院色老大| 国产98色在线|日韩| 久久久午夜电影| 成人免费毛片app| 中文字幕一区二区三区四区| 国产91精品精华液一区二区三区 | 91精品欧美一区二区三区综合在 | 天堂久久一区二区三区| 亚洲成a人v欧美综合天堂| 亚洲国产精品综合小说图片区| 亚洲高清免费观看 | 欧美v亚洲v综合ⅴ国产v| 欧美一区二区福利视频| 91精品国产91热久久久做人人| 欧美日韩激情一区二区| 欧美精品久久久久久久多人混战 | 国内精品自线一区二区三区视频| 久久国产精品一区二区| 激情综合色综合久久| 国产精品夜夜嗨| 成人深夜视频在线观看| av在线播放成人| 日本高清视频一区二区| 欧美日韩国产中文| 欧美一区二区三区免费视频| 精品精品国产高清a毛片牛牛| 久久久美女毛片|