Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   component selection while installation (http://forums.winamp.com/showthread.php?t=266701)

darshanaltekar 27th February 2007 06:32

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 07:24

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


darshanaltekar 27th February 2007 07:46

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 08:06

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 14:26

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


All times are GMT. The time now is 05:07.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.