Closed Thread
Results 1 to 4 of 4

Thread: file structure mangement

  1. #1
    techtoast is offline Newbie
    Join Date
    Aug 2009
    Posts
    2
    Rep Power
    0

    Lightbulb file structure mangement

    I am currently maintaining course material for a client placed in basic windows folders and organized logically in a tree structure (class, part 1/2, ppt's/doc's etc.) and have run into some problems. I deployed the program using NSIS (Nullsoft Scripted Install System), and everything seemed to work fine. But i've been getting reports the some files are missing or running differently on each peers' computer, or are corrupted. Another problem that i am having, is that there is so much content (about 2GB) that it takes a very long time to compile, and to install.

    On to the solution. I'm thinking I could build a python script for both the development side, and the client side. On the development side, the script would compare the bugged version to the fixed version, then construct and compile a patch (the client side script), that would delete, move, and replace the necessary files respectively. How might I go about doing this? Should i be using a different language? Am I going about this the right way?

    All your help is greatly appreciated.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: file structure mangement

    I would start with figuring out two things:
    1) what files are getting misplaced
    2) why are they getting misplaced

    Fixing your NSIS script would be my first issue. Then you could add an option to "repair" that would run via NSIS as well.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    techtoast is offline Newbie
    Join Date
    Aug 2009
    Posts
    2
    Rep Power
    0

    Re: file structure mangement

    I checked and rechcked my NSIS script and that dosen't seam to be the problem. Somewhere in translation a handfull of files got corrupted, damaged, or lost. I still think that a patch builder would work better for frequent updates and changes.

    I like the idea of being able to fix, update, or change a live file system rather than digging through directory listings, then make the patch, knowing that everything is where it should be.

  5. #4
    spihulcre is offline Newbie
    Join Date
    Oct 2009
    Posts
    1
    Rep Power
    0

    Re: file structure mangement

    Thanks for your sharing. Thanks for sharing this useful information. It's great.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 12-26-2011, 01:05 PM
  2. Help with file structure
    By Chuchoman in forum General Programming
    Replies: 13
    Last Post: 09-17-2011, 09:02 AM
  3. .dic file structure
    By ivancp in forum C and C++
    Replies: 1
    Last Post: 07-28-2010, 07:51 PM
  4. Document Rights Mangement
    By engr in forum ASP, ASP.NET and Coldfusion
    Replies: 17
    Last Post: 08-06-2009, 02:59 AM
  5. The file structure
    By turbocharged123 in forum Linux/Unix General
    Replies: 7
    Last Post: 06-23-2009, 12:49 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts