Reply to Thread

Post a reply to the thread: Folder List

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 12-29-2009, 08:45 AM
    linder

    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
  • 12-29-2009, 07:15 AM
    meercat

    Re: Folder List

    Hi,
    This is the version:
  • 12-29-2009, 01:29 AM
    linder

    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
  • 12-29-2009, 12:15 AM
    meercat

    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
  • 12-28-2009, 11:43 PM
    linder

    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
  • 12-28-2009, 11:41 PM
    linder

    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
  • 12-28-2009, 11:36 PM
    linder

    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
  • 12-28-2009, 10:56 PM
    meercat

    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?
  • 12-28-2009, 08:11 PM
    meercat

    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
  • 12-22-2009, 04:35 AM
    meercat

    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

Posting Permissions

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