Skip to content
⌘ NSIS Forum Archive

how to backup previous installed software

5 posts

rgbolso#

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.
rgbolso#
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
rgbolso#
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?