CPack auto generating Inno Setup Tasks desktopicon

I’ve just installed CMake 4.3.2 and run it on a build that produces an Inno Setup installer. The installer has a “Create a desktop shortcut” check box that it didn’t have when built using an earlier version of CMake. Looking at the ISScript.iss generated in the INNOSETUP folder, the Tasks section is

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

For the same files using CMake 3.31.3 the Tasks section in the generated ISScript.iss file is

[Tasks]
; CPack didn't find any entries for this section

There is no reference to Tasks or desktopicon in my CMakeLists.txt file and I can’t find any reference to this behavior in the latest documentation. Is this intended? If so how do I turn it off?

Any chance someone in the know can answer this. It’s obviously a deliberate change to the behavior of CPack and, as I can’t find any reference to it in any documentation since 3.31.3, I’ll call it an undocumented change. It’s broken my installer build which will have to have different instructions for CMake versions before it was implemented and for versions after. (Not that I know when it was implemented.)

At least for the nsis installer template, it was possible to copy it to your own cmake modules directory and customize it.