I am creating a package to be used to update a user control file and it's related DLL. Is there a way I can make my package backup the existing files or rename them before copying the new versions to the server?
I saw the option for custom install code but was not sure when that fires. It appears it fires after the files in the package are copied, which would be too late.
How to have package backup files before replacing
I am creating a package to be used to update a user control file and it's related DLL. Is there a way I can make my package backup the existing files or rename them before copying the new versions to the server?
You can put custom installation code in a .ascx file and then add that to the package.
You could potentially use the 'Move File' package action to solve this too http://our.umbraco.org/wiki/reference/packaging/package-actions/community-made-package-actions/move-a-file
I saw the option for custom install code but was not sure when that fires. It appears it fires after the files in the package are copied, which would be too late.
is working on a reply...