Re: [WiX-users] Problem disabling "Repair"

2008-10-24 Thread Alexander Shevchuk
>-Original Message- >From: Sébastien Mouren [mailto:[EMAIL PROTECTED] > >Allow me to laugh a bit... >I spoke about the REINSTALL property not the REMOVE one. >According to your Wix snippet, you're also doing wrong with your >CustomAction: you only insert it in the InstallExecuteSequence. >I

Re: [WiX-users] Problem disabling "Repair"

2008-10-24 Thread Alexander Shevchuk
, October 24, 2008 4:20 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Problem disabling "Repair" Hello there I have a strange problem with the type 19 CA that is used to exit the installer if repair is chosen. I run the following CA: Installed AND NOT (REMOVE="

Re: [WiX-users] Problem disabling "Repair"

2008-10-24 Thread Sébastien Mouren
2008/10/24 Andy2k8 <[EMAIL PROTECTED]>: > > Ok I get your point.. > I have the following options now > 1.Use a element and condition it based on REINSTALL="ALL" > 2.Use a Type19 CA in the Install UI sequence and condition that based on > REINSTALL="ALL" I wasn't speaking about the Install UI Sequ

Re: [WiX-users] Problem disabling "Repair"

2008-10-24 Thread Andy2k8
Ok I get your point.. I have the following options now 1.Use a element and condition it based on REINSTALL="ALL" 2.Use a Type19 CA in the Install UI sequence and condition that based on REINSTALL="ALL" Sébastien Mouren wrote: > > 2008/10/24 Andy2k8 <[EMAIL PROTECTED]>: >> >> Hello there >> >

Re: [WiX-users] Problem disabling "Repair"

2008-10-24 Thread Sébastien Mouren
2008/10/24 Andy2k8 <[EMAIL PROTECTED]>: > > Hello there > > I have a strange problem with the type 19 CA that is used to exit the > installer if repair is chosen. > I run the following CA: > > > Installed AND NOT > (REMOVE="ALL") > > It works fine when i try to repair the installation. > But whe

Re: [WiX-users] Problem disabling "Repair"

2008-10-24 Thread Michael Urman
On Fri, Oct 24, 2008 at 6:20 AM, Sébastien Mouren <[EMAIL PROTECTED]> wrote: > Yes, because instead of your CustomAction you already have a > StandardAction called LaunchConditions. It comes earlier in a "normal" > setup and you only have to put your action element here. > Your MSI must be heavier

Re: [WiX-users] Problem disabling "Repair"

2008-10-24 Thread Sébastien Mouren
2008/10/24 Andy2k8 <[EMAIL PROTECTED]>: > > rotf.. > I just have to exit the installer before the user runs the repair sequence. > So have sequenced it before and the installer exits > saying "repair is not supported" > Is that really like taking a bazooka to dril a hole ? :) Yes, because instead

Re: [WiX-users] Problem disabling "Repair"

2008-10-24 Thread Andy2k8
Hello there I have a strange problem with the type 19 CA that is used to exit the installer if repair is chosen. I run the following CA: Installed AND NOT (REMOVE="ALL") It works fine when i try to repair the installation. But when i uninstall by double clicking the MSI and clicking remove but

Re: [WiX-users] Problem disabling "Repair"

2008-10-24 Thread Andy2k8
rotf.. I just have to exit the installer before the user runs the repair sequence. So have sequenced it before and the installer exits saying "repair is not supported" Is that really like taking a bazooka to dril a hole ? :) Sébastien Mouren wrote: > > 2008/10/24 Andy2k8 <[EMAIL PROTECTED]>: >

Re: [WiX-users] Problem disabling "Repair"

2008-10-24 Thread Sébastien Mouren
2008/10/24 Andy2k8 <[EMAIL PROTECTED]>: > > thank you so much for the responses > I have added a type 19 custom action and conditioned it to run upon repair Using a CustomAction for this purpose is like taking a bazooka to drill a hole... > What configuration change should i make to the Operating

Re: [WiX-users] Problem disabling "Repair"

2008-10-24 Thread Rob Hamflett
I'm not sure, but I wouldn't recommend doing that. You wouldn't just be removing it for your MSI file, but for every MSI file. Rob Andy2k8 wrote: > thank you so much for the responses > I have added a type 19 custom action and conditioned it to run upon repair > > What configuration change sh

Re: [WiX-users] Problem disabling "Repair"

2008-10-24 Thread Andy2k8
thank you so much for the responses I have added a type 19 custom action and conditioned it to run upon repair What configuration change should i make to the Operating Sysem to remove repair from the msi right click menu? Sébastien Mouren wrote: > > 2008/10/24 Andy2k8 <[EMAIL PROTECTED]>: >> >

Re: [WiX-users] Problem disabling "Repair"

2008-10-24 Thread Sébastien Mouren
2008/10/24 Andy2k8 <[EMAIL PROTECTED]>: > > I get the repair option when right clicked the msi file even though i set > ARPNOREPAIR property to 1.. > How do i get rid of repair from the right click menu? Put a LaunchCondition testing the value of the REINSTALL property. Act accordingly. It won't d

Re: [WiX-users] Problem disabling "Repair"

2008-10-24 Thread Rob Hamflett
ARPNOREPAIR relates to the entry in Add/Remove Programs. The right-click entry will be based on Explorer's associations with the .msi extension. Even if you removed it from your machine, it would still be there on other people's. Rob Andy2k8 wrote: > I get the repair option when right click

[WiX-users] Problem disabling "Repair"

2008-10-24 Thread Andy2k8
I get the repair option when right clicked the msi file even though i set ARPNOREPAIR property to 1.. How do i get rid of repair from the right click menu? - Andy MSI Developer Schneider Electric:working: -- View this message in context: http://n2.nabble.com/Problem-disabling-%22Repair%22-t