|
|
#1 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
Hi!
I have an idea that will make NSIS internet installations much easier. Instead of downloading with nsisdl.dll file by file there should be a one download of a "NSIS Internet Package". A "NSIS Internet Package" is a normal NSIS compiled script with the header stripped down. Then the NSIS installer that downloaded this "NSIS Internet Package" could load the package into memory and run it as it was it's own compiled script, copy it's files, run functions and all the other great things NSIS can do. Then a script would look something like: code: instead of: code: What do you think? KiCHiK |
|
|
|
|
|
#2 |
|
Moderator Alumni
Join Date: Apr 2000
Location: USA
Posts: 315
|
How about the installer just downloads another NSIS generated EXE, and executes it lile this:
Exec '"$TEMP\downloaded.exe" /S /D=$INSTDIR' That way, we don't have versioning issues between the exe header and the data. -Justin |
|
|
|
|
|
#3 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
But that requries an extra uesless download of 35KB header.
|
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
I don't think there will any versioning issues as both the installer and the package will be created by the same person. If you do think there will versioning issues you can add a small header with the version of NSIS that compiled this package in it.
KiCHiK |
|
|
|
|
|
#5 |
|
Member
|
the idea sounds good, but i dont understand the reasoning if you prefer to not follow justins suggestion due to the meaningless 35kb then whydont you put all the install script in the installer and have the installer download the individual pieces (or if a large amount of files use a sfx compression on the downloaded package and have it extract from the installer). i guess what i am trying to say is that you didnt propose anything that isnt already possible other than reducing the code needed to download a file.
|
|
|
|
|
|
#6 |
|
Senior Member
|
You could just make a function to download a file and save yourself the hassle of all that typing
.
|
|
|
|
|
|
#7 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
With SFX I still have the header, which BTW is larger than NSIS's header and with NSIS I could do other stuff but extracting.
And with a function I sill need to specify all the files I need and again I don't have other stuff like registery and so on. |
|
|
|
|
|
#8 |
|
Member
|
as far as your extreme interest on header size, if you use ace2.0 for compression your gains will more than make up for the header infact you will end up well smaller than nsis is going to you do you on most filetypes.
otherwise, i dont understand your statement about not having the registry... its still there on the box you are installing your app on you should be able to use it... |
|
|
|
|
|
#9 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
Sorry, I meant registery handling... NSIS commands in general.
About ACE, it is not free. |
|
|
|
|
|
#10 |
|
Member
|
7z (http://7-zip.com) then
|
|
|
|
|
|
#11 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
But then I don't have NSIS commands...
Never mind, I get it. Bad idea
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|