I was just looking over the source code that I was modding that came from Notepad++ and noticed that this line of code made no sense:
Delete "$INSTDIR\App\DefaultData\whatever folders after\”
I put the whatever folders thing but I was under the impression that nsis would compile this as “Take the files from "$INSTDIR\App\DefaultData\whatever folders after” and install them in the same place on the portable” at least when the installer was being created, but then I noticed the Delete in front of it and was wondering what that does, does it actually delete the files that are in the following directory or what?
no, to delete the files in a directory it would need to be
Delete "$INSTDIR\App\DefaultData\whatever folders after\*.*”
or
RMDir /r "$INSTDIR\App\DefaultData\whatever folders after”
Yes, it actually deletes the files. That would be from the installer.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
that line of code would delete the files in that directory when i would compile the installer if i had it say on my desktop and set to delete everything in a folder called "QWERTY"? i.e., if i checked after compiling the installer, there would be nothing in the folder?
or does that line mean it will delete everything in that folder in the destination directory? i.e., if i ran the installer after compiling it, and i had a folder in that path, it would delete as i installed, anything that happened to be in its way?
Zoop