Archive: Can I allow to disable desktop shortcut icon ?


Can I allow to disable desktop shortcut icon ?
Hi all.

I wonder if & how is it possible to show a user a checkbox
"Do not create a desktop icon"


If you are using Modern UI, you can add a custom check box to the Finish Page, and create a Custom function which will get executed if that check box is selected.
Then, in the custom function you use the createshortcut command.

Example:
!define MUI_FINISHPAGE_SHOWREADME
!define MUI_FINISHPAGE_SHOWREADME_FUNCTION CreateDesktopSC

Function CreateDesktopSC
CreateShortcut ....
FunctionEnd

Now, there seems to be no define to change the chek box text!?

-Stu


The text shown next to the ReadMe check box on the Finish page can be customised in the same way as the other MUI texts, e.g.

!define MUI_TEXT_FINISH_SHOWREADME "ReadMe check box"
!insertmacro MUI_LANGUAGE "English"

The default ioSpecial.ini file used by the Finish page does not leave much room for the check box text, so you may need to change the ini file to suit your revised text.


no good
Hi, 10X 4 the response.

I don't want 2 use it coz:

1. I'm already using this for a readme / web-site link

2. I want it to be asked before I create it
(just before I start copy files...)

I guess in this case I need to create my own dialog container for the Modern UI...


Can't you just put it as a section or something?