The easiest and cleanest way is to make the daily builds update the build 
number (third part of the msi product version) each build and implement major 
upgrade with a * product code (if you don't already)? Then dev builds always 
install and remove any previous build.

You alter the product code and version already each build by the looks of it...

-----Original Message-----
From: Tony [mailto:yellowjacketl...@gmail.com] 
Sent: 08 January 2014 16:41
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Preventing 'v1.0.0.1' install when v1.0.0.0 is 
present...

I was aware of the Windows Installer limitation, unfortunately, our daily 
builds do not touch the first three parts of the version, so in our dev labs we 
have to "remember" to uninstall first.  Most folks know this, but with several 
new folks coming onboard and contractors helping here and there, we have been 
burned a few times.  So, I was looking for something to prevent and/or "gently" 
remind the installer that they shouldn't be doing the install.


Thanks for the idea Carter.  I was thinking about something similar, maybe 
using RegLocator/CompLocator against a well-known regvalue/binary.
If found and **BOTH** WIX_UPGRADE_DETECTED and WIX_DOWNGRADE_DETECTED are
**NOT** set, I can assume a re-install is taking place and abort the install.

Thoughts?


On Wed, Jan 8, 2014 at 10:54 AM, Rob Mensching <r...@robmensching.com> wrote:

> The Windows Installer chooses not to recognize the revision (the 
> fourth build version) in major upgrades.
>
> -----Original Message-----
> From: Tony [mailto:yellowjacketl...@gmail.com]
> Sent: Wednesday, January 8, 2014 7:36 AM
> To: WiX Users
> Subject: [WiX-users] Preventing 'v1.0.0.1' install when v1.0.0.0 is 
> present...
>
> NOTE: This is primarily an issue with our daily dev/interim builds.  
> This isn't an issue with QA and/or released builds as they have unique 
> Major.Minor.Build numbers.
>
> I'd like some means to block the install, treat it as an upgrade or 
> even just a simple pop-up "Do you really want to install another 
> version of this package?".
>
> Here's the scenario...
>
> Currently installed application:
> UpgradeCode = 123,
> ProductCode = AAA,
> PackageCode = BBB,
> ProductVersion = 1.0.0.0
>
> I'd like to prevent this package from being installed (or show a 
> pop-up, etc.)...
> UpgradeCode = 123,
> ProductCode = DDD,
> PackageCode = FFF,
> ProductVersion = 1.0.0.1
>
> Is there some way prevent this with FindExistingProducts? AppSearch?
> FileSearch? RegSearch?
>
> If not can I get the ProductVersion of any installed application that 
> has the matching UpgradeCode assign it to a Property and compare 
> versions in a custom action?
>
> Thanks,
> --
> Tony
>
> ----------------------------------------------------------------------
> -------- Rapidly troubleshoot problems before they affect your 
> business. Most IT organizations don't have a clear picture of how 
> application performance affects their revenue. With AppDynamics, you 
> get 100% visibility into your Java,.NET, & PHP application. Start your 
> 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.c
> lktrk _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ----------------------------------------------------------------------
> -------- Rapidly troubleshoot problems before they affect your 
> business. Most IT organizations don't have a clear picture of how 
> application performance affects their revenue. With AppDynamics, you 
> get 100% visibility into your Java,.NET, & PHP application. Start your 
> 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.c
> lktrk _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



--
Tony
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance affects 
their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & 
PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.



This message has been scanned for malware by Websense. www.websense.com

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to