| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 3 | <Fragment> |
| 4 | <ComponentGroup Id="ProductComponents"> |
| 5 | <Component Id="IniComp" Directory="INSTALLFOLDER"> |
| 6 | <File Id="test.txt" Source="test.txt" /> |
| 7 | |
| 8 | <IniFile Action="createLine" Directory="INSTALLFOLDER" Name="test.txt" Section="TestSection" Key="SomeKey" Value="SomeValue" Id="IniCreateLine" /> |
| 9 | |
| 10 | <IniFile Action="addLine" Directory="INSTALLFOLDER" Name="test.txt" Section="TestSection" Key="SomeOtherKey" Value="SomeOtherValue" Id="IniAddLine" /> |
| 11 | |
| 12 | <IniFile Action="addTag" Directory="INSTALLFOLDER" Name="test.txt" Section="TestSection" Key="SomeOtherKey" Value="AnotherValueEntirely" Id="IniAddTag" /> |
| 13 | |
| 14 | <IniFile Action="removeLine" Directory="INSTALLFOLDER" Name="test.txt" Section="TestSection" Key="SomeKey" Id="IniRemoveLine" /> |
| 15 | |
| 16 | <IniFile Action="removeTag" Directory="INSTALLFOLDER" Name="test.txt" Section="TestSection" Key="SomeOtherKey" Value="AnotherValueEntirely" Id="IniRemoveTag" /> |
| 17 | </Component> |
| 18 | </ComponentGroup> |
| 19 | </Fragment> |
| 20 | </Wix> |