POL_Install_vcrun2012

Informations

Créateur Messages
Ronin DUSETTE
Admin

Attention

This installer is a beta script. It means that it might not work as expected

Informations

Plate-formes :
Téléchargements : 466811
Wine: System

Retours d'expérience

Description

Hopefully grants compatibility to apps requiring vcrun2012. Based off of winetricks function, translated to POL calls. 

Code source

#!/bin/bash
# Date : (2015-01-6 22-00)
# Distribution used to test : Kubuntu 14.04 - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.5

POL_Debug_Message "Installing vcrun2012..."

POL_Download_Resource "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" "7f52a19ecaf7db3c163dd164be3e592e" "vcrun2012"
mkdir $POL_USER_ROOT/tmp/vcrun2012
cd $POL_USER_ROOT/tmp/vcrun2012

cp $POL_USER_ROOT/ressources/vcrun2012/vcredist_x86.exe $POL_USER_ROOT/tmp/vcrun2012/
POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/vcredist_x86.exe"
POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/a2"
POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/a3"

POL_Debug_Message "Copying DLL files..."

cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_atl110_x86 $WINEPREFIX/drive_c/windows/system32/atl110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_mfc110_x86 $WINEPREFIX/drive_c/windows/system32/mfc110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_mfc110u_x86 $WINEPREFIX/drive_c/windows/system32/mfc110u.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_msvcp110_x86 $WINEPREFIX/drive_c/windows/system32/msvcp110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_msvcr110_x86 $WINEPREFIX/drive_c/windows/system32/msvcr110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_vcomp110_x86 $WINEPREFIX/drive_c/windows/system32/vcomp110.dll

POL_Wine_OverrideDLL "native,builtin" "atl110"
POL_Wine_OverrideDLL "native,builtin" "msvcp110"
POL_Wine_OverrideDLL "native,builtin" "msvcr110"
POL_Wine_OverrideDLL "native,builtin" "vcomp110"

POL_Debug_Message "Cleaning tmp folder..."
rm -rf $POL_USER_ROOT/tmp/vcrun2012

Contributions

Filters:

Contribuer
Membre Messages
Ronin DUSETTE Jeudi 8 Janvier 2015 à 3:51
Ronin DUSETTE
Admin

Information

Cette mise à jour a été acceptée par l'équipe

Messages

Removed original line with other MD5, as it did not work. 

Differences

@@ -11,7 +11,7 @@
 mkdir $POL_USER_ROOT/tmp/vcrun2012
 cd $POL_USER_ROOT/tmp/vcrun2012
 
-cp $POL_USER_ROOT/ressources/vcredist_x86.exe $POL_USER_ROOT/tmp/vcrun2012/
+cp $POL_USER_ROOT/ressources/vcrun2012/vcredist_x86.exe $POL_USER_ROOT/tmp/vcrun2012/
 POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/vcredist_x86.exe"
 POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/a2"
 POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/a3"

Nouveau code source

#!/bin/bash
# Date : (2015-01-6 22-00)
# Distribution used to test : Kubuntu 14.04 - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.5

POL_Debug_Message "Installing vcrun2012..."

POL_Download_Resource "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" "7f52a19ecaf7db3c163dd164be3e592e" "vcrun2012"
mkdir $POL_USER_ROOT/tmp/vcrun2012
cd $POL_USER_ROOT/tmp/vcrun2012

cp $POL_USER_ROOT/ressources/vcrun2012/vcredist_x86.exe $POL_USER_ROOT/tmp/vcrun2012/
POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/vcredist_x86.exe"
POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/a2"
POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/a3"

POL_Debug_Message "Copying DLL files..."

cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_atl110_x86 $WINEPREFIX/drive_c/windows/system32/atl110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_mfc110_x86 $WINEPREFIX/drive_c/windows/system32/mfc110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_mfc110u_x86 $WINEPREFIX/drive_c/windows/system32/mfc110u.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_msvcp110_x86 $WINEPREFIX/drive_c/windows/system32/msvcp110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_msvcr110_x86 $WINEPREFIX/drive_c/windows/system32/msvcr110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_vcomp110_x86 $WINEPREFIX/drive_c/windows/system32/vcomp110.dll

