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 <InstallValidate/> and the installer exits > saying "repair is not supported" > Is that really like taking a bazooka to dril a hole ? :)
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 <Condition /> action element here. Your MSI must be heavier also but not by much. These are best practices. > 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-tp1371155p1371513.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 > ------------------------------------------------------------------------- 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