abbodi1406 / vcredist

AIO Repack for latest Microsoft Visual C++ Redistributable Runtimes
The Unlicense
5.77k stars 330 forks source link

key /ai1 - wrong work #103

Open Zeroes1 opened 3 months ago

Zeroes1 commented 3 months ago

OS: Windows 10 (Pro) x86_64 Kernel: WIN32_NT 10.0.19045.3448 (22H2) i have only installed vs redist 2022 package

i ran under admin cmd: VisualCppRedist_AIO_x86_x64.exe /ai1 (exe from VisualCppRedist_AIO_x86_x64_83.zip)

/ai1 - Update mode. Only already installed packages are updated.

but after silence installed process i see what installed ALL VS REDISTR PACKAGES:

Mx86 14.08.24 W    Microsoft Visual C++ 2010  x86 Redistributable - 10.0.40219
Mx64 14.08.24 W    Microsoft Visual C++ 2012 x64 Additional Runtime - 11.0.61135
Mx64 14.08.24 W    Microsoft Visual C++ 2012 x64 Minimum Runtime - 11.0.61135
Mx86 14.08.24 W    Microsoft Visual C++ 2012 x86 Additional Runtime - 11.0.61135
Mx86 14.08.24 W    Microsoft Visual C++ 2012 x86 Minimum Runtime - 11.0.61135
Mx86 14.08.24 W    Microsoft Visual C++ 2013 x86 Additional Runtime - 12.0.40664
Mx86 14.08.24 W    Microsoft Visual C++ 2013 x86 Minimum Runtime - 12.0.40664
Mx64 14.08.24 W    Microsoft Visual C++ 2022 X64 Additional Runtime - 14.42.34226
Mx64 14.08.24 W    Microsoft Visual C++ 2022 X64 Minimum Runtime - 14.42.34226
Mx86 14.08.24 W    Microsoft Visual C++ 2022 X86 Additional Runtime - 14.42.34226
Mx86 14.08.24 W    Microsoft Visual C++ 2022 X86 Minimum Runtime - 14.42.34226
Mx64 14.08.24 W    Microsoft Visual Studio 2010 Tools for Office Runtime (x64)
abbodi1406 commented 3 months ago

Could you manually uninstall one or some of them (e.g. 2010) then run VisualCppRedist_AIO_x86_x64.exe /aiD and attach VCpp_Debug.log?

Zeroes1 commented 1 month ago

problem still exist with VisualCppRedist_AIO_x86_x64_84 i run VisualCppRedist_AIO_x86_x64.exe /ai1 when installedd only 2015-2022 packages /86 and /x64

and again program installed ALL Mx64 10.10.24 W Microsoft Visual C++ 2012 x64 Additional Runtime - 11.0.61135 Mx64 10.10.24 W Microsoft Visual C++ 2012 x64 Minimum Runtime - 11.0.61135 Mx86 10.10.24 W Microsoft Visual C++ 2012 x86 Additional Runtime - 11.0.61135 Mx86 10.10.24 W Microsoft Visual C++ 2012 x86 Minimum Runtime - 11.0.61135 Mx86 10.10.24 W Microsoft Visual C++ 2013 x86 Additional Runtime - 12.0.40664 Mx86 10.10.24 W Microsoft Visual C++ 2013 x86 Minimum Runtime - 12.0.40664 Mx64 10.10.24 W Microsoft Visual C++ 2022 X64 Additional Runtime - 14.42.34430 Mx64 10.10.24 W Microsoft Visual C++ 2022 X64 Minimum Runtime - 14.42.34430 Mx86 10.10.24 W Microsoft Visual C++ 2022 X86 Additional Runtime - 14.42.34430 Mx86 10.10.24 W Microsoft Visual C++ 2022 X86 Minimum Runtime - 14.42.34430 +2010 (i remove later)

Could you manually uninstall one or some of them (e.g. 2010) then run VisualCppRedist_AIOx86 x64.exe /aiD and attach VCpp_Debug.log?

run this? VisualCppRedist_AIO_x86_x64.exe /aiD i run under limit domain acc, its ok?

VCpp_Debug.log.zip

also Q>program check what user exist admin priveledges?

abbodi1406 commented 1 month ago

There is a lot of missing registry keys for some versions, which may caused the faulty detection and installation i still cannot determine the cause of this

i don't know what "limit domain account" means, but the script rely on 7z sfx to check admin privileges

could you manually uninstall all versions, except Visual C++ 2022 download and run this script as administrator, it will create debug log for repair mode Installer.zip

Zeroes1 commented 1 month ago

1) i run VisualCppRedist_AIO_x86_x64.exe /ai1 under another account local admin of course...

2) now test on another (home) computer win10 ( I Admin, UAC OFF) before update i have: Mx64 14.08.24 W Microsoft Visual C++ 2022 X64 Additional Runtime - 14.42.34226 Mx64 14.08.24 W Microsoft Visual C++ 2022 X64 Minimum Runtime - 14.42.34226 Mx86 14.08.24 W Microsoft Visual C++ 2022 X86 Additional Runtime - 14.42.34226 Mx86 14.08.24 W Microsoft Visual C++ 2022 X86 Minimum Runtime - 14.42.34226

