Prepare Windows Installer for 5.0
This commit is contained in:
parent
00c21e7859
commit
2507dc731c
|
@ -1,7 +1,7 @@
|
|||
!define DOLPHIN_ARCH x64
|
||||
!define BASE_INSTALL_DIR "$PROGRAMFILES64"
|
||||
!define PRODUCT_NAME "Dolphin"
|
||||
!define PRODUCT_VERSION 4.0
|
||||
!define PRODUCT_VERSION 5.0
|
||||
|
||||
!define BASE_DIR "..\Binary\${DOLPHIN_ARCH}"
|
||||
|
||||
|
@ -141,6 +141,7 @@ Section "Base" SEC01
|
|||
SetOutPath "$TEMP"
|
||||
SetOverwrite on
|
||||
File /r "dxredist"
|
||||
File /r "vcredist"
|
||||
SectionEnd
|
||||
|
||||
Section "DirectX Runtime" SEC02
|
||||
|
@ -149,6 +150,12 @@ Section "DirectX Runtime" SEC02
|
|||
DetailPrint "Finished DirectX runtime setup"
|
||||
SectionEnd
|
||||
|
||||
Section "Visual C++ 2015 Redistributable" SEC03
|
||||
DetailPrint "Running Visual C++ 2015 Redistributable setup..."
|
||||
ExecWait '"$TEMP\vcredist\vc_redist.x64.exe" /install /quiet /norestart'
|
||||
DetailPrint "Finished Visual C++ 2015 Redistributable setup"
|
||||
SectionEnd
|
||||
|
||||
Section -AdditionalIcons
|
||||
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${UN_NAME}.lnk" "$INSTDIR\uninst.exe"
|
||||
SectionEnd
|
||||
|
@ -168,6 +175,7 @@ SectionEnd
|
|||
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${SEC01} "Installs all files required to run the Dolphin Emulator."
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${SEC02} "Installs the recommended DirectX runtime libraries that are needed by Dolphin."
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${SEC03} "Installs the required Visual C++ 2015 Redistributable that is needed by Dolphin."
|
||||
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
||||
|
||||
Section Uninstall
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
Name: dolphin-emu
|
||||
Summary: Dolphin Emulator
|
||||
Version: 4.0.2
|
||||
Version: 4.0
|
||||
Release: 0%{?dist}
|
||||
Group: System/Emulators/Other
|
||||
License: GPL-2.0
|
||||
|
|
Loading…
Reference in New Issue