Thanks for the tip Dan.  Worked out perfectly.  The article's example
was with the HyplerlinkTheme, but the principle applied just fine to the
RtfTheme.  I just made a copy of the files in my local build and
commented out the Repair button.

    <Page Name="Modify">
        <Text X="11" Y="80" Width="-11" Height="30" FontId="2"
DisablePrefix="yes">#(loc.ModifyHeader)</Text>
        <!--<Button Name="RepairButton" X="-171" Y="-11" Width="75"
Height="23" TabStop="yes" FontId="0"
HideWhenDisabled="yes">#(loc.ModifyRepairButton)</Button>-->
        <Button Name="UninstallButton" X="-91" Y="-11" Width="75"
Height="23" TabStop="yes"
FontId="0">#(loc.ModifyUninstallButton)</Button>
        <Button Name="ModifyCancelButton" X="-11" Y="-11" Width="75"
Height="23" TabStop="yes" FontId="0">#(loc.ModifyCloseButton)</Button>
    </Page>

-----Original Message-----
From: Liviu Dan [mailto:nliviu...@gmail.com] 
Sent: Wednesday, November 14, 2012 2:52 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to disable or hide Repair button in Bundle
UI

I may not be the best to answer as I am new to Wix and Burn, but I was
able to hide the button using a custom Theme as indicated here:
http://neilsleightholm.blogspot.ca/2012/05/wix-burn-tipstricks.html

Regards, Dan


On Wed, Nov 14, 2012 at 2:33 PM, Miller, Nick (GE Intelligent Platforms)
< nick.mil...@ge.com> wrote:

> I have a bundle that uses the standard
>
> <BootstrapperApplicationRef
> Id="WixStandardBootstrapperApplication.RtfLicense" />
>
>
>
> It always shows the Repair button on the UI once it's installed.  I 
> want to hide or disable that button.
>
> I checked the bal: schema, and found the following attributes.
>
> Attributes
>
> Name
>
> Type
>
> Description
>
> Required
>
> LicenseFile
>
> String
>
> Source file of the RTF license file. Cannot be used simultaneously 
> with LicenseUrl.
>
>
>
> LicenseUrl
>
> String
>
> URL target of the license link. Cannot be used simultaneously with 
> LicenseFile. This attribute can be empty to hide the license link 
> completely.
>
>
>
> LocalizationFile
>
> String
>
> Source file of the theme localization .wxl file.
>
>
>
> LogoFile
>
> String
>
> Source file of the logo graphic.
>
>
>
> SuppressDowngradeFailure
>
> YesNoType
>
> If set to "yes", attempting to installer a downgraded version of a 
> bundle will be treated as a successful do-nothing operation. The 
> default behavior (or when explicitly set to "no") is to treat 
> downgrade attempts as failures.
>
>
>
> SuppressOptionsUI
>
> YesNoType
>
> If set to "yes", the Options button will not be shown and the user 
> will not be able to choose an installation directory.
>
>
>
> ThemeFile
>
> String
>
> Source file of the theme XML.
>
>
>
>
>
>
>
> I've also tried variations of
>
> DisableModify="yes" DisableRepair="yes"
>
> In the Bundle element itself, but those only seem to affect the 
> Control Panel Add/Remove Programs options and have no effect on the
UI.
>
>
>
> I'm sure that somebody out there must know.
>
>
>
> Thanks,
>
> Nick
>
>
> ----------------------------------------------------------------------
> -------- Monitor your physical, virtual and cloud infrastructure from 
> a single web console. Get in-depth insight into apps, servers, 
> databases, vmware, SAP, cloud infrastructure, etc. Download 30-day 
> Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------
------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to