skuallpa
22nd July 2009 08:13 UTC
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
Afrow UK
22nd July 2009 11:15 UTC
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
skuallpa
22nd July 2009 13:08 UTC
thanks for your answer Afrow UK,
If I understand well, what I have to do is something like this?
Page instfiles "" "" DeployOverwriteNewFiles
Function DeployOverwriteNewFiles
SetOverwrite on
SetOutPath "$INSTDIR"
File "$INSTDIR\..."
File "$INSTDIR\..."
File "$INSTDIR\..."
File "$INSTDIR\..."
...
FunctionEnd
thanks in advance