Book a Demo

Author Topic: path needed by using Sharpdevelop Software  (Read 4923 times)

Michael co

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
path needed by using Sharpdevelop Software
« on: June 12, 2014, 12:28:32 am »
I am using Sharpdevelop as a setup tools ,
but my question that I need to install  EA-dll that I developed to my files inside an specific path : for example : I would like to install it in : C:\Program Files (x86)\Sparx Systems\EA\MyDLL It is mandatory to install in this path,

I did some configurations in Files.wxs like :
<DirectoryRef Id="TARGETDIR">
    <Directory Id="ProgramFilesFolder" Name="PFiles">
        <Directory Id="INSTALLDIR" Name="xchangeTools">
                  ....
                  ....
                  ....

               </Directory>
           </Directory>
        </DirectoryRef>

I used some script also like
<UIRef Id="WixUI_InstallDir" />
    <Property Id="WIXUI_INSTALLDIR">INSTALLDIR</Property>

but i could not install my dll- inside the mentioned directory
which is C:\Program Files (x86)\Sparx Systems\EA\MyDLL

Thanks

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: path needed by using Sharpdevelop Software
« Reply #1 on: June 12, 2014, 09:39:31 am »
It's not required (or recommended) to install an add-in dll into the EA install directory. To have EA pick it up you need to register with COM and add a key in one of the following locations in the registry: HKEY_CURRENT_USER\Software\Sparx Systems\EAAddins
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Sparx Systems\EAAddins (on a 64 bit machine)
HKEY_LOCAL_MACHINE\Software\Sparx Systems\EAAddins (on a 32 bit machine)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: path needed by using Sharpdevelop Software
« Reply #2 on: June 12, 2014, 03:38:49 pm »
I've written this little tutorial that should help you with that:
Tutorial: Deploy your Enterprise Architect C# add-in with an MSI package
I also use Sharpdevelop and wix. (and I never install my add-ins into the EA installation directory.)
Some examples:
MyAddin_Setup
EANavigator_Setup

Geert

Michael co

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
Re: path needed by using Sharpdevelop Software
« Reply #3 on: June 17, 2014, 10:58:34 pm »
It is OK,
Then I will install it on another directory

Thanks a lot.