Added installation of VC++ 2012 to installer.
This commit is contained in:
1 parent
4103d990cf
commit
f8b396bc3a
3 files changed
+20
-1
No files matched your search
Binary file not shown.
Binary file not shown.
+20
-1
@@ -21,6 +21,7 @@
|
|||||||
Var StartMenuFolder
|
Var StartMenuFolder
|
||||||
Var DirectXSetupError
|
Var DirectXSetupError
|
||||||
Var NetSetupError
|
Var NetSetupError
|
||||||
|
Var VCSetupError
|
||||||
|
|
||||||
!define MUI_ICON "..\Output\Vocaluxe.ico"
|
!define MUI_ICON "..\Output\Vocaluxe.ico"
|
||||||
!define MUI_HEADERIMAGE
|
!define MUI_HEADERIMAGE
|
||||||
@@ -114,7 +115,7 @@ Section $(TITLE_MAIN) SecMain
|
|||||||
File "..\Output\CreditsRessourcesDB.sqlite"
|
File "..\Output\CreditsRessourcesDB.sqlite"
|
||||||
|
|
||||||
${IfNot} ${HasDotNet4.0}
|
${IfNot} ${HasDotNet4.0}
|
||||||
SetOutPath "$TEMP"
|
SetOutPath "$TEMP"
|
||||||
File "Requirements\dotNetFx40_Full_setup.exe"
|
File "Requirements\dotNetFx40_Full_setup.exe"
|
||||||
DetailPrint "Running .NET4 Setup..."
|
DetailPrint "Running .NET4 Setup..."
|
||||||
ExecWait '"$TEMP\dotNetFx40_Full_setup.exe" /Q' $NetSetupError
|
ExecWait '"$TEMP\dotNetFx40_Full_setup.exe" /Q' $NetSetupError
|
||||||
@@ -125,6 +126,24 @@ Section $(TITLE_MAIN) SecMain
|
|||||||
SetOutPath "$INSTDIR"
|
SetOutPath "$INSTDIR"
|
||||||
${EndIf}
|
${EndIf}
|
||||||
|
|
||||||
|
SetOutPath "$TEMP"
|
||||||
|
${If} ${RunningX64}
|
||||||
|
File "Requirements\vcredist_x64.exe"
|
||||||
|
DetailPrint "Running VC++ 2012 Redistributable Setup..."
|
||||||
|
ExecWait '"$TEMP\vcredist_x64.exe" /Q /norestart' $VCSetupError
|
||||||
|
DetailPrint "Finished VC++ 2012 Redistributable Setup"
|
||||||
|
|
||||||
|
Delete "$TEMP\vcredist_x64.exe"
|
||||||
|
${Else}
|
||||||
|
File "Requirements\vcredist_x86.exe"
|
||||||
|
DetailPrint "Running VC++ 2012 Redistributable Setup..."
|
||||||
|
ExecWait '"$TEMP\vcredist_x86.exe" /Q /norestart' $VCSetupError
|
||||||
|
DetailPrint "Finished VC++ 2012 Redistributable Setup"
|
||||||
|
|
||||||
|
Delete "$TEMP\vcredist_x86.exe"
|
||||||
|
${EndIf}
|
||||||
|
SetOutPath "$INSTDIR"
|
||||||
|
|
||||||
;Store installation folder
|
;Store installation folder
|
||||||
WriteRegStr HKCU "Software\Vocaluxe" "" $INSTDIR
|
WriteRegStr HKCU "Software\Vocaluxe" "" $INSTDIR
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user