Hi
sipelgas wrote:But in Maintenance Mode, the Xml config is not done.
I didn't see options Install/Uninstall or Maintenance unlike CustomAction execution stage condition.
This is expected behavior due to
Windows Installer design. The XML file is included in one (or several) specific
product feature(s), thus the action to edit the XML file is performed only if the feature is also installed. During maintenance, that specific feature is already installed and thus no action is taken by
Windows Installer.
The good news is that
Advanced Installed can help you overcome this limitation with the help of
Reinstall one or more features predefined custom action. You can add this custom action to be executed when the user will click on the
Next button on your custom dialog (from
Maintenance dialogs group) via the
Published Events section.
I've attached a sample project to help you with the implementation. My custom dialog is
Port_number.
- AI f26626.zip
- AI f26626 sample project
- (3.95 KiB) Downloaded 378 times
If you have other questions, please let us know.