darshanaltekar
27th February 2007 07:32 UTC
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
Red Wine
27th February 2007 08:24 UTC
Section "Main appln" section_id
SectionIn RO
.......
darshanaltekar
27th February 2007 08:46 UTC
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
Red Wine
27th February 2007 09:06 UTC
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
Red Wine
27th February 2007 15:26 UTC
For instance, the included example makensis.nsi, would serve you a good starting point to figure all these.