roc13x
19th April 2009 14:02 UTC
Help with download plugin!
When I use the download plugin for my installer, it will download the file fine. But if I uninstall the program and run the same installer again, or on another computer, it will skip the download and do the rest of the installation normally. What's going on?
Static_VoiD
19th April 2009 14:43 UTC
Maybe you should post your script over here so we could check out what's wrong, shouldn't you :) ?
roc13x
19th April 2009 14:54 UTC
Section "MainSection" SEC01
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Do you want to download the extra file?" IDNO +3
NSISdl::download http://www.roc13x.com/sounds/Theme.mp3 $INSTDIR\Theme.mp3
CreateShortCut "$DESKTOP\TVC Browser Theme.lnk" "$INSTDIR\Theme.mp3"
Static_VoiD
19th April 2009 16:33 UTC
Is this section selectable (can it be unchecked) . Maybe you forgot to check the option while installing it no another computer? Sounds strange, I know :) ...and btw couldn't you post whole script so it would be easier to detect the problem.
roc13x
19th April 2009 16:36 UTC
I just fixed it. I put the downloader script as the last lines of the MainSection, instead of the first lines.