Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Filling up Window Dialog run time


1 reply to this topic

gronchi

gronchi
  • Members
  • 71 posts

Posted 27 November 2002 - 17:05

Hi to all,
I start with a practical example (from Help):
AskOptions (nValue, szMsg, szText1, bvCheck1, szText2, bvCheck2[, szTextn, bvCheckn] [,..., …]);
where n=7 (max 7 options)

Is there a way to leave n free during scripting and fix it run time?
That is, is there a way to build the dialog (or a special dialog) during installation with setup-dependent information?

Let me suppose there is a target machine with more than one CDROM drive, I should list all them into a Dialog (i.e. AskOptions) and let the user easily choose one of these CDROM drive.
But initially I don't know how many CDROM drive has target machine (0, 1, >1?) so I'm looking for a dinamic way to build the dialog only when I have the information to do that, that is, during the installation procedure.


Thanks.
Ciao, Giuseppe

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 28 November 2002 - 09:42

Maybe you should use SdAskOptionsList instead.