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