Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Helmut Ortmann

Pages: [1] 2 3 ... 59
1
Hi Guillaume,

looks good! I tested the portable release with a test user who has no admin rights.

Making the registration via code has its charm. There is no fiddling with the right version or using Heat and copy and past.

Could you publish the code? Yes, it's not complicated but using code is easy and reliable.

I'm not sure which approach I use in future. Putting the dll registration in WIX or integrating your peace of code.

With the single Package Authoring approach, there is only one *.msi file and the user choose whether to install per-user or per-machine.

Thanks and best regards,

Helmut


2
Hi,

I've tried a bit to find an easy solution to install without local administration right. I use WIX 3.11.

The easiest one is quite simple. Microsoft installer handles all the stuff with the folders, putting the registry keys to the right location. The major things are:
- Add to <Package>
--  InstallScope='perUser'
--  InstallPrivileges='limited'
- Add SetProperty:
  <SetProperty Id="ProgramFilesFolder" Value="[LocalAppDataFolder]" Before="CostFinalize"><![CDATA[NOT Privileged]]></SetProperty>
- Don't use advanced WIX UI (User Interface)
- Register to EA: RegistryKey Root="HKCU" Key="Software\Sparx Systems\EAAddins\hoReverse">
- Register dll: <RegistryValue Root="HKCR" Key="CLSID\...
  (Standard for WIX tool Heat)

I think about making this easy approach to always install for a user to my standard method. Easy to develop and to use! You can see an example in hoTools, branch Development, AaddinSimpleNoAdminSetup.

It's possible to make an *.msi file with WIX for per user or per-machine install. It took me a while to figure it out and to get it running. During install you have to go to advanced (not click install) to make a proper per-user install without asking for admin. See the references.

It's complicated, and you have to install in Advanced Mode to get it properly working without asking for admin rights. The main things are:
- Register to EA: RegistryKey Root="HKMU" Key="Software\Sparx Systems\EAAddins\hoReverse">
- Register dll: <RegistryValue Root="HKCR" Key="CLSID\...
  (Standard for WIX tool Heat)
The Installer keeps care of the correct location in the registry (user/machine).

You can see it at GITHUB in my hoReverse, Branch Development.

I would also like to hear about your experiences.

Summary:
- Install per user without admin rights is quite simple with WIX
- Install with GUI for per user and per machine may cause you long nights. But it works with one drawback I know about.

Best regards,

Helmut

-  Basics: Single Package Authoring
   https://msdn.microsoft.com/en-gb/library/dd408068.aspx?f=255&MSPPError=-2147217396
-  Proper UAC Control (for per machine / per user) in WiX
   http://uvinw.com/per-machine-and-per-user-without-UAC-in-WiX/

3
Uml Process / Re: Action pins and instances of artifacts
« on: November 21, 2017, 07:22:31 pm »
Hi Uffe,

I don't know why UML or EA says that an instance of an artifact can't be part of an object flow.

If you model e.g processes or work flows it's important. The SPEM profile is an example.

Best regards,

Helmut

4
General Board / Re: attribute range and unit; best practice?
« on: November 21, 2017, 05:43:49 pm »
Hi Paul,

I usually make a profile and define some types with tagged values. These tagged values I can easily visualize on the diagram but it's also possible to use them by Search, Script or Generator. It's easy to assign the type to an Attribute. Then the Attribute has e.g. Unit, range or whatever is important to you.

Usually I call them domain type like 'OutsideTemperature', 'Budget' or 'Money'. I define the tagged values and then I can ensure that every usage has to comply with this definition. Often I use prefixes to label my domain types as 'DomainTypes'.

Best regards,

Helmut

5
Hello,

if I haven't done something stupid it's enough to change WIX install:
- Add to <Package>
--  InstallScope='perUser'
--  InstallPrivileges='limited'
- Make sure install into accessible folder like '..user\appdata\local\apps\'

If you use WIX UI to decide whether to install per user or per machine it should work in the per-user case without admin rights.

WIX seems to handle registry keys on its own.

I tested it with a Windows10 standard user.

Kind regards,

Helmut


6
Hi Guillaume,

regarding ICE57:

Maybe this helps: https://stackoverflow.com/questions/12422601/how-to-fix-ice57-per-user-installation

Could you please publish your working WIX install files for non admin installation?

I think there is a lot of interests.

Thanks a lot,

Helmut

