Archive: Q. on interaction with user


Q. on interaction with user
Hi,

I have a .vbs-script to enumerate all IIS web sites on a given host.

I want to run it during installation, then present the resulting list to the user and request from him what website he would like to reconfigure (or may be create a new one). User's choice (f.e., site number) then should be used in the installer as a parameter to further creation/reconfiguration scripts.

How could I implement this in NSIS ? Preferably in a way that requires the least amount of code to be written by me.
Especially I would not like using C++ for this :>
But if there is no other way, then oohhh...

Thank you in advance for your replues.


Exec your vbs with Exec or ExecShell.
Your vbs could write the list to a plain text file which the installer can in-turn read with FileOpean, FileRead and FileClose. You can have an InstallOptions dialog which the list is written to (a ListBox).

-Stu