What is the recommended way to debug NSIS scripts?
Is it the same for scripts that have 'SilentInstall silent' and 'SetSilent silent' on?
More specifically, I have a single line that doesn't work for some reason, but I have no clue why, because the NSIS script has 'SilentInstall silent' and 'SetSilent silent' on:
ReadEnvStr $varCOMSPEC COMSPEC
nsExec::Exec '"$varCOMSPEC" /C "$SYSDIR\attrib $PROFILE\Desktop\*" > dtattr.txt '