Jump to content

[AIO] Microsoft Visual B/C++/F#/J# Redistributable x86/x64


ricktendo

Recommended Posts

@jgp I cannot reproduce the error, installed fine on my moms pc with windows 7 x64

BTW Fixed vj# x64 uninstall entry not being uninstallable and removed repair

If you guys cant uninstall it you can use this command

MsiExec.exe /X{B0A5A6EE-F8BA-48B1-BB32-BAC17E96C2B4}

Link to comment
Share on other sites

@ Rick - The latest version is working great. It install/uninstall on my live system correctly. I don't know if the error 2337 for F# 2.0 runtimes that I got previously was due to the installer being installed on VM. Thanks again for your help & all the repack installer that you created.

Link to comment
Share on other sites

One hopefully small request - please make a silent switch when you'll have the time to revise the package, so the F# and the J# aren't installed, but everything else is. Motivation: even the most advanced users will need all the old and new vb/vc runtimes, but ONLY programmers / soft devs will need those F/J sharp tools (not to mention J# is discontinued).

I know I can make my own custom installer with the tools you provided, but my request I think welcomes the needs for vb/vc runtimes of 99,99% windows users out there. :)

Edited by RicaNeaga
Link to comment
Share on other sites

  • 2 weeks later...

Rick, I've written my own Runtime installer and recently added the ability to uninstall older versions in the process. While I'm certain what I'm sharing is probably not new to you, I thought I'd pass it along, just in the off chance you might be able to use it. Below is the installer script I'm using. The GUID's were gathered through looking through old verions and are by no means exhaustive:


;Standard Dialog Box Installation
RunProgram="hidcon:cmd /c FOR %i IN (837b34e3-7c30-493c-8f6a-2b0f04e2912c,a0fe116e-9a8a-466f-aee0-625cb7c207e3,710f4c1c-cc18-4c49-8cbf-51240c89a1a2) Do MsiExec /qn /X{%i}"
RunProgram="fm20:VC2005x86\\vcredist.msi /qb! /norestart"
RunProgram="hidcon:cmd /c FOR %i IN (4532C7B4-CD32-3BD0-98DB-8E8F2FB03068,86CE85E6-DBAC-3FFD-B977-E4B79F83C909,9BE518E6-ECC6-35A9-88E4-87755C07200F) Do MsiExec /qn /X{%i}"
RunProgram="VC2008x86\\vc_red.msi /qb! /norestart"
RunProgram="hidcon:cmd /c FOR %i IN (F0C3E5D1-1ADE-321E-8167-68EF0DE699A5) Do MsiExec /qn /X{%i}"
RunProgram="VC2010x86\\vc_red.msi /qb! /norestart"
RunProgram="x64:hidcon:cmd /c FOR %i IN (6ce5bae9-d3ca-4b99-891a-1dc6c118a5fc,aac9fcc4-dd9e-4add-901c-b5496a07ab2e,ad8a2fa1-06e7-4b0d-927d-6e54b3d31028) Do MsiExec /qn /X{%i}"
RunProgram="x64:VC2005x64\\vcredist.msi /qb! /norestart"
RunProgram="x64:hidcon:cmd /c FOR %i IN (600A3A08-2D14-3D53-AEC1-2A2B23FDF928,8338783A-0968-3B85-AFC7-BAAE0A63DC50,5FCE6D76-F5DC-37AB-B2B8-22AB8CEDB1D4) Do MsiExec /qn /X{%i}"
RunProgram="x64:VC2008x64\\vc_red.msi /qb! /norestart"
RunProgram="x64:hidcon:cmd /c FOR %i IN (1D8E6291-B0D5-35EC-8441-6616F567A0F7) Do MsiExec /qn /X{%i}"
RunProgram="x64:VC2010x64\\vc_red.msi /qb! /norestart"
;-ai Fully Silent Installer
AutoInstall="hidcon:cmd /c FOR %i IN (837b34e3-7c30-493c-8f6a-2b0f04e2912c,a0fe116e-9a8a-466f-aee0-625cb7c207e3,710f4c1c-cc18-4c49-8cbf-51240c89a1a2) Do MsiExec /qn /X{%i}"
AutoInstall="VC2005x86\\vcredist.msi /qn /norestart"
AutoInstall="hidcon:cmd /c FOR %i IN (4532C7B4-CD32-3BD0-98DB-8E8F2FB03068,86CE85E6-DBAC-3FFD-B977-E4B79F83C909,9BE518E6-ECC6-35A9-88E4-87755C07200F) Do MsiExec /qn /X{%i}"
AutoInstall="VC2008x86\\vc_red.msi /qn /norestart"
AutoInstall="hidcon:cmd /c FOR %i IN (F0C3E5D1-1ADE-321E-8167-68EF0DE699A5) Do MsiExec /qn /X{%i}"
AutoInstall="VC2010x86\\vc_red.msi /qn /norestart"
AutoInstall="x64:hidcon:cmd /c FOR %i IN (6ce5bae9-d3ca-4b99-891a-1dc6c118a5fc,aac9fcc4-dd9e-4add-901c-b5496a07ab2e,ad8a2fa1-06e7-4b0d-927d-6e54b3d31028) Do MsiExec /qn /X{%i}"
AutoInstall="x64:VC2005x64\\vcredist.msi /qn /norestart"
AutoInstall="x64:hidcon:cmd /c FOR %i IN (600A3A08-2D14-3D53-AEC1-2A2B23FDF928,8338783A-0968-3B85-AFC7-BAAE0A63DC50,5FCE6D76-F5DC-37AB-B2B8-22AB8CEDB1D4) Do MsiExec /qn /X{%i}"
AutoInstall="x64:VC2008x64\\vc_red.msi /qn /norestart"
AutoInstall="x64:hidcon:cmd /c FOR %i IN (1D8E6291-B0D5-35EC-8441-6616F567A0F7) Do MsiExec /qn /X{%i}"
AutoInstall="x64:VC2010x64\\vc_red.msi /qn /norestart"
;!@InstallEnd@!

