enano-bundle.nsi
changeset 9 100ba25b6dba
parent 8 af10a4dbafb4
child 11 b62383876fdb
equal deleted inserted replaced
8:af10a4dbafb4 9:100ba25b6dba
   339   DetailPrint "Uninstalling database"
   339   DetailPrint "Uninstalling database"
   340   nsExec::ExecToLog '"$stack_instdir\php\php.exe" "$INSTDIR\scripts\selfdestruct.php"'
   340   nsExec::ExecToLog '"$stack_instdir\php\php.exe" "$INSTDIR\scripts\selfdestruct.php"'
   341   
   341   
   342   DetailPrint "Deleting files..."
   342   DetailPrint "Deleting files..."
   343   SetDetailsPrint listonly
   343   SetDetailsPrint listonly
       
   344   
       
   345 ; Remove shortcut stored in $INSTDIR
       
   346   Delete "$INSTDIR\${PRODUCT_NAME}.url"
       
   347   
   344   !insertmacro Core_Uninstall
   348   !insertmacro Core_Uninstall
   345   SetDetailsPrint both
   349   SetDetailsPrint both
       
   350 
       
   351   ; Remove shortcuts in Start Menu
       
   352   Delete "$SMPROGRAMS\Enano CMS\Website.lnk" 
       
   353   Delete "$SMPROGRAMS\Enano CMS\Uninstall.lnk"
       
   354   RMDir "$SMPROGRAMS\Enano CMS"
   346 
   355 
   347   DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
   356   DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
   348   SetAutoClose true
   357   SetAutoClose true
   349 SectionEnd
   358 SectionEnd
   350 
   359