Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 1st May 2001, 21:12   #1
numberone
Junior Member
 
Join Date: Jan 2001
Posts: 12
Hi all. I don't know if anyone wants this feature that I have coded for NSIS, nor do I know exactly the proper channel of getting this to Justin, but here it is:

This feature stores the file versioning information of the .DLL and .EXE files that you add to your installation so that you no longer have to extract a file to a temporary directory first before using the CompareDLLVersions command.

The feature is added if NSIS_SUPPORT_STORED_FILE_VERSIONS is defined in the config.h file, and it is accessed by using the /s switch with the CompareDLLVersions function.

If you added a file "c:\myfolder\test.dll" and you wanted to compare it's version to the user's "$SYSDIR\test.dll" file, you would use the following syntax:

CompareDLLVersions /s "test.dll" "$SYSDIR\test.dll" label1 label2

Justin, if you want to add my code for this to NSIS then please tell me how I should give it to you. Thanks
numberone is offline   Reply With Quote
Old 2nd May 2001, 01:44   #2
justin
Moderator Alumni
 
Join Date: Apr 2000
Location: USA
Posts: 315
Just email me (justin@nullsoft.com) and attach the changed files, or what not..

-Justin
justin is offline   Reply With Quote
Old 2nd May 2001, 07:41   #3
RM
Junior Member
 
Join Date: Apr 2001
Location: Israel
Posts: 23
by how much does it increase the exe size ?
RM is offline   Reply With Quote
Old 2nd May 2001, 14:39   #4
numberone
Junior Member
 
Join Date: Jan 2001
Posts: 12
The exe is basically only increased by the size of the compressed version data; in other words, each version stored contains the name of the file, and two DWORD values (32-bit unsigned integers).

I submitted the code to Justin, and he replied saying he will probably have this same feature in the next version of NSIS, expcept he will make it simpler by encoding the versioning info into each CompareDLLVersions function rather than a separate table of versions like I have now. That will be even better
numberone is offline   Reply With Quote
Old 2nd May 2001, 21:04   #5
Koen van de Sande
Senior Member
 
Join Date: Mar 2001
Location: Holland
Posts: 269
Cool. All I can say is : will it be ready by Saturday? Because I'll be releasing a new version of my app then. (TibEd, http://www.tibed.net). Maybe it can be added to the programs using NSIS too?

Poll: Does anyone actually use my patcher?

Koen van de Sande
Van de Sande Productions
TibEd.net | VPatch
Koen van de Sande is offline   Reply With Quote
Old 4th May 2001, 17:55   #6
mcgarrah
Junior Member
 
Join Date: Mar 2001
Location: Raleigh NC USA
Posts: 26
Send a message via AIM to mcgarrah
No I don't. Where can I get it from?
mcgarrah is offline   Reply With Quote
Old 4th May 2001, 19:44   #7
polaughlin
Junior Member
 
Join Date: Mar 2001
Location: Maryland, USA
Posts: 25
Send a message via ICQ to polaughlin Send a message via AIM to polaughlin
I will definately use your patcher when I need it. I just don't need it right now. I'd really like to see a GUI for it soon though.
polaughlin is offline   Reply With Quote
Old 4th May 2001, 21:03   #8
Koen van de Sande
Senior Member
 
Join Date: Mar 2001
Location: Holland
Posts: 269
You can get the first version at:

http://www.tibed.net/vpatch

(I thought I made a site... guess I forgot to upload it

A new version will be release soon, because I made some major speed improvements which aren't in this version yet. And Edgewize's smaller runtime isn't in yet either. Tthis new runtime means only 4 Kb overhead (!)

Koen van de Sande
Van de Sande Productions
TibEd.net | VPatch
Koen van de Sande 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