Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Addins Folder on Network Drive
Topic Summary:
Created On: 13-Jun-2007 15:25
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 13-Jun-2007 15:25
User is offline View Users Profile Print this message


Craig Forant

Posts: 56
Joined: 21-Feb-2005

Has anyone had any trouble when pointing the addins folder to a network drive??? It seems harmless enough, but just wondering if anyone has run into anything unusual.

Thanks.

-------------------------
Craig Forant
me@craigforant.com
Report this to a Moderator Report this to a Moderator
 13-Jun-2007 17:09
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Yes you can point addins to a network drive. Looks like this:

"addins" ="\\\\MyServer\\DXL-v8\\Module;\\\\MyServer\\DXL-v8\\Project"

Now it gets sticky of the DXl has Include references to a network. I've got a 'Includes' folder under the above 'module' folder and the DXL does relative includes: #include <Includes\Lib-Basic.inc>

It gets rediculously sticky if you have Layout or AttrDXL containing such references. This generally fails since everyone using the module needs access to that network folder, which generally isn't the case.

- Louie
Report this to a Moderator Report this to a Moderator
 14-Jun-2007 13:55
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

I don't have the addins folder pointing to a network drive. I just write all my tools in .inc files, encrypt them, then make a DXL file that points to the encrypted code file out on the network.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 15-Jun-2007 09:50
User is offline View Users Profile Print this message


Andrew Tagg

Posts: 151
Joined: 26-Oct-2004

Yep, had this running without incident for about 3 years. The main tedious thing is that you need to update the registry on each client install machine so that 'addins' points to the server as Louie specifies above. Depending on your IT department, this can be done remotely, else make a coffee and spend the morning walking round to manually install. Very well worth it though. And if you are going this far, might as well use some sort of source controll (CVS or whatever is your favourite) and ensure your DXL code is under control too :-). Anyone else got tips for this aspect?

-------------------------
Andrew Tagg
Thales Air Systems, Melbourne
Australia.
andrew.tagg@thalesatm.com
Report this to a Moderator Report this to a Moderator
 15-Jun-2007 13:52
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Well for source control, I'm the only one writing the scripts here. But thats why I encrypt my tools. That way someone can't take the code, make some modification to it I don't know about, and then complain to me when they screw something up.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 15-Jun-2007 16:41
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

I've got a Registry update file installed with the addins that points to that specific addins directory. Save the attached 'code' to a file perhaps named 'DXL-Addins-v81_LocalMachine_MyServer.reg'. When a user double clicks on the file it updates the registry and points all users on that client to the addins on the network.

Notes:
[1] Double clicking RUNS the *.reg file. To edit or view it, right click on the file and select 'Edit' in the pull down.
[2] The original for this file can be created by navigating to the doors config area in the registry, and then exporting.
[3] After exporting and removing the other values (like 'data'), change the first line to 'REGEDIT4'. This refers to Registry editor back in 1999. That change is needed in case you export from perhaps registry version 8 and try to import it into an older version perhaps 7; that version 7 of the registry won't recognize the banner inserted by 8. With this change, all version of the Registry editor will recognize the file as a valid registry update file.
[4] Notice evil big brother has inserted the open modes commands.
[5] Notice this file erases the local user's values of these addins (last 6 lines of the file). I don't know how to delete a registry entry with a file like this, but setting the values to null has the same effect.
[6] You need a sibling file like this one, except the last 6 lines are removed and the 'HKEY_Local_Machine' in line 6 is replaced with 'HKEY_Current_User'. Change 'LocalMachine' to 'CurrentUser' in the name of this file. This file is needed for folks who lack Admin rights to their client, and it will update the registry on their client for that one person but not for anybody else.

- Louie
Report this to a Moderator Report this to a Moderator
 15-Jun-2007 19:36
User is offline View Users Profile Print this message


Iftakher Uddin

Posts: 56
Joined: 16-Sep-2004

The .reg file will overwrite the exisiting entry if that contains any value! So, if someother addins already assigned through registry entry will be lost!

Greetings,

Rony Iftakher Uddin
Report this to a Moderator Report this to a Moderator
 16-Jun-2007 16:34
User is offline View Users Profile Print this message


Andrew Tagg

Posts: 151
Joined: 26-Oct-2004

I didn't know about the Current User thing Louie, thanks for that. At my company all the users lack admin rights on their own machines, guess that's standard for large compaies these days. Usually I have to log an IT request to configure my users regisrty, but that might be the key I need to get them working this morning rather than next week. Thanks

-------------------------
Andrew Tagg
Thales Air Systems, Melbourne
Australia.
andrew.tagg@thalesatm.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 2 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.