Author Topic: Where to save local resources?  (Read 1933 times)

0 Members and 1 Guest are viewing this topic.

Viktor

  • Guest
Where to save local resources?
« on: February 01, 2010, 01:56:34 PM »
I've asked this on the adn site, but didn't get a very clear answer. In our situation, we have many computers internal (on our network) and many external (outside of network) that utilize our tools. For years now, we've been using lisp on startup of autocad to copy all resources into c:\windows\temp folder.

Later I found out that it's not a good idea to use that folder, and I should be using roamablerootprefix and have another folder there. Ok, so I changed it all to use that folder. Now I'm finding out that all .net dll's should be inside of AutoCad xxxx of program files folder, well, that's not going to happen for many of them. So I reverted back to c:\windows\temp\myownfolder. Now with windows 7, that folder requires higher permission levels, which is another roadblock.

So where do I keep all the resources? So far I have the following resources:

dwt files
xml files
xls files
dll files
txt files

entire folder is only about 2mb.

Thanks,
Viktor.

MickD

  • King Gator
  • Posts: 3619
  • (x-in)->[process]->(y-out) ... simples!
Re: Where to save local resources?
« Reply #1 on: February 01, 2010, 04:05:50 PM »
I just keep my tools in there own folder on C:\ drive - eg. C:\MyApp\....etc.
This way I can always find my resources as they are relative to the loaded assembly/s
"Short cuts make long delays,' argued Pippin.”
J.R.R. Tolkien

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8661
  • AKA Daniel
Re: Where to save local resources?
« Reply #2 on: February 01, 2010, 05:20:52 PM »
I would probably use something like
C:\Program Files\Common Files\Yourfolder shared

Viktor

  • Guest
Re: Where to save local resources?
« Reply #3 on: February 01, 2010, 08:30:08 PM »
Thanks for the reply guys. Gives me something to think about.

Glenn R

  • Guest
Re: Where to save local resources?
« Reply #4 on: February 04, 2010, 04:19:43 PM »
%ProgramFiles%\CompanyName\AppName would be a good start for installation...if you're talking about program data files, that's another story.

Draftek

  • Guest
Re: Where to save local resources?
« Reply #5 on: February 05, 2010, 08:00:50 AM »
I deploy and support several hundred in-house and out of house customers with various applications - autocad related and other.

I use a combination of Daniel's and Glenn's suggestion.

Been working since 2000.
Take some time and develop a plan and test test test....