rgbolso
25th September 2006 22:42 UTC
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.
Afrow UK
25th September 2006 22:44 UTC
You can use Rename.
-Stu
rgbolso
25th September 2006 22:54 UTC
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
25th September 2006 23:10 UTC
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?
kichik
29th September 2006 10:45 UTC
Exec, ExecWait, nsExec plug-in or DosExec plug-in.