IS2013, Installscript project dragged forward kicking and screaming from IS6
We have a Help component/feature that uses dynamic file links. When the Help is regenerated and files are no longer needed, updating older versions of the app leave the obsolete files behind. Is there a way to tell the component or feature to remove any files not included in the current dynamic list?
I've tried setting up an Installscript function to remove the folders and hooking that in the OnInstalling event, but get run-time 'file does not exist' errors for what appear to be temporary files used in the unpacking.
Do I really have to iterate over the folders & files to do one-by-one deletes prior to the update install writing the new stuff to disk?
We have a Help component/feature that uses dynamic file links. When the Help is regenerated and files are no longer needed, updating older versions of the app leave the obsolete files behind. Is there a way to tell the component or feature to remove any files not included in the current dynamic list?
I've tried setting up an Installscript function to remove the folders and hooking that in the OnInstalling event, but get run-time 'file does not exist' errors for what appear to be temporary files used in the unpacking.
Do I really have to iterate over the folders & files to do one-by-one deletes prior to the update install writing the new stuff to disk?