Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#5636 closed defect (wontfix)

Mac uninstaller

Reported by: massimo ceraolo Owned by: Martin Sjölund
Priority: blocker Milestone: 2.0.0
Component: Installation program Version:
Keywords: Cc: Adam Dershowitz

Description

On the Download Mac page of OpenModelca qe read:

Note that there is no uninstaller (see MacPorts guide for some hints on what is safe to remove).


I think that is beyond the capability of nearly all the users to read MacPorts guide and thus understand how to uninstall OM.
I also believe that rel. 2.0 of OM, which should "provide uncompromised performance for end users" cannot lack a real uninstaller.

Change History (9)

comment:1 by Adeel Asghar, 5 years ago

Owner: changed from Adeel Asghar to Martin Sjölund
Status: newassigned

comment:2 by Martin Sjölund, 5 years ago

This would need upstream support from macports to provide uninstallers for packages. But they don't support it because Apple/MacOS does not have uninstallers (mostly deleting small apps is supported).
If it's a deal breaker we need to stop providing installers instead (base macports support uninstalling packages).

in reply to:  2 comment:3 by massimo ceraolo, 5 years ago

Aha.
Sorry for asking this. I suspected the must be something I missed on this: I'm not a serious mac user, indeed.
However, I still don't like much the idea that the user that decides not to use OM anymore will have a few GB lost forever (I'm exaggerating) on his HD. For a 256 GB SSD this has an impact.

Maybe there is not a feasible solution to this issue, though. Better an installer without any uninstaller than no installer.

comment:4 by Martin Sjölund, 5 years ago

Well, you remove /opt/openmodelica and look into /Applications/MacPorts/ and remove the apps you no longer need. And then there should be nothing remaining as far as I know.

in reply to:  4 comment:5 by massimo ceraolo, 5 years ago

Replying to sjoelund.se:

Well, you remove /opt/openmodelica and look into /Applications/MacPorts/ and remove the apps you no longer need. And then there should be nothing remaining as far as I know.

This is, for me, much better than just "(see MacPorts guide for some hints on what is safe to remove)".

In case of both of my Macs I see that /opt/openmodelica is 5.3 GB, and therefore takes the lion's share of HD space: Just removing that folder (with all of its content) frees by far the largest part of the space occupied by OM installation.
Inside Applications/MacPorts, files obviously OM related are OMNotebook.app, OMEdit.app, OMShell.app.
Then in my two Macs I have just small folders (Python 2.7 Phython 3.6 and qt4) which were created by OM: In one case I'm really sure of this, because I installed OM two days ago and dates and times coincide.
If I understand well, however, it may happen, when some time passes since the original OM installation, that some of these MacPorts folders could be reused by other applications, and therefore deleting them is potentially dangerous. These small folders occupy a very small space: globally less than 6 MB

So my bottom line is that it would be wise in the documentation to substitute:
"Note that there is no uninstaller (see MacPorts guide for some hints on what is safe to remove)"
with
"Note that there is no uninstaller; if the user does not want to use OM anymore and wants to free space deleting by far the largest part of OM-related files, he can just completely remove /opt/openmodelica, and remove OMEdit.app, OMNotebook.app, OMShell.app, from /Applications/MacPorts/ "

I excluded from the sentence the above-mentioned MacPort folders to avoid dangers. This has no significant drawback since they are very small.

Last edited 5 years ago by massimo ceraolo (previous) (diff)

comment:6 by Francesco Casella, 5 years ago

May I (strongly) suggest that we add this info to the Mac installation page?

comment:7 by massimo ceraolo, 4 years ago

Resolution: wontfix
Status: assignedclosed

Since native mac support has been dropped, this ticket is now obsolete.

comment:8 by Francesco Casella, 4 years ago

We're still discussing that with @dersh, I'd wait a bit more.

comment:9 by Adam Dershowitz, 4 years ago

Cc: Adam Dershowitz added
Note: See TracTickets for help on using tickets.