enano-bundle.nsi
changeset 7 37824b18ff73
parent 6 6016fd9e848f
child 8 af10a4dbafb4
equal deleted inserted replaced
6:6016fd9e848f 7:37824b18ff73
     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 !ifndef PRODUCT_VERSION
     6 !define PRODUCT_VERSION "1.1.6"
     6 !define PRODUCT_VERSION "1.1.6"
       
     7 !endif
       
     8 !ifndef PRODUCT_VERSION_APPEND
       
     9 !define PRODUCT_VERSION_APPEND ""
     7 !endif
    10 !endif
     8 !define PRODUCT_PUBLISHER "Enano CMS Project"
    11 !define PRODUCT_PUBLISHER "Enano CMS Project"
     9 !define PRODUCT_WEB_SITE "http://enanocms.org"
    12 !define PRODUCT_WEB_SITE "http://enanocms.org"
    10 !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
    13 !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
    11 !define PRODUCT_UNINST_ROOT_KEY "HKLM"
    14 !define PRODUCT_UNINST_ROOT_KEY "HKLM"
   126 ${Language} "English"
   129 ${Language} "English"
   127 
   130 
   128 ; MUI end ------
   131 ; MUI end ------
   129 
   132 
   130 Name "${PRODUCT_NAME}"
   133 Name "${PRODUCT_NAME}"
   131 Caption "${PRODUCT_NAME} ${PRODUCT_VERSION} Bitnami installer"
   134 Caption "${PRODUCT_NAME} ${PRODUCT_VERSION}${PRODUCT_VERSION_APPEND} Bitnami installer"
   132 OutFile "enano-${PRODUCT_VERSION}-bitnami-setup.exe"
   135 OutFile "enano-${PRODUCT_VERSION}${PRODUCT_VERSION_APPEND}-bitnami-setup.exe"
   133 InstallDir "$PROGRAMFILES\Enano CMS"
   136 InstallDir "$PROGRAMFILES\Enano CMS"
   134 ShowInstDetails show
   137 ShowInstDetails show
   135 ShowUnInstDetails show
   138 ShowUnInstDetails show
   136 
   139 
   137 ; File lists
   140 ; File lists
   246 SectionEnd
   249 SectionEnd
   247 
   250 
   248 Section -Post
   251 Section -Post
   249   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
   252   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
   250   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\apps\${PRODUCT_SHORTNAME}\uninstall.exe"
   253   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\apps\${PRODUCT_SHORTNAME}\uninstall.exe"
   251   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
   254   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}${PRODUCT_VERSION_APPEND}"
   252   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
   255   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
   253   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
   256   WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
   254 SectionEnd
   257 SectionEnd
   255 
   258 
   256 ; Section descriptions
   259 ; Section descriptions
   345 VIAddVersionKey /LANG=1033 "Setup Information" "Enano CMS installer module for Windows Apache stacks"
   348 VIAddVersionKey /LANG=1033 "Setup Information" "Enano CMS installer module for Windows Apache stacks"
   346 VIAddVersionKey /LANG=1033 "Comments" "This installer contains a beta build of Enano CMS, use with caution!"
   349 VIAddVersionKey /LANG=1033 "Comments" "This installer contains a beta build of Enano CMS, use with caution!"
   347 VIAddVersionKey /LANG=1033 "Publisher Name" "Neal Gompa (King InuYasha), Enano CMS Project"
   350 VIAddVersionKey /LANG=1033 "Publisher Name" "Neal Gompa (King InuYasha), Enano CMS Project"
   348 VIAddVersionKey /LANG=1033 "LegalCopyright" "©2009 Enano CMS Project"
   351 VIAddVersionKey /LANG=1033 "LegalCopyright" "©2009 Enano CMS Project"
   349 VIAddVersionKey /LANG=1033 "FileDescription" "Enano - The CMS that focuses on what matters most: content."
   352 VIAddVersionKey /LANG=1033 "FileDescription" "Enano - The CMS that focuses on what matters most: content."
   350 VIAddVersionKey /LANG=1033 "FileVersion" "${PRODUCT_VERSION}"
   353 VIAddVersionKey /LANG=1033 "FileVersion" "${PRODUCT_VERSION}${PRODUCT_VERSION_APPEND}"