Archive: how to backup previous installed software


how to backup previous installed software
Hi,
I'm new in NSIS, and i want to know how could i make a backup of the installed software prior to install a new release.

For instance, my installer installs on c:\program files\software, and i want to copy all files there to a folder c:\program files\software\backup before installer installs new release.

I hope i was clear.

thanks
Ricardo.


You can use Rename.

-Stu


I've use: Rename "$INSTDIR" "$INSTDIR\Respaldo"
but it doesn't work.

what am i doing wrong?

Originally posted by Afrow UK
You can use Rename.

-Stu

Worked fine with CreateDirectory and CopyFile (it was obvious !!).

Now, if i want to execute a sql script with sqlplus, how can i launch it?


Exec, ExecWait, nsExec plug-in or DosExec plug-in.