According to
Inno Setup Start menu uninstall shortcut is not shown on Windows 10
I should not add a shortcut to an uninstaller to the Start menu, on any version of Windows. But still, can I somehow decide whether to create the shortcut or not depending on the version of Windows?
All Inno Setup section entries have
MinVersion
andOnlyBelowVersion
parameters, which you can use to control on what version of Windows the entry gets used.To create an icon on Windows below 8 only, use:
Though again, as the link says, do not clutter the Start menu with uninstall icons. They should not be there, no matter what version of Windows the user is using.