POL_Wine_OverrideDLL "native,builtin" "atl110"
POL_Wine_OverrideDLL "native,builtin" "msvcp110"
POL_Wine_OverrideDLL "native,builtin" "msvcr110"
POL_Wine_OverrideDLL "native,builtin" "vcomp110"

POL_Debug_Message "Cleaning tmp folder..."
rm -rf $POL_USER_ROOT/tmp/vcrun2012

Réponses

Jeudi 8 Janvier 2015 à 7:26
Ok. It works now. Added 3rd positional argument to "POL_Download_Resource" call.
Jeudi 8 Janvier 2015 à 7:30
Also corrected script to reflect ressources download folder. Tis all good.

Edité par RoninDusette

Ronin DUSETTE Jeudi 8 Janvier 2015 à 1:17
Ronin DUSETTE
Admin

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Changing from wget to POL_Download_Resource

Differences

@@ -7,8 +7,8 @@
 
 POL_Debug_Message "Installing vcrun2012..."
 
-POL_Download_Resource "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" "96b377a27ac5445328cbaae210fc4f0aaa750d3f"
-
+#POL_Download_Resource "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" "96b377a27ac5445328cbaae210fc4f0aaa750d3f"
+POL_Download_Resource "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" "7f52a19ecaf7db3c163dd164be3e592e"
 mkdir $POL_USER_ROOT/tmp/vcrun2012
 cd $POL_USER_ROOT/tmp/vcrun2012
 

Nouveau code source

#!/bin/bash
# Date : (2015-01-6 22-00)
# Distribution used to test : Kubuntu 14.04 - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.5

POL_Debug_Message "Installing vcrun2012..."

#POL_Download_Resource "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" "96b377a27ac5445328cbaae210fc4f0aaa750d3f"
POL_Download_Resource "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" "7f52a19ecaf7db3c163dd164be3e592e"
mkdir $POL_USER_ROOT/tmp/vcrun2012
cd $POL_USER_ROOT/tmp/vcrun2012

cp $POL_USER_ROOT/ressources/vcredist_x86.exe $POL_USER_ROOT/tmp/vcrun2012/
POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/vcredist_x86.exe"
POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/a2"
POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/a3"

POL_Debug_Message "Copying DLL files..."

cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_atl110_x86 $WINEPREFIX/drive_c/windows/system32/atl110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_mfc110_x86 $WINEPREFIX/drive_c/windows/system32/mfc110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_mfc110u_x86 $WINEPREFIX/drive_c/windows/system32/mfc110u.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_msvcp110_x86 $WINEPREFIX/drive_c/windows/system32/msvcp110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_msvcr110_x86 $WINEPREFIX/drive_c/windows/system32/msvcr110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_vcomp110_x86 $WINEPREFIX/drive_c/windows/system32/vcomp110.dll

POL_Wine_OverrideDLL "native,builtin" "atl110"
POL_Wine_OverrideDLL "native,builtin" "msvcp110"
POL_Wine_OverrideDLL "native,builtin" "msvcr110"
POL_Wine_OverrideDLL "native,builtin" "vcomp110"

POL_Debug_Message "Cleaning tmp folder..."
rm -rf $POL_USER_ROOT/tmp/vcrun2012

Réponses

Jeudi 8 Janvier 2015 à 1:27
When I switch to download resource, the MD5 that is used (which is the correct one) does not match. So, using POL_System_wget works right, and the MD5 in the script validates. However, switching to POL_Download_Resource, it gives a completely different MD5, and it fails. Not really sure why. Likely because all of the vcrun downloads have the same name, it would conflict with a previously downloaded resource of the same name? Not really sure if that would do it. Working on it.
Jeudi 8 Janvier 2015 à 1:32
Changed the MD5 to the different one that comes from wget to the new one with POL_Download_Resource. Not really sure why it would be such a radically different MD5, but it is still grabbing a file and working like before, so yeah. Leaving it as-is.
Jeudi 8 Janvier 2015 à 4:41
There will be a conflict saving it to ressources. If you install there is a "vcredist_x86.exe" in there, it keeps saying that the local MD5 does not match, and will not replace it. Unless I am missing something, but I have looked at other scripts and I don't see what I would be missing. So for now, I am leaving it to download into a the tmp folder, so that when I get the vcrun2013 script up, it will not conflict with the previously downloaded vcredist_x86.exe's in the ressources folder.

