I used some wizards to generate a basic installer that just copies 3 files on the destination computer. I noticed that in the uninstall section is:
Why would I need something like this (3 times the Delete command) and not having in the uninstall section just:
Delete "$INSTDIR\sample1.exe"
Delete "$INSTDIR\sample2.exe"
Delete "$INSTDIR\sample3.exe"
Otherwise if I have 20 files that I need to copy when install, and to remove when uninstall, I would need 20 times the File command and 20 times the Delete command, for the same files, instead of 1 RMDir only in uninstall case. Or am I totally wrong/missing smth here?
RMDir /REBOOTOK "$INSTDIR"
Thanks,
Viv