msvc 2010 is not working without the big mods
This commit is contained in:
parent
b8edf0555a
commit
62dd89fd22
@ -108,8 +108,8 @@ function create() {
|
||||
extract_file msi-a $INST_DIR/Temp/x86/2010/vc_red.msi $INST_DIR/x86/2010
|
||||
rm -f $INST_DIR/x86/2010/*.cab
|
||||
mv $INST_DIR/x86/2010/VC_RED.MSI $INST_DIR/x86/2010/vc_red.msi
|
||||
rm -f $INST_DIR/Temp/x86/2010/*{msi,cab,msp}
|
||||
mv $INST_DIR/Temp/x86/2010/* $INST_DIR/x86/2010
|
||||
#rm -f $INST_DIR/Temp/x86/2010/*{msi,cab,msp}
|
||||
mv -f $INST_DIR/Temp/x86/2010/* $INST_DIR/x86/2010
|
||||
|
||||
cp $PRODUCT_DIR/cscripts/vc2k10_slim.vbs $INST_DIR/Temp/x64/2010/
|
||||
pushd $INST_DIR/Temp/x64/2010/
|
||||
@ -118,14 +118,16 @@ function create() {
|
||||
extract_file msi-a $INST_DIR/Temp/x64/2010/vc_red.msi $INST_DIR/x64/2010
|
||||
rm -f $INST_DIR/x64/2010/*.cab
|
||||
mv $INST_DIR/x64/2010/VC_RED.MSI $INST_DIR/x64/2010/vc_red.msi
|
||||
rm -f $INST_DIR/Temp/x64/2010/*{msi,cab,msp}
|
||||
mv $INST_DIR/Temp/x64/2010/* $INST_DIR/x64/2010
|
||||
#rm -f $INST_DIR/Temp/x64/2010/*{msi,cab,msp}
|
||||
mv -f $INST_DIR/Temp/x64/2010/* $INST_DIR/x64/2010
|
||||
|
||||
# Space in filepath not handled correctly by cygpath so copy th a dir witout spaces
|
||||
cp $INST_DIR/x86/2010/Program\ Files/Microsoft\ Visual\ Studio\ 10.0/Common\ Files/Microsoft\ Shared/VC/msdia100.dll $INST_DIR/Temp/msdia100_x86.dll
|
||||
get_file_ver vc2010ver_x86 $INST_DIR/Temp/msdia100_x86.dll
|
||||
cp $INST_DIR/x64/2010/Program\ Files\(64\)/Microsoft\ Visual\ Studio\ 10.0/Common\ Files/Microsoft\ Shared/VC/msdia100.dll $INST_DIR/Temp/msdia100_x64.dll
|
||||
get_file_ver vc2010ver_x64 $INST_DIR/Temp/msdia100_x64.dll
|
||||
rm -rf $INST_DIR/x86/2010/{Program*,Win}
|
||||
rm -rf $INST_DIR/x64/2010/{Program*,Win}
|
||||
echo "msvc 2010 x86 $vc2010ver_x86"
|
||||
echo "msvc 2010 x64 $vc2010ver_x64"
|
||||
|
||||
@ -159,23 +161,23 @@ function create() {
|
||||
echo "msvc 2012 Additional x86 $vc2010ver_mfc_x86"
|
||||
echo "msvc 2012 Additional x64 $vc2010ver_mfc_x64"
|
||||
|
||||
echo "<cmd name=\"%NAME% 2012 Minimum\" path=\"x86\2012\vc_runtimeMinimum_x86.msi\" param=\"/q /norestart\">" >> $INST_DIR/package.old
|
||||
echo "<cmd name=\"%NAME% 2012 Minimum\" path=\"x86\2012\vc_runtimeMinimum_x86.msi\" param=\"/q /norestart ADDEPLOY=1\">" >> $INST_DIR/package.old
|
||||
echo "<check type=\"os\" condition=\">\" value=\"6.0.6002.0\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\system32\atl110.dll\" value=\"$vc2010ver_atl_x86\" arch=\"x86\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\syswow64\atl110.dll\" value=\"$vc2010ver_atl_x86\" arch=\"x64\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\system32\atl110.dll\" value=\"$vc2012ver_atl_x86\" arch=\"x86\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\syswow64\atl110.dll\" value=\"$vc2012ver_atl_x86\" arch=\"x64\" />" >> $INST_DIR/package.old
|
||||
echo "</cmd>" >> $INST_DIR/package.old
|
||||
echo "<cmd name=\"%NAME% 2012 Additional\" path=\"x86\2012\vc_runtimeAdditional_x86.msi\" param=\"/q /norestart\">" >> $INST_DIR/package.old
|
||||
echo "<cmd name=\"%NAME% 2012 Additional\" path=\"x86\2012\vc_runtimeAdditional_x86.msi\" param=\"/q /norestart ADDEPLOY=1\">" >> $INST_DIR/package.old
|
||||
echo "<check type=\"os\" condition=\">\" value=\"6.0.6002.0\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\system32\mfc110.dll\" value=\"$vc2010ver_mfc_x86\" arch=\"x86\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\syswow64\mfc110.dll\" value=\"$vc2010ver_mfc_x86\" arch=\"x64\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\system32\mfc110.dll\" value=\"$vc2012ver_mfc_x86\" arch=\"x86\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\syswow64\mfc110.dll\" value=\"$vc2012ver_mfc_x86\" arch=\"x64\" />" >> $INST_DIR/package.old
|
||||
echo "</cmd>" >> $INST_DIR/package.old
|
||||
echo "<cmd arch=\"x64\" name=\"%NAME% 2012 Minimum x64\" path=\"x64\2012\vc_runtimeMinimum_x64.msi\" param=\"/q /norestart\">" >> $INST_DIR/package.old
|
||||
echo "<cmd arch=\"x64\" name=\"%NAME% 2012 Minimum x64\" path=\"x64\2012\vc_runtimeMinimum_x64.msi\" param=\"/q /norestart ADDEPLOY=1\">" >> $INST_DIR/package.old
|
||||
echo "<check type=\"os\" condition=\">\" value=\"6.0.6002.0\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\syswow64\atl110.dll\" value=\"$vc2010ver_atl_x64\"/>" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\syswow64\atl110.dll\" value=\"$vc2012ver_atl_x64\"/>" >> $INST_DIR/package.old
|
||||
echo "</cmd>" >> $INST_DIR/package.old
|
||||
echo "<cmd arch=\"x64\" name=\"%NAME% 2012 Additional x64\" path=\"x64\2012\vc_runtimeAdditional_x64.msi\" param=\"/q /norestart\">" >> $INST_DIR/package.old
|
||||
echo "<cmd arch=\"x64\" name=\"%NAME% 2012 Additional x64\" path=\"x64\2012\vc_runtimeAdditional_x64.msi\" param=\"/q /norestart ADDEPLOY=1\">" >> $INST_DIR/package.old
|
||||
echo "<check type=\"os\" condition=\">\" value=\"6.0.6002.0\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\syswow64\mfc110.dll\" value=\"$vc2010ver_mfc_x64\"/>" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\syswow64\mfc110.dll\" value=\"$vc2012ver_mfc_x64\"/>" >> $INST_DIR/package.old
|
||||
echo "</cmd>" >> $INST_DIR/package.old
|
||||
|
||||
|
||||
@ -191,32 +193,32 @@ function create() {
|
||||
extract_file msi-a $INST_DIR/Temp/x64/2013/packages/vcRuntimeMinimum_amd64/vc_runtimeMinimum_x64.msi $INST_DIR/x64/2013
|
||||
extract_file msi-a $INST_DIR/Temp/x64/2013/packages/vcRuntimeAdditional_amd64/vc_runtimeAdditional_x64.msi $INST_DIR/x64/2013
|
||||
|
||||
get_file_ver vc2013ver_atl_x86 $INST_DIR/x86/2013/System/msvcp120.dll
|
||||
get_file_ver vc2013ver_atl_x64 $INST_DIR/x64/2013/System64/msvcp120.dll
|
||||
get_file_ver vc2013ver_msvcp_x86 $INST_DIR/x86/2013/System/msvcp120.dll
|
||||
get_file_ver vc2013ver_msvcp_x64 $INST_DIR/x64/2013/System64/msvcp120.dll
|
||||
get_file_ver vc2013ver_mfc_x86 $INST_DIR/x86/2013/System/mfc120.dll
|
||||
get_file_ver vc2013ver_mfc_x64 $INST_DIR/x64/2013/System64/mfc120.dll
|
||||
echo "msvc 2013 Minimal x86 $vc2010ver_atl_x86"
|
||||
echo "msvc 2013 Minimal x64 $vc2010ver_atl_x64"
|
||||
echo "msvc 2013 Additional x86 $vc2010ver_mfc_x86"
|
||||
echo "msvc 2013 Additional x64 $vc2010ver_mfc_x64"
|
||||
echo "msvc 2013 Minimal x86 $vc2013ver_msvcp_x86"
|
||||
echo "msvc 2013 Minimal x64 $vc2013ver_msvcp_x64"
|
||||
echo "msvc 2013 Additional x86 $vc2013ver_mfc_x86"
|
||||
echo "msvc 2013 Additional x64 $vc2013ver_mfc_x64"
|
||||
|
||||
echo "<cmd name=\"%NAME% 2013 Minimum\" path=\"x86\2013\vc_runtimeMinimum_x86.msi\" param=\"/q /norestart\">" >> $INST_DIR/package.old
|
||||
echo "<check type=\"os\" condition=\">\" value=\"6.0.6002.0\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\system32\msvcp110.dll\" value=\"$vc2010ver_atl_x86\" arch=\"x86\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\syswow64\msvcp110.dll\" value=\"$vc2010ver_atl_x86\" arch=\"x64\" />" >> $INST_DIR/package.old
|
||||
echo "<cmd name=\"%NAME% 2013 Minimum\" path=\"x86\2013\vc_runtimeMinimum_x86.msi\" param=\"/q /norestart ADDEPLOY=1\">" >> $INST_DIR/package.old
|
||||
echo "<check type=\"os\" condition=\">\" value=\"6.1.7600.0\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\system32\msvcp120.dll\" value=\"$vc2013ver_msvcp_x86\" arch=\"x86\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\syswow64\msvcp120.dll\" value=\"$vc2013ver_msvcp_x86\" arch=\"x64\" />" >> $INST_DIR/package.old
|
||||
echo "</cmd>" >> $INST_DIR/package.old
|
||||
echo "<cmd name=\"%NAME% 2013 Additional\" path=\"x86\2013\vc_runtimeAdditional_x86.msi\" param=\"/q /norestart\">" >> $INST_DIR/package.old
|
||||
echo "<check type=\"os\" condition=\">\" value=\"6.0.6002.0\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\system32\mfc110.dll\" value=\"$vc2010ver_mfc_x86\" arch=\"x86\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\syswow64\mfc110.dll\" value=\"$vc2010ver_mfc_x86\" arch=\"x64\" />" >> $INST_DIR/package.old
|
||||
echo "<cmd name=\"%NAME% 2013 Additional\" path=\"x86\2013\vc_runtimeAdditional_x86.msi\" param=\"/q /norestart ADDEPLOY=1\">" >> $INST_DIR/package.old
|
||||
echo "<check type=\"os\" condition=\">\" value=\"6.1.7600.0\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\system32\mfc120.dll\" value=\"$vc2013ver_mfc_x86\" arch=\"x86\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\syswow64\mfc120.dll\" value=\"$vc2013ver_mfc_x86\" arch=\"x64\" />" >> $INST_DIR/package.old
|
||||
echo "</cmd>" >> $INST_DIR/package.old
|
||||
echo "<cmd arch=\"x64\" name=\"%NAME% 2013 Minimum x64\" path=\"x64\2013\vc_runtimeMinimum_x64.msi\" param=\"/q /norestart\">" >> $INST_DIR/package.old
|
||||
echo "<check type=\"os\" condition=\">\" value=\"6.0.6002.0\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\syswow64\msvcp110.dll\" value=\"$vc2010ver_atl_x64\"/>" >> $INST_DIR/package.old
|
||||
echo "<cmd arch=\"x64\" name=\"%NAME% 2013 Minimum x64\" path=\"x64\2013\vc_runtimeMinimum_x64.msi\" param=\"/q /norestart ADDEPLOY=1\">" >> $INST_DIR/package.old
|
||||
echo "<check type=\"os\" condition=\">\" value=\"6.1.7600.0\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\syswow64\msvcp120.dll\" value=\"$vc2013ver_msvcp_x64\"/>" >> $INST_DIR/package.old
|
||||
echo "</cmd>" >> $INST_DIR/package.old
|
||||
echo "<cmd arch=\"x64\" name=\"%NAME% 2013 Additional x64\" path=\"x64\2013\vc_runtimeAdditional_x64.msi\" param=\"/q /norestart\">" >> $INST_DIR/package.old
|
||||
echo "<check type=\"os\" condition=\">\" value=\"6.0.6002.0\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\syswow64\mfc110.dll\" value=\"$vc2010ver_mfc_x64\"/>" >> $INST_DIR/package.old
|
||||
echo "<cmd arch=\"x64\" name=\"%NAME% 2013 Additional x64\" path=\"x64\2013\vc_runtimeAdditional_x64.msi\" param=\"/q /norestart ADDEPLOY=1\">" >> $INST_DIR/package.old
|
||||
echo "<check type=\"os\" condition=\">\" value=\"6.1.7600.0\" />" >> $INST_DIR/package.old
|
||||
echo "<check type=\"file\" condition=\"<\" path=\"%windir%\syswow64\mfc120.dll\" value=\"$vc2013ver_mfc_x64\"/>" >> $INST_DIR/package.old
|
||||
echo "</cmd>" >> $INST_DIR/package.old
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user