Old 18th December 2008, 19:45   #1
joedoe2
Junior Member
 
Join Date: Dec 2008
Posts: 2
Getting uncompressed size from outside

Hi there,

how can I determine the size of all sections of an nsis setup file without running it?

I'm trying to create a wrapper which can contain multiple nsis setup files. The user can select which nsis exes should be executed (in silent mode). Now I would like to know the size of the uncompressed files in the nsis exes before running them, to display this information in the wrapper.

Is there an easy way to do this? Getting the compression rate would also be sufficient...

I already tried to use 7-Zip for this but it doesn't give out details properly (the file sizes are not given for all files). With the command "7z.exe l nsis-file.exe" it lists all the contained files and for most of them also there uncompressed sizes. But not for all which is the problem.

Thanks for any reply,
Joe
joedoe2 is offline   Reply With Quote
Old 18th December 2008, 21:01   #2
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
if it's all nsis-installers in your wrapper, look in the makensis status window. you can add those to your wrapper using the AddSize command.
Yathosho is offline   Reply With Quote
Old 23rd December 2008, 13:53   #3
joedoe2
Junior Member
 
Join Date: Dec 2008
Posts: 2
Thanks for your reply.

Maybe I didn't write clearly enough what my question was. The problem is that I don't know the size of the installed files. I get multiple installers from my client and want to automatically find out the size of the installed files without running the installers.

Of course I could install them one by one on my system to find out, but since I continually get new ones from the client I want to minimize the effort.

Do you have any idea?
joedoe2 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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