Edité par RoninDusette

Ronin DUSETTE Mercredi 7 Janvier 2015 à 23:45
Ronin DUSETTE
Admin

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Removing unneeded quotes on BASH commands

Differences

@@ -7,8 +7,8 @@
 
 POL_Debug_Message "Installing vcrun2012..."
 
-mkdir "$POL_USER_ROOT/tmp/vcrun2012"
-cd "$POL_USER_ROOT/tmp/vcrun2012"
+mkdir $POL_USER_ROOT/tmp/vcrun2012
+cd $POL_USER_ROOT/tmp/vcrun2012
 
 POL_System_wget "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" "96b377a27ac5445328cbaae210fc4f0aaa750d3f"
 POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/vcredist_x86.exe"

Nouveau code source

#!/bin/bash
# Date : (2015-01-6 22-00)
# Distribution used to test : Kubuntu 14.04 - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.5

POL_Debug_Message "Installing vcrun2012..."

mkdir $POL_USER_ROOT/tmp/vcrun2012
cd $POL_USER_ROOT/tmp/vcrun2012

POL_System_wget "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" "96b377a27ac5445328cbaae210fc4f0aaa750d3f"
POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/vcredist_x86.exe"
POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/a2"
POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/a3"

POL_Debug_Message "Copying DLL files..."

cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_atl110_x86 $WINEPREFIX/drive_c/windows/system32/atl110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_mfc110_x86 $WINEPREFIX/drive_c/windows/system32/mfc110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_mfc110u_x86 $WINEPREFIX/drive_c/windows/system32/mfc110u.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_msvcp110_x86 $WINEPREFIX/drive_c/windows/system32/msvcp110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_msvcr110_x86 $WINEPREFIX/drive_c/windows/system32/msvcr110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_vcomp110_x86 $WINEPREFIX/drive_c/windows/system32/vcomp110.dll

POL_Wine_OverrideDLL "native,builtin" "atl110"
POL_Wine_OverrideDLL "native,builtin" "msvcp110"
POL_Wine_OverrideDLL "native,builtin" "msvcr110"
POL_Wine_OverrideDLL "native,builtin" "vcomp110"

POL_Debug_Message "Cleaning tmp folder..."
rm -rf $POL_USER_ROOT/tmp/vcrun2012

Réponses

Ronin DUSETTE Mercredi 7 Janvier 2015 à 23:40
Ronin DUSETTE
Admin

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Switching download to custom folder, and cleaning up that folder only, instead of removing the whole tmp folder. Will also implement POL_Download_Resource when I have the chance. 

Differences

@@ -7,21 +7,22 @@
 
 POL_Debug_Message "Installing vcrun2012..."
 
-cd "$POL_USER_ROOT/tmp"
+mkdir "$POL_USER_ROOT/tmp/vcrun2012"
+cd "$POL_USER_ROOT/tmp/vcrun2012"
 
 POL_System_wget "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" "96b377a27ac5445328cbaae210fc4f0aaa750d3f"
-POL_System_cabextract "$POL_USER_ROOT/tmp/vcredist_x86.exe"
-POL_System_cabextract "$POL_USER_ROOT/tmp/a2"
-POL_System_cabextract "$POL_USER_ROOT/tmp/a3"
+POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/vcredist_x86.exe"
+POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/a2"
+POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/a3"
 
 POL_Debug_Message "Copying DLL files..."
 