7
General Board / Re: Can you use multiple values in <Search Term>
« on: November 20, 2017, 09:19:09 pm »
Hi Paolo,

I've only tested it with *.eap files created by EA. I think this is A97.

Helmut

8
General Board / Re: Can you use multiple values in <Search Term>
« on: November 17, 2017, 10:55:35 pm »
Hi,

I only tested it with *.eap files. That's one of the issues with SQL.

What I see is:
- Make an Add-In Search
- Make a Script

Kind regards,

Helmut

9
General Board / Re: Can you use multiple values in <Search Term>
« on: November 16, 2017, 10:39:08 pm »
Hi Paolo,

try:
select * from t_object where name in (<Search Term>)

with Search Term:
"rte","bsw"

Kind regards,

Helmut

10
General Board / Re: Representation of links
« on: November 07, 2017, 11:18:02 pm »
Hi,

have a look in the EA Example model. They intensively use navigation diagrams and I also like to use them.

You find it in Help, Open Example Model.

There is a wide range of possibilities and you usually need some time to get customized. Just to name a few:
- Hyperlink (Simple Link, not reusable)
- Diagram Reference (Link but reusable)
- Diagram Frame (the target diagram in a frame)
- Package with content or without

There are also other powerful feature to visualize your model information like:
- Matrix (Relationship Matrix)
- Table (Model View)
- Charts / Dashboard

You can see them in the EA Example model, SPARX Resource page with descriptions and webinars.

Kind regards,

Helmut

11
General Board / Re: menu maps for 13.5 ribbon detail
« on: October 26, 2017, 04:33:29 am »
Hi,

maybe this could help:

http://sparxsystems.com/resources/user-guides/basics/ribbons.pdf

Kind regards,

Helmut

12
Hi,

I know an issue in SysML with Ports. The Ports of the Parts/Instances are not synchronized with the Block the Parts/Instances are derived from.

The free hoTools has a function to synchronize these information. See https://github.com/Helmut-Ortmann/EnterpriseArchitect_hoTools/wiki/PortSynchronization.

Kind regards,

Helmut

13
General Board / Re: Model Views User list
« on: October 25, 2017, 04:54:01 pm »
Hi,

I'm working with 1351 and have the same behavior. I'm pretty sure is has worked in the past. You can select the Search with ... but it doesn't work. Also importing *.xml with the correct GUID doesn't work for me.

Think about making a bug report.

Helmut

14
General Board / Re: Plugin of Script?
« on: October 25, 2017, 03:15:30 pm »
Hi,

If you want to change something about notation/appearance in diagrams (Diagram, Elements, Connectors), check the free hoTools https://github.com/Helmut-Ortmann/EnterpriseArchitect_hoTools/wiki/DiagramGeneralStyles. It allows you to modify arbitrary appearance information. If something is missing and it's easy to implement, drop me a note, and I think about adding this feature to hoTools - free of charge.

You can define your appearance by jason templates and apply it to selected Diagrams, Elements, Packages and even the whole model. In effect after definition your types you can use them with just one click.

I developed it because applying styles bothered me and I want to find an easy to use solution. The less clicks, the better!

Kind regards,

Helmut

15
Hi,

To use a custom window you have to develop a DLL for each Custom Window according to the Microsoft COM model. Then you have to make sure that this DLL is correctly registered for COM. If this is done correctly adding it within your AddIn to EA is a simple call. I have seen this call in your code.

I usually start with a running solution and adapt it to my needs. This approach works for me.

The first time I used Geert Bellekens Add-Ins to get familiar. Over time I developed my own little Add-In which I usually use to start a new project. You can find it together with a lot of documented experiences at https://github.com/Helmut-Ortmann/EnterpriseArchitect_hoTools/wiki/AddIn. It's part of the free tool hoTools. To see adding Custom Windows, you have to look into hoTools or similar AddIns.

Of course, there are a lot of other useful AddIns to start with. Geert is always an excellent address to search for.

To summarize:
The rules for a Custom Window are the same as for the primary Addin. You have to develop a dll and register it as COM object. The difference is:
- The Custom Window contains a GUI (FORM or WPF)
- You make a Call to register the registered DLL to EA from your basic AddIn.

I admit I've invested a lot of time for my first running AddIn with a Custom Window. Most issues are around correctly registering it as a COM object. Make sure that there are no Exceptions in Constructors (not easy to find).

Kind regards,

Helmut


Pages: [1] 2 3 ... 59