Now here's the crazy thing, it wasnt working using
But I found this code in the archive here to do this very thing, and the code shows the upgrade process like this:nsExec::Exec '"$INSTDIR\uninstall.exe" /S'
So I changed my code accordingly, and now the upgrade magically works. So what on earth does this _?=$INSTDIR option do??ExecWait '$R0 _?=$INSTDIR'