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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? 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之家官方網站\n www.camhome.cn\n 軟件漢化:賣血上網\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 服務端 工作站]
     set CHOICE [tku_popup_message question $CHOICES \
        "請選擇服務端或工作站"]
     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	"復制程序文件   " \
			     perms	"設置文件屬性 "	\
			     license	"此步一直往下點,出錯不用理會! "	\
			     startup	"更新啟動文件 "	\
			     users	"設置用戶名和密碼    "	\
			     database	"設置genesis數據庫的安裝位置"	\
			     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]]

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美亚洲免费在线一区| 粉嫩一区二区三区性色av| 久久网这里都是精品| 91视频xxxx| 国产乱码精品一品二品| 香蕉影视欧美成人| 国产精品免费久久| 精品剧情v国产在线观看在线| 色婷婷国产精品| 成人午夜又粗又硬又大| 九色综合狠狠综合久久| 亚洲成a人v欧美综合天堂下载 | 中文在线免费一区三区高中清不卡| 欧美色精品在线视频| aaa欧美日韩| 国产.精品.日韩.另类.中文.在线.播放| 香蕉成人伊视频在线观看| 亚洲男人的天堂一区二区| 久久久久久久久99精品| 日韩免费一区二区三区在线播放| 欧美在线观看一区| 91在线视频观看| av中文一区二区三区| 国产精品资源在线看| 韩国视频一区二区| 蜜臀av性久久久久蜜臀aⅴ| 亚洲777理论| 亚洲最新视频在线播放| 亚洲精品免费视频| 日本精品视频一区二区三区| 综合久久给合久久狠狠狠97色| 久久久久久久久久久久久夜| 欧美一区二区三区视频在线 | 欧美va亚洲va在线观看蝴蝶网| 欧美自拍偷拍午夜视频| 91小视频免费看| 99国产精品国产精品毛片| av电影在线不卡| av电影一区二区| 99久久精品国产一区二区三区| 成人动漫一区二区三区| 成人免费看片app下载| 国产成人啪免费观看软件| 国产成人亚洲综合色影视| 国产一区二区看久久| 国产成人三级在线观看| 成人免费高清在线| 不卡的av网站| 91福利在线播放| 欧美日本一区二区三区四区 | 2022国产精品视频| 欧美成人video| 国产三级精品视频| 国产精品美女久久久久久2018| 国产精品国产三级国产三级人妇| 国产精品免费aⅴ片在线观看| 亚洲色图在线播放| 亚洲综合一区二区三区| 婷婷国产在线综合| 麻豆精品视频在线观看免费| 国产精品一区二区果冻传媒| 成人免费视频一区| 日本福利一区二区| 777奇米成人网| 久久久三级国产网站| 日本一区二区视频在线观看| 亚洲欧美另类图片小说| 偷拍与自拍一区| 国产一区二区三区日韩| jizzjizzjizz欧美| 欧美精品1区2区| 久久久久久久综合| 最新久久zyz资源站| 视频一区视频二区中文| 国产suv精品一区二区883| 色诱视频网站一区| 精品福利在线导航| 日韩美女视频一区二区| 日韩精品一级中文字幕精品视频免费观看 | 免费人成网站在线观看欧美高清| 九色综合狠狠综合久久| 色综合天天性综合| 日韩欧美在线不卡| 亚洲男人天堂av网| 久久精品国产亚洲高清剧情介绍 | 国产日本欧洲亚洲| 亚洲精品成人精品456| 麻豆成人综合网| 91无套直看片红桃| 欧美电视剧在线看免费| 综合欧美一区二区三区| 蜜臀av亚洲一区中文字幕| av男人天堂一区| 成人欧美一区二区三区| 成人av免费在线| 51精品视频一区二区三区| 中文字幕五月欧美| 激情综合网av| 欧美日韩三级一区| 国产精品久久久久影视| 久久精品国产99国产| 日本道在线观看一区二区| 国产色婷婷亚洲99精品小说| 亚洲高清免费观看 | 亚洲福利一区二区| 成人av免费在线观看| 久久视频一区二区| 日韩av网站在线观看| 日本韩国欧美国产| 国产精品久久久久一区二区三区| 另类小说视频一区二区| 欧美亚洲一区二区在线| 亚洲欧洲精品一区二区三区| 精品伊人久久久久7777人| 欧美精品日韩一本| 亚洲一区二区在线免费观看视频| 高清日韩电视剧大全免费| 欧美一级欧美一级在线播放| 亚洲一区二区三区四区中文字幕| 91在线精品一区二区| 国产亚洲人成网站| 国产一区二区三区国产| 精品久久人人做人人爰| 美国毛片一区二区三区| 欧美一区二区女人| 日韩中文字幕不卡| 欧美精品第1页| 亚洲电影在线播放| 欧美亚洲国产一区二区三区va| 最新日韩在线视频| 91蝌蚪porny| 日韩一区和二区| 一色屋精品亚洲香蕉网站| 国产精品一区二区三区99| 久久青草欧美一区二区三区| 国内精品久久久久影院薰衣草| 欧美不卡视频一区| 国产在线看一区| 久久综合久久鬼色| 国产麻豆成人精品| 久久久综合网站| 成人免费av网站| 亚洲欧美日韩国产综合| 91成人网在线| 亚洲国产色一区| 欧美一区二区三区喷汁尤物| 久久99深爱久久99精品| 国产亚洲成av人在线观看导航| 国产a视频精品免费观看| 国产精品沙发午睡系列990531| 成人一区二区三区在线观看| 亚洲视频资源在线| 色狠狠av一区二区三区| 亚洲一区二区精品3399| 欧美日韩二区三区| 极品少妇xxxx精品少妇偷拍| 国产亚洲1区2区3区| 波多野结衣亚洲| 亚洲一区二区精品视频| 日韩精品一区二区三区中文不卡 | 久久久久久麻豆| 99精品国产热久久91蜜凸| 亚洲精品国产一区二区三区四区在线 | 色先锋久久av资源部| 国产精品久久久久久久久免费樱桃| 99久久久久免费精品国产 | 精品欧美久久久| 处破女av一区二区| 亚洲线精品一区二区三区八戒| 欧美一区二区免费视频| 成人性生交大片免费看视频在线 | 欧美色图在线观看| 蜜桃视频免费观看一区| 中文字幕不卡的av| 56国语精品自产拍在线观看| 国产资源精品在线观看| 亚洲免费av观看| 91精品国产色综合久久ai换脸 | 亚洲国产精华液网站w| 欧美网站大全在线观看| 狠狠色丁香久久婷婷综| 亚洲精品日产精品乱码不卡| 欧美一级二级三级蜜桃| 9l国产精品久久久久麻豆| 美女视频一区二区| 亚洲色图清纯唯美| 欧美精品一区二区三区高清aⅴ | 欧美韩国日本综合| 91精品国产综合久久小美女| 国产69精品一区二区亚洲孕妇| 婷婷久久综合九色综合绿巨人| 日本一区二区三区在线不卡| 欧美一区二区三区在线看| 91麻豆高清视频| 国产在线日韩欧美| 日韩电影免费一区| 一区二区三区在线免费| 国产蜜臀av在线一区二区三区| 91精品国产入口| 色女孩综合影院|