Hi, I am curious, how to create a setup MSI/EXE for the first time install so that user installs it and recieves updates via WyUpdate? Thanks and regards, Pooran
How to deal with uninstall done by installer when updating/adding files to install directory or adding registry keys by wyupdate?
That's an excellent question. We'll be writing help article about this soon, but you simply call this from your uninstaller and wyUpdate cleans all newly created file/registry since the fresh install:
wyUpdate.exe /s /uninstall
or in NSIS code:
;Clean up any files, folders, and registry created from updatesnsExec::Exec '"$INSTDIR\wyUpdate.exe" /s /uninstall'