Sign in to follow this  
Followers 0
ReaImDown

anyway to execute this coding after compiling?

3 posts in this topic

I made an installer... and I want to show the person installing the program exactly how much space on the computer is needed in order to install my program...

this is a separate program I have to get the total size...

$a = FileGetSize("installs\Main.exe")
$b = FileGetSize("installs\uninstall.exe")
$c = FileGetSize("installs\EULA.txt")
$d = FileGetSize("installs\Readme.txt")
$e = FileGetSize("installs\Installer.jpg")
$f = FileGetSize("installs\3DX.dll")
$g = FileGetSize("installs\Email.exe")
$h = FileGetSize("installs\Settings.exe")
$i = FileGetSize("installs\L.txt")
$j = FileGetSize("installs\F.txt")
$k = FileGetSize("installs\P.txt")
$l = FileGetSize("installs\O.txt")
$z = Round((($a + $b + $c + $d + $e + $f + $g + $h + $i + $j + $k + $l) / 1048576 ),2)
MsgBox(0,"",$z & "mb")

is there anyway I can have it check the size of everything I "fileinstall()"'d in the main installer and give the variable back?

sorry for the poorly written question... I'm playing CoD ^.^


[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

You can use resources instead of FileInstall.

Then you can easily get also resource size.

You may look at my Resource UDFto get the idea, link is in my signature.

Edited by Zedna

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0