Hi,
I try to change the default settings of the Maintenance-Dialog in my setup. In the default case it is possible to chose between 3 options: modify, repair and uninstall. In my setup I want the user just to be able to uninstall the software and not to repair/modify.
How can I customize the dialog for this?
I tried some scripts in the MSI-Code, but that did not work.
Thank you in advance
Modify the Maintenance - Dialog
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
You want to edit the dialog itself, deleting the unnecessary radio buttons, along with the related graphics, text, etc.
If you don't have dialog editor in your edition, use the Project Wizard to create a blank project, and instruct the Project Wizard to disallow maintenance mode. That way, you can copy-paste MSIcode from that new project which disallows maintenance and permits uninstall only.
If you don't have dialog editor in your edition, use the Project Wizard to create a blank project, and instruct the Project Wizard to disallow maintenance mode. That way, you can copy-paste MSIcode from that new project which disallows maintenance and permits uninstall only.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
I tried it the way you describe first. I removed the buttons I do not need set the radion-button on "checked". But when I tested it on my system, the button was not marked as checked and when I clicked on "Next" the Program starts to reinstall my software. That is a case I do not want to have.
If the radio-button is not marked as checked and someone clicks on Next the program should not be installed.
If the radio-button is not marked as checked and someone clicks on Next the program should not be installed.
With my next try I deactivated the maintenance-dialog in my project, but it did not worked. When I wanted to uninstall the software I was asked to install it.
Then I did it the other soluten and made a new project without maintenance-dialog and copied the part of the MSIcode which disalouws the maintenance-dialog into my project. Now it works!!!
Then I did it the other soluten and made a new project without maintenance-dialog and copied the part of the MSIcode which disalouws the maintenance-dialog into my project. Now it works!!!
Return to “New Themes, Dialogs”
Who is online
Users browsing this forum: No registered users and 1 guest