Reply to Thread

Post a reply to the thread: SB2022 and Known Folders

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 into [URL][/URL].

Topic Review (Newest First)

  • 03-17-2022, 10:51 AM

    Re: SB2022 and Known Folders

    Awesome, Friedrich. Thank you

  • 03-17-2022, 09:28 AM

    Re: SB2022 and Known Folders


    good point. Yes, SHGetFolderPath is deprecated. Unfortunately, for backwards compatibility, CSIDL is the only mechanism that can be used to power installs from pre-Vista up to Server 2022.

    I have added a new "Get KnownFolder Path..." script function to SetupBuilder 2022 to support KNOWNFOLDERID values.

    Thank you for your suggestion !!!

  • 03-16-2022, 01:27 PM

    SB2022 and Known Folders


    CSIDL was deprecated as of Windows Vista (reference below) but thankfully still works.

    Will SB2022 support KnownFolderID? Not sure it will ever matter, but these are the kinds of things one doesn't enjoy learning the hard way



    As of Windows Vista, these values have been replaced by KNOWNFOLDERID values. See that topic for a list of the new constants and their corresponding CSIDL values. For convenience, corresponding KNOWNFOLDERID values are also noted here for each CSIDL value.

    The CSIDL system is supported under Windows Vista for compatibility reasons. However, new development should use KNOWNFOLDERID values rather than CSIDL values.

Posting Permissions

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