Go Back   Winamp Forums > Developer Center > NSIS Discussion

 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 13th May 2006, 07:37   #1
aekalman
Junior Member
 
Join Date: Apr 2005
Posts: 31
SetOverwrite ifnewer not working ... why?

Hi All.

I've been working NSIS for a while and have built an installer that works for me except for the fact that ifnewer does not appear to work for me. This is with NSIS v2.06 in Win98 and Win2k.

I think I have setup the SetOverwrite command properly, and I invoke it with the ifnewer argument. However, a test I recently did showed that it doesn't work, and I really want to know why / want to know how to fix it. Perhaps someone can help?

My test:

1) Build & run installer, installs file d:\path\fileA to c:\path\fileA.

2) Edit d:\path\fileA (add some text).

3) Re-build and run installer.

5) View c:\path\fileA. It's still the old fileA. not the new one that has the added text.

Isn't this wrong? Shouldn't the ifnewer attribute force the new fileA (from d:\path\fileA) to overwrite the old fileA (in c:\path\fileA)?

I've attached the relevant part of the build window.

Note that I do want ifnewer, not the default (on), for certain files.

Please please please someone show me what I've been doing wrong ...
Attached Images
File Type: gif nsis-ifnewer_problem.gif (9.7 KB, 117 views)
aekalman is offline   Reply With Quote
 
Go Back   Winamp 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