How do I populate a ComboBox at install time in WiX?

后端 未结 2 1380
野性不改
野性不改 2021-01-03 01:01

Edit: I\'ve updated the code below so that it now works, thanks to Rob\'s answer.

I\'ve found a couple of pages that show how to do this (http://www

2条回答
  •  一整个雨季
    2021-01-03 01:34

    I don't use DTF (all natural C++ CustomActions for me) but Record's are 1 based. Have you tried shifting all of your SetRecord() calls over by one index?

    Also, the .wxs code above seems to suggest that you are using "DUMMYPROPERTY" as the control Property for the ComboBox not "IIS_WEBSITENAME" like the .cs code is using.

提交回复
热议问题