I require a MSI Custom action that copies a file from the MSI source directory

后端 未结 4 856
攒了一身酷
攒了一身酷 2021-01-05 22:53

I\'m creating a installer for a c# windows project using VS 2008. I\'m trying to write a custom action that copies a settings file from the source directory of the MSI file

4条回答
  •  悲哀的现实
    2021-01-05 23:36

    I would recommend you to add the XML file to the installer as one of the components to be installed. That would be the easiest way and would not require a custom action.

    WiX might be an option for you. It allows you to customize XML configuration files during installation using XmlConfig.

提交回复
热议问题