View Full Version : Check for file size
Andre
06-25-2008, 05:30 AM
Hello,
I'm creating an installation with SetupBuilder 6 Developer that needs to check the size of a file. Is this possible? How?
Thanks
Andre
linder
06-25-2008, 05:40 AM
Andre,
Yes, no problem. You can use the "Get File Information..." function to handle this.
For example (see attached screenshot):
Set Variable %FILESIZE% to FUNCTION:Get File Information(File Size) of file "%_SB_INSTALLDIR%\whatever.txt"
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
Andre
06-25-2008, 07:17 AM
Yes, no problem. You can use the "Get File Information..." function to handle this.
For example (see attached screenshot):
Set Variable %FILESIZE% to FUNCTION:Get File Information(File Size) of file "%_SB_INSTALLDIR%\whatever.txt"
Works! Thank you for a great system!
Andre
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.