This looks VERY interesting .... and thanks for providing it.
What would be really useful is the ability to add 1-4 custom buttons (i.e., customized text on the buttons).
I've been flailing with how to collect a three way RadioButton-like choice from the end-user regarding which directory to install to ... I've wondered if a "smarter MessageBox" would work ... I can now accomplish what I want to do with two MessageBoxes now, but that seems flawed.
(see this thread:
http://forums.winamp.com/showthread....hreadid=235301)
Can your provide the source code for the plug-in you are working on? (but I'm very much a plug-in newbie)?
The MessageBoxEx would end up looking something like:
---------------------
Which directory do you want to install myapp.exe in?
O = Same as FAMILY_PATH = X:\Bin\Family
0 = Same as sibling.exe = C:\Program Files\sibling
0 = Neither of the above ... use:
Type=DirRequest entry field
----------------------
This has three radiobuttons .... the last Type=DirRequest would only be enabled if its associated RadioButton was picked.
These choices would be "figured out" during .onInit by detecting the presence or absence of the environment variable FAMILY_PATH and whether sibling.exe left "InstallDir bread crumbs entries" in the registry to indicate that it had been installed ... and where.
The issue is that there are a "family of applications" that want to be able to flexibly share common resources. The FAMILY_PATH can be used to point to the resources. However, it is possible to leave this undefined, especially for testing purposes. This allows sibling.exe and myapp.exe to be more or less independent of each other.