-cp $POL_USER_ROOT/tmp/F_CENTRAL_atl110_x86 $WINEPREFIX/drive_c/windows/system32/atl110.dll
-cp $POL_USER_ROOT/tmp/F_CENTRAL_mfc110_x86 $WINEPREFIX/drive_c/windows/system32/mfc110.dll
-cp $POL_USER_ROOT/tmp/F_CENTRAL_mfc110u_x86 $WINEPREFIX/drive_c/windows/system32/mfc110u.dll
-cp $POL_USER_ROOT/tmp/F_CENTRAL_msvcp110_x86 $WINEPREFIX/drive_c/windows/system32/msvcp110.dll
-cp $POL_USER_ROOT/tmp/F_CENTRAL_msvcr110_x86 $WINEPREFIX/drive_c/windows/system32/msvcr110.dll
-cp $POL_USER_ROOT/tmp/F_CENTRAL_vcomp110_x86 $WINEPREFIX/drive_c/windows/system32/vcomp110.dll
+cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_atl110_x86 $WINEPREFIX/drive_c/windows/system32/atl110.dll
+cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_mfc110_x86 $WINEPREFIX/drive_c/windows/system32/mfc110.dll
+cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_mfc110u_x86 $WINEPREFIX/drive_c/windows/system32/mfc110u.dll
+cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_msvcp110_x86 $WINEPREFIX/drive_c/windows/system32/msvcp110.dll
+cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_msvcr110_x86 $WINEPREFIX/drive_c/windows/system32/msvcr110.dll
+cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_vcomp110_x86 $WINEPREFIX/drive_c/windows/system32/vcomp110.dll
 
 POL_Wine_OverrideDLL "native,builtin" "atl110"
 POL_Wine_OverrideDLL "native,builtin" "msvcp110"
@@ -29,4 +30,4 @@
 POL_Wine_OverrideDLL "native,builtin" "vcomp110"
 
 POL_Debug_Message "Cleaning tmp folder..."
