Customizing the install process with multiple modules

Last post 02-16-2006 11:43 AM by Bill2clone. 9 replies.

Sort Posts:

  • Customizing the install process with multiple modules

    05-25-2005, 9:22 AM
    • Member
      350 point Member
    • emumanu
    • Member since 03-15-2005, 4:27 AM
    • Posts 72
    I'm adding a few modules to the Install\Module folder beacuse that way DNN installs them automatically saving me time, but the problem is that if the modules have dependencies (for example, FKs to tables in one module) , if DNN doesn't install the modules in a specific order, they won't work properly. Is there a way to specify the installation order for the modules?
  • Re: Customizing the install process with multiple modules

    05-25-2005, 7:34 PM
    • Star
      13,648 point Star
    • cathal
    • Member since 06-18-2002, 4:02 PM
    • Belfast, Northern Ireland
    • Posts 2,702
    • TrustedFriends-MVPs
    AFAIR theres not a way in the resourceinstaller itself. Looking at the components\resourceinstaller\ResourceInstaller.vb file, I see it's just grabing a list of files in the directory via Directory.GetFiles. As far as I remember, that returns an alphabetical list of files, so you could add a numeric order to your zip file name, as it's the DNN file that will specify the name within DNN e.g. two files called b.zip and a.zip must be installed in that order, so change their names to 1_b.zip and 2_a.zip. You can also package multiple module definitions within a single zip, and specify their order via the .dnn file.

    Cathal
  • Re: Customizing the install process with multiple modules

    05-26-2005, 4:00 AM
    • Member
      350 point Member
    • emumanu
    • Member since 03-15-2005, 4:27 AM
    • Posts 72
    Thanks Cathal!

    It's a bit hacky because in the documentation, Directory.GetFiles doesn't specify that it should return the files alphabetically, but it does work ;-)

    The only problem remaining at the moment is that multiple module definitions doesn't work if you export a template and then import a template. I hope you can fix this...

    Thanks again!
  • Re: Customizing the install process with multiple modules

    05-26-2005, 4:14 AM
    • Contributor
      4,760 point Contributor
    • DBuckner
    • Member since 01-23-2003, 11:10 PM
    • Illinois
    • Posts 952
     emumanu wrote:

    The only problem remaining at the moment is that multiple module definitions doesn't work if you export a template and then import a template. I hope you can fix this...


    I would also like to see this issue resolved. I have a module I don't know if I should release or not because of this. Its a free module too B.T.W.

  • Re: Customizing the install process with multiple modules

    05-26-2005, 6:39 PM
    • Star
      13,648 point Star
    • cathal
    • Member since 06-18-2002, 4:02 PM
    • Belfast, Northern Ireland
    • Posts 2,702
    • TrustedFriends-MVPs
    please log it at http://support.dotnetnuke.com/project/Project.aspx?PROJID=23 as an enhancement request. It won't make the next version, as it's locked and being tested currently, but may may a future version.

    Cathal
  • Re: Customizing the install process with multiple modules

    05-27-2005, 7:45 AM
    • Member
      350 point Member
    • emumanu
    • Member since 03-15-2005, 4:27 AM
    • Posts 72
    It was already logged
  • Re: Customizing the install process with multiple modules

    02-16-2006, 12:33 AM
    • Member
      259 point Member
    • MNF
    • Member since 07-25-2005, 12:15 AM
    • Posts 72

    The problem was logged almost a year ago. And patch was posted at the same time.

    However it is not included in the resent versions. People keep getting the same problems.

    Is any way to increase priority of the issue to have it fixed?

    MS feedback site has voting system. Does DNN team consider something similar?

  • Re: Customizing the install process with multiple modules

    02-16-2006, 3:13 AM

    Cathal,

    You say "as it's locked and being tested currently".
    Can you tell more or less when the next update is out?
    I'm about to launch a website, and as I encountered many issues with 4.0.2, I'd kill to see this new version.

  • Re: Customizing the install process with multiple modules

    02-16-2006, 3:33 AM
    • Contributor
      7,163 point Contributor
    • ErikVB
    • Member since 12-10-2004, 1:14 PM
    • Netherlands
    • Posts 1,433
    • TrustedFriends-MVPs

    Bill,

    cathal's remark was from may 2005... as memory serves me correct, early june we got dnn 3.0.13 ;)

    Erik van Ballegoij, The Netherlands
  • Re: Customizing the install process with multiple modules

    02-16-2006, 11:43 AM

    I told you I would kill.
    I'm gonna kill myself for the most stupid reply ever.
    Clicked on "My Posts" too quickly.

    I... need... DNN... 4.0.3
    ;o(

Page 1 of 1 (10 items)