Hello,
To implement this you should go in "Install Parameters" page, double click on a property and select "Set persistent property" option. Please take a look here:
Edit Property Dialog
If you enable this option, the property will be stored in the registry and available in maintenance mode (repair, uninstall, etc.) and during upgrade installation. If the property is changed during maintenance, its value will not be stored in the registry.
Please let us know if that helped, otherwise give us more details about your specific scenario.
Best regards,
Sorin