+ Reply to Thread
Results 1 to 3 of 3

Thread: Check for file size

  1. #1
    Andre Guest

    Default Check for file size

    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

  2. #2
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: Check for file size

    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
    Attached Images Attached Images  

  3. #3
    Andre Guest

    Default Re: Check for file size

    Quote Originally Posted by linder View Post
    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •