My operating system is WINDOWS 11, compiled software version Delphi 12 Version 29.0.55362.2017
During the compilation of INNOSETUP source code, the following error occurred.
When compiling to cgrc.exe -c65001 "Compi132. vrc" -foCompil32.res
The generated Compil32.vrc content is
PLATFORMTARGETS RCDATA {0x3L}
WindowsModernDark VCLSTYLE "C:\\Users\\Public\\Documents\\Embarcadero\\Studio\\23.0\\Styles\\Windows11_Modern_Dark.vsf"
The Windows11_Modern_Dark.vsf file cannot be found in the C:\\Users\\Public\\Documents\\Embarcadero\\Studio\\23.0\\Styles directory, causing the compilation to abort.
I tried to copy a copy of Windows10Dark.vsf to Windows11_Modern_Dark.vsf, and then tried to recompile. The above compilation passed.
But again new compilation error appears
When compiling to cgrc.exe -c65001 "SetupCustomStyle. vrc" -foSetupCustomStyle.res
The content of the generated SetupCustomStyle.vrc file is as follows, but there are no relevant files in the corresponding directory, causing the compilation to stop again.
I would like to ask for advice on how to obtain these files so that the source code can be compiled smoothly.
PLATFORMTARGETS RCDATA {0x3L}
SlateClassico VCLSTYLE "C:\\Users\\Public\\Documents\\Embarcadero\\Studio\\23.0\\Styles\\SlateClassico.vsf"
WindowsModernDark VCLSTYLE "C:\\Users\\Public\\Documents\\Embarcadero\\Studio\\23.0\\Styles\\Windows11_Modern_Dark.vsf"
WindowsModernLight VCLSTYLE "C:\\Users\\Public\\Documents\\Embarcadero\\Studio\\23.0\\Styles\\Windows11_Modern_Light.vsf"
WindowsPolarDark VCLSTYLE "C:\\Users\\Public\\Documents\\Embarcadero\\Studio\\23.0\\Styles\\Windows11_Polar_Dark.vsf"
WindowsPolarLight VCLSTYLE "C:\\Users\\Public\\Documents\\Embarcadero\\Studio\\23.0\\Styles\\Windows11_Polar_Light.vsf"
Zircon VCLSTYLE "C:\\Users\\Public\\Documents\\Embarcadero\\Studio\\23.0\\Styles\\Zircon.vsf"