mtayyab
Posts: 2
Joined: Fri Jan 22, 2010 7:24 am

Disable Modify Option

I am using Advanced Installer Pro 7.3.1. I want to disable the "Modify" Option when my application is installed an the Setup is executed again.
I have checked the "Disable Modify" checkbox in "Product Details" section while creating the installer and it has removed the "Change" option from the "Add Remove Programs" but I still see the modify option on running the setup when application is already installed.
I do not have multiple Features in my applications and do not want to display CustomizeDlg dialog.


Regards,
--Tayyab
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Disable Modify Option

Hello,

Please node that "Disable Modify" option refers to the button displayed in the Add/Remove programs utility.
To remove the option you are referring to, simply go to Dialogs page and delete the button in question. This can be done only in an Enterprise Project.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
mukti
Posts: 6
Joined: Thu Dec 13, 2012 6:48 am

Re: Disable Modify Option

I am using Advanced Installer 8.8.1. I want to disable the "Modify" Option when my application is installed an the Setup is executed again.
but i want to do that with Add-in only.

Regards
Mukti
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Disable Modify Option

Hello Mukti,

The only solution to disable the [Modify] button from "MaintenanceTypeDlg" is to set its "Visible" and "Enabled" attributes, from "Properties" right pane, to "False". Also, if you have an Add-in feature in your package installation and you don't want to be available in the "Selection Tree" control from "CustomizeDlg" when the [Modify] button is clicked, then in "Organization" page you can set the "Feature Tree" property, of the corresponding feature, to "Not Displayed".

Let us know if this helps, otherwise please give us more details about your scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mukti
Posts: 6
Joined: Thu Dec 13, 2012 6:48 am

Re: Disable Modify Option

Daniel,

I don't want to show "Modify" option, as you said
"The only solution to disable the [Modify] button from "MaintenanceTypeDlg" is to set its "Visible" and "Enabled" attributes, from "Properties" right pane, to "False""

I am not getting MaintenanceTypeDlg in Dialogue section, then how can i make it false.

Regards
Mukti
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Disable Modify Option

Hello Mukti,

Please keep in mind that, as my colleague mentioned in the above post, this option is available only in an "Enterprise" or higher project type. You can upgrade the project type from "Home -> Options -> Project Type". If you don't have an "Enterprise" license, then you can upgrade your Advanced Installer license from our Upgrade page.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mukti
Posts: 6
Joined: Thu Dec 13, 2012 6:48 am

Re: Disable Modify Option

Thanks Daniel, it is working successfully.

Regards
Mukti
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Disable Modify Option

You're welcome. Glad to help.

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

Return to “Common Problems”