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