hmm, thats bad :(Any good or bad hacks coming to anyone's minds. Any thing
??

..ab

On Nov 27, 2007 12:06 PM, Kelly Leahy <[EMAIL PROTECTED]> wrote:

>
> Nope...  As far as I know, NOTHING will work in that scenario.  AFAIK,
> there's no way to handle this properly - you pretty much want to require
> that users either only can install as Everyone, or only can install as Just
> Me.  Personally, I think "Just Me" is silly and can't come up with any good
> reason for this installer choice.
>
>
>
>  *Abubakar <[EMAIL PROTECTED]>*
>
> Sent by: [EMAIL PROTECTED]
>
> 11/26/2007 10:46 PM
>   To
> "John Lalande" <[EMAIL PROTECTED]>
>  cc
> wix-users@lists.sourceforge.net  Subject
> Re: [WiX-users] uninstalling a product silently before installing a
>  new one
>
>
>
>
> Thanks for the xml code, I have followed this and it is working in one
> scenerio. But tell me, should this work if product1 was installed using
> "just me" and the product2 is being installed using "Everyone"? Cuz i am
> testing this and this the case in which my product1 is not getting
> uninstalled.
>
> ..ab
> On Nov 27, 2007 3:23 AM, John Lalande <[EMAIL PROTECTED]<[EMAIL PROTECTED]>>
> wrote:
> In theory (and in my projects), simply copy what you already have and
> replace 'product2guid' (which I hope is a uuid), with the UpgradeCode of the
> product you want uninstalled.  In the new entry remove the UpgradeVersion
> that uses the NEWERPRODUCTFOUND property and replace
> PREVIOUSVERSIONSINSTALLED with something like OTHERPRODUCTFOUND or whatever
> makes sense for you.  Make sure that OnlyDetect is No.
>
> I don't think you need the Property tags you have.  They will be created
> on demand and will be set to the ProductCode of the detected products.
>
> Your updated Upgrade elements may look similar to this (adjust as
> necessary):
>
>
> <Upgrade Id="product2guid">
>      <UpgradeVersion Minimum="1.0.57" Property="NEWERPRODUCTFOUND"
> OnlyDetect="yes" IncludeMinimum="yes" />
>       <UpgradeVersion Minimum=" *1.0.0.0* <http://1.0.0.0/>" Maximum="
> 1.0.57" Property="PREVIOUSVERSIONSINSTALLED" IncludeMinimum="yes" />
> </Upgrade>
> <Upgrade Id="otherproductguid">
>      <UpgradeVersion Minimum="*1.0.0.0* <http://1.0.0.0/>" Maximum="1.0.57"
> Property="OTHERPRODUCTFOUND" IncludeMinimum="yes" />
> </Upgrade>
>
> Finally, take heed of Christopher's comments as there are some subtleties
> about individual file versions as well as where you have scheduled
> RemoveExistingProducts.
>
> Also, you may want to read the tutorial for more details on upgrades: *
> http://www.tramontana.co.hu/wix/lesson4.php*<http://www.tramontana.co.hu/wix/lesson4.php>
> .
>
> Good luck.
>
> John
>
>
> On Nov 26, 2007 8:55 AM, Abubakar <[EMAIL PROTECTED]<[EMAIL PROTECTED]>>
> wrote:
> Hi, can you provide me the tags necessary to do this?
> Right now my Upgrade tags look like this:
>
>     <Upgrade Id="product2guid">
>      <UpgradeVersion Minimum="1.0.57" Property="NEWERPRODUCTFOUND"
> OnlyDetect="yes" IncludeMinimum="yes" />
>      <Property Id="NEWERPRODUCTFOUND" Secure="yes" />
>      <UpgradeVersion Minimum="*1.0.0.0* <http://1.0.0.0/>" Maximum="1.0.57"
> Property="PREVIOUSVERSIONSINSTALLED" IncludeMinimum="yes" />
>      <Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" />
>    </Upgrade>
> regards,
>
> ..ab
> On Nov 26, 2007 7:16 PM, John Lalande <[EMAIL PROTECTED]<[EMAIL PROTECTED]>>
> wrote:
> ab
>
> It is much simpler then what you are proposing.  Simply add the UpgadeCode
> of the old product to the Upgrade table of your new product.  The old one
> will be uninstalled in the same manner as a previous version...silently
> during the RemoveExistingProducts action.
>
> John
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to