Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 22nd July 2009, 07:13   #1
skuallpa
Junior Member
 
Join Date: Jun 2009
Posts: 30
Custom page for an updater

Hello,

I am currently working on an updater that will owervrite some specific files and also create new files that are required with the newer version of the software.

How is the standard procedure to present to the user the details of what the updater is currently making? Also is there an easy way to do a custom page that will explain to the user what the updater will do (for example:You are updating the software X from 2.0 to 2.1 .....)

Have you some examples that could help me?
Thanks in advance
skuallpa is offline   Reply With Quote
Old 22nd July 2009, 10:15   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
Easiest is to stick with the InstFiles page and just show a confirmation MessageBox if you detect any updates.

Use nsDialogs to create custom pages.

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 22nd July 2009, 12:08   #3
skuallpa
Junior Member
 
Join Date: Jun 2009
Posts: 30
thanks for your answer Afrow UK,

If I understand well, what I have to do is something like this?

code:

Page instfiles "" "" DeployOverwriteNewFiles

Function DeployOverwriteNewFiles
SetOverwrite on
SetOutPath "$INSTDIR"
File "$INSTDIR\..."
File "$INSTDIR\..."
File "$INSTDIR\..."
File "$INSTDIR\..."
...
FunctionEnd



thanks in advance
skuallpa is offline   Reply With Quote
Reply
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