--- /dev/null
+To build the installer do the following:
+
+1. extract the source zip-file to e.g. the path "C:\LyX"
+2. open the file settings.nsh with a text editor
+ and adapt there the following paths to the one on your PC:
+ !define FILES_LYX "C:\LyX\LyXPackage\LyX"
+ !define FILES_DEPS "C:\LyX\LyX2.0x\lyx-windows-deps-msvc2008"
+ !define FILES_QT "C:\LyX\LyXPackage\LyX"
+3. install NSIS (http://nsis.sourceforge.net/Download)
+4. open the file FindProc.zip (that is part of this bundle),
+ extract from it the file FindProc.dll to the Plugins folder of
+ NSIS's installation folder
+5. open the file InetLoad.zip (that is part of this bundle),
+ extract from it the file InetLoad.dll to the Plugins folder of
+ NSIS's installation folder
+6. right-click on the file lyx-standard.nsi and choose "Compile NSIS script"
+ to compile the standard installer
+7. right-click on the file lyx-bundle.nsi and choose "Compile NSIS script"
+ to compile the bundle installer
\ No newline at end of file
Function LaTeXActions
# checks if MiKTeX or TeXLive is installed
+ ${if} ${RunningX64}
+ SetRegView 64
+ ${endif}
# test if MiKTeX is installed
# reads the PATH variable via the registry because NSIS' "$%Path%" variable is not updated when the PATH changes
ReadRegStr $String HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "Path"
!define APP_VERSION_REVISION 5
!define APP_VERSION_EMERGENCY "1" # use "1" for an emergency release of LyX otherwise ""
!define APP_EMERGENCY_DOT "." # use "." for an emergency release of LyX otherwise ""
-!define APP_VERSION_BUILD 1 # Start with 1 for the installer releases of each version
+!define APP_VERSION_BUILD 2 # Start with 1 for the installer releases of each version
!define APP_VERSION "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}${APP_EMERGENCY_DOT}${APP_VERSION_EMERGENCY}" # Version to display
# File locations
# !!! you need to adjust them to the folders in your Windows system !!!
-!define FILES_LYX "C:\LyX\lyx-20-install"
-!define FILES_DEPS "C:\LyX\lyx-20-build\msvc2010-deps\deps20"
-!define FILES_BUNDLE "C:\LyX\depsbundle"
-!define FILES_QT "C:\Qt\qt-everywhere-opensource-src-4.8.3"
+!define FILES_LYX "C:\LyX\LyXPackage\LyX"
+!define FILES_DEPS "C:\LyX\LyX2.0x\lyx-windows-deps-msvc2008"
+!define FILES_QT "C:\LyX\LyXPackage\LyX"
!define ClassFileDir "${FILES_LYX}\Resources\tex"
!define DVIPostFileDir "${FILES_DEPS}\tex"