sbsv2/raptor/util/install-windows/raptorinstallerscript.nsi
branchwip
changeset 338 9372474d4b07
parent 142 26f2f0b4002b
child 426 ae9510aa2ca1
equal deleted inserted replaced
337:62e1f66421b1 338:9372474d4b07
    42 Var NOENVCHANGES_STATE # State of file-only installation radio button
    42 Var NOENVCHANGES_STATE # State of file-only installation radio button
    43 Var INSTALL_TYPE # Type of installer ("USR" or "SYS")
    43 Var INSTALL_TYPE # Type of installer ("USR" or "SYS")
    44 
    44 
    45 # Custom includes (depend on above variables so much be here)
    45 # Custom includes (depend on above variables so much be here)
    46 !include "raptorinstallerutils.nsh" # Functions and macros for handling environment variables
    46 !include "raptorinstallerutils.nsh" # Functions and macros for handling environment variables
    47 !include "raptorversion.nsh" # Define the RAPTOR_VERSION variable
    47 # !include "raptorversion.nsh" # Define the RAPTOR_VERSION variable
    48 
    48 
    49 # Defines
    49 # Defines
    50 # !define /date DATE_STAMP "%Y-%m-%d-%H-%M-%S"
       
    51 !define INSTALLER_NAME "Raptor v${RAPTOR_VERSION}"
    50 !define INSTALLER_NAME "Raptor v${RAPTOR_VERSION}"
    52 !define RAPTOR "sbs"
    51 !define RAPTOR "sbs"
    53 !define INSTALLER_FILENAME "${RAPTOR}-${RAPTOR_VERSION}.exe"
    52 !define INSTALLER_FILENAME "${RAPTOR}-${RAPTOR_VERSION}.exe"
    54 !define UNINSTALLER_FILENAME "${RAPTOR}-${RAPTOR_VERSION}-uninstaller.exe"
    53 !define UNINSTALLER_FILENAME "${RAPTOR}-${RAPTOR_VERSION}-uninstaller.exe"
    55 
    54 
   110     File /r /x distribution.policy.s60 ${RAPTOR_LOCATION}\lib\*.*
   109     File /r /x distribution.policy.s60 ${RAPTOR_LOCATION}\lib\*.*
   111     SetOutPath "$INSTDIR\python"
   110     SetOutPath "$INSTDIR\python"
   112     File /r /x distribution.policy.s60 ${RAPTOR_LOCATION}\python\*.*
   111     File /r /x distribution.policy.s60 ${RAPTOR_LOCATION}\python\*.*
   113     SetOutPath "$INSTDIR\schema"
   112     SetOutPath "$INSTDIR\schema"
   114     File /r /x distribution.policy.s60 ${RAPTOR_LOCATION}\schema\*.*
   113     File /r /x distribution.policy.s60 ${RAPTOR_LOCATION}\schema\*.*
   115     SetOutPath "$INSTDIR\win32"
   114     SetOutPath "$INSTDIR\win32\bin"
   116     File /r /x distribution.policy.s60 ${RAPTOR_LOCATION}\win32\*.*
   115     File /r /x distribution.policy.s60 ${RAPTOR_LOCATION}\win32\bin\*.*
   117     SetOutPath "$INSTDIR\win32\bv"
   116     SetOutPath "$INSTDIR\win32\bv"
   118     File /r /x distribution.policy.s60 /x .hg ${WIN32SUPPORT}\bv\*.*
   117     File /r /x distribution.policy.s60 /x .hg ${BV_LOCATION}\*.*
   119     SetOutPath "$INSTDIR\win32\cygwin"
   118     SetOutPath "$INSTDIR\win32\cygwin"
   120     File /r /x distribution.policy.s60 /x .hg ${WIN32SUPPORT}\cygwin\*.*
   119     File /r /x distribution.policy.s60 /x .hg ${CYGWIN_LOCATION}\*.*
   121     SetOutPath "$INSTDIR\win32\mingw"
   120     SetOutPath "$INSTDIR\win32\mingw"
   122     File /r /x distribution.policy.s60 /x .hg ${WIN32SUPPORT}\mingw\*.*
   121     File /r /x distribution.policy.s60 /x .hg ${MINGW_LOCATION}\*.*
   123     SetOutPath "$INSTDIR\win32\python264"
   122     SetOutPath "$INSTDIR\win32\python264"
   124     File /r /x distribution.policy.s60 /x .hg ${WIN32SUPPORT}\python264\*.*
   123     File /r /x distribution.policy.s60 /x .hg ${PYTHON_LOCATION}\*.*
   125     
   124     
   126     SetOutPath "$INSTDIR"
   125     SetOutPath "$INSTDIR"
   127     File ${RAPTOR_LOCATION}\RELEASE-NOTES.txt
   126     File ${RAPTOR_LOCATION}\RELEASE-NOTES.txt
   128     
   127     
   129     
   128