+ Reply to Thread
Results 1 to 10 of 10

Thread: Folder List

  1. #1

    Angry Folder List

    Hello,

    I am unsure as to how to return a list of folders for a given directory in SetupBuilder Developer.

    If someone knows the appropriate technique, I would appreciate their guidance.

    Thanks in advance,
    Alex
    Last edited by meercat; 12-28-2009 at 08:13 PM. Reason: Up the priority to try and get some response.

  2. #2

    Default Re: Folder List

    Hello,

    Is this question so obviously stupid that it deserves no reply or do SetupBuilders take their Christmas Holidays so seriously that they're not available to reply?

    In any case, as a paid up support member, last time I looked, could someone put me out of my misery.

    Regards,
    Alex

  3. #3

    Default Re: Folder List

    While trying to track down the non-return of the Load File List function, I noticed 3 runtime variable entries for %_SB_ERRORCODE%. The first one returned -1 and the other two 0, which one do I trust? Is it the first one, the last one, or the middle one?

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

    Default Re: Folder List

    Alex,

    Quote Originally Posted by meercat View Post
    In any case, as a paid up support member, last time I looked, could someone put me out of my misery.
    I fear I do not understand. What does this forum have to do with your paid subscription? Did you contact our Suppport Department? I can't see your support request in our database. Our Support Department was even available on December 24, 2009.

    BTW, this forum is free.

    Friedrich

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

    Default Re: Folder List

    Alex,

    To answer your question: this is from the documentation for "Handle File Listing":

    "The Handle File Listing function lets you retrieve and process a file directory listing."

    It does NOT retrieve a list of folders. What you can do is to write your own DLL that retrieves a list of folders and call it from the installer.

    Regards,

    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    SetupBuilder is Windows 7 installation -- "point. click. ship"

    -- Official Comodo Code Signing and SSL Certificate Partner

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

    Default Re: Folder List

    If the function succeeds, the %_SB_ERRORCODE% return value is zero. If the first one returned -1 then this one failed.

    Friedrich

  7. #7

    Default Re: Folder List

    Hi Friedrich,

    What I meant was that during debugging, in the list of runtime variables, the %_SB_ERRORCODE% is displayed 3 times, as in: (attached screenshot)
    Also, writing a DLL to return a list of folders seems a little extreme, is it possible that there is any work-around for this, using some fancy scripting, or that this could be an product enhancement?

    Regards,
    Alex
    Attached Images Attached Images  

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

    Default Re: Folder List

    Quote Originally Posted by meercat View Post
    What I meant was that during debugging, in the list of runtime variables, the %_SB_ERRORCODE% is displayed 3 times, as in:
    That's definitely not okay. What SB version are you on?

    Quote Originally Posted by meercat View Post
    Also, writing a DLL to return a list of folders seems a little extreme, is it possible that there is any work-around for this, using some fancy scripting, or that this could be an product enhancement?
    If you know how to do this with Windows APIs then you could try to use the Call DLL... function to handle this.

    Friedrich

  9. #9

    Default Re: Folder List

    Hi,
    This is the version:
    Attached Images Attached Images  

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

    Default Re: Folder List

    Yes, that's the latest stable version. We'll try to reproduce this (we have never seen this before and have not received any similar report).

    Thnaks,
    Friedrich

+ 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
  •