-rm -rf $POL_USER_ROOT/tmp/*
\ No newline at end of file
+rm -rf $POL_USER_ROOT/tmp/vcrun2012
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-01-6 22-00)
# Distribution used to test : Kubuntu 14.04 - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.5

POL_Debug_Message "Installing vcrun2012..."

mkdir "$POL_USER_ROOT/tmp/vcrun2012"
cd "$POL_USER_ROOT/tmp/vcrun2012"

POL_System_wget "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" "96b377a27ac5445328cbaae210fc4f0aaa750d3f"
POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/vcredist_x86.exe"
POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/a2"
POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2012/a3"

POL_Debug_Message "Copying DLL files..."

cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_atl110_x86 $WINEPREFIX/drive_c/windows/system32/atl110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_mfc110_x86 $WINEPREFIX/drive_c/windows/system32/mfc110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_mfc110u_x86 $WINEPREFIX/drive_c/windows/system32/mfc110u.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_msvcp110_x86 $WINEPREFIX/drive_c/windows/system32/msvcp110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_msvcr110_x86 $WINEPREFIX/drive_c/windows/system32/msvcr110.dll
cp $POL_USER_ROOT/tmp/vcrun2012/F_CENTRAL_vcomp110_x86 $WINEPREFIX/drive_c/windows/system32/vcomp110.dll

POL_Wine_OverrideDLL "native,builtin" "atl110"
POL_Wine_OverrideDLL "native,builtin" "msvcp110"
POL_Wine_OverrideDLL "native,builtin" "msvcr110"
POL_Wine_OverrideDLL "native,builtin" "vcomp110"

POL_Debug_Message "Cleaning tmp folder..."
rm -rf $POL_USER_ROOT/tmp/vcrun2012

Réponses

Ronin DUSETTE Mercredi 7 Janvier 2015 à 7:58
Ronin DUSETTE
Admin

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -29,4 +29,4 @@
 POL_Wine_OverrideDLL "native,builtin" "vcomp110"
 
 POL_Debug_Message "Cleaning tmp folder..."
-rm $POL_USER_ROOT/tmp/*
\ No newline at end of file
+rm -rf $POL_USER_ROOT/tmp/*
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-01-6 22-00)
# Distribution used to test : Kubuntu 14.04 - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.5

POL_Debug_Message "Installing vcrun2012..."

cd "$POL_USER_ROOT/tmp"

POL_System_wget "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" "96b377a27ac5445328cbaae210fc4f0aaa750d3f"
POL_System_cabextract "$POL_USER_ROOT/tmp/vcredist_x86.exe"
POL_System_cabextract "$POL_USER_ROOT/tmp/a2"
POL_System_cabextract "$POL_USER_ROOT/tmp/a3"

POL_Debug_Message "Copying DLL files..."

cp $POL_USER_ROOT/tmp/F_CENTRAL_atl110_x86 $WINEPREFIX/drive_c/windows/system32/atl110.dll
cp $POL_USER_ROOT/tmp/F_CENTRAL_mfc110_x86 $WINEPREFIX/drive_c/windows/system32/mfc110.dll
cp $POL_USER_ROOT/tmp/F_CENTRAL_mfc110u_x86 $WINEPREFIX/drive_c/windows/system32/mfc110u.dll
cp $POL_USER_ROOT/tmp/F_CENTRAL_msvcp110_x86 $WINEPREFIX/drive_c/windows/system32/msvcp110.dll
cp $POL_USER_ROOT/tmp/F_CENTRAL_msvcr110_x86 $WINEPREFIX/drive_c/windows/system32/msvcr110.dll
cp $POL_USER_ROOT/tmp/F_CENTRAL_vcomp110_x86 $WINEPREFIX/drive_c/windows/system32/vcomp110.dll

POL_Wine_OverrideDLL "native,builtin" "atl110"
POL_Wine_OverrideDLL "native,builtin" "msvcp110"
POL_Wine_OverrideDLL "native,builtin" "msvcr110"
POL_Wine_OverrideDLL "native,builtin" "vcomp110"

POL_Debug_Message "Cleaning tmp folder..."
rm -rf $POL_USER_ROOT/tmp/*

Réponses

Mercredi 7 Janvier 2015 à 23:35
I don't think clearing $POL_USER_ROOT/tmp/ is a good idea, used inside a script it'll remove any other temporary file created by the calling script.
Better create a subdirectory in there, and remove it when done.
Also, to downloading reusable files use POL_Download_Resource, so they get cached for the next time(s)
Mercredi 7 Janvier 2015 à 23:37
Ok. I will make those changes. POL_Download_Resource has the same positional args as POL_System_wget, right?
Ronin DUSETTE Mercredi 7 Janvier 2015 à 7:55
Ronin DUSETTE
Admin

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -26,4 +26,7 @@
 POL_Wine_OverrideDLL "native,builtin" "atl110"
 POL_Wine_OverrideDLL "native,builtin" "msvcp110"
 POL_Wine_OverrideDLL "native,builtin" "msvcr110"
-POL_Wine_OverrideDLL "native,builtin" "vcomp110"
\ No newline at end of file
+POL_Wine_OverrideDLL "native,builtin" "vcomp110"
+
+POL_Debug_Message "Cleaning tmp folder..."
+rm $POL_USER_ROOT/tmp/*
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-01-6 22-00)
# Distribution used to test : Kubuntu 14.04 - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.5

POL_Debug_Message "Installing vcrun2012..."

cd "$POL_USER_ROOT/tmp"

POL_System_wget "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" "96b377a27ac5445328cbaae210fc4f0aaa750d3f"
POL_System_cabextract "$POL_USER_ROOT/tmp/vcredist_x86.exe"
POL_System_cabextract "$POL_USER_ROOT/tmp/a2"
POL_System_cabextract "$POL_USER_ROOT/tmp/a3"

POL_Debug_Message "Copying DLL files..."

cp $POL_USER_ROOT/tmp/F_CENTRAL_atl110_x86 $WINEPREFIX/drive_c/windows/system32/atl110.dll
cp $POL_USER_ROOT/tmp/F_CENTRAL_mfc110_x86 $WINEPREFIX/drive_c/windows/system32/mfc110.dll
cp $POL_USER_ROOT/tmp/F_CENTRAL_mfc110u_x86 $WINEPREFIX/drive_c/windows/system32/mfc110u.dll
cp $POL_USER_ROOT/tmp/F_CENTRAL_msvcp110_x86 $WINEPREFIX/drive_c/windows/system32/msvcp110.dll
cp $POL_USER_ROOT/tmp/F_CENTRAL_msvcr110_x86 $WINEPREFIX/drive_c/windows/system32/msvcr110.dll
cp $POL_USER_ROOT/tmp/F_CENTRAL_vcomp110_x86 $WINEPREFIX/drive_c/windows/system32/vcomp110.dll

POL_Wine_OverrideDLL "native,builtin" "atl110"
POL_Wine_OverrideDLL "native,builtin" "msvcp110"
POL_Wine_OverrideDLL "native,builtin" "msvcr110"
POL_Wine_OverrideDLL "native,builtin" "vcomp110"

POL_Debug_Message "Cleaning tmp folder..."
rm $POL_USER_ROOT/tmp/*

Réponses

Ronin DUSETTE Mercredi 7 Janvier 2015 à 7:54
Ronin DUSETTE
Admin

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Initial commit

Differences

@@ -0,0 +1,29 @@
+#!/bin/bash
+# Date : (2015-01-6 22-00)
+# Distribution used to test : Kubuntu 14.04 - 64-bit
+# Author : RoninDusette
+# Licence : GPLv3
+# PlayOnLinux: 4.2.5
+
+POL_Debug_Message "Installing vcrun2012..."
+
+cd "$POL_USER_ROOT/tmp"
+
+POL_System_wget "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" "96b377a27ac5445328cbaae210fc4f0aaa750d3f"
+POL_System_cabextract "$POL_USER_ROOT/tmp/vcredist_x86.exe"
+POL_System_cabextract "$POL_USER_ROOT/tmp/a2"
+POL_System_cabextract "$POL_USER_ROOT/tmp/a3"
+
+POL_Debug_Message "Copying DLL files..."
+
+cp $POL_USER_ROOT/tmp/F_CENTRAL_atl110_x86 $WINEPREFIX/drive_c/windows/system32/atl110.dll
+cp $POL_USER_ROOT/tmp/F_CENTRAL_mfc110_x86 $WINEPREFIX/drive_c/windows/system32/mfc110.dll
+cp $POL_USER_ROOT/tmp/F_CENTRAL_mfc110u_x86 $WINEPREFIX/drive_c/windows/system32/mfc110u.dll
+cp $POL_USER_ROOT/tmp/F_CENTRAL_msvcp110_x86 $WINEPREFIX/drive_c/windows/system32/msvcp110.dll
+cp $POL_USER_ROOT/tmp/F_CENTRAL_msvcr110_x86 $WINEPREFIX/drive_c/windows/system32/msvcr110.dll
+cp $POL_USER_ROOT/tmp/F_CENTRAL_vcomp110_x86 $WINEPREFIX/drive_c/windows/system32/vcomp110.dll
+
+POL_Wine_OverrideDLL "native,builtin" "atl110"
+POL_Wine_OverrideDLL "native,builtin" "msvcp110"
+POL_Wine_OverrideDLL "native,builtin" "msvcr110"
+POL_Wine_OverrideDLL "native,builtin" "vcomp110"
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-01-6 22-00)
# Distribution used to test : Kubuntu 14.04 - 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.5

POL_Debug_Message "Installing vcrun2012..."

cd "$POL_USER_ROOT/tmp"

POL_System_wget "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" "96b377a27ac5445328cbaae210fc4f0aaa750d3f"
POL_System_cabextract "$POL_USER_ROOT/tmp/vcredist_x86.exe"
POL_System_cabextract "$POL_USER_ROOT/tmp/a2"
POL_System_cabextract "$POL_USER_ROOT/tmp/a3"

POL_Debug_Message "Copying DLL files..."

cp $POL_USER_ROOT/tmp/F_CENTRAL_atl110_x86 $WINEPREFIX/drive_c/windows/system32/atl110.dll
cp $POL_USER_ROOT/tmp/F_CENTRAL_mfc110_x86 $WINEPREFIX/drive_c/windows/system32/mfc110.dll
cp $POL_USER_ROOT/tmp/F_CENTRAL_mfc110u_x86 $WINEPREFIX/drive_c/windows/system32/mfc110u.dll
cp $POL_USER_ROOT/tmp/F_CENTRAL_msvcp110_x86 $WINEPREFIX/drive_c/windows/system32/msvcp110.dll
cp $POL_USER_ROOT/tmp/F_CENTRAL_msvcr110_x86 $WINEPREFIX/drive_c/windows/system32/msvcr110.dll
cp $POL_USER_ROOT/tmp/F_CENTRAL_vcomp110_x86 $WINEPREFIX/drive_c/windows/system32/vcomp110.dll

POL_Wine_OverrideDLL "native,builtin" "atl110"
POL_Wine_OverrideDLL "native,builtin" "msvcp110"
POL_Wine_OverrideDLL "native,builtin" "msvcr110"
POL_Wine_OverrideDLL "native,builtin" "vcomp110"

Réponses