Properties set in First Time install not saved in Maintenanc - Advanced Installer Community
litu
Posts: 71
Joined: Fri Mar 22, 2013 2:57 pm

Properties set in First Time install not saved in Maintenanc

Hello,

One of our customers has deleted a part of our application by mistake. He used the Change/Repair menu on the Control Panel and he selected to repair. All the files were back in their places, but all the "update text file" are applied wrong.

In the First Time Install dialogs, our installation asks for some parameters to change some files of our product.
In the maintenance mode, there are no dialogs and there are no questions about these parameters. Is there any way to save these parameters somewhere? And how can I be sure the maintenance mode will search for it.

Thanks in advance,
Arnau.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Properties set in First Time install not saved in Mainte

Hi Arnau,

You can try to enable the Set persistent property option for the related property which you had defined in the Install Parameters page.
If you enable this option, the property will be stored in the registry and available in maintenance mode (repair, uninstall, etc.).

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
litu
Posts: 71
Joined: Fri Mar 22, 2013 2:57 pm

Re: Properties set in First Time install not saved in Mainte

Hi Dan,

I've tried that; but it forces me to set an initial value that I don't want to. Is there any way to set up a property in the Install Parameters without an initial value?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Properties set in First Time install not saved in Mainte

Hello,

I'm afraid this cannot be done, to create a property in the Install Parameters page without adding a valid value(otherwise you will get an installation error).

However, you can use the Set installer property custom action with sequence to change its value. Also you should add this custom action after the appsearch standard action because during its execution the property value will be restored.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”