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

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

?? app_gen.ins

?? genesis 2000 v9.1軟件下載
?? INS
?? 第 1 頁 / 共 5 頁
字號:
######################################################################
#
#  Genesis Installation plug in
#
#  This plug-in is designed to work with Frontline Pro-Installer
#  -------------------------------------------------------------
#
#  Purposes : Install Full   Version - Installation from scratch
#             Install Update Version - New executables augmenting an existing
#                                      version
#             Install Fix    Version - New executables instead of an existing
#                                      version
#
# The plug in includes stages as detailed in the table  APP_GEN_G(STAGES)
#
# Stages can be performed in sequence during Standard install or selectively
# during Custom install.
#
#     First Version : Oct 26, 1997
#     3 Feb 2002 Ben - Support for VUV removed. Support for Linux added
#    13 Mar 2003 Yefim - Support for W2K added
#     7 Dec 2003 Yefim - Use dongle_info from Genesis (not from ProInstaller) 
#			 ( proc get_dongle_id instead of proc tclu_get_dongle )
#    16 Jan 2005 Yefim - To use for Genesis installation only
#    22 Dec 2005 Yefim - ATGen installation
#    17 Jan 2006 Yefim - GND startup file is used as a link (Linux only)
#
######################################################################
global VPIG
global APP_GEN_G
#
#  Global Variables
#
set APP_GEN_G(PLUGIN_NAME)   		"app_gen"
set APP_GEN_G(DEST_PATH)   		""
set APP_GEN_G(DEFAULTS_PATH)  		\
        [file join [tclu_get_home] .valor_install defaults.app_gen]
set APP_GEN_G(SAVED_DEFAULTS) 		\
         [list DEST_PATH MODE LICENSE_PATH]
set APP_GEN_G(TITLE)  			\
        "CAM之家官方網(wǎng)站\n www.camhome.cn\n 軟件漢化:賣血上網(wǎng)\n QQ:36355572"
set APP_GEN_G(MODE)			"Standard"
set APP_GEN_G(WP_STAGES)      		""
set APP_GEN_G(LICENSE_PATH)   		[file join /tmp license]
set APP_GEN_G(LICENSE_STATUS) 		0
set APP_GEN_G(INSTALL_TYPE) 		"full"
set APP_GEN_G(SYSADMIN_USER_NAME)       ""
set APP_GEN_G(SYSADMIN_PASSWORD)        ""
set APP_GEN_G(SYSADMIN_GROUP_NAME)      ""
set APP_GEN_G(USER_STATUS)              ""
set APP_GEN_G(EDIR_LOCATION)            ""
set APP_GEN_G(SC_MODE)                  ""
set APP_GEN_G(INIT_CB)                  "app_gen_init"
set APP_GEN_G(DONGLE)                   ""
set APP_GEN_G(PRODUCT_NAME)             ""

######################################################################
proc app_gen_init { STAGE_INDEX } {
   global VPIG
   global APP_GEN_G

   if { $APP_GEN_G(SC_MODE) == "" } {
     set CHOICES [list 服務(wù)端 工作站]
     set CHOICE [tku_popup_message question $CHOICES \
        "請選擇服務(wù)端或工作站"]
     if { $CHOICE == "工作站" } {
         set APP_GEN_G(SC_MODE) client	
         plugin.set_stage_onoff APP_GEN_G copy     off
         plugin.set_stage_onoff APP_GEN_G perms    off
#         plugin.set_stage_onoff APP_GEN_G license  off
         plugin.set_stage_onoff APP_GEN_G users    off
         plugin.set_stage_onoff APP_GEN_G database off
	 display_mount_message
	 set_edir_location_variable
     } else {
         set APP_GEN_G(SC_MODE) server
     }
   }
   return 0
}

