We've inherited a website that has 2 versions of uComponents installed, versions 5.4.0 and 4.1.0. The site is running umbraco 4.7.2 so version 5 wont work with it and I want to uninstall it. But I don't want to break anything on the site.
Will uninstalling 5.4.0 effect the other version at all, is there any overlap where a data type or dll could be removed even though version 4.1.0 still uses it.
OK, it is possible to downgrade, you just need to be a little careful.
Firstly, DO NOT uninstall the package from within the back-office, as that will start to remove data-type and any content that used those data-types ... scary stuff!
Here's what I recommend:
Make a back-up of your /bin folder (specifically the uComponents.*.dlls) - just in case it all goes wrong
Delete all the uComponents.*.dlls EXCEPT for uComponents.Core.dll
The downside of this is that the back-office will look to appear to have multiple versions of uComponents installed, but really it will only have v4.1.0 installed. If you want to fix this, then you will have to manually edit the /App_Data/packages/installed/installedPackages.config XML file and remove the entry for "uComponents 5.4.0".
It looks like the previous developer removed all the v5 Dlls as the only one in the bin folder was uComponents.Core.dll. So I've just re-installed v4 and tidied the installedPackages.config file.
uninstalling when 2 versions installed
We've inherited a website that has 2 versions of uComponents installed, versions 5.4.0 and 4.1.0. The site is running umbraco 4.7.2 so version 5 wont work with it and I want to uninstall it. But I don't want to break anything on the site.
Will uninstalling 5.4.0 effect the other version at all, is there any overlap where a data type or dll could be removed even though version 4.1.0 still uses it.
Hi suzyb,
OK, it is possible to downgrade, you just need to be a little careful.
Firstly, DO NOT uninstall the package from within the back-office, as that will start to remove data-type and any content that used those data-types ... scary stuff!
Here's what I recommend:
uComponents.*.dll
s) - just in case it all goes wronguComponents.*.dll
s EXCEPT foruComponents.Core.dll
The downside of this is that the back-office will look to appear to have multiple versions of uComponents installed, but really it will only have v4.1.0 installed. If you want to fix this, then you will have to manually edit the
/App_Data/packages/installed/installedPackages.config
XML file and remove the entry for "uComponents 5.4.0".Let me know how you get on.
Good luck!
Cheers,
- Lee
Thanks Lee.
It looks like the previous developer removed all the v5 Dlls as the only one in the bin folder was
uComponents.Core.dll
. So I've just re-installed v4 and tidied theinstalledPackages.config
file.Ah cool, it sounds like the developer already reverted the version back to v4.1.0 - it was just the
installedPackages.config
that needed tidying.Cheers, Lee.
is working on a reply...