Archive: Backup in uninstall


Backup in uninstall
When uninstalling my program I would like it to backup any user data found. I figgured that the easiest way would be using CopyFiles command. However I was wondering if there was a way to have the progress bar advance while the copyfiles is working?

Vytautas


Simply don't use the /SILENT switch and a progress bar will show if the process takes long enough (over a second I think).


Sorry I meant is there a way that the NSIS Install Page progress bar could be updated?

Vytautas


Well... You always put the code in a function and have it mess with the progress bar using PBM_SETRANGE, PBM_SETPOS or PBM_SETSTEP and PBM_STEPIT which are all window messages.