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

Basic MSI


4 replies to this topic

sreenathk

sreenathk
  • Full Members
  • 11 posts

Posted 29 May 2007 - 13:18

Hi,

I have a requirement to convert my Current InstallScript project to Basic MSI project.


I have created a dialog box with a combobox. The values in the combobox should be from a INI file (Customised one) which comes along with the setup.exe

How do I populate the combobox using the INI File?

Should I be writing a script for that by making use of liststring ?
if yes, then how can return the value in the list string to the combobox


Well, I am using InstallShield 10.0

Thanks
Sreenath

Edited by sreenathk, 29 May 2007 - 13:20.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 29 May 2007 - 17:23

This article shows an example how this could be done (it uses list boxes and does some additional stuff, but populating a combo box works the same):
http://www.installsi...stBox/index.htm

sreenathk

sreenathk
  • Full Members
  • 11 posts

Posted 04 June 2007 - 07:43

Hi
Thanks for the reply , I checked that code.. I am not familiar with VB Script.

Is there anything I can do with InstallScript where I can read the File and populate values in the form of an array, so that the array is displayed as items in the Combobox.

Thanks,
Sreenath

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 04 June 2007 - 10:44

Even if you don't know VBscript I was hoping it would give you the basic idea. But actually there's a INstalLScript sample in your InstallShield program folder\Samples\ScriptSamples\ScriptSamples\setup.rul, function AddCboEntry

sreenathk

sreenathk
  • Full Members
  • 11 posts

Posted 03 July 2007 - 12:01

Thanks Stefan

I was able to write the code using the Sample Project provided by InstallShield

Really Appreciate it

Regards
Sreenath