ReaImDown Posted January 20, 2011 Posted January 20, 2011 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]
Zedna Posted January 20, 2011 Posted January 20, 2011 (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 January 20, 2011 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
JohnOne Posted January 21, 2011 Posted January 21, 2011 DirGetSize() might be a good starting point. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now