Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/01/2014 in all areas

  1. Description: The Visual C++ Redistributable Packages install runtime components that are required to run applications that are developed by using Visual Studio. These packages install run-time components of these libraries: C Runtime (CRT), Standard C++, ATL, MFC, C++ AMP, OpenMP and MSDIA. read more. OS: Windows All Versions: VC++ 2022: 14.42.34430.0 VC++ 2013: 12.0.40664.0 VC++ 2012: 11.0.61135.400 VC++ 2010: 10.0.40219.473 VC++ 2008: 9.0.30729.7523 VC++ 2005: 8.0.61187 VC++ 2003: 7.10.6119.0 Vc++ 2002: 7.0.9975.0 + Legacy Visual Basic Runtimes Files Contents: vcredist_x64_Win7 / vcredist_x86_Win7: All runtimes for Windows 7 SP1 vcredist_x64_2022_WinAll / vcredist_x86_2022_WinAll: Visual C++ 2022 vcredist_x64_2013d_WinAll / vcredist_x86_2013d_WinAll: Visual C++ 2013, 2012, 2010, 2003, 2002 Visual Basic 6.0 Runtimes vcredist_x64_SxS_Win7 / vcredist_x86_SxS_Win7: Visual C++ 2008, 2005 for Windows 7 SP1 vcredist_x64_SxS_Win810 / vcredist_x86_SxS_Win810: Visual C++ 2008, 2005 for Windows 8.1/10 Important Notes: # Integrating SxS 2008/2005 addons require launching Wintoolkit with TrustedInstaller privileges, to gain write access to WinSxS directory for that, you need to use NSudo (or other similar tools): - download and extract latest release Binary.zip - launch Win32\NSudo.exe or x64\NSudo.exe, or run NSudo.bat as administrator - make sure User is set to TrustedInstaller - check "Enable All Privileges" - paste Wintoolkit.exe path in the lower box (or Browse to the file) - click run if you are using Windows 7 Simplix Update Pack, you don't need that, it already handle the required privileges # vcredist_x64_Win7 / vcredist_x86_Win7 is AIO addon, mainly to be used with Simplix Update Pack, or else you need Wintoolkit with NSudo # VC++ 2022 runtimes are binary compatible and upgrade to VC++ 2015-2017-2019 and cover all VS 2015-2017-2019-2022 programs # To complete VC++ 2022 functions for Windows 7/8.1, you need to integrate Universal CRT components, which is available with latest Monthly Rollup, or updates KB3118401/KB2999226 Download: vcredist_x64_Win7_20241010.WA vcredist_x86_Win7_20241010.WA vcredist_x64_2022_WinAll_14.42.34430.WA vcredist_x86_2022_WinAll_14.42.34430.WA vcredist_x64_2013d_WinAll.WA vcredist_x86_2013d_WinAll.WA vcredist_x64_SxS_Win7.WA vcredist_x86_SxS_Win7.WA vcredist_x64_SxS_Win810.WA vcredist_x86_SxS_Win810.WA you can find latest releases -> here SHA1 checksums: 05e938f354c059d89d846d2e9a7591d05154aa70 *vcredist_x64_2013d_WinAll.WA 534f1e53080819aeb58e3b060d7c6a0a76b4d4d4 *vcredist_x86_2013d_WinAll.WA 8cc9f65fc444a878d8cabd0ad317597edb552f07 *vcredist_x64_SxS_Win7.WA 886faa949e7d51a40dc8d467f65c373f887c2ec3 *vcredist_x86_SxS_Win7.WA 94e267e5e6ff89854bd64b6260333664a266c754 *vcredist_x64_SxS_Win810.WA 206fda69fa2d3fd838dd9e3ee33f35c4cd7a2cae *vcredist_x86_SxS_Win810.WA Credits to ricktendo for original repack AIO
    1 point
  2. I'm back with my test results: it dipends from the version! 1) HomePremium, x86 & x64: KB2973351 has been uninstalled 2) Professional, x86 & x64: has NOT been uninstalled Of course every installation with a fresh ISO and the same INI for WTK. So, I mean too it would to much work to maintain the ULs separately for every version. Have a good night. Thiersee
    1 point
  3. papageorgiou

    Java Multi Maker

    Here was my solution. I first noticed with 8u20 that the 64bit version when extracted had different file names so the rename commands failed. ren "%~dp0JRE_TEMP64\%JAVAFN64%_101_JAVA_INSTALLER.bin" jre64_inst.msi ren "%~dp0JRE_TEMP64\%JAVAFN64%_102_JAVA_INSTALLER.bin" Data1.cab needed to be changed to ren "%~dp0JRE_TEMP64\%JAVAFN64%_105_JAVA_INSTALLER.bin" jre64_inst.msi ren "%~dp0JRE_TEMP64\%JAVAFN64%_103_JAVA_INSTALLER.bin" Data1.cab Then with 8u25, the files did not extract correctly, so I changed the script (see below) to launch the exe(s) and then grab the msi from the profile temp and then kill the exe(s). It seems to work nicely so far. The lines in bold are where the changes can be found. @echo off setlocal enableextensions if not exist "%~dp0bin\7za.exe" goto :No7za if not exist "%~dp0bin\JavaInst.sfx" goto :No7SFX if not exist "%~dp0bin\ResourcesExtract.exe" goto :NoResExtr SET SZ="%~dp0bin\7za.exe" if exist "%~dp0jre-*-windows-i586.exe" GOTO :X86 if not exist "%~dp0jre-*-windows-i586.exe" GOTO :X64 :X86 if exist "%~dp0jre-*-windows-x64.exe" GOTO :DUAL set JAVAFILE= for %%j in (%~dp0jre-*-windows-i586.exe) do call :GETJAVAVER %%~nxj if "%JAVAFILE%"=="" goto :NoJavaInst for /f "delims=- tokens=2" %%j in ("%JAVAFILE%") do set JAVAVER=%%j SET MAJ=%JAVAVER:~0,1% SET MIN=%JAVAVER:~2,3% if exist "%~dp0JRE_TEMP" rmdir /s /q "%~dp0JRE_TEMP" mkdir "%~dp0JRE_TEMP" ::start /w "Unpacking JRE..." "%~dp0bin\ResourcesExtract.exe" /Source "%~dp0%JAVAFILE%" /DestFolder "%~dp0JRE_TEMP" /ExtractIcons 0 /ExtractCursors 0 /ExtractBitmaps 0 /ExtractHTML 0 /ExtractManifests 0 /ExtractAnimatedIcons 0 /ExtractAnimatedCursors 0 /ExtractAVI 0 /ExtractTypeLib 0 /ExtractBinary 1 /ScanSubFolders 0 /FileExistMode 1 /OpenDestFolder 0 ::ren "%~dp0JRE_TEMP\%JAVAFN%_101_JAVA_INSTALLER.bin" jre_inst.msi ::ren "%~dp0JRE_TEMP\%JAVAFN%_102_JAVA_INSTALLER.bin" Data1.cab ::del /f /q "%~dp0JRE_TEMP\%JAVAFN%*" ECHO. ECHO Launching JRE 32bit to grab msi . . . start "Launching JRE 32bit to grab msi . . ." "%~dp0%JAVAFILE%" if exist "%~dp0JRE_ADMAIO" rmdir /s /q "%~dp0JRE_ADMAIO" mkdir "%~dp0JRE_ADMAIO" :DUAL32BITLOOP IF NOT EXIST "%USERPROFILE%\AppData\LocalLow\Sun\Java\jre1.%MAJ%.0_%MIN%\jre1.%MAJ%.0_%MIN%.msi" GOTO :DUAL32BITLOOP ping -n 10 127.0.0.1>nul copy "%USERPROFILE%\AppData\LocalLow\Sun\Java\jre1.%MAJ%.0_%MIN%\jre1.%MAJ%.0_%MIN%.msi" "%~dp0JRE_TEMP\jre_inst.msi" ping -n 2 127.0.0.1>nul TASKKILL /F /IM %JAVAFILE% start /w "Creating administrative installation point..." msiexec /a "%~dp0JRE_TEMP\jre_inst.msi" /qb! TARGETDIR="%~dp0JRE_ADM" rmdir /s /q "%~dp0JRE_TEMP" %SZ% a "%~dp0JavaInst.7z" "%~dp0JRE_ADM\*" -mx=9 -mmt=off -m0=BCJ2 -m1=LZMA:d27:fb=128:mc=256 -m2=LZMA:d24:fb=128:mc=256 -m3=LZMA:d24:fb=128:mc=256 -mb0:1 -mb0s1:2 -mb0s2:3 -r call :CONFIG copy /b /y "%~dp0bin\JavaInst.sfx"+"%~dp032.cfg"+"%~dp0JavaInst.7z" "%~dp0Java%JAVAVER%.exe" rmdir /s /q "%~dp0JRE_ADM" del /f /q "%~dp0JavaInst.7z" mkdir "%~dp0svcpack" copy /b /y "%~dp0Java%JAVAVER%.exe" "%~dp0svcpack\Java%JAVAVER%.exe" call :ENTRIES_INI %SZ% a "%~dp0Java_Runtime_%MAJ%_update_%MIN%_AddOn.zip" "%~dp0ENTRIES_Java.ini" "%~dp0svcpack" del /f /q "%~dp032.cfg" del /f /q "%~dp0ENTRIES_Java.ini" rmdir /s /q "%~dp0svcpack" exit /b :X64 set JAVAFILE64= for %%k in (%~dp0jre-*-windows-x64.exe) do call :GETJAVAVER64 %%~nxk if "%JAVAFILE64%"=="" goto :NoJavaInst if not exist "%~dp0bin\ResourcesExtract.exe" goto :NoResExtr for /f "delims=- tokens=2" %%k in ("%JAVAFILE64%") do set JAVAVER64=%%k SET MAJ=%JAVAVER64:~0,1% SET MIN=%JAVAVER64:~2,3% echo JRE newest version found^: 1.%JAVAVER64% echo Java file name only - %JAVAFN64% if exist "%~dp0JRE_TEMP64" rmdir /s /q "%~dp0JRE_TEMP64" mkdir "%~dp0JRE_TEMP64" ::start /w "Unpacking JRE..." "%~dp0bin\ResourcesExtract.exe" /Source "%~dp0%JAVAFILE64%" /DestFolder "%~dp0JRE_TEMP64" /ExtractIcons 0 /ExtractCursors 0 /ExtractBitmaps 0 /ExtractHTML 0 /ExtractManifests 0 /ExtractAnimatedIcons 0 /ExtractAnimatedCursors 0 /ExtractAVI 0 /ExtractTypeLib 0 /ExtractBinary 1 /ScanSubFolders 0 /FileExistMode 1 /OpenDestFolder 0 ::ren "%~dp0JRE_TEMP64\%JAVAFN64%_105_JAVA_INSTALLER.bin" jre64_inst.msi ::ren "%~dp0JRE_TEMP64\%JAVAFN64%_103_JAVA_INSTALLER.bin" Data1.cab ::del /f /q "%~dp0JRE_TEMP64\%JAVAFN64%*" ECHO. ECHO Launching JRE 64bit to grab msi . . . start "Launching JRE 64bit to grab msi . . ." "%~dp0%JAVAFILE64%" :DUAL64BITLOOP IF NOT EXIST "%USERPROFILE%\AppData\LocalLow\Sun\Java\jre1.%MAJ%.0_%MIN%_x64\jre1.%MAJ%.0_%MIN%.msi" GOTO :DUAL64BITLOOP ping -n 10 127.0.0.1>nul copy "%USERPROFILE%\AppData\LocalLow\Sun\Java\jre1.%MAJ%.0_%MIN%_x64\jre1.%MAJ%.0_%MIN%.msi" "%~dp0JRE_TEMP64\jre64_inst.msi" ping -n 2 127.0.0.1>nul TASKKILL /F /IM %JAVAFILE64% if exist "%~dp0JRE_ADM64" rmdir /s /q "%~dp0JRE_ADM64" mkdir "%~dp0JRE_ADM64" start /w "Creating administrative installation point..." msiexec /a "%~dp0JRE_TEMP64\jre64_inst.msi" /qb! TARGETDIR="%~dp0JRE_ADM64" rmdir /s /q "%~dp0JRE_TEMP64" %SZ% a "%~dp0JavaInst-x64.7z" "%~dp0JRE_ADM64\*" -mx=9 -mmt=off -m0=BCJ2 -m1=LZMA:d27:fb=128:mc=256 -m2=LZMA:d24:fb=128:mc=256 -m3=LZMA:d24:fb=128:mc=256 -mb0:1 -mb0s1:2 -mb0s2:3 -r call :CONFIG_64 copy /b /y "%~dp0bin\JavaInst.sfx"+"%~dp064.cfg"+"%~dp0JavaInst-x64.7z" "%~dp0Java%JAVAVER64%-x64.exe" rmdir /s /q "%~dp0JRE_ADM64" del /f /q "%~dp0JavaInst-x64.7z" del /f /q "%~dp064.cfg" mkdir "%~dp0svcpack" copy /b /y "%~dp0Java%JAVAVER64%-x64.exe" "%~dp0svcpack\Java%JAVAVER64%.exe" call :ENTRIES_INI_64 %SZ% a "%~dp0Java_Runtime_%MAJ%_update_%MIN%_x64_AddOn.zip" "%~dp0ENTRIES_Java.ini" "%~dp0svcpack" del /f /q "%~dp0ENTRIES_Java.ini" rmdir /s /q "%~dp0svcpack" exit /b :DUAL set JAVAFILE= for %%j in (%~dp0jre-*-windows-i586.exe) do call :GETJAVAVER %%~nxj if "%JAVAFILE%"=="" goto :NoJavaInst for /f "delims=- tokens=2" %%j in ("%JAVAFILE%") do set JAVAVER=%%j SET MAJ=%JAVAVER:~0,1% SET MIN=%JAVAVER:~2,3% echo JRE newest version found^: 1.%JAVAVER% echo Java file name only - %JAVAFN% if exist "%~dp0JRE_TEMP" rmdir /s /q "%~dp0JRE_TEMP" mkdir "%~dp0JRE_TEMP" ::start /w "Unpacking JRE..." "%~dp0bin\ResourcesExtract.exe" /Source "%~dp0%JAVAFILE%" /DestFolder "%~dp0JRE_TEMP" /ExtractIcons 0 /ExtractCursors 0 /ExtractBitmaps 0 /ExtractHTML 0 /ExtractManifests 0 /ExtractAnimatedIcons 0 /ExtractAnimatedCursors 0 /ExtractAVI 0 /ExtractTypeLib 0 /ExtractBinary 1 /ScanSubFolders 0 /FileExistMode 1 /OpenDestFolder 0 ::ren "%~dp0JRE_TEMP\%JAVAFN%_101_JAVA_INSTALLER.bin" jre_inst.msi ::ren "%~dp0JRE_TEMP\%JAVAFN%_102_JAVA_INSTALLER.bin" Data1.cab ::del /f /q "%~dp0JRE_TEMP\%JAVAFN%*" ECHO. ECHO Launching JRE 32bit to grab msi . . . start "Launching JRE 32bit to grab msi . . ." "%~dp0%JAVAFILE%" if exist "%~dp0JRE_ADMAIO" rmdir /s /q "%~dp0JRE_ADMAIO" mkdir "%~dp0JRE_ADMAIO" :DUAL32BITLOOP IF NOT EXIST "%USERPROFILE%\AppData\LocalLow\Sun\Java\jre1.%MAJ%.0_%MIN%\jre1.%MAJ%.0_%MIN%.msi" GOTO :DUAL32BITLOOP ping -n 10 127.0.0.1>nul copy "%USERPROFILE%\AppData\LocalLow\Sun\Java\jre1.%MAJ%.0_%MIN%\jre1.%MAJ%.0_%MIN%.msi" "%~dp0JRE_TEMP\jre_inst.msi" ping -n 2 127.0.0.1>nul TASKKILL /F /IM %JAVAFILE% start /w "Creating administrative installation point..." msiexec /a "%~dp0JRE_TEMP\jre_inst.msi" /qb! TARGETDIR="%~dp0JRE_ADMAIO" rmdir /s /q "%~dp0JRE_TEMP" ECHO. set JAVAFILE64= for %%k in (%~dp0jre-*-windows-x64.exe) do call :GETJAVAVER64 %%~nxk if "%JAVAFILE64%"=="" goto :NoJavaInst for /f "delims=- tokens=2" %%k in ("%JAVAFILE64%") do set JAVAVER64=%%k echo JRE newest version found^: 1.%JAVAVER64% echo Java file name only - %JAVAFN64% if exist "%~dp0JRE_TEMP64" rmdir /s /q "%~dp0JRE_TEMP64" mkdir "%~dp0JRE_TEMP64" ::start /w "Unpacking JRE..." "%~dp0bin\ResourcesExtract.exe" /Source "%~dp0%JAVAFILE64%" /DestFolder "%~dp0JRE_TEMP64" /ExtractIcons 0 /ExtractCursors 0 /ExtractBitmaps 0 /ExtractHTML 0 /ExtractManifests 0 /ExtractAnimatedIcons 0 /ExtractAnimatedCursors 0 /ExtractAVI 0 /ExtractTypeLib 0 /ExtractBinary 1 /ScanSubFolders 0 /FileExistMode 1 /OpenDestFolder 0 ::ren "%~dp0JRE_TEMP64\%JAVAFN64%_105_JAVA_INSTALLER.bin" jre64_inst.msi ::ren "%~dp0JRE_TEMP64\%JAVAFN64%_103_JAVA_INSTALLER.bin" Data1.cab ECHO. ECHO Launching JRE 64bit to grab msi . . . start "Launching JRE 64bit to grab msi . . ." "%~dp0%JAVAFILE64%" :DUAL64BITLOOP IF NOT EXIST "%USERPROFILE%\AppData\LocalLow\Sun\Java\jre1.%MAJ%.0_%MIN%_x64\jre1.%MAJ%.0_%MIN%.msi" GOTO :DUAL64BITLOOP ping -n 10 127.0.0.1>nul copy "%USERPROFILE%\AppData\LocalLow\Sun\Java\jre1.%MAJ%.0_%MIN%_x64\jre1.%MAJ%.0_%MIN%.msi" "%~dp0JRE_TEMP64\jre64_inst.msi" ping -n 2 127.0.0.1>nul TASKKILL /F /IM %JAVAFILE64% start /w "Creating administrative installation point..." msiexec /a "%~dp0JRE_TEMP64\jre64_inst.msi" /qb! TARGETDIR="%~dp0JRE_ADMAIO" rmdir /s /q "%~dp0JRE_TEMP64" %SZ% a "%~dp0JavaInst-AIO.7z" "%~dp0JRE_ADMAIO\*" -mx=9 -mmt=off -m0=BCJ2 -m1=LZMA:d27:fb=128:mc=256 -m2=LZMA:d24:fb=128:mc=256 -m3=LZMA:d24:fb=128:mc=256 -mb0:1 -mb0s1:2 -mb0s2:3 -r call :CONFIG_AIO copy /b /y "%~dp0bin\JavaInst.sfx"+"%~dp0AIO.cfg"+"%~dp0JavaInst-AIO.7z" "%~dp0Java%JAVAVER64%-Dual.exe" rmdir /s /q "%~dp0JRE_ADMAIO" del /f /q "%~dp0JavaInst-AIO.7z" del /f /q "%~dp0AIO.cfg" mkdir "%~dp0svcpack" copy /b /y "%~dp0Java%JAVAVER64%-Dual.exe" "%~dp0svcpack\Java%JAVAVER64%.exe" call :ENTRIES_INI_AIO %SZ% a "%~dp0Java_Runtime_%MAJ%_update_%MIN%_Dual_AddOn.zip" "%~dp0ENTRIES_Java.ini" "%~dp0svcpack" del /f /q "%~dp0ENTRIES_Java.ini" rmdir /s /q "%~dp0svcpack" exit /b :CONFIG ECHO ;!@Install@!UTF-8!> "%~dp032.cfg" ECHO SetEnvironment="swUninst_x64=HKLM\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall">> "%~dp032.cfg" ECHO SetEnvironment="swUninst_x86=HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall">> "%~dp032.cfg" ECHO SetEnvironment="DelOldVer=%%%%P:hidcon:cmd /c For /F \"tokens=2 delims={}\" %%a In ('Reg Query %%swUninst_%%%%P%% ^| FINDSTR \"{26A24AE4-039D-4CA4-87B4-2F832[0-9A-F]*}\"') Do MsiExec /x{%%a}">> "%~dp032.cfg" ECHO Title="Java SE Runtime Environment %MAJ% Update %MIN% x86">> "%~dp032.cfg" ECHO Title="Java SE Runtime Environment %MAJ% Update %MIN% x86">> "%~dp032.cfg" ECHO BeginPrompt="\n\nThis will install Java %MAJ% Update %MIN% x86 with Web plugins\nAny previous Java x86 version(s) will be uninstalled first\n\n\nAvailable command-line switch:\n\n-ai\tSilent installation with Web plugins\n-ai1\tSilent installation without Web plugins\n\nClick \"OK\" to begin installation. Click \"Cancel\" to exit.">> "%~dp032.cfg" ECHO ExtractTitle="Java SE Runtime Environment %MAJ% Update %MIN% x86">> "%~dp032.cfg" ECHO ExtractDialogText="Please wait while the installation routine is extracted">> "%~dp032.cfg" ECHO FinishMessage="Java SE %MAJ% Update %MIN% x86 has been installed.">> "%~dp032.cfg" ECHO GUIMode="1">> "%~dp032.cfg" ECHO GUIFlags="6153">> "%~dp032.cfg" ECHO MiscFlags="4">> "%~dp032.cfg" ECHO RunProgram="%%DelOldVer%% /qn">> "%~dp032.cfg" ECHO RunProgram="jre_inst.msi /qb!">> "%~dp032.cfg" ECHO RunProgram="x86:hidcon:cmd /c \"%programfiles%\\Java\\jre%MAJ%\\bin\\jqs.exe\" -unregister">> "%~dp032.cfg" ECHO RunProgram="x64:hidcon:cmd /c \"%programfiles(x86)%\\Java\\jre%MAJ%\\bin\\jqs.exe\" -unregister">> "%~dp032.cfg" ECHO AutoInstall="%%DelOldVer%% /qn">> "%~dp032.cfg" ECHO AutoInstall="jre_inst.msi /qn">> "%~dp032.cfg" ECHO AutoInstall="x86:hidcon:cmd /c \"%programfiles%\\Java\\jre%MAJ%\\bin\\jqs.exe\" -unregister">> "%~dp032.cfg" ECHO AutoInstall="x64:hidcon:cmd /c \"%programfiles(x86)%\\Java\\jre%MAJ%\\bin\\jqs.exe\" -unregister">> "%~dp032.cfg" ECHO AutoInstall1="%%DelOldVer%% /qn">> "%~dp032.cfg" ECHO AutoInstall1="jre_inst.msi /qn WEB_JAVA=0">> "%~dp032.cfg" ECHO AutoInstall1="x86:hidcon:cmd /c \"%programfiles%\\Java\\jre%MAJ%\\bin\\jqs.exe\" -unregister">> "%~dp032.cfg" ECHO AutoInstall1="x64:hidcon:cmd /c \"%programfiles(x86)%\\Java\\jre%MAJ%\\bin\\jqs.exe\" -unregister">> "%~dp032.cfg" ECHO ;!@InstallEnd@!>> "%~dp032.cfg" ECHO. >> "%~dp032.cfg" GOTO :EOF :CONFIG_64 ECHO ;!@Install@!UTF-8!> "%~dp064.cfg" ECHO SetEnvironment="swUninst=HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall">> "%~dp064.cfg" ECHO SetEnvironment="DelOldVer64=hidcon:cmd /c For /F \"tokens=2 delims={}\" %%a In ('Reg Query %%swUninst%% ^| FINDSTR \"{26A24AE4-039D-4CA4-87B4-2F864[0-9A-F]*}\"') Do MsiExec /x{%%a}">> "%~dp064.cfg" ECHO Title="Java SE Runtime Environment %MAJ% Update %MIN% x64">> "%~dp064.cfg" ECHO BeginPrompt="\n\nThis will install Java %MAJ% Update %MIN% x64 with Web plugins\nAny previous Java x64 version(s) will be uninstalled first\n\n\nAvailable command-line switch:\n\n-ai\tSilent installation with Web plugins\n-ai1\tSilent installation without Web plugins\n\nClick \"OK\" to begin installation. Click \"Cancel\" to exit.">> "%~dp064.cfg" ECHO ExtractTitle="Java SE Runtime Environment %MAJ% Update %MIN% x64">> "%~dp064.cfg" ECHO ExtractDialogText="Please wait while the installation routine is extracted">> "%~dp064.cfg" ECHO FinishMessage="Java %MAJ% Update %MIN% x64 has been installed.">> "%~dp064.cfg" ECHO GUIMode="1">> "%~dp064.cfg" ECHO GUIFlags="6153">> "%~dp064.cfg" ECHO MiscFlags="4">> "%~dp064.cfg" ECHO RunProgram="x64:%%DelOldVer64%% /qn">> "%~dp064.cfg" ECHO RunProgram="x64:jre64_inst.msi /qb!">> "%~dp064.cfg" ECHO AutoInstall="x64:%%DelOldVer64%% /qn">> "%~dp064.cfg" ECHO AutoInstall="x64:jre64_inst.msi /qn">> "%~dp064.cfg" ECHO AutoInstall1="x64:%%DelOldVer64%% /qn">> "%~dp064.cfg" ECHO AutoInstall1="x64:jre64_inst.msi /qn WEB_JAVA=0">> "%~dp064.cfg" ECHO ;!@InstallEnd@!>> "%~dp064.cfg" ECHO. >> "%~dp064.cfg" GOTO :EOF :CONFIG_AIO ECHO ;!@Install@!UTF-8!> "%~dp0AIO.cfg" ECHO SetEnvironment="swUninst_x64=HKLM\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall">> "%~dp0AIO.cfg" ECHO SetEnvironment="swUninst_x86=HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall">> "%~dp0AIO.cfg" ECHO SetEnvironment="DelOldVer=%%%%P:hidcon:cmd /c For /F \"tokens=2 delims={}\" %%a In ('Reg Query %%swUninst_%%%%P%% ^| FINDSTR \"{26A24AE4-039D-4CA4-87B4-2F832[0-9A-F]*}\"') Do MsiExec /x{%%a}">> "%~dp0AIO.cfg" ECHO SetEnvironment="DelOldVer64=hidcon:cmd /c For /F \"tokens=2 delims={}\" %%a In ('Reg Query %%swUninst_x86%% ^| FINDSTR \"{26A24AE4-039D-4CA4-87B4-2F864[0-9A-F]*}\"') Do MsiExec /x{%%a}">> "%~dp0AIO.cfg" ECHO Title="Java SE Runtime Environment %MAJ% Update %MIN% DUAL">> "%~dp0AIO.cfg" ECHO BeginPrompt="\n\nThis will install Java %MAJ% Update %MIN% DUAL with Web plugins\nAny previous Java version(s) will be uninstalled first\n\n\nAvailable command-line switch:\n\n-ai\tSilent installation with Web plugins\n-ai1\tSilent installation without Web plugins\n\nClick \"OK\" to begin installation. Click \"Cancel\" to exit.">> "%~dp0AIO.cfg" ECHO ExtractTitle="Java SE Runtime Environment %MAJ% Update %MIN% DUAL">> "%~dp0AIO.cfg" ECHO ExtractDialogText="Please wait while the installation routine is extracted">> "%~dp0AIO.cfg" ECHO FinishMessage="Java %MAJ% Update %MIN% DUAL has been installed.">> "%~dp0AIO.cfg" ECHO GUIMode="1">> "%~dp0AIO.cfg" ECHO GUIFlags="6153">> "%~dp0AIO.cfg" ECHO MiscFlags="4">> "%~dp0AIO.cfg" ECHO RunProgram="%%DelOldVer%% /qn">> "%~dp0AIO.cfg" ECHO RunProgram="x64:%%DelOldVer64%% /qn">> "%~dp0AIO.cfg" ECHO RunProgram="jre_inst.msi /qb!">> "%~dp0AIO.cfg" ECHO RunProgram="x64:jre64_inst.msi /qb!">> "%~dp0AIO.cfg" ECHO RunProgram="x86:hidcon:cmd /c \"%programfiles%\\Java\\jre%MAJ%\\bin\\jqs.exe\" -unregister">> "%~dp0AIO.cfg" ECHO RunProgram="x64:hidcon:cmd /c \"%ProgramFiles(x86)%\\Java\\jre%MAJ%\\bin\\jqs.exe\" -unregister">> "%~dp0AIO.cfg" ECHO AutoInstall="%%DelOldVer%% /qn">> "%~dp0AIO.cfg" ECHO AutoInstall="x64:%%DelOldVer64%% /qn">> "%~dp0AIO.cfg" ECHO AutoInstall="jre_inst.msi /qn">> "%~dp0AIO.cfg" ECHO AutoInstall="x64:jre64_inst.msi /qn">> "%~dp0AIO.cfg" ECHO AutoInstall="x86:hidcon:cmd /c \"%programfiles%\\Java\\jre%MAJ%\\bin\\jqs.exe\" -unregister">> "%~dp0AIO.cfg" ECHO AutoInstall="x64:hidcon:cmd /c \"%ProgramFiles(x86)%\\Java\\jre%MAJ%\\bin\\jqs.exe\" -unregister">> "%~dp0AIO.cfg" ECHO AutoInstall1="%%DelOldVer%% /qn">> "%~dp0AIO.cfg" ECHO AutoInstall1="x64:%%DelOldVer64%% /qn">> "%~dp0AIO.cfg" ECHO AutoInstall1="jre_inst.msi /qn WEB_JAVA=0">> "%~dp0AIO.cfg" ECHO AutoInstall1="x64:jre64_inst.msi /qn WEB_JAVA=0">> "%~dp0AIO.cfg" ECHO AutoInstall1="x86:hidcon:cmd /c \"%programfiles%\\Java\\jre%MAJ%\\bin\\jqs.exe\" -unregister">> "%~dp0AIO.cfg" ECHO AutoInstall1="x64:hidcon:cmd /c \"%ProgramFiles(x86)%\\Java\\jre%MAJ%\\bin\\jqs.exe\" -unregister">> "%~dp0AIO.cfg" ECHO ;!@InstallEnd@!>> "%~dp0AIO.cfg" ECHO. >> "%~dp0AIO.cfg" GOTO :EOF :ENTRIES_INI ECHO [general]> "%~dp0ENTRIES_Java.ini" ECHO builddate=%date%>> "%~dp0ENTRIES_Java.ini" ECHO description=Java SE Runtime Environment %MAJ% update %MIN% x86>> "%~dp0ENTRIES_Java.ini" ECHO language=Multi>> "%~dp0ENTRIES_Java.ini" ECHO version=1.%JAVAVER%>> "%~dp0ENTRIES_Java.ini" ECHO website=http://www.java.com/>>"%~dp0ENTRIES_Java.ini" ECHO. >> "%~dp0ENTRIES_Java.ini" ECHO [EditFile]>> "%~dp0ENTRIES_Java.ini" ECHO I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram>> "%~dp0ENTRIES_Java.ini" ECHO. >> "%~dp0ENTRIES_Java.ini" ECHO [AddProgram]>> "%~dp0ENTRIES_Java.ini" ECHO Java%JAVAVER%.exe -ai>> "%~dp0ENTRIES_Java.ini" ECHO. >> "%~dp0ENTRIES_Java.ini" ECHO ; "Java%JAVAVER%.exe -ai1" for install without Web plugins>> "%~dp0ENTRIES_Java.ini" GOTO :EOF :ENTRIES_INI_64 ECHO [general]> "%~dp0ENTRIES_Java.ini" ECHO builddate=%date%>> "%~dp0ENTRIES_Java.ini" ECHO description=Java SE Runtime Environment %MAJ% update %MIN% x64>> "%~dp0ENTRIES_Java.ini" ECHO language=Multi>> "%~dp0ENTRIES_Java.ini" ECHO version=1.%JAVAVER64%>> "%~dp0ENTRIES_Java.ini" ECHO website=http://www.java.com/>>"%~dp0ENTRIES_Java.ini" ECHO. >> "%~dp0ENTRIES_Java.ini" ECHO [EditFile]>> "%~dp0ENTRIES_Java.ini" ECHO I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram>> "%~dp0ENTRIES_Java.ini" ECHO. >> "%~dp0ENTRIES_Java.ini" ECHO [AddProgram]>> "%~dp0ENTRIES_Java.ini" ECHO Java%JAVAVER64%.exe -ai>> "%~dp0ENTRIES_Java.ini" ECHO. >> "%~dp0ENTRIES_Java.ini" ECHO ; "Java%JAVAVER64%.exe -ai1" for install without Web plugins>> "%~dp0ENTRIES_Java.ini" GOTO :EOF :ENTRIES_INI_AIO ECHO [general]> "%~dp0ENTRIES_Java.ini" ECHO builddate=%date%>> "%~dp0ENTRIES_Java.ini" ECHO description=Java SE Runtime Environment %MAJ% update %MIN% Dual>> "%~dp0ENTRIES_Java.ini" ECHO language=Multi>> "%~dp0ENTRIES_Java.ini" ECHO version=1.%JAVAVER%_x86 + 1.%JAVAVER64%_x64>> "%~dp0ENTRIES_Java.ini" ECHO website=http://www.java.com/>>"%~dp0ENTRIES_Java.ini" ECHO. >> "%~dp0ENTRIES_Java.ini" ECHO [EditFile]>> "%~dp0ENTRIES_Java.ini" ECHO I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram>> "%~dp0ENTRIES_Java.ini" ECHO. >> "%~dp0ENTRIES_Java.ini" ECHO [AddProgram]>> "%~dp0ENTRIES_Java.ini" ECHO Java%JAVAVER64%.exe -ai>> "%~dp0ENTRIES_Java.ini" ECHO. >> "%~dp0ENTRIES_Java.ini" ECHO ; "Java%JAVAVER64%.exe -ai1" for install without Web plugins>> "%~dp0ENTRIES_Java.ini" GOTO :EOF :GETJAVAVER if /i "%1" GTR "%JAVAFILE%" (set JAVAFILE=%1&&set JAVAFN=%~n1) goto :eof :GETJAVAVER64 if /i "%1" GTR "%JAVAFILE64%" (set JAVAFILE64=%1&&set JAVAFN64=%~n1) goto :eof :NoJavaInst echo ================================================================================ echo ================================================================================ echo. JRE x86 and/or x64 redistributable not found. echo. Place it/them in the same directory than this script. echo. Correct JRE install name for x86 is "jre-XuXX-windows-i586.exe". echo. Correct JRE install name for x64 is "jre-XuXX-windows-x64.exe". echo ================================================================================ echo ================================================================================ pause goto :eof :NoResExtr echo ================================================================================ echo ================================================================================ echo. NirSoft ResourcesExtract not found. Download and unpack it in "bin" directory. echo. Get it here - http://nirsoft.net/utils/resources_extract.html echo ================================================================================ echo ================================================================================ pause goto :eof :No7za echo ================================================================================ echo ================================================================================ echo. 7za.exe not found. Download and unpack it in "bin" directory. echo. Get it here - http://sourceforge.net/projects/sevenzip/files/7-Zip/ echo ================================================================================ echo ================================================================================ pause goto :eof :No7SFX echo ================================================================================ echo ================================================================================ echo. JavaInst.sfx not found. Place it in "bin" directory. echo ================================================================================ echo ================================================================================ pause goto :eof
    1 point
×
×
  • Create New...