Instead of trying to customize the MaintenanceTypeDlg (which I don't think is 
the right approach anyways),
I'm going to add a custom dialog listing the removal choices and place that 
dialog in the appropriate place.



Rob Hermann
Senior Software Developer 
Niceware International, LLC
10437 Innovation Drive
Suite 147
Milwaukee, WI  53226
Tel: 414-476-6423 x110
Fax: 414-476-7955
Email: rob.herm...@nicewareintl.com
http://www.nicewareintl.com
http://healthcare.nicewareintl.com



December 4th - 10:30AM CST - 11:30AM CST - Benefits of Upgrading from NiceLabel 
v3  to NiceLabel v5 - Register Today!
December 11th - 10:30AM CST - 11:30AM CST - A Complete Introduction to 
LabelClinic CT - Register Today!
December 18th - 10:30AM CST - 11:30AM CST - A Complete Introduction to 
NiceLabel SDK and WebSDK  - Register Today!





The information in this e-mail and any attachments is confidential and may be 
subject to legal professional privilege. It is intended solely for the 
attention and use of the named addressee(s). If you are not the intended 
recipient or person responsible for delivering this information to the intended 
recipient, please notify the sender immediately. Unless you are the intended 
recipient or his/her representative you are not authorized to, and must not, 
read, copy, distribute, use or retain this message or any part of it


-----Original Message-----
From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] 
Sent: Sunday, December 13, 2009 11:42 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Customizing the Install and Mainenance Dialogs

I've got a custom install project where I have overridden the 
Wix_UI_InstallDir.wxs because I did not want the
ARPNOMODY set to one.   I've created a CustomUI_InstallDir.wxs that is very 
close to the original document with
A couple of exceptions.

I've remove the APRMODIFY. I want my install to give the user the ability to 
change the install directory and I also
Want them to use Change to modify how it is removed.   This is working.

>From the Add Remove Programs in the control panel, when you hit the Change 
>button, that kicks off the standard Maintenance dialogs.   You get the 
>Maintenance Welcome Dialog which is fine and then you get Maintenance Type 
>Dialog.

I want to customize the MaintenanceTypeDlg. I want to tweak the options that 
appear there. 
I want two different Remove strategies.  I got my own copy of the 
MaintenanceTypeDlg called CMaintenanceTypeDlg.wxs in my project.

In CustomUI_InstallDir.wxs I also got things setup to that 

<Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" 
Value="CMaintenanceTypeDlg">1</Publish>
<Publish Dialog="CMaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" 
Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="CMaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" 
Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="CMaintenanceTypeDlg" Control="Back" Event="NewDialog" 
Value="MaintenanceWelcomeDlg">1</Publish>            

When I compile this project, I get the error 

Error   3       The InstallUISequence table contains an action 
'MaintenanceWelcomeDlg' that is declared in two different locations.  Please 
remove one of the actions or set the Overridable='yes' attribute on one of 
their elements.  
C:\delivery\Dev\wix30_public\src\ext\UIExtension\wixlib\MaintenanceWelcomeDlg.wxs
       31      1       HTSBackendInstaller

I tried the overridable flag but that creates other problems.  I need to 
"override" this MaintenanceTypeDlg.
I believe I'm the right track but am missing something yet ?   I haven't done 
anything with the MaintenanceWelcomeDlg
But seeing how I got my own copy of MaintenanceTypeDlg  I'm sure something is 
seen as duplicate somehow..

Anybody have any insights ?


Rob Hermann
Senior Software Developer 
Niceware International, LLC
10437 Innovation Drive
Suite 147
Milwaukee, WI  53226
Tel: 414-476-6423 x110
Fax: 414-476-7955
Email: rob.herm...@nicewareintl.com
http://www.nicewareintl.com
http://healthcare.nicewareintl.com




------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to