If you want the ability to easily force an installation later, I would
suggest either transforms, or adding a clause like "or
SKIPNETFRAMEWORKCHECK" and documenting how your enterprise customers
can create a transform or use the property to continue the install
when the checks fail. Heck, put a simple instruction in the error
message. But don't look for a detection scheme to be any better than
you at predicting the future.

Specifically for the .NET version-x-or-greater check, there's also the
property MsiNetAssemblySupport
http://msdn.microsoft.com/en-us/library/aa370325(VS.85).aspx that
could be used in a condition instead of a version-specific property.


Michael

On Mon, Feb 15, 2010 at 13:49, John Vottero <jvott...@mvpsi.com> wrote:
>>
>> There is no guarantee that your product would work just fine with CLR
>> 4.0 just because it works with CLR 2.0 (Framework 3.5).
>
> The WiX version test is a guarantee that it WON'T work because it will refuse 
> to install.
>
> We work very hard to make sure that our software is "upwardly compatible" and 
> the .NET Framework
> people do the same.  All that hard work is negated if the installer has a 
> pedantic version test.
>
> The test for a version of the Framework must (optionally) be "Vx.x or any 
> version that claims to support Vx.x".
>
> We write "enterprise grade" software.  Enterprises don't want to upgrade 
> without a good reason. Ten years from now, when a customer calls us up to ask 
> if they can install a ten year old release on Windows 2020, I want to say 
> yes.  I don't want to explain that it won't work because the installer will 
> refuse to install.
>
>>
>> For CLR 4.0 the CLR has moved into a SxS model whereby 4.0 can be
>> loaded in-proc SxS 2.0 runtime, and the 5.0 runtime will be loaded into
>> process alongside the 4.0 runtime, etc. Therefore, they are moving away
>> from a model where CLR 4.0 assumes it can run CLR 2.0 runtime solutions
>> with compatibility. There is extra work you will have to do with
>> manifests to allow that scenario to work, and you will have to update
>> that manifest for each new FW released. Your setup would also have to
>> change to take this into account.
>
> The SxS model only works for applications.  Libraries are still loaded into 
> whatever version is loading them.  I think you can also create a manifest 
> that says "run on whatever is installed" (I haven't tried that).
>
>>
>> So actually it's a good thing that the 3.5 detection logic doesn't
>> assume 4.0 matches because if it did you may find your solution
>> installed onto a platform that is not back compat with your solution.
>
> No, it's actually a bad thing because it forces my software to break for no 
> reason.  Give me a chance to install so I can see if it works.
>
> John Vottero
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to