Hello Meena,
But, When I run the setup in maintenance(Modify Mode), the non-installed (Not installed during First time installation) feature information is not updated in that file. I've checked Install as well as Maintenance Checkboxes in custom action page. And also whenever I uninstalled the certain feature which is already installed, now I want to remove that particular feature name from that file.
To have the text file updated on "Modify" mode too, you need to place the "Text File Update" operation under a feature that will always be reinstalled during modify. To achieve this you can follow the steps bellow:
- copy the "Identifier" of the feature that contains the "Text File Update" operation
- go in the Dialog page and select the MaintenanceTypeDlg from the Maintenance folder
- click on the "Modify" button on the dialog
- add a published event by clicking the "New" button from the "Published Events" tab
- select "Reinstall one or more features" from the newly appeared dialog
- in the "Argument" edit box write the feature's identifier that you copied
- do not modify the "Condition" field, then click [OK]
Also, go to the "Append/Create" section of the "Text File Update" operation and check the "If the file exists -> Overwrite" option.
Setup consists of nearly 30 features. Do I need to use 30 set installer properties for this. Is there any another approach to achieve this?
Yes, I'm afraid that you need to create a different "Set installer property" custom action for each feature. Otherwise, you can create your own custom action that verifies all the features and set their related properties (i.e. C#, VBS, etc.).
Best regards,
Eusebiu