TheSwamp
Code Red => .NET => Topic started by: Viktor 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.
-
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
-
I would probably use something like
C:\Program Files\Common Files\Yourfolder shared
-
Thanks for the reply guys. Gives me something to think about.
-
%ProgramFiles%\CompanyName\AppName would be a good start for installation...if you're talking about program data files, that's another story.
-
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....