Speed78
21st July 2003 20:08 UTC
After Installation Options
Hello,
i use the nsis setup maker for my application. Now I want to get Options after my installation which the user can choose like
- "Add a Desktop Icon"
- "Add a Quick Launch Icon"
- "Associate *.m3l files by this application"
My problem is... I don´t know how to create this install options. I use the modern ui. Can anyone give me a simple example?? I´ve search this forum, the FAQs and documentation but I can´t find anything.
Thanks...
Greetings
Rainer, Germany
Gunny2k2
21st July 2003 20:21 UTC
;--------------------------------
;Create Desktop Shortcuts Configuration
Section "Desktop Shortcut"
CreateShortCut "$DESKTOP\Link Name.lnk" "$INSTDIR\Name.exe" ""
SectionEnd
;--------------------------------
;Create ShortCuts Configuration
Section "Start Menu Shortcuts"
CreateDirectory "$SMPROGRAMS\${MUI_PRODUCT}"
CreateShortCut "$SMPROGRAMS\${MUI_PRODUCT}\Link Name.lnk" "$INSTDIR\Name.exe" "" "$INSTDIR\Name.exe" 0
CreateShortCut "$SMPROGRAMS\${MUI_PRODUCT}\Uninstall.lnk" "$INSTDIR\Uninstall.exe" "" "$INSTDIR\Uninstall.exe" 0
CreateShortCut "$SMPROGRAMS\${MUI_PRODUCT}\ReadMe.lnk" "$INSTDIR\readme.txt" "" "$INSTDIR\readme.txt" 0
SectionEnd
Gunny2k2
21st July 2003 21:11 UTC
;--------------------------------
;Create Quick Launch Shortcuts Configuration
Section "Quick Launch Shortcuts"
CreateShortCut "$QUICKLAUNCH\Name.lnk" "$INSTDIR\Name.exe" ""
SectionEnd
Afrow UK
21st July 2003 21:24 UTC
If you want to use InstallOptions dialogs with Modern UI, look up Contrib\Modern UI\Readme.html
To make InstallOptions dialogs, have a look at Contrib\InstallOptions\Readme.html, and the example .ini files in that same directory.
-Stu
ReloadMaster
15th December 2003 17:19 UTC
Help!
Wrong button :/
Vytautas
16th December 2003 00:49 UTC
You could also try out HM NIS Editor as it has a built-in wizard to help generate IO page ini file with a visual layout.
Vytautas