#####################################################################
proc display_mount_message {} {
   global VPIG
   global APP_GEN_G

   set VER_NUM [get_version_number $VPIG(NAME_VERSION)]
   set DEST_MSG \
     "Please specify the directory on the server into which the\
    \nsoftware was installed."
   if {$VPIG(OS) == "nt"} {
      set DEST_MSG "$DEST_MSG\n\
	          \nThe destination directory should be mapped to a \
	          \ndrive letter using the 'Map Network Drive...' option\
	          \nof the 'Network Neighborhood' icon. The drive letter\
	          \nshould be given as a part of the path below."
   } else {
      set DEST_MSG "$DEST_MSG\n\
	          \nThe destination directory should be mounted\
	          \nusing the 'mount' command. the mount point should \
	          \nbe called the same as the destination directory. \
	          \nThis will allow the usage of the same environment\
	          \nvariables for all users."
   }

   set DEST_PATH $APP_GEN_G(DEST_PATH)

   tku_popup_message question ok $DEST_MSG  "" DEST_PATH

   if {! [tclu_is_path_dir $DEST_PATH] }  {
      tku_popup_message  error ok \
        "The directory $DEST_PATH does not exist"
   } else {
      set APP_GEN_G(DEST_PATH) $DEST_PATH
      plugin_save_defaults APP_GEN_G
   }
}

#####################################################################
proc set_edir_location_variable {} {
   global VPIG
   global APP_GEN_G

   set VER_NUM [get_version_number $VPIG(NAME_VERSION)]
   set EDIR_LOCATION_MSG \
     "Please specify the directory on the server in which the\
    \nexecutable tree (e$VER_NUM) for your platform is located.\
    \nThis option is needed for mixed-platform installation\
    \nwhere there are several executable trees.\
    \nIf you specify the path, DO NOT include in its tail e$VER_NUM!"
   set EDIR_LOCATION $APP_GEN_G(DEST_PATH)

   tku_popup_message question ok $EDIR_LOCATION_MSG  "" EDIR_LOCATION

   if {! [tclu_is_path_dir $EDIR_LOCATION] }  {
      tku_popup_message  error ok \
        "The directory $EDIR_LOCATION does not exist"
   } else {
      set APP_GEN_G(EDIR_LOCATION) $EDIR_LOCATION
   }
}


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

######################################################################
#
#  The name of the callback routine is derived from the first member.
#      <product_name>_<stage>_cb
#  e.g. the 'copy' callback is 'app_gen_copy_cb'
#
#  The name of the information popup is derived from the first member,
#  and used as an index in the array.
#      <globals array>(INFO_<stage in uppercase>)
#  e.g. the 'copy' information screen is APP_GEN_G(INFO_COPY)
#

  set APP_GEN_G(STAGES) [list   \
			     copy	"復(fù)制程序文件   " \
			     perms	"設(shè)置文件屬性 "	\
			     license	"此步一直往下點(diǎn),出錯不用理會! "	\
			     startup	"更新啟動文件 "	\
			     users	"設(shè)置用戶名和密碼    "	\
			     database	"設(shè)置genesis數(shù)據(jù)庫的安裝位置"	\
			     kernel	"Update O.S. Kernel   "	\
			     check	"檢查安裝文件   "	\
			    ]

if { $VPIG(OS) == "nt" } {
   set KERNEL_INDEX [lsearch -exact $APP_GEN_G(STAGES) kernel]
   if {$KERNEL_INDEX != -1} {
      set APP_GEN_G(STAGES) \
         [lreplace $APP_GEN_G(STAGES) $KERNEL_INDEX [expr $KERNEL_INDEX + 1]]
   } else {
      tku_popup_message error ok "Kernel stage is missing from APP_GEN_G"
   }
   
}

################ Info Section - COPY ###########################

set APP_GEN_G(COPY_INFO) "
Actions performed during the 'Copy product files' stage:

This stage copies all the product files into the destination
directory.
The product data is kept as one file in tgz (tar gnu-zipped)
format. The copy process:

