Post a reply to the thread: SB2022 and Known Folders
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
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: SB2022 and Known Folders Awesome, Friedrich. Thank you Mark
Re: SB2022 and Known Folders
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
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.
SB2022 and Known Folders
Forum Rules