|
|
#1 |
|
Junior Member
Join Date: Sep 2006
Posts: 3
|
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. |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
You can use Rename.
-Stu |
|
|
|
|
|
#3 | |
|
Junior Member
Join Date: Sep 2006
Posts: 3
|
I've use: Rename "$INSTDIR" "$INSTDIR\Respaldo"
but it doesn't work. what am i doing wrong? Quote:
|
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Sep 2006
Posts: 3
|
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? |
|
|
|
|
|
#5 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Exec, ExecWait, nsExec plug-in or DosExec plug-in.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|