Seite 1 von 2

microsoft visual c++ runtime 2008

Verfasst: 22 Aug 2018, 14:29
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

Re: microsoft visual c++ runtime 2008

Verfasst: 24 Aug 2018, 12:14
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

Re: microsoft visual c++ runtime 2008

Verfasst: 24 Aug 2018, 13:29
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.

Re: microsoft visual c++ runtime 2008

Verfasst: 20 Sep 2018, 19:58
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?

Re: microsoft visual c++ runtime 2008

Verfasst: 21 Sep 2018, 15:55
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

Re: microsoft visual c++ runtime 2008

Verfasst: 21 Sep 2018, 16:18
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.

Re: microsoft visual c++ runtime 2008

Verfasst: 18 Okt 2018, 16:55
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

Re: microsoft visual c++ runtime 2008

Verfasst: 18 Okt 2018, 17:44
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.

Re: microsoft visual c++ runtime 2008

Verfasst: 24 Okt 2018, 15:12
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

Re: microsoft visual c++ runtime 2008

Verfasst: 12 Nov 2018, 12:55
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