custom action - Wix -- Backup the folder while installation -


i want backup folder before new files overwritten using wix control.

example: installation folder "ifolder", upgraded product latest changes , created setup files. have install latest set in same "ifolder". case want take backup of "ifolder" before new files overwritten same folder @ time of installation.

please add points in case.

you can try use open source systemtools wix extension here: http://msiext.codeplex.com.

an example, demo:

<!-- copy files subdirectory, delete them on uninstall --> <appsecinc:copyfiles id="copyall" copyoninstall="yes" recurse="yes" source="[installlocation]" overwrite="yes" target="[installlocation]\copyofallfiles" wildcard="*.*" /> <appsecinc:deletefiles id="deleteall" deleteonuninstall="yes" recurse="yes" path="[installlocation]\copyofallfiles" wildcard="*.*" deleteemptydirectories="yes" /> 

Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -