experienceui-setup.nsi
changeset 15 d3e8fdadd6d6
parent 14 61f1654b7734
equal deleted inserted replaced
14:61f1654b7734 15:d3e8fdadd6d6
     1 ; ExperienceUI installation
     1 ; ExperienceUI installation
     2 Name "ExperienceUI SDK"
     2 Name "ExperienceUI SDK"
     3 
     3 
     4 SetCompressor /final /solid lzma
     4 SetCompressor /final /solid lzma
     5 
     5 
       
     6 !define XPUI_ABORTWARNING
     6 !define XPUI_SYSDIR ".\Contrib\ExperienceUI"
     7 !define XPUI_SYSDIR ".\Contrib\ExperienceUI"
     7 !include "${XPUI_SYSDIR}\XPUI.nsh"
     8 !include "${XPUI_SYSDIR}\XPUI.nsh"
       
     9 Caption "$(^Name) v${XPUI_VERSION} Setup"
     8 OutFile "experienceui-${XPUI_VERSION}.exe"
    10 OutFile "experienceui-${XPUI_VERSION}.exe"
     9 InstallDir "$PROGRAMFILES\NSIS\ExperienceUI"
    11 InstallDir "$PROGRAMFILES\NSIS\ExperienceUI"
    10 InstallDirRegKey HKLM "Software\NSIS\ExperienceUI" ""
    12 InstallDirRegKey HKLM "Software\NSIS\ExperienceUI" ""
    11 RequestExecutionLevel admin
    13 RequestExecutionLevel admin
    12 
    14 
    13 ${Page} Welcome2
    15 ${Page} Welcome2
    14 ${LicensePage} "Contrib\ExperienceUI\License.rtf"
    16 ${LicensePage} "Contrib\ExperienceUI\License.rtf"
    15 ${Page} Directory
    17 ${Page} Directory
    16 ${Page} InstConfirm
    18 ${Page} InstConfirm
    17 ${Page} InstFiles
    19 ${Page} InstFiles
       
    20 ${Page} Abort
    18 
    21 
    19 ${UnPage} Welcome2
    22 ${UnPage} Welcome2
    20 ${UnPage} UnConfirm
    23 ${UnPage} UnConfirm
    21 ${UnPage} InstFiles
    24 ${UnPage} InstFiles
    22 ${UnPage} Finish
    25 ${UnPage} Finish