ran VisualCppRedist_AIO_x86_x64.exe /ai1 after i got Mx64 10.10.24 W Microsoft Visual C++ 2012 x64 Additional Runtime - 11.0.61135 Mx64 10.10.24 W Microsoft Visual C++ 2012 x64 Minimum Runtime - 11.0.61135 Mx86 10.10.24 W Microsoft Visual C++ 2012 x86 Additional Runtime - 11.0.61135 Mx86 10.10.24 W Microsoft Visual C++ 2012 x86 Minimum Runtime - 11.0.61135 Mx64 10.10.24 W Microsoft Visual C++ 2022 X64 Additional Runtime - 14.42.34430 Mx64 10.10.24 W Microsoft Visual C++ 2022 X64 Minimum Runtime - 14.42.34430 Mx86 10.10.24 W Microsoft Visual C++ 2022 X86 Additional Runtime - 14.42.34430 Mx86 10.10.24 W Microsoft Visual C++ 2022 X86 Minimum Runtime - 14.42.34430 VCpp_Debug.log.zip log getting before update

3) thnx for the info now I know what best case for me is run VisualCppRedist_AIO_x86_x64.exe /ai9 because need only 2015-2022 package and exist false positives moments if use /ai1 :)

Zeroes1 commented 1 month ago

tomorrow i make log for computer at work

Zeroes1 commented 1 month ago

May be add info in README.MD under /ai1
Update mode. Only already installed packages are updated. may be false positives detect version installed

?

abbodi1406 commented 1 month ago

VCpp_Debug.log.zip log getting before update

3. thnx for the info  now I know what best case for me is run
   VisualCppRedist_AIO_x86_x64.exe /ai9
   because need only 2015-2022 package
   and exist false positives moments if use /ai1 :)

I need the log for running the attached Installer.zip on a computer that only have VC++ 2022 installed

yes, installing specific version is the best choice but in your case, i need to understand why files get installed, but registry keys are missing :)

Zeroes1 commented 1 month ago
  1. this log made a computer that only have VC++ 2022 installed. after test with update /ai1 on computer i see what added 2012 Runtime.

  2. another log at work. have only have VC++ 2022 installed. Mx64 10.10.24 W Microsoft Visual C++ 2022 X64 Additional Runtime - 14.42.34430 Mx64 10.10.24 W Microsoft Visual C++ 2022 X64 Minimum Runtime - 14.42.34430 Mx86 10.10.24 W Microsoft Visual C++ 2022 X86 Additional Runtime - 14.42.34430 Mx86 10.10.24 W Microsoft Visual C++ 2022 X86 Minimum Runtime - 14.42.34430

after /ai1 under local admin acc

i got: Mx64 11.10.24 W Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219 Mx86 11.10.24 W Microsoft Visual C++ 2010 x86 Redistributable - 10.0.40219 Mx64 11.10.24 W Microsoft Visual C++ 2012 x64 Additional Runtime - 11.0.61135 Mx64 11.10.24 W Microsoft Visual C++ 2012 x64 Minimum Runtime - 11.0.61135 Mx86 11.10.24 W Microsoft Visual C++ 2012 x86 Additional Runtime - 11.0.61135 Mx86 11.10.24 W Microsoft Visual C++ 2012 x86 Minimum Runtime - 11.0.61135 Mx86 11.10.24 W Microsoft Visual C++ 2013 x86 Additional Runtime - 12.0.40664 Mx86 11.10.24 W Microsoft Visual C++ 2013 x86 Minimum Runtime - 12.0.40664 Mx64 10.10.24 W Microsoft Visual C++ 2022 X64 Additional Runtime - 14.42.34430 Mx64 10.10.24 W Microsoft Visual C++ 2022 X64 Minimum Runtime - 14.42.34430 Mx86 10.10.24 W Microsoft Visual C++ 2022 X86 Additional Runtime - 14.42.34430 Mx86 10.10.24 W Microsoft Visual C++ 2022 X86 Minimum Runtime - 14.42.34430 Mx64 11.10.24 W Microsoft Visual Studio 2010 Tools for Office Runtime (x64) VCpp_Debug.log2.zip

abbodi1406 commented 1 month ago
  1. this log made a computer that only have VC++ 2022 installed. after test with update /ai1 on computer i see what added 2012 Runtime.

It's not, because VC++ 2010/2012/2013 files are detected in System32, which lead to false repair and installing those packs either the uninstallation of those version is not clean, or some programs are using the files and prevented deletion

Zeroes1 commented 1 month ago

I can ran VisualCppRedist_AIO_x86_x64.exe /aiR after VisualCppRedist_AIO_x86_x64.exe /ai9

but i think /aiR - not guarantee remove all files?

abbodi1406 commented 1 month ago

It does not delete the dll files manually it only detect exe/msi installers and uninstall the packages + remove related registry keys

after reboot, if you still have orphaned vc++ dll files in System32, then you need to delete them manually