[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 :: WindowsXP-Windows2000-Script56-KB917344-x86-fra 2 :: ## $Id: WindowsXP-Windows2000-Script56-KB917344-x86-fra.bat 2540 2007-10-19 06:47:30Z jlebail $ ## 3 @echo on 4 5 If Not Exist %WPKGROOT%\..\packages\windows\WindowsXP-Windows2000-Script56-KB917344-x86-fra.exe Goto ErrNoFile 6 7 If Exist %WinDir%\Temp\WindowsXP-Windows2000-Script56-KB917344-x86-fra rmdir /S /Q %WinDir%\Temp\WindowsXP-Windows2000-Script56-KB917344-x86-fra 8 start /wait %WPKGROOT%\..\packages\windows\WindowsXP-Windows2000-Script56-KB917344-x86-fra.exe /Q /T:%WinDir%\Temp\WindowsXP-Windows2000-Script56-KB917344-x86-fra /C 9 echo Decompression : CodeRetour=%ErrorLevel% 10 pushd %WinDir%\Temp\WindowsXP-Windows2000-Script56-KB917344-x86-fra 11 12 :: [Strings] 13 :: ; Unlocalizable strings 14 Set REG_WSH="Software\Microsoft\Windows Script Host" 15 Set REG_APPROVE="Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" 16 Set REG_UNINSTALL="Software\Microsoft\Windows\CurrentVersion\Uninstall\WindowsScriptHost" 17 Set CLSID_WSHEXT="{60254CA5-953B-11CF-8C96-00AA00B8708C}" 18 19 Set ActiveSetupRegKey="SOFTWARE\Microsoft\Active Setup\Installed Components\{4f645220-306d-11d2-995d-00c04f98bbc9}" 20 21 :: ; Localizable strings 22 Set DISP_WSH="Microsoft Windows Script Host" 23 24 Set DESC_DOTWSH="Fichier des paramètres de Windows Script Host" 25 Set DESC_DOTVBS="Fichier script VBScript" 26 Set DESC_DOTJS="Fichier script JScript" 27 Set DESC_DOTWS="Fichier script Windows" 28 29 Set DESC_WSHEXT="Extension de l'interpréteur de commande pour Windows Script Host" 30 31 Set MENU_OPEN="&Ouvrir" 32 Set MENU_CONOPEN="Ouvrir &avec l'invite de commande" 33 Set MENU_DOSOPEN="&Ouvrir avec l'invite MS-DOS" 34 Set MENU_EDIT="&Modifier" 35 Set MENU_PRINT="&Imprimer" 36 37 Set VersionWarning=You need a newer version of advpack.dll. 38 Set Media=Windows Script Version 5.6 39 Set Msft="Microsoft" 40 41 Set Product="Microsoft Windows Script 5.6" 42 Set ExceptionClassDesc="Microsoft Windows Script 5.6 for Windows 2000" 43 44 Set LANG="FR" 45 46 47 48 :: [Version] 49 :: signature="$Windows NT$" 50 :: AdvancedINF=2.5,%VersionWarning% 51 Set Class=%ExceptionClassDesc% 52 Set ClassGUID={F5776D81-AE53-4935-8E84-B0B283D8BCEF} 53 Set Provider=%Msft% 54 Set CatalogFile=scriptfr.cat 55 Set ComponentId={4f645220-306d-11d2-995d-00c04f98bbc9} 56 Set DriverVer=05-19-2006, 5.6.0.8831 57 58 :: [DefaultInstall] 59 :: CopyFiles = Copy.ScriptFiles, Copy.WSH, Copy.Help, Copy.INF, DllCacheFiles 60 :: CustomDestination = CustomDests 61 :: RegisterOCXs = Register.Engines 62 :: AddReg = RegisterActiveSetup, AddReg.WSH, AddReg.Extensions.NT 63 64 :: [SourceDisksNames] 65 :: 1 = %Media% 66 67 :: [SourceDisksFiles] 68 :: jscript.dll = 1 69 :: vbscript.dll = 1 70 :: scrrun.dll = 1 71 :: dispex.dll = 1 72 :: scrobj.dll = 1 73 :: wshom.ocx = 1 74 :: wshext.dll = 1 75 :: cscript.exe = 1 76 :: wscript.exe = 1 77 :: wshcon.dll = 1 78 :: wscript.hlp = 1 79 :: scriptfr.inf = 1 80 :: jsfr.dll = 1 81 :: scofr.dll = 1 82 :: scrrnfr.dll = 1 83 :: vbsfr.dll = 1 84 :: wshfr.dll = 1 85 86 :: [DestinationDirs] 87 :: DefaultDestDir = 11 ;windir\system32 88 :: Copy.ScriptFiles = 11 ;windir\system32 89 :: Copy.WSH = 11 ;windir\system32 90 :: Copy.Help = 18 ;windir\help 91 :: Copy.Inf = 17 ;windir\inf 92 :: DllCacheFiles = 49000 ;windir\system32\dllcache 93 Set DefaultDestDir=%windir%\system32 94 Set CopyScriptFiles=%windir%\system32 95 Set CopyWSH=%windir%\system32 96 Set CopyHelp=%windir%\help 97 Set CopyInf=%windir%\inf 98 Set DllCacheFiles=%windir%\system32\dllcache 99 100 :: [CustomDests] 101 :: 49000 = DllCacheLDID, 85 102 103 :: [DllCacheLDID] 104 :: HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Winlogon","SfcDllCacheDir",,"%25%\system32\dllcache" 105 reg ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "SfcDllCacheDir" /d "%Windir%\system32\dllcache" /f >NUL 106 107 :: [Copy.ScriptFiles] 108 Set dest=%CopyScriptFiles% 109 copy /N /V /Y /B jscript.dll %dest% >NUL 110 copy /N /V /Y /B vbscript.dll %dest% >NUL 111 copy /N /V /Y /B scrrun.dll %dest% >NUL 112 copy /N /V /Y /B dispex.dll %dest% >NUL 113 copy /N /V /Y /B scrobj.dll %dest% >NUL 114 copy /N /V /Y /B jsfr.dll %dest% >NUL 115 copy /N /V /Y /B scofr.dll %dest% >NUL 116 copy /N /V /Y /B scrrnfr.dll %dest% >NUL 117 copy /N /V /Y /B vbsfr.dll %dest% >NUL 118 119 :: [Copy.WSH] 120 Set dest=%CopyWSH% 121 copy /N /V /Y /B wshom.ocx %dest% >NUL 122 copy /N /V /Y /B wshext.dll %dest% >NUL 123 copy /N /V /Y /B cscript.exe %dest% >NUL 124 copy /N /V /Y /B wscript.exe %dest% >NUL 125 copy /N /V /Y /B wshcon.dll %dest% >NUL 126 copy /N /V /Y /B wshfr.dll %dest% >NUL 127 128 :: [Copy.Help] 129 Set dest=%CopyHelp% 130 copy /N /V /Y /B wscript.hlp %dest% >NUL 131 132 :: [Copy.Inf] 133 Set dest=%CopyInf% 134 copy /N /V /Y /B scriptfr.inf %dest% >NUL 135 136 :: [DllCacheFiles] 137 Set dest=%DllCacheFiles% 138 copy /N /V /Y /B jscript.dll %dest% >NUL 139 copy /N /V /Y /B vbscript.dll %dest% >NUL 140 copy /N /V /Y /B scrrun.dll %dest% >NUL 141 copy /N /V /Y /B dispex.dll %dest% >NUL 142 copy /N /V /Y /B scrobj.dll %dest% >NUL 143 copy /N /V /Y /B wshext.dll %dest% >NUL 144 copy /N /V /Y /B cscript.exe %dest% >NUL 145 copy /N /V /Y /B wscript.exe %dest% >NUL 146 copy /N /V /Y /B wshom.ocx %dest% >NUL 147 copy /N /V /Y /B jsfr.dll %dest% >NUL 148 copy /N /V /Y /B scofr.dll %dest% >NUL 149 copy /N /V /Y /B scrrnfr.dll %dest% >NUL 150 copy /N /V /Y /B vbsfr.dll %dest% >NUL 151 copy /N /V /Y /B wshfr.dll %dest% >NUL 152 153 :: [Register.Engines] 154 regsvr32 /s %WinDir%\system32\jscript.dll >NUL 155 regsvr32 /s %WinDir%\system32\vbscript.dll >NUL 156 regsvr32 /s %WinDir%\system32\scrrun.dll >NUL 157 regsvr32 /s %WinDir%\system32\scrobj.dll >NUL 158 regsvr32 /s %WinDir%\system32\wshext.dll >NUL 159 regsvr32 /s %WinDir%\system32\wshcon.dll >NUL 160 regsvr32 /s %WinDir%\system32\wshom.ocx >NUL 161 162 :: [RegisterActiveSetup] 163 Set ActiveSetupRegKey="HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{4f645220-306d-11d2-995d-00c04f98bbc9}" 164 ::reg ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "SfcDllCacheDir" /d "%Windir%\system32\dllcache" 165 166 reg ADD %ActiveSetupRegKey% /ve /d %Product% /f >NUL 167 reg ADD %ActiveSetupRegKey% /v "IsInstalled" /t REG_DWORD /d 1 /f >NUL 168 reg ADD %ActiveSetupRegKey% /v "Version" /d "5,6,0,8825" /f >NUL 169 reg ADD %ActiveSetupRegKey% /v "Locale" /d %Lang% /f >NUL 170 reg ADD %ActiveSetupRegKey% /v "ComponentID" /d "MSVBScript" /f >NUL 171 172 ::;;; 173 ::;;; Add WSH registry entries 174 ::;;; 175 :: [AddReg.WSH] 176 Set REG_WSH="HKLM\Software\Microsoft\Windows Script Host\Settings" 177 reg ADD %REG_WSH% /v "DisplayLogo" /d "1" /f >NUL 178 reg ADD %REG_WSH% /v "ActiveDebugging" /d "1" /f >NUL 179 reg ADD %REG_WSH% /v "SilentTerminate" /d "0" /f >NUL 180 reg ADD %REG_WSH% /v "TrustPolicy" /t REG_DWORD /d 0 /f >NUL 181 reg ADD %REG_WSH% /v "LogSecurityFailures" /d "1" /f >NUL 182 reg ADD %REG_WSH% /v "LogSecuritySuccesses" /d "0" /f >NUL 183 reg ADD %REG_WSH% /v "Remote" /d "0" /f >NUL 184 reg ADD %REG_WSH% /v "Enabled" /d "1" /f >NUL 185 reg ADD %REG_WSH% /v "IgnoreUserSettings" /d "0" /f >NUL 186 187 :: ; Shell Extension 188 Set REG_APPROVE=Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved 189 Set CLSID_WSHEXT="{60254CA5-953B-11CF-8C96-00AA00B8708C}" 190 Set DESC_WSHEXT="Extension de l'interpreteur de commande pour Windows Script Host" 191 reg ADD "HKLM\%REG_APPROVE%" /v %CLSID_WSHEXT% /d %DESC_WSHEXT% /f >NUL 192 193 :: [AddReg.Extensions.NT] 194 :: ; Register WScript 195 reg ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce" /v "Regsister WScript" /d "wscript -regserver" /f >NUL 196 197 :: ; .WSH 198 reg ADD "HKCR\.WSH" /ve /d "WSHFile" /f >NUL 199 reg ADD "HKCR\WSHFile" /ve /d %DESC_DOTWSH% /f >NUL 200 reg ADD "HKCR\WSHFile" /d "IsShortcut" /v "Yes" /f >NUL 201 reg ADD "HKCR\WSHFile\DefaultIcon" /ve /t REG_EXPAND_SZ /d "%Windir%\system32\WScript.exe,1" /f >NUL 202 reg ADD "HKCR\WSHFile\Shell\Open" /ve /d %MENU_OPEN% /f >NUL 203 reg ADD "HKCR\WSHFile\Shell\Open\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\WScript.exe \"%1\" %*" /f >NUL 204 reg ADD "HKCR\WSHFile\Shell\Open2" /ve /d %MENU_CONOPEN% /f >NUL 205 reg ADD "HKCR\WSHFile\Shell\Open2\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\CScript.exe \"%1\" %*" /f >NUL 206 reg ADD "HKCR\WSHFile\ShellEx\PropertySheetHandlers\WSHProps" /ve /d %CLSID_WSHEXT% /f >NUL 207 reg ADD "HKCR\WSHFile\ShellEx\DropHandler" /ve /d %CLSID_WSHEXT% /f >NUL 208 209 :: ; .VBS 210 reg ADD "HKCR\.VBS" /ve /d "VBSFile" /f >NUL 211 reg ADD "HKCR\VBSFile" /ve /d %DESC_DOTVBS% /f >NUL 212 reg ADD "HKCR\VBSFile\DefaultIcon" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\WScript.exe /d 2" /f >NUL 213 reg ADD "HKCR\VBSFile\ScriptEngine" /ve /d "VBScript" /f >NUL 214 reg ADD "HKCR\VBSFile\Shell\Open" /ve /d %MENU_OPEN% /f >NUL 215 reg ADD "HKCR\VBSFile\Shell\Open\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\WScript.exe \"%1\" %*" /f >NUL 216 reg ADD "HKCR\VBSFile\Shell\Open2" /ve /d %MENU_CONOPEN% /f >NUL 217 reg ADD "HKCR\VBSFile\Shell\Open2\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\CScript.exe \"%1\" %*" /f >NUL 218 reg ADD "HKCR\VBSFile\Shell\Edit" /ve /d %MENU_EDIT% /f >NUL 219 reg ADD "HKCR\VBSFile\Shell\Edit\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\Notepad.exe %1" /f >NUL 220 reg ADD "HKCR\VBSFile\Shell\Print" /ve /d %MENU_PRINT% /f >NUL 221 reg ADD "HKCR\VBSFile\Shell\Print\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\Notepad.exe /p %1" /f >NUL 222 reg ADD "HKCR\VBSFile\ShellEx\PropertySheetHandlers\WSHProps" /ve /d %CLSID_WSHEXT% /f >NUL 223 reg ADD "HKCR\VBSFile\ShellEx\DropHandler" /ve /d %CLSID_WSHEXT% /f >NUL 224 225 :: ; .VBE 226 reg ADD "HKCR\.VBE" /ve /d "VBEFile" /f >NUL 227 reg ADD "HKCR\VBEFile" /ve /d %DESC_DOTVBS% /f >NUL 228 reg ADD "HKCR\VBEFile\DefaultIcon" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\WScript.exe /d 2" /f >NUL 229 reg ADD "HKCR\VBEFile\ScriptEngine" /ve /d "VBScript.Encode" /f >NUL 230 reg ADD "HKCR\VBEFile\Shell\Open" /ve /d %MENU_OPEN% /f >NUL 231 reg ADD "HKCR\VBEFile\Shell\Open\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\WScript.exe \"%1\" %*" /f >NUL 232 reg ADD "HKCR\VBEFile\Shell\Open2" /ve /d %MENU_CONOPEN% /f >NUL 233 reg ADD "HKCR\VBEFile\Shell\Open2\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\CScript.exe \"%1\" %*" /f >NUL 234 reg ADD "HKCR\VBEFile\Shell\Edit" /ve /d %MENU_EDIT% /f >NUL 235 reg ADD "HKCR\VBEFile\Shell\Edit\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\Notepad.exe %1" /f >NUL 236 reg ADD "HKCR\VBEFile\Shell\Print" /ve /d %MENU_PRINT% /f >NUL 237 reg ADD "HKCR\VBEFile\Shell\Print\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\Notepad.exe /p %1" /f >NUL 238 reg ADD "HKCR\VBEFile\ShellEx\PropertySheetHandlers\WSHProps" /ve /d %CLSID_WSHEXT% /f >NUL 239 reg ADD "HKCR\VBEFile\ShellEx\DropHandler" /ve /d %CLSID_WSHEXT% /f >NUL 240 241 :: ; .JS 242 reg ADD "HKCR\.JS" /ve /d "JSFile" /f >NUL 243 reg ADD "HKCR\JSFile" /ve /d %DESC_DOTJS% /f >NUL 244 reg ADD "HKCR\JSFile\DefaultIcon" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\WScript.exe /d 3" /f >NUL 245 reg ADD "HKCR\JSFile\ScriptEngine" /ve /d "JScript" /f >NUL 246 reg ADD "HKCR\JSFile\Shell\Open" /ve /d %MENU_OPEN% /f >NUL 247 reg ADD "HKCR\JSFile\Shell\Open\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\WScript.exe \"%1\" %*" /f >NUL 248 reg ADD "HKCR\JSFile\Shell\Open2" /ve /d %MENU_CONOPEN% /f >NUL 249 reg ADD "HKCR\JSFile\Shell\Open2\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\CScript.exe \"%1\" %*" /f >NUL 250 reg ADD "HKCR\JSFile\Shell\Edit" /ve /d %MENU_EDIT% /f >NUL 251 reg ADD "HKCR\JSFile\Shell\Edit\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\Notepad.exe %1" /f >NUL 252 reg ADD "HKCR\JSFile\Shell\Print" /ve /d %MENU_PRINT% /f >NUL 253 reg ADD "HKCR\JSFile\Shell\Print\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\Notepad.exe /p %1" /f >NUL 254 reg ADD "HKCR\JSFile\ShellEx\PropertySheetHandlers\WSHProps" /ve /d %CLSID_WSHEXT% /f >NUL 255 reg ADD "HKCR\JSFile\ShellEx\DropHandler" /ve /d %CLSID_WSHEXT% /f >NUL 256 257 :: ; .JSE 258 reg ADD "HKCR\.JSE" /ve /d "JSEFile" /f >NUL 259 reg ADD "HKCR\JSEFile" /ve /d %DESC_DOTJS% /f >NUL 260 reg ADD "HKCR\JSEFile\DefaultIcon" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\WScript.exe /d 3" /f >NUL 261 reg ADD "HKCR\JSEFile\ScriptEngine" /ve /d "JScript.Encode" /f >NUL 262 reg ADD "HKCR\JSEFile\Shell\Open" /ve /d %MENU_OPEN% /f >NUL 263 reg ADD "HKCR\JSEFile\Shell\Open\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\WScript.exe \"%1\" %*" /f >NUL 264 reg ADD "HKCR\JSEFile\Shell\Open2" /ve /d %MENU_CONOPEN% /f >NUL 265 reg ADD "HKCR\JSEFile\Shell\Open2\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\CScript.exe \"%1\" %*" /f >NUL 266 reg ADD "HKCR\JSEFile\Shell\Edit" /ve /d %MENU_EDIT% /f >NUL 267 reg ADD "HKCR\JSEFile\Shell\Edit\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\Notepad.exe %1" /f >NUL 268 reg ADD "HKCR\JSEFile\Shell\Print" /ve /d %MENU_PRINT% /f >NUL 269 reg ADD "HKCR\JSEFile\Shell\Print\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\Notepad.exe /p %1" /f >NUL 270 reg ADD "HKCR\JSEFile\ShellEx\PropertySheetHandlers\WSHProps" /ve /d "%CLSID_WSHEXT%" /f >NUL 271 reg ADD "HKCR\JSEFile\ShellEx\DropHandler" /ve /d %CLSID_WSHEXT% /f >NUL 272 273 :: ; .WSF 274 reg ADD "HKCR\.WSF" /ve /d "WSFFile" /f >NUL 275 reg ADD "HKCR\WSFFile" /ve /d %DESC_DOTWS% /f >NUL 276 reg ADD "HKCR\WSFFile\DefaultIcon" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\WScript.exe /d 2" /f >NUL 277 reg ADD "HKCR\WSFFile\Shell\Open" /ve /d %MENU_OPEN% /f >NUL 278 reg ADD "HKCR\WSFFile\Shell\Open\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\WScript.exe \"%1\" %*" /f >NUL 279 reg ADD "HKCR\WSFFile\Shell\Open2" /ve /d %MENU_CONOPEN% /f >NUL 280 reg ADD "HKCR\WSFFile\Shell\Open2\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\CScript.exe \"%1\" %*" /f >NUL 281 reg ADD "HKCR\WSFFile\Shell\Edit" /ve /d %MENU_EDIT% /f >NUL 282 reg ADD "HKCR\WSFFile\Shell\Edit\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\Notepad.exe %1" /f >NUL 283 reg ADD "HKCR\WSFFile\Shell\Print" /ve /d %MENU_PRINT% /f >NUL 284 reg ADD "HKCR\WSFFile\Shell\Print\Command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\Notepad.exe /p %1" /f >NUL 285 reg ADD "HKCR\WSFFile\ShellEx\PropertySheetHandlers\WSHProps" /ve /d %CLSID_WSHEXT% /f >NUL 286 reg ADD "HKCR\WSFFile\ShellEx\DropHandler" /ve /d %CLSID_WSHEXT% /f >NUL 287 288 popd 289 rmdir /S /Q "%WinDir%\Temp\WindowsXP-Windows2000-Script56-KB917344-x86-fra" 290 291 Goto Done 292 293 :ErrNoFile 294 Echo Le fichier %WPKGROOT%\..\packages\windows\WindowsXP-Windows2000-Script56-KB917344-x86-fra.exe est absent ! 295 Echo Installation impossible. 296 297 :Done
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |