Archive: component selection while installation


component selection while installation
There are three components in my installer ie 1.printer 2.Scaner 3.main appln. Out of this main appl Main appln is always installed how can i reflect this in
!insertmacro MUI_PAGE_COMPONENTS ie the check box for it always clicked & not editable


Section "Main appln" section_id
SectionIn RO
.......

Thanks man. there is one more problem before installing main prod i'm checking wheather it is already installed by checking the registery now if there is entry in registery instead of !insertmacro MUI_PAGE_WELCOME i wnat to display my custome page how can change this. Where should i put the condition checking statments & how can i use insermacro function in that block


Use MUI_PAGE_CUSTOMFUNCTION_PRE for MUI_PAGE_WELCOME to check if your app is installed and if installed add abort to skip the page, see mui documentation,

http://nsis.sourceforge.net/Docs/Mod...UI/Readme.html

Next, in custom page create function, before the call to IO plugin, add abort (skip page) if your app is not installed, see IO documentation,

http://nsis.sourceforge.net/Docs/Ins...ns/Readme.html


For instance, the included example makensis.nsi, would serve you a good starting point to figure all these.