nsis: adjust for new MinGW paths
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
3a489d38fd
commit
70903cc2fb
42
qemu.nsi
42
qemu.nsi
@ -35,11 +35,6 @@
|
|||||||
!define OUTFILE "qemu-setup.exe"
|
!define OUTFILE "qemu-setup.exe"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
; Optionally install documentation.
|
|
||||||
!ifndef CONFIG_DOCUMENTATION
|
|
||||||
!define CONFIG_DOCUMENTATION
|
|
||||||
!endif
|
|
||||||
|
|
||||||
; Use maximum compression.
|
; Use maximum compression.
|
||||||
SetCompressor /SOLID lzma
|
SetCompressor /SOLID lzma
|
||||||
|
|
||||||
@ -116,26 +111,13 @@ Section "${PRODUCT} (required)"
|
|||||||
; Set output path to the installation directory.
|
; Set output path to the installation directory.
|
||||||
SetOutPath "$INSTDIR"
|
SetOutPath "$INSTDIR"
|
||||||
|
|
||||||
File "${SRCDIR}\Changelog"
|
|
||||||
File "${SRCDIR}\COPYING"
|
File "${SRCDIR}\COPYING"
|
||||||
File "${SRCDIR}\COPYING.LIB"
|
File "${SRCDIR}\COPYING.LIB"
|
||||||
File "${SRCDIR}\README.rst"
|
File "${SRCDIR}\README.rst"
|
||||||
File "${SRCDIR}\VERSION"
|
File "${SRCDIR}\VERSION"
|
||||||
|
|
||||||
File "${BINDIR}\*.bmp"
|
|
||||||
File "${BINDIR}\*.bin"
|
|
||||||
File "${BINDIR}\*.dtb"
|
|
||||||
File "${BINDIR}\*.fd"
|
|
||||||
File "${BINDIR}\*.img"
|
|
||||||
File "${BINDIR}\*.lid"
|
|
||||||
File "${BINDIR}\*.ndrv"
|
|
||||||
File "${BINDIR}\*.rom"
|
|
||||||
File "${BINDIR}\openbios-*"
|
|
||||||
|
|
||||||
File /r "${BINDIR}\keymaps"
|
File /r "${BINDIR}\keymaps"
|
||||||
!ifdef CONFIG_GTK
|
|
||||||
File /r "${BINDIR}\share"
|
File /r "${BINDIR}\share"
|
||||||
!endif
|
|
||||||
|
|
||||||
!ifdef W64
|
!ifdef W64
|
||||||
SetRegView 64
|
SetRegView 64
|
||||||
@ -176,21 +158,11 @@ SectionEnd
|
|||||||
|
|
||||||
!ifdef CONFIG_DOCUMENTATION
|
!ifdef CONFIG_DOCUMENTATION
|
||||||
Section "Documentation" SectionDoc
|
Section "Documentation" SectionDoc
|
||||||
SetOutPath "$INSTDIR"
|
SetOutPath "$INSTDIR\doc"
|
||||||
File "${BINDIR}\index.html"
|
File /r "${BINDIR}\doc"
|
||||||
SetOutPath "$INSTDIR\interop"
|
|
||||||
FILE /r "${BINDIR}\interop\*.*"
|
|
||||||
SetOutPath "$INSTDIR\specs"
|
|
||||||
FILE /r "${BINDIR}\specs\*.*"
|
|
||||||
SetOutPath "$INSTDIR\system"
|
|
||||||
FILE /r "${BINDIR}\system\*.*"
|
|
||||||
SetOutPath "$INSTDIR\tools"
|
|
||||||
FILE /r "${BINDIR}\tools\*.*"
|
|
||||||
SetOutPath "$INSTDIR\user"
|
|
||||||
FILE /r "${BINDIR}\user\*.*"
|
|
||||||
SetOutPath "$INSTDIR"
|
SetOutPath "$INSTDIR"
|
||||||
CreateDirectory "$SMPROGRAMS\${PRODUCT}"
|
CreateDirectory "$SMPROGRAMS\${PRODUCT}"
|
||||||
CreateShortCut "$SMPROGRAMS\${PRODUCT}\User Documentation.lnk" "$INSTDIR\index.html" "" "$INSTDIR\index.html" 0
|
CreateShortCut "$SMPROGRAMS\${PRODUCT}\User Documentation.lnk" "$INSTDIR\doc\index.html" "" "$INSTDIR\doc\index.html" 0
|
||||||
SectionEnd
|
SectionEnd
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
@ -238,13 +210,7 @@ Section "Uninstall"
|
|||||||
Delete "$INSTDIR\qemu-io.exe"
|
Delete "$INSTDIR\qemu-io.exe"
|
||||||
Delete "$INSTDIR\qemu.exe"
|
Delete "$INSTDIR\qemu.exe"
|
||||||
Delete "$INSTDIR\qemu-system-*.exe"
|
Delete "$INSTDIR\qemu-system-*.exe"
|
||||||
Delete "$INSTDIR\index.html"
|
RMDir /r "$INSTDIR\doc"
|
||||||
RMDir /r "$INSTDIR\interop"
|
|
||||||
RMDir /r "$INSTDIR\specs"
|
|
||||||
RMDir /r "$INSTDIR\system"
|
|
||||||
RMDir /r "$INSTDIR\tools"
|
|
||||||
RMDir /r "$INSTDIR\user"
|
|
||||||
RMDir /r "$INSTDIR\keymaps"
|
|
||||||
RMDir /r "$INSTDIR\share"
|
RMDir /r "$INSTDIR\share"
|
||||||
; Remove generated files
|
; Remove generated files
|
||||||
Delete "$INSTDIR\stderr.txt"
|
Delete "$INSTDIR\stderr.txt"
|
||||||
|
Loading…
Reference in New Issue
Block a user