enano-bundle.nsi
changeset 6 6016fd9e848f
parent 5 85800cb04cc5
child 7 37824b18ff73
equal deleted inserted replaced
5:85800cb04cc5 6:6016fd9e848f
     1 ; Script generated by the HM NIS Edit Script Wizard.
     1 ; Script generated by the HM NIS Edit Script Wizard.
     2 
     2 
     3 ; HM NIS Edit Wizard helper defines
     3 ; HM NIS Edit Wizard helper defines
     4 !define PRODUCT_NAME "Enano CMS"
     4 !define PRODUCT_NAME "Enano CMS"
       
     5 !ifndef PRODUCT_VERSION
     5 !define PRODUCT_VERSION "1.1.6"
     6 !define PRODUCT_VERSION "1.1.6"
       
     7 !endif
     6 !define PRODUCT_PUBLISHER "Enano CMS Project"
     8 !define PRODUCT_PUBLISHER "Enano CMS Project"
     7 !define PRODUCT_WEB_SITE "http://enanocms.org"
     9 !define PRODUCT_WEB_SITE "http://enanocms.org"
     8 !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
    10 !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
     9 !define PRODUCT_UNINST_ROOT_KEY "HKLM"
    11 !define PRODUCT_UNINST_ROOT_KEY "HKLM"
    10 !define PRODUCT_SHORTNAME "enanocms"
    12 !define PRODUCT_SHORTNAME "enanocms"
   125 
   127 
   126 ; MUI end ------
   128 ; MUI end ------
   127 
   129 
   128 Name "${PRODUCT_NAME}"
   130 Name "${PRODUCT_NAME}"
   129 Caption "${PRODUCT_NAME} ${PRODUCT_VERSION} Bitnami installer"
   131 Caption "${PRODUCT_NAME} ${PRODUCT_VERSION} Bitnami installer"
   130 OutFile "enano-1.1.6-bitnami-setup.exe"
   132 OutFile "enano-${PRODUCT_VERSION}-bitnami-setup.exe"
   131 InstallDir "$PROGRAMFILES\Enano CMS"
   133 InstallDir "$PROGRAMFILES\Enano CMS"
   132 ShowInstDetails show
   134 ShowInstDetails show
   133 ShowUnInstDetails show
   135 ShowUnInstDetails show
   134 
   136 
   135 ; File lists
   137 ; File lists
   171   DatabaseCreateSuccess:
   173   DatabaseCreateSuccess:
   172 SectionEnd
   174 SectionEnd
   173 
   175 
   174 Section "Enano Core" SEC01
   176 Section "Enano Core" SEC01
   175   SectionIn RO
   177   SectionIn RO
       
   178   CreateDirectory "$INSTDIR\apps\${PRODUCT_SHORTNAME}"
   176   WriteUninstaller "$INSTDIR\apps\${PRODUCT_SHORTNAME}\uninstall.exe"
   179   WriteUninstaller "$INSTDIR\apps\${PRODUCT_SHORTNAME}\uninstall.exe"
   177   !insertmacro Core_Install
   180   !insertmacro Core_Install
   178 SectionEnd
   181 SectionEnd
   179 
   182 
   180 Section "Enable GMP in PHP" SecGMP
   183 Section "Enable GMP in PHP" SecGMP
   335   SetAutoClose true
   338   SetAutoClose true
   336 SectionEnd
   339 SectionEnd
   337 
   340 
   338 ; Version Information
   341 ; Version Information
   339 
   342 
   340 VIProductVersion "1.1.6.0"
   343 VIProductVersion "${PRODUCT_VERSION}.0"
   341 VIAddVersionKey /LANG=1033 "ProductName" "Enano CMS"
   344 VIAddVersionKey /LANG=1033 "ProductName" "Enano CMS"
   342 VIAddVersionKey /LANG=1033 "Setup Information" "Enano CMS installer module for Windows Apache stacks"
   345 VIAddVersionKey /LANG=1033 "Setup Information" "Enano CMS installer module for Windows Apache stacks"
   343 VIAddVersionKey /LANG=1033 "Comments" "This installer contains a beta build of Enano CMS, use with caution!"
   346 VIAddVersionKey /LANG=1033 "Comments" "This installer contains a beta build of Enano CMS, use with caution!"
   344 VIAddVersionKey /LANG=1033 "Publisher Name" "Neal Gompa (King InuYasha), Enano CMS Project"
   347 VIAddVersionKey /LANG=1033 "Publisher Name" "Neal Gompa (King InuYasha), Enano CMS Project"
   345 VIAddVersionKey /LANG=1033 "LegalCopyright" "©2009 Enano CMS Project"
   348 VIAddVersionKey /LANG=1033 "LegalCopyright" "©2009 Enano CMS Project"