REBOOTPROMPT. A row with this key already exist. - Advanced Installer Community
robbierob2005
Posts: 3
Joined: Tue May 27, 2014 10:11 am

REBOOTPROMPT. A row with this key already exist.

When trying to add the property REBOOTPROMPT = S using the Table Editor a messages tells me that a row with this key already exist. But it's not there.
How kan I add the Property? Are there hidden properties?

This also applies to the property ARPNOMODIFY
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: REBOOTPROMPT. A row with this key already exist.

Hello and welcome to Advanced Installer forums,

Please note that in order to set the related properties, there is no need to go to the Property table from the Table Editor page.
These properties can be set from the Advanced Installer UI.

In order to set the ARPNOMODIFY property you can check the Disable Modify option from the Product Details Tab.

The REBOOTPROMPT property can be set with the related value ( REBOOTPROMPT = S ) if you enable the Perform the reboot if required without showing any prompts option from the Install Parameters Page.

Please let us know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
robbierob2005
Posts: 3
Joined: Tue May 27, 2014 10:11 am

Re: REBOOTPROMPT. A row with this key already exist.

Thanks for the information.

For lots of customers have to put the following properties in the MSI.

REBOOT=ReallySuppress
REBOOTPROMPT=S

Can this be done using the UI?
When using the 'Suppress all Reboots and Reboot prompts', the 'Perform the reboot if required without showing any prompts' option is greyed out. Only the REBOOT Property is set.

Is there an other way to set the REBOOTPROMPT property also?

My packages will be rejected if both properties aren't present.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: REBOOTPROMPT. A row with this key already exist.

Hello,

When using the 'Suppress all Reboots and Reboot prompts' option it is redundant to also set the 'Perform the reboot if required without showing any prompts' option. This is because the former option will suppress all reboot action and therefore the latter option will become redundant.

However, if you still want to set these properties you can add "Set installer properties" custom actions, scheduled after "Install Execution Stage -> Searches" actions group, like this:
  • Property: REBOOTPROMPT
    Value: S
If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
robbierob2005
Posts: 3
Joined: Tue May 27, 2014 10:11 am

Re: REBOOTPROMPT. A row with this key already exist.

Thanks for the information Daniel. :)
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: REBOOTPROMPT. A row with this key already exist.

You're welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”