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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...PA Install/Uninstall Best Practices and .DNN ConfigPA Install/Uninstall Best Practices and .DNN Config
Previous
 
Next
New Post
8/20/2006 2:13 PM
 
Hello All,

I am trying to find out which is the preferred way of logically and physically packaging and deploying my controls within a module definition.

My current UserProfile module has 6 .ascx files (controls in it). Currently when I package it, I have them all under one folder in the .DNN file. This means there is one entry in the Module List and one module to select from. When I add it to a page I get all 6 controls and I have to tell user's how to move them etc (confusing to some).

I noticed other complex modules break up their modules into multiple folders by partiitioning their .DNN files. This means you get multiple entries in the drop down list so it's easier to install and manage the module. BUT I also noticed that they are treated atomically, so if you uninstall one then it does not affect the others, and the directory it was in still remains.

I am trying to work out what the core PA uninstaller expects, because it looks to me like partitioning your module in this manner means it won't completely uninstall (ie. it leaves folders). This means it would not pass the DNN Module Certification program. Is the module configuration wrong? Is the DNN PA Core installer limited? What should I do today when I package my modules? I know this area is being refined, but I don't want to make the wrong choice now.

PS. I raised this on Scott McCulloch's site as I noticed his (brilliant) News Article module uses the split approach, and it also does not uninstall completely. You can read it here.

Opinions please...


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
8/20/2006 2:45 PM
 
Just to clarify, when they are all under one <FOLDER> element (ie. no logical partitioning) as I currently use it, the folder is deleted on uninstal, and the .dlls are removed from the .bin.

Also, it would be good to get some guidance on what each of these do (under a typical Folder node):
    <folder>
      <name>Smart-Thinker - UserProfile - Birthdays</name>
      <friendlyname>Smart-Thinker - UserProfile - Birthdays</friendlyname>
      <foldername>Smart-Thinker - UserProfile</foldername>
      <modulename>Smart-Thinker - UserProfile - Birthdays</modulename>


I am trying to logically separate the Birthdays, but keep it in the same physical folder. This installs correctly (all to the Smart-Thinker - UserProfile folder), but then it falls over when you add it because the control module defintion is looking in Smart-Thinker - UserProfile - Birthdays. What is "name"?

Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
8/20/2006 4:24 PM
 
So it seems that you can install the modules to different physical locations by using this:

<folder>
    <name>Smart-Thinker - UserProfile - Birthdays</name>
    <friendlyname>Smart-Thinker - UserProfile - Birthdays</friendlyname>
    <foldername>Smart-Thinker - UserProfile - Birthdays</foldername>
    <modulename>Smart-Thinker - UserProfile - Birthdays</modulename>
 
But I think it's better to install them to a single folder (physical location) with multiple logical "modules" within a module by doing this:
 
<folder>
    <name>Smart-Thinker - UserProfile</name>
    <friendlyname>Smart-Thinker - UserProfile - Directory</friendlyname>
    <foldername>Smart-Thinker - UserProfile</foldername>
    <modulename>Smart-Thinker - UserProfile - Directory</modulename>

* Note the Name and FolderName are the same in the bottom scenario.

In my case, it is better to use the same physical folder as some users will be upgrading and their systems will be using the old Module Defintions which expect these files in that folder.


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
8/24/2006 2:25 PM
 
*bump*

Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...PA Install/Uninstall Best Practices and .DNN ConfigPA Install/Uninstall Best Practices and .DNN Config


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