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: <CustomAction Id="ExitOnRepair" Error="This installer does not support repair."/> <InstallExecutesequence> <Custom Action="ExitOnRepair" After="LaunchConditions">Installed AND NOT (REMOVE="ALL")</Custom> </InstallExecutesequence> It works fine when i try to repair the installation. But when i uninstall by double clicking the MSI and clicking remove button,i see that this CA is getting executed and the installer exits..how can this happen? i couldn't find anything from the debug logs
any help??? Andy2k8 wrote: > > rotf.. > I just have to exit the installer before the user runs the repair > sequence. > So have sequenced it before <InstallValidate/> 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]>: >>> >>> 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 Sysem to remove >>> repair from the msi right click menu? >>> >> >> Un-register part of the shell extension, this is dangerous, would >> damage the system, and potentially break future update to the Windows >> Installer service. >> They may have something for you -supported- in Group Policy, but I'm not >> sure. >> >>> Sébastien Mouren wrote: >>>> >>>> 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 disable the repair in the context menu, nor in the command >>>> line but the repair won't be able to execute. >>>> >>>>> ----- >>>>> Andy >>>>> MSI Developer >>>>> Schneider Electric:working: >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > > ----- Andy MSI Developer Schneider Electric:working: -- View this message in context: http://n2.nabble.com/Problem-disabling-%22Repair%22-tp1371155p1371691.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users