I have the following under [Tasks]
[Tasks]
Name: "desktopicon"; Description: "Create a Desktop shortcut";
Name: "startmenu"; Description: "Create a Start Menu entry";
Name: "portablemode"; Description: "Portable Mode"; Flags: unchecked
and under [Setup]
Uninstallable=not WizardIsTaskSelected('portablemode')
I'd like the desktopicon and startmenu tasks to be deselected when a user selects portablemode, since these options are useless under the portablemode installation configuration:
If there is a cleaner way to do this I am also interested in that.

