﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4508	The windows nightly installer/uninstaller is too slow	Francesco Casella	Adeel Asghar	"The process of updating a nightly build under Windows is painfully slow. On my pc, uninstalling an existing version and installing a new one takes over 20 minutes, involves a lot of HD work, and it's getting worse over time. As long as you have a decent bandwidth, this is now the bottleneck.

Once installed, OMC comprises 156.000 files in 16.500 folders, for an overall size of 5.1 GB. Half of the files (about 78.000) are inside lib/omlibrary, of which 42.000 are found in the various version of the Buildings library alone. That explains the worsening of the performance, as more and more open-source libraries were added to the library suite. As it is well-known, adding or removing files in Windows is a time-consuming operation, regardless of the size of the files, so most of the installation time is spent deleting and then rewriting the zillion files of those libraries.

I understand we could have an automated update process that only downloads the required new files from some server, but setting this up requires too much development time and I agree this makes no sense, given our priorities. If you want this feature, switch to Linux and use apt-get :)

For Windows, I would suggest to just add one option to the installer, to slash the install/unistall process, namely ""Install all open-source Modelica libraries"", true by default. If this is disabled, only install the MSL, all versions, and skip the other ones. I guess this could be implemented very quickly and slash installation time by about one half, as half of the files would no longer need to be copied or deleted.

"	defect	closed	high	1.12.0	Installation program		fixed		
