Old 25th September 2006, 21:42   #1
rgbolso
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.
rgbolso is offline   Reply With Quote
Old 25th September 2006, 21:44   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
You can use Rename.

-Stu
Afrow UK is offline   Reply With Quote
Old 25th September 2006, 21:54   #3
rgbolso
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:
Originally posted by Afrow UK
You can use Rename.

-Stu
rgbolso is offline   Reply With Quote
Old 25th September 2006, 22:10   #4
rgbolso
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?
rgbolso is offline   Reply With Quote
Old 29th September 2006, 09:45   #5
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump