+ Reply to Thread
Results 1 to 3 of 3

Thread: SB2022 and Known Folders

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default SB2022 and Known Folders

    Friedrich,

    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

    Mark


    From https://docs.microsoft.com/en-us/win...32/shell/csidl

    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.

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

    Default Re: SB2022 and Known Folders

    Mark,

    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 !!!

    Friedrich

  3. #3

    Default Re: SB2022 and Known Folders

    Awesome, Friedrich. Thank you

    Mark

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