Skip to content
⌘ NSIS Forum Archive

Creating an ActiveSetup installer with Nullsoft

3 posts

zachmension#

Creating an ActiveSetup installer with Nullsoft

Hello,

i need to write an ActiveSetup installer that installs file over internet.

I got a basic demo running but got a problem with the files after download.

The installe doesnt keep the file format of the files. For example if i want to download a file called Diary.mp3 from our server, the installer "converts" this to an "online" file without any file extensions etc.

I need to know if there is a way to fix this problem using scripts:


This is the script i use for downloading the file.


Dialer::AttemptConnect
NSISdl::download http://www.kq9.org/temp/Diary.mp3

Any suggestions on how to fix this problem with the file format/exts would be helpful.

Thanks in advance.

Zach
Afrow UK#
You should be doing:
NSISdl::download "http://www.kq9.org/temp/Diary.mp3" "$INSTDIR\Diary.mp3"

-Stu