- Verifies the destination directory as follows:
  - If it does not exist - it will create one, after user confirmation
  - If it exists and empty, will install the full version into it
  - If it exists and non-empty:
    - If a previous version was installed in it, will install
      an update only - the executables.
      If the new executables are of the same version as the ones installed,
      the user will be given the option to copy the executables aside.
    - If no previous version was installed in it, will confirm the
      continuation with the user

- Checks the file(s) validity
- Unzips and untars the file into the proper destination directory
"
#####################################################################
proc app_gen_copy_cb {MODE} {
   global VPIG
   global APP_GEN_G

   set VER_NUM [get_version_number $VPIG(NAME_VERSION)]
   get_version_type $VPIG(NAME_VERSION) IS_FIX VTYPE FIX_ID PFIX_ID

   #
   # Sub dirs which cannot be overwritten
   set APP_GEN_SUB_DIRS_PROTECTED [list \
	share  fw 	hosts   sys ]
   set APP_GEN_SUB_DIRS_REQUIRED [list \
	hosts	 logs	 tmp    sys ]

   set ROOT_MODE error
   if { $MODE != "Standard" } {
      set ROOT_MODE warning
   }
   if { ! [tku_is_root $ROOT_MODE] } {
      return "error"
   }
  #
  #  Verify the correct O.S. is installed
  #
  set NAME_OS [string tolower $VPIG(NAME_OS)]
  if { $NAME_OS == "sol26" } { # Patch   -- Ben 23 May 2000
     set NAME_OS "solaris"
  }
  if { $NAME_OS == "w2k" } { # Yefim 13 Mar 2003
     set NAME_OS "nt"
  }
  if { $VPIG(OS) != $NAME_OS } {
     set CHOICE [tku_popup_message warning yesno \
	"You are trying to install a version for $NAME_OS\
       \non a workstation running $VPIG(OS).\
       \nContinue ?"]
     if { $CHOICE == "no" } {
	return "cancel"
     }
  }
  #
  #  Check for the existence of the data file (app_gen.tgz) which will
  #  be unzipped and untarred
  #
  set DATA_PATH [file join $VPIG(PRODUCT_PATH) $VPIG(NAME).tgz]
  if { ! [tclu_is_path_file $DATA_PATH] } {
      tku_popup_message error ok \
         [format "The data file to be installed does not exist.\
                \nFile=%s"  \
                 $DATA_PATH]
      return error	
  }
  set SIZE [tclu_get_gz_size $DATA_PATH]
  set CHOICE [tku_prompt_size $SIZE]
  if { $CHOICE != 1 } {
    return "cancel"
  }
  set SUM_PATH [file join $VPIG(PRODUCT_PATH) $VPIG(NAME).sum]
  set STATUS [tclu_check_sum_file $DATA_PATH $SUM_PATH]
  if { $STATUS != 0 } {
      tku_popup_message error ok \
         [format "The data file to be installed does not match the checksum\
	        \nfile (Sum or size). Data may have not been rerieved properly.\
                \nData File=%s\
		\nSum  File=%s"\
                 $DATA_PATH $SUM_PATH]
      return error	
  }

  set DEST_PATH [string trim $APP_GEN_G(DEST_PATH)]
	
  set DIR_IS_EMPTY                 0
  set DIR_IS_WRITABLE              0
  set DIR_HAS_PROTECTED_SUBDIRS    0
  set DIR_HAS_ALL_REQUIRED_SUBDIRS 0

  #........ Examine the destination directory..........#
  if { ! [tclu_is_path_dir $DEST_PATH] } {

     # Directory does not exist - create one with permission

     set STATUS [tclu_mkdir $DEST_PATH]
     if {$STATUS != 0} { return "error" }
     set DIR_IS_EMPTY 1
     set DIR_IS_WRITABLE 1
  } else {
     set DIR_IS_WRITABLE [file writable $DEST_PATH]
     if {! $DIR_IS_WRITABLE} {
	tku_popup_message error ok \
	   "The destination directory is not writable."
	return "error"
     }
     # Check if directory is empty

     if {! [catch { glob [file join $DEST_PATH *]} DIRS_LIST] } {
	
       # Directory is non-empty
       #
       # Find if the directory contains and sub directory which precludes
       # a full installation in fear of overwriting user's data
       # (examples: share, sys, etc.)
       #
	set PROTECTED_SUBDIRS {}
	set DIR_HAS_PROTECTED_SUBDIRS  0
	foreach DIR_PATH $DIRS_LIST {
	   set DIR_NAME [file tail $DIR_PATH]
	   if { [lsearch $APP_GEN_SUB_DIRS_PROTECTED $DIR_NAME] >= 0 } {
	      set DIR_HAS_PROTECTED_SUBDIRS 1
	      lappend PROTECTED_SUBDIRS $DIR_NAME
	   }
	}
	#
	# Find if the directory contains all the necessary directories
	# which are required for an update or fix installation
	# (Example : We warn if sich installation is done to a directory
	#            without sys or exx directories)
	#
	set REQUIRED_SUBDIRS {}
	set DIR_HAS_ALL_REQUIRED_SUBDIRS 1
	foreach REQUIRED_SUBDIR $APP_GEN_SUB_DIRS_REQUIRED {
	   set FILE_PATTERN [file join * $REQUIRED_SUBDIR]
	   if { [lsearch $DIRS_LIST $FILE_PATTERN] < 0 } {
	      set DIR_HAS_ALL_REQUIRED_SUBDIRS 0
	      lappend REQUIRED_SUBDIRS $REQUIRED_SUBDIR
	   }
	}
     } else {
        set DIR_IS_EMPTY 1
     }
  }
  set EDIR_LOCATION_PATH [get_edir_location $DEST_PATH 0]
  set STATUS [tclu_mkdir $APP_GEN_G(EDIR_LOCATION)]
  if { $STATUS != 0 } {
      return error
  }

  switch -- $IS_FIX {
     0 {        # Not a fix - a full version
	if { $DIR_IS_EMPTY } {
	   set APP_GEN_G(INSTALL_TYPE) full
	} elseif {$DIR_HAS_PROTECTED_SUBDIRS} {
	   set APP_GEN_G(INSTALL_TYPE) update
	}
	if {$APP_GEN_G(INSTALL_TYPE) == "update" &&
	    ! $DIR_HAS_ALL_REQUIRED_SUBDIRS } {
          set CHOICE [tku_popup_message warning yesno \
	     [format "You are trying to install inside a directory \
	            \nwhich is not empty but has no full version \
	            \nin it. Please check your destination directory.\
	          \n\nMissing sub-directories: %s\
	          \n\nAre you sure you wish to continue ?" $REQUIRED_SUBDIRS]]
	   if { $CHOICE == "no" } {
  	       return "cancel"	
           }
	}
     }
     1 {         # a fix version
	if { $DIR_HAS_ALL_REQUIRED_SUBDIRS } {
	   set APP_GEN_G(INSTALL_TYPE) fix
	} else {
          tku_popup_message error ok \
             [format "You are trying to install a 'fix version' (%s) \
                \ninside a directory without a full version.\
                \nPlease install the full version 'v%s' first.\
	      \n\nMissing sub-directories: %s" \
                 $VPIG(NAME_VERSION) $VER_NUM $REQUIRED_SUBDIRS]
  	  return error	
	}
	set STATUS [verify_previous_version]
	if { $STATUS != 0 } {
	   return error
	}
     }
     default {
       bgerror "Switch error app_gen.ins (0)"
     }
  }
	
  #
  #  Confirmation message - depending on the install type
  #
  switch -- $APP_GEN_G(INSTALL_TYPE) {
     "full" {
        set DO_E_SEPARATELY 1
	set TAR_DIRS "share fw hosts sys logs tmp"	
	if { $DEST_PATH == $EDIR_LOCATION_PATH } {
	   set TAR_DIRS "$TAR_DIRS e$VER_NUM"
           set DO_E_SEPARATELY 0
	}
	set RENAME_E_VER 0
	set CONFIRM_MESSAGE \
 	  "A full installation will be performed since \
         \nthe destination directory is empty."
     }
     "update" {
        set DO_E_SEPARATELY 1
	set TAR_DIRS "e$VER_NUM"	
	set RENAME_E_VER 1
	set ACTION "Rename"
	set CONFIRM_MESSAGE \
 	  "An update installation will be performed since \
         \nthe destination directory already contains some of the \
	 \nversion directories. \
       \n\nExisting version directories: $PROTECTED_SUBDIRS\n"
     }
     "fix" {
        set DO_E_SEPARATELY 1
	set TAR_DIRS "e$VER_NUM"
	set RENAME_E_VER 1
	set ACTION "Copy"
	set CONFIRM_MESSAGE \
 	  "A fix installation will be performed since \
         \nthe product selected contains a fix version only."
     }
     default {
       bgerror "Switch error app_gen.ins (1)"
     }
  }
  set CHOICE [tku_popup_message question yesno \
      [format "%s\n \
      \nDo you wish to continue ?" $CONFIRM_MESSAGE]]

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
首页国产欧美久久| 91精品在线免费| 一区二区在线观看免费视频播放| 欧美性一级生活| 国产成人亚洲综合a∨猫咪| 一区二区三区在线播放| 欧美精品日韩一区| av日韩在线网站| 激情伊人五月天久久综合| 亚洲免费色视频| 久久久久国产精品麻豆| 7777精品伊人久久久大香线蕉超级流畅 | 国产精品国产三级国产普通话三级 | 久久亚洲春色中文字幕久久久| 色狠狠一区二区| 久久精品欧美一区二区三区不卡| 国产精品一卡二| 另类人妖一区二区av| 国产美女一区二区三区| 久久亚洲免费视频| 精品一区二区三区在线播放| 暴力调教一区二区三区| 麻豆精品国产91久久久久久| 亚洲精品国产高清久久伦理二区| 欧美成人女星排行榜| 欧美午夜精品一区| 成人av第一页| 激情小说亚洲一区| 亚洲不卡在线观看| 中文字幕在线播放不卡一区| 欧美日韩精品高清| 成人黄页在线观看| 精品午夜久久福利影院| 精品国产免费视频| 欧美影院一区二区三区| 成人黄色免费短视频| 久久午夜老司机| 欧美成人性战久久| 一本大道久久a久久精二百| 精品一区二区精品| 午夜在线成人av| 亚洲精品午夜久久久| 国产欧美一二三区| 精品国精品国产| 在线视频一区二区三区| 成人免费视频免费观看| 国产成人综合自拍| 国产999精品久久| 国产精品一二三区在线| 麻豆精品视频在线观看视频| 偷拍亚洲欧洲综合| 夜色激情一区二区| 亚洲精品视频免费观看| 国产精品白丝在线| 日韩毛片一二三区| 国产精品二区一区二区aⅴ污介绍| 久久久精品国产99久久精品芒果| 精品久久久久久久久久久院品网| 6080国产精品一区二区| 欧美精品一二三| 欧美男女性生活在线直播观看| 91成人免费在线视频| 99v久久综合狠狠综合久久| 成人黄色777网| 91丝袜美腿高跟国产极品老师 | 国产精品亚洲第一区在线暖暖韩国| 日本午夜精品视频在线观看| 热久久免费视频| 毛片基地黄久久久久久天堂| 久久国产精品第一页| 国产在线视频一区二区三区| 国产自产高清不卡| 国产高清精品久久久久| 国产91精品露脸国语对白| 成人av网站免费| 91在线精品一区二区| 色婷婷综合久久久中文字幕| 欧美色电影在线| 欧美一区二区三区四区久久| 日韩你懂的在线播放| 久久久一区二区三区| 国产亚洲欧美日韩日本| 一色屋精品亚洲香蕉网站| 亚洲精品一二三| 丝袜诱惑亚洲看片| 国产主播一区二区| 国产成人精品免费一区二区| 东方欧美亚洲色图在线| 91色乱码一区二区三区| 91精品国产91久久综合桃花 | 欧美性xxxxxxxx| 日韩一级免费观看| 欧美国产视频在线| 亚洲综合色区另类av| 青青草97国产精品免费观看| 国产成人鲁色资源国产91色综| 色综合一个色综合亚洲| 欧美一区二区三区成人| 国产欧美日韩另类一区| 夜夜精品浪潮av一区二区三区| 日韩精品乱码免费| 国产成人高清在线| 欧美精品久久天天躁| 欧美极品少妇xxxxⅹ高跟鞋| 亚洲国产裸拍裸体视频在线观看乱了| 日本不卡高清视频| 91免费视频网址| 日韩免费一区二区| 日韩久久一区二区| 日本成人在线一区| 蜜桃在线一区二区三区| 99久久er热在这里只有精品66| 欧美中文字幕一区| 中文字幕免费观看一区| 婷婷开心激情综合| 成人高清免费观看| 欧美大黄免费观看| 一区二区三区在线观看视频| 国产高清不卡一区二区| 欧美日韩精品一区二区三区| 亚洲国产精品成人久久综合一区| 亚洲h在线观看| 不卡的电影网站| 久久久99免费| 日本不卡一二三区黄网| 一本一本久久a久久精品综合麻豆| 欧美在线一区二区| 亚洲精品写真福利| 懂色一区二区三区免费观看| 日韩欧美亚洲一区二区| 亚洲午夜电影网| www.欧美日韩| 国产人妖乱国产精品人妖| 日韩电影免费在线| 在线精品观看国产| 亚洲摸摸操操av| 成人av网站大全| 国产亚洲一本大道中文在线| 美日韩一级片在线观看| 欧美日韩不卡一区二区| 一区二区三区影院| www.久久久久久久久| 精品av久久707| 三级在线观看一区二区| 欧美性色黄大片| 亚洲人亚洲人成电影网站色| 国产精品 欧美精品| 久久网站热最新地址| 久久99精品国产麻豆婷婷| 欧美日韩国产不卡| 亚洲主播在线播放| 97久久精品人人澡人人爽| 欧美国产精品中文字幕| 国产不卡高清在线观看视频| 国产三级欧美三级| 国产在线不卡视频| 久久久91精品国产一区二区精品| 精品在线观看视频| 2020国产精品自拍| 国产成人精品免费视频网站| 亚洲国产精品精华液2区45| 免费在线观看日韩欧美| 宅男在线国产精品| 久久精品国产第一区二区三区| 精品久久久久久最新网址| 国产在线播放一区| 欧美激情在线观看视频免费| av一区二区久久| 亚洲欧美色图小说| 欧美亚洲动漫精品| 日韩电影在线一区二区三区| 精品成人一区二区三区四区| 麻豆专区一区二区三区四区五区| 日韩美女一区二区三区四区| 极品少妇一区二区| 国产精品美女久久久久久久| 国产精品一区免费视频| 国产精品毛片大码女人| 91香蕉视频黄| 午夜精品久久久久久久99樱桃| 日韩一二三四区| 国产精品99久久久久久似苏梦涵 | 亚洲精品视频免费观看| 日本丶国产丶欧美色综合| 亚洲精品国产无套在线观| 欧美日韩中文国产| 国精产品一区一区三区mba视频| 国产欧美日韩精品一区| 色综合天天综合网天天狠天天| 午夜视频在线观看一区二区三区| 欧美电视剧在线观看完整版| 成人午夜伦理影院| 亚洲五码中文字幕| 亚洲国产精品黑人久久久| 欧美亚洲国产怡红院影院| 国模娜娜一区二区三区| 亚洲最大色网站| 久久久夜色精品亚洲| 在线亚洲一区观看| 国产aⅴ精品一区二区三区色成熟|