For the folders you are copying, if you know beforehand what each folder is named and you don't need to worry about unexpected subfolders, you can use a CopyFile
per folder you want to copy. Place them directly under a Component
. If there's more variability in what needs to be copied, you can write an immediate custom action that adds temporary rows to the MoveFile
table based on the files/folders you discover you need to copy (and the sane to the Directory
table as needed).
For the uninstaller, you could call it instead of either powershell
or the .bat
file.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…