Below is the list I'm maintaining of current and previous GUID's. This is what I used in preparing my installer.

{837b34e3-7c30-493c-8f6a-2b0f04e2912c} Microsoft Visual C++ 2005 Redistributable - x86 8.0.50727.4053

{a0fe116e-9a8a-466f-aee0-625cb7c207e3} Microsoft Visual C++ 2005 Redistributable - x86 8.0.50727.5592

{710f4c1c-cc18-4c49-8cbf-51240c89a1a2} Microsoft Visual C++ 2005 Redistributable - x86 8.0.50727.6195

{710f4c1c-cc18-4c49-8cbf-51240c89a1a2} Microsoft Visual C++ 2005 Redistributable - x86 8.0.50727.6229

{6ce5bae9-d3ca-4b99-891a-1dc6c118a5fc} Microsoft Visual C++ 2005 Redistributable - x64 8.0.50727.4053

{aac9fcc4-dd9e-4add-901c-b5496a07ab2e} Microsoft Visual C++ 2005 Redistributable - x64 8.0.50727.5592

{ad8a2fa1-06e7-4b0d-927d-6e54b3d31028} Microsoft Visual C++ 2005 Redistributable - x64 8.0.50727.6195

{ad8a2fa1-06e7-4b0d-927d-6e54b3d31028} Microsoft Visual C++ 2005 Redistributable - x64 8.0.50727.6229

{4532C7B4-CD32-3BD0-98DB-8E8F2FB03068} Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.5558

{86CE85E6-DBAC-3FFD-B977-E4B79F83C909} Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.5570

{9BE518E6-ECC6-35A9-88E4-87755C07200F} Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6161

{9BE518E6-ECC6-35A9-88E4-87755C07200F} Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6225

{9BE518E6-ECC6-35A9-88E4-87755C07200F} Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6276

{600A3A08-2D14-3D53-AEC1-2A2B23FDF928} Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.5558

{8338783A-0968-3B85-AFC7-BAAE0A63DC50} Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.5570

{5FCE6D76-F5DC-37AB-B2B8-22AB8CEDB1D4} Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161

{5FCE6D76-F5DC-37AB-B2B8-22AB8CEDB1D4} Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6225

{5FCE6D76-F5DC-37AB-B2B8-22AB8CEDB1D4} Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6276

{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5} Microsoft Visual C++ 2010 Redistributable - x86 10.0.40219.1

{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5} Microsoft Visual C++ 2010 Redistributable - x86 10.0.40219.325

{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5} Microsoft Visual C++ 2010 Redistributable - x86 10.0.40219.380

{1D8E6291-B0D5-35EC-8441-6616F567A0F7} Microsoft Visual C++ 2010 Redistributable - x64 10.0.40219.1

{1D8E6291-B0D5-35EC-8441-6616F567A0F7} Microsoft Visual C++ 2010 Redistributable - x64 10.0.40219.325

{1D8E6291-B0D5-35EC-8441-6616F567A0F7} Microsoft Visual C++ 2010 Redistributable - x64 10.0.40219.380

Edited by Uncle_Gadget
Link to comment
Share on other sites

Nice work UG I think your way should be 100% x64 compliant (I dont think I will be adding it to mine tho)

VC 2010 uses the same guid because its the same RTM msi installer + a msp update patch

BTW I will be updating the installer when my next slim .net4 installer is updated, I made the GUI a little nicer

244ccb23a2.pnga7da6ce2df.png

Link to comment
Share on other sites

Hope you'll consider also making a silent switch for all the runtimes (old and new - B/C++) except F# and J#. Thanks :)

LE: And please take a look at this error here. I got a similat error for your silverlight installer, which hopefully you've solved, however I didn't encounter any problem with this one. :)

Edited by RicaNeaga
Link to comment
Share on other sites

  • 2 weeks later...

Thank you very much for solving my request, however please update the explanation for the /ai switch with smth like ''only C++ and extra VB/C are installed''. From your current explanation some may understand that the extra (old) VC are skipped :)

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

See here. I don't think it's also a x64 version out there, the problems I'm having are with a x86 version of windows 7.

KB2251487 has no relationship to this installer package.

It concerns a security update for the 2008 VS XML-editor.

WU will push it if your system has an older version of

this file: microsoft.xmleditor.dll 3.5.30729.5665.

It may have been installed with an application using it.

Link to comment
Share on other sites

Added KB2723430 Supersedes KB2608539 (Visual C++ 2010)

Updated:

Added KB2607389 Supersedes KB2618543 (Visual C++ 2008)

Added Visual C++ 2012 Redistributable RTM

Updated KB2723430 (Visual C++ 2010) *newer version*

Updated comctl32.ocx and mscomctl.ocx with files from the latest cumulative update rollup for Visual Basic 6.0 SP6 KB957924

Updated both non and gui sfx builders

Link to comment
Share on other sites

@jaynbe Thanks for the info and sorry for the confusion.

@ricktendo I've just tried your new installer with the /ai switch twice in an x86 environment, and vc2012 isn't installed. Tried again with /ai2 switch and vc2012 finally got installed. Please update your installer to fix this /ai switch potential bug. Thanks. :)

Edited by RicaNeaga
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...