> Maybe we should have an uninstall option to either fully 
> remove DQSD, or leave local*. Anyone know how to do that in NSIS?

That I *think* can do pretty easily.  Should I?

I'm still not sure how to do an optional installer that is generic
enough to include all searches yet be able to make them enabled/disabled
optionally.  The only thing I can think of is to list each search
twice... Once names <search>.xml and once named <search>.xml.disabled
and then install the appropriate one based on the users choice.  But
this has some serious flaws.  1. every time someone contributes a new
search the installer would need changed.  2. The 2 revs of each search
would unnecessarily bloat the installer.

So here are my questions...

1. Can anyone think of a way to make NSIS read al the files in a
directory and populate a list accordingly so that we could put a check
box before all the searches in that list?

2. Should we just scrap NSIS?  In my mind, it shouldn't be difficult for
a coder (probably one with a little more skill than me) to build our own
unique DQSD installer.  One that can dynamically read in all the xml
files and build an array/list.  Then this little app would enable the
user to choose the searches he/she wants to install.  Then the installer
could build another array of searches to disable (sort of like Monty's
util).  Then the installer could install all searches and then rename
all the searches in the array to *.xml.disabled (like Monty's app).

I am just thinking that what we do in install / uninstall isn't brain
surgery.  It might be easier to just write our own little
install/uninstall app rather than deal with figuring out how to get NSIS
to do the trick.

Just my thoughts.  But I'm probably way out in left field.
JB



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel

Reply via email to