Our application guides the user to install a profile by using the code below.
NSWorkspace.SharedWorkspace.OpenFile("/System/Library/PreferencePanes/Profiles.prefPane");
The code works fine on MacOS 13 and below. However, on MacOS 14 Sonoma, instead of "Profiles" pane, the "Privacy & Security" pane opened.
Both /System/Library/PreferencePanes/Profiles.prefPane & System/Library/PreferencePanes/Security.prefPane goes to "Privacy & Security"
... but what we want is to directly open "Profiles".
Any idea?