user3309953
user3309953

Reputation: 171

Dynamically load Combo box in Windows Installer UI created using InstallShiled

I am creating windows installer using InstallShield 2012. My installer UI having combo box and data for combo box is given in Combo box "Items" property. Instead of adding it statically, I need to load the combo box values at run time from a text file. It seems we can use the script to read the file and set to combo box. But my question is, how to ship and get the path of that text file?.

For example, in Wix, we can pack the text file using element in Wix bundle project. So, the corresponding file is extracted from the setup while launching and placed in temp folder. We can get that file from that location and dynamically load UI data.

Like this, What option is available in InstallShield to embed file with setup.exe and access it in installation time?

Thanks

Upvotes: 0

Views: 457

Answers (1)

Doc
Doc

Reputation: 708

You'll want to add the file to the Binary table. This will then be extracted to the directory defined by the SOURCEDIR. You'll probably want to have a custom action update this text file with your dynamic changes.

Upvotes: 0

Related Questions