microsoft visual c++ runtime 2008

Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

microsoft visual c++ runtime 2008

Beitrag von SisterOfMercy »

I still have to reinstall my visual c++ runtime 2008 every time after the opsi client agent has been updated.

Could you please change something in these files?

Code: Alles auswählen

opsi-client-agent/files/opsi/setup.opsiscript
opsi-client-agent/files/opsi/setup412.opsiscript
Old:

Code: Alles auswählen

set $INST_vcredistx86_installed$ = "false"
if GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1F1C2DFC-2D24-3E06-BCB8-725134ADF989}] DisplayVersion") = "9.0.30729.4148"
	comment "vcredistx86 Version 9.0.30729.4148 is installed"
	set $INST_vcredistx86_installed$ = "true"
endif
if GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}] DisplayVersion") = "9.0.21022"
	comment "vcredistx86 Version 9.0.21022 is installed"
	set $INST_vcredistx86_installed$ = "true"
endif
New:

Code: Alles auswählen

set $INST_vcredistx86_installed$ = "false"
if GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9BE518E6-ECC6-35A9-88E4-87755C07200F}] DisplayVersion") = "9.0.30729.6161"
	comment "vcredistx86 Version 9.0.30729.6161 is installed"
	set $INST_vcredistx86_installed$ = "true"
endif	
if GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1F1C2DFC-2D24-3E06-BCB8-725134ADF989}] DisplayVersion") = "9.0.30729.4148"
	comment "vcredistx86 Version 9.0.30729.4148 is installed"
	set $INST_vcredistx86_installed$ = "true"
endif	
if GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9A25302D-30C0-39D9-BD6F-21E6EC160475}] DisplayVersion") = "9.0.30729"
	comment "vcredistx86 Version 9.0.30729 is installed"
	set $INST_vcredistx86_installed$ = "true"
endif	
if GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5DA8F6CD-C70E-39D8-8430-3D9808D6BD17}] DisplayVersion") = "9.0.30411"
	comment "vcredistx86 Version 9.0.30411 is installed"
	set $INST_vcredistx86_installed$ = "true"
endif	
if GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E503B4BF-F7BB-3D5F-8BC8-F694B1CFF942}] DisplayVersion") = "9.0.21022.218"
	comment "vcredistx86 Version 9.0.21022.218 is installed"
	set $INST_vcredistx86_installed$ = "true"
endif	
if GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}] DisplayVersion") = "9.0.21022"
	comment "vcredistx86 Version 9.0.21022 is installed"
	set $INST_vcredistx86_installed$ = "true"
endif
reference:
https://zzz.buzz/notes/vc-redist-packag ... able-vc-90

also saved the new part as: http://www.gcecad-service.nl/downloads/ ... opsiscript
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: microsoft visual c++ runtime 2008

Beitrag von n.wenselowski »

Hi SisterOfMercy,

thanks for bringing this to our attention. I will talk to the others about this.

The new code seems to just add further versions to check for. Is this correct?


Cheers

Niko

Code: Alles auswählen

import OPSI
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: microsoft visual c++ runtime 2008

Beitrag von SisterOfMercy »

n.wenselowski hat geschrieben:The new code seems to just add further versions to check for. Is this correct?
Yes.
I've been using 9.0.30729.6161 since forever. Works fine, so I don't think there's a need for a special version.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: microsoft visual c++ runtime 2008

Beitrag von SisterOfMercy »

n.wenselowski hat geschrieben: thanks for bringing this to our attention. I will talk to the others about this.
The new code seems to just add further versions to check for. Is this correct?
Any news?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: microsoft visual c++ runtime 2008

Beitrag von n.wenselowski »

Hi,
SisterOfMercy hat geschrieben:
n.wenselowski hat geschrieben: thanks for bringing this to our attention. I will talk to the others about this.
The new code seems to just add further versions to check for. Is this correct?
Any news?
We talked about it and Erol wanted to explain this in more depth than I am able to do but currently he is too busy making customers happy.
Iirc correctly we are currently sticking with an older version of vcredist because of the way we build the binaries but wanted to check if switching to a newer version is possible while staying on Python 2. For Python 3 switching to a newer version is not seen as a problem but we aren't there yet.


Bye

Niko

Code: Alles auswählen

import OPSI
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: microsoft visual c++ runtime 2008

Beitrag von SisterOfMercy »

n.wenselowski hat geschrieben:We talked about it and Erol wanted to explain this in more depth than I am able to do but currently he is too busy making customers happy.
Iirc correctly we are currently sticking with an older version of vcredist because of the way we build the binaries but wanted to check if switching to a newer version is possible while staying on Python 2. For Python 3 switching to a newer version is not seen as a problem but we aren't there yet.
I don't want you to go a new version, I only want to check for other versions of the same visual c++ runtime 2008.

So it's only the script that changes, not a binary. We're installing visual c++ runtime 2008 9.0.30729.6161 every time after the opsi-client-agent has been installed. So this version also works without changed binaries.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: microsoft visual c++ runtime 2008

Beitrag von n.wenselowski »

Hi,

sorry for the confusion on my side!

I reminded Erol of this again so he hopefully will take care of it soon!


Kind regards

Niko

Code: Alles auswählen

import OPSI
Benutzeravatar
ueluekmen
uib-Team
Beiträge: 1939
Registriert: 28 Mai 2008, 10:53

Re: microsoft visual c++ runtime 2008

Beitrag von ueluekmen »

Hey, sorry for the delay. I think you are right. I have build a new Version:

https://download.uib.de/opsi4.1/experim ... .0-22.opsi

It's not tested yet and will only work if you use opsi-script => 4.12.x

Thank you for the hint and feedback are everytime welcome.
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.
http://www.uib.de
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: microsoft visual c++ runtime 2008

Beitrag von SisterOfMercy »

ueluekmen hat geschrieben:Hey, sorry for the delay. I think you are right. I have build a new Version:
https://download.uib.de/opsi4.1/experim ... .0-22.opsi
It's not tested yet and will only work if you use opsi-script => 4.12.x
Thank you for the hint and feedback are everytime welcome.
Thanks! I will hopefully be able to test this soon. :D
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: microsoft visual c++ runtime 2008

Beitrag von n.wenselowski »

Hi,
SisterOfMercy hat geschrieben:
ueluekmen hat geschrieben:Hey, sorry for the delay. I think you are right. I have build a new Version:
https://download.uib.de/opsi4.1/experim ... .0-22.opsi
It's not tested yet and will only work if you use opsi-script => 4.12.x
Thank you for the hint and feedback are everytime welcome.
Thanks! I will hopefully be able to test this soon. :D
Any news on this regard?


Kind regards

Niko

Code: Alles auswählen

import OPSI
Antworten