![]() |
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. |
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.