![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: set addins using dxl Topic Summary: Created On: 19-Mar-2008 11:32 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Both Addins and ProjectAddins are Registry settings. HKEY_LOCAL_MACHINE -> SOFTWARE -> Telelogic -> DOORS -> 8.1 -> Config You can use string setRegistry(string keyName, string valueName, {string|int} value) i.e string keyName = "HKEY_LOCAL_MACHINE \\SOFTWARE\\Telelogic\\DOORS\\8.1\\Config" string valueName = "Addins" string value = " your location of the addins directory as C:\\..." see dxl manual/help for usage note that the addins can be multiple use a ";" to separate the lists in the value string. You will need to do some serious error checking and I also suggest reading back the values using getRegistry to check that the operation was successful. I have only changed the registry manually so good luck ! ------------- Gordon Woods BAE Systems (Operations) Ltd gordon.woods@incose.org | |
![]() |
|
Hi,
does anybody know if it is possible to set the environment variable 'addins' with dxl? thanks Karl |
|
![]() |
|
![]() |
|
Both Addins and ProjectAddins are Registry settings.
HKEY_LOCAL_MACHINE -> SOFTWARE -> Telelogic -> DOORS -> 8.1 -> Config You can use string setRegistry(string keyName, string valueName, {string|int} value) i.e string keyName = "HKEY_LOCAL_MACHINE \\SOFTWARE\\Telelogic\\DOORS\\8.1\\Config" string valueName = "Addins" string value = " your location of the addins directory as C:\\..." see dxl manual/help for usage note that the addins can be multiple use a ";" to separate the lists in the value string. You will need to do some serious error checking and I also suggest reading back the values using getRegistry to check that the operation was successful. I have only changed the registry manually so good luck ! ------------- Gordon Woods BAE Systems (Operations) Ltd gordon.woods@incose.org |
|
![]() |
|
![]() |
|
Thanks Gordon.
Works great. only, why did I not find this in the manual myself .. |
|
![]() |
|
![]() |
|
I had a slightely different approach, setting environment variables 'addins', which sets the corresponding value in the registry's HKEY_CURRENT_USER area (for the current user only), rather than the HKEY_LOCAL_MACHINE area (for all users of the client). That's now about manditory since modern evil IT departments are removing rights to modify the later area.
setting 'addins' and 'project' should change it for the next instance of DOORS. 'DOORSADDINS' and "DOORSPROJECTADDINS' sets it for the current instance. The next time you open a module you'll see it, but changing DOORSPROJECTADDINS won't have an actual effect on the current DOORS. Note that DOORSADDINS and DOORSPROJECTADDINS must be in upper case. Notice the attached script works for all versions of DOORS since it doesn't know about the 'v8.1' area in the registry. If you change versions you'll need to re-run the script. - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
set addins using dxl
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.