Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Different INSTDIR for different InstTypes (http://forums.winamp.com/showthread.php?t=270888)

hasibuzi 9th May 2007 09:22

Different INSTDIR for different InstTypes
 
Hi there,

I have an installer which is basically installing a plugin to an existing application. Problem is, that app comes in a couple of versions so I have made some InstTypes where the user can select the version of the app he has installed.

But how do I automatically suggest a different $INSTDIR for each selection (I get the dir from the registry) - so if the user chooses Option 1 he will get "Dir1" suggested, if he chooses Option 2 he will get "Dir2".

I tryed putting some check in the Installation section, but it seems this isn't used unless I actually start installing.

Thanks.

Afrow UK 9th May 2007 10:26

I'm not sure if this is the only way but maybe you could find out which item is selected in the InstTypes drop down list using SendMessage.

Stu


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

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.