* allow Vista to display security prompt during printer installation

* setting for compilation on Vista
* select random SourceForge mirror

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25190 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Joost Verburg 2008-06-07 17:28:19 +00:00
parent 4f81608f6f
commit 8388adb89a
3 changed files with 14 additions and 4 deletions

View File

@ -38,7 +38,11 @@ SetCompressor /SOLID lzma
!define FILES_LAUNCHER "..\..\launcher"
!define FILES_PDFVIEW "..\..\pdfview"
!define FILES_MSVC "$%SystemRoot%\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375"
!if ${COMPILER_OS} == VISTA
!define FILES_MSVC "$%SystemRoot%\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91"
!else
!define FILES_MSVC "$%SystemRoot%\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375"
!endif
!define FILES_PYTHON "${FILES_DEPS}\python"
!define FILES_IMAGEMAGICK "${FILES_DEPS}\imagemagick"
!define FILES_GHOSTSCRIPT "${FILES_DEPS}\ghostscript"
@ -59,8 +63,8 @@ SetCompressor /SOLID lzma
#--------------------------------
# Locations of components to download
!define MIRROR_SF1 "http://superb-west.dl.sourceforge.net/sourceforge"
!define MIRROR_SF2 "http://mesh.dl.sourceforge.net/sourceforge"
!define MIRROR_SF1 "http://downloads.sourceforge.net" # A random mirror is selected
!define MIRROR_SF2 "http://downloads.sourceforge.net"
!macro SourceForgeMirror ID FILENAME
!define DOWNLOAD_${ID} "${MIRROR_SF1}/${FILENAME}"

View File

@ -6,6 +6,12 @@ These typically need to be modified for each LyX release
*/
#--------------------------------
# Windows version on which the complier is running
!define COMPILER_OS VISTA
#!define COMPILER_OS XP
#--------------------------------
# Version number

View File

@ -164,7 +164,7 @@ Section -PSPrinter
ExecWait '$PrinterConf /q /dd /m "Metafile to EPS Converter"'
# Install printer and driver
ExecWait '$PrinterConf /q /if /f "$INSTDIR\PSPrinter\metafile2eps.inf" /r "FILE:" /m "Metafile to EPS Converter"'
ExecWait '$PrinterConf /if /f "$INSTDIR\PSPrinter\metafile2eps.inf" /r "FILE:" /m "Metafile to EPS Converter"'
# Restore DEVMODE with proper settings
ExecWait '$PrinterConf /q /Sr /n "Metafile to EPS Converter" /a "$INSTDIR\PSPrinter\metafile2eps.dat" g'