Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Best way to uninstall modules?Best way to uninstall modules?
Previous
 
Next
New Post
7/17/2006 2:50 PM
 
It appears that not all module developers have a clean uninstall process, or maybe I'm missing something? I think the proper way to "uninstall" a module is to delete the module definition.

For example, I went through and deleted all the module definitions for PortalStore by ByDesignWebsights. But I noticed that all the database tables and DLL's in the bin were not deleted.

Jason Honingford - Web & Software Developer
www.PortVista.com
 
New Post
7/17/2006 4:01 PM
 
dll's are handled by DNN's uninstall process - of course there may be issues with the uninstall of over time the dll's change since the uninstall wouldn't know about them.  We don't delete the tables and data simply because of taxation and legal compliance when it comes to online sales and also - we've seen too many users, go "what - aren't I supposed to delete and the install the upgrade?".
 
New Post
7/17/2006 4:16 PM
 
So, you are arguing that as a developer, you would not write the script to completely remove your modules until DNN fixes the user interface to properly uninstall modules?

For example, prompt the user: All data will be lost, are you sure you wish to uninstall? I've not seen any warning messages like this, so unfortunately I'd have to agree with you.

I'll just not be so quick to install and "try out" modules...

Jason Honingford - Web & Software Developer
www.PortVista.com
 
New Post
7/17/2006 4:26 PM
 

Actually on my to-do list is to include a manual uninstall script for all our modules.  however, it won't be part and parcel of the automated uninstall for the above reasons.  We've just seen it happen too many times that a user thinks they should uninstall prior to upgrading.  Keep in mind that we still have customers on DNN 2.x before anyone says well the last version of DNN...etc,etc.. so we have to take those people into account with any change to the build procedures.

Recovering from a "uninstalled" module is tough enough, but at least the user does not lose data, but it usually requires us to get in there and make sure things are okay.  From the end customer point of view (being the site's customers) at least they still see their orders at the end of the day.

The way I look at it, there's nothing worse than having to say to a client "you're restoring from backup, buddy..."

Each developer though has their own mentality on this, and some of our modules need to be cleaned up in this regard, but the larger ones where the accidents could be disasterous, it doesn't make any prudent sense to auto-uninstall.  ie: sitetrack, emailmanager, portalstore and support desk.

As far as the prompts, how many times has a human been distracted in hit Yes instead of No on a delete? :P  me personally?  undelete is my friend at times :)

Cheers,

Richard

 
New Post
7/17/2006 4:30 PM
 
email us directly and we can generate a script here for you by the way.
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Best way to uninstall modules?Best way to uninstall modules?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out