It’s an MSI philosophy and it’s a consequence of .NET’s installer.
You cannot nest MSI installs. That’s a property of Windows Installer. The
Framework’s installer is itself an MSI. .NET has to ship one component,
Fusion.dll for managing the GAC, that Windows Installer depends on as of
Windows Installer 2.0, and recursively .NET’s installer has to install items to
the GAC, so it actually stops the Windows Installer service in the middle of
installing to upgrade that one file. You can see why this is a problem.
“.NET 3.5” is an appalling name for a set of additional libraries and
components for .NET 2.0. In fact the .NET Framework 3.5 installer downloads and
installs:
.NET 2.0 SP1, either complete or as an MSP patch if .NET 2.0 RTM is installed,
a Windows patch on Windows Vista
“.NET 3.0” SP1, either complete or as an MSP patch if .NET 3.0 RTM is
installed, a Windows patch on Windows Vista
The .NET 3.5 new libraries MSI.
For 64-bit systems it has two copies of all of that.
That lot all told takes 197MB if you download the full package
(http://download.microsoft.com/download/6/0/f/60fc5854-3cb8-4892-b6db-bd4f42510f28/dotnetfx35.exe).
Therefore Microsoft recommend you supply the 2.7MB install starter package
which detects what OS you’re on, whether you have a 64-bit architecture (and
which one), and which components you already have, so it can download only the
updates that are required.
Be prepared to warn Vista users not to click the Reboot button from Windows
Update when the .NET 2.0 and 3.0 patches have been applied. That will wreck the
Windows Installer transaction for .NET 3.5 and you’ll be spending time with
MsiZap to clean it up.
Reportedly there is a plan for a 20MB or so client-only installer in .NET 3.5
SP1/VS2008 SP1. See
http://msdn.microsoft.com/en-us/vstudio/products/cc533447.aspx for details.
--
Mike Dimmick
_____
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher
Painter
Sent: 16 May 2008 02:28
To: Neil Enns; Kelly Leahy
Cc: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Installing .NET 3.5 redist?
The WiX `philosophy` seems to be don't add .NET dependencies to your install
and don't redist the framework. Just do an AppSearch/Launch Condition and
tell the user to go do it on their own. Personally this conflicts with my
needs and results in one of the many reasons why I can't use WiX even though
I'd like to.
Neil Enns <[EMAIL PROTECTED]> wrote:
That's what I was afraid the answer would be :( Thanks.
Neil
_____
From: Kelly Leahy <[EMAIL PROTECTED]>
Sent: Thursday, May 15, 2008 4:50 PM
To: Neil Enns <[EMAIL PROTECTED]>
Cc: wix-users@lists.sourceforge.net <wix-users@lists.sourceforge.net>; [EMAIL
PROTECTED] <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] Installing .NET 3.5 redist?
You need a bootstrapper for this. You won't be able to nest the installers in
any way that works.
Neil Enns <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
05/15/2008 04:45 PM
To
"wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net>
cc
Subject
[WiX-users] Installing .NET 3.5 redist?
Has anyone had any experience with installing the .NET 3.5 redistributable as
part of a WiX installer? We are a Vista-only application, and know we’ll need
to install .NET 3.5 to run. There’s a standalone exe (netfx35_x86.exe) that
installs the redist, but we’re not sure how to integrate that into our
installer. Calling it from our installer with a /q flag results in an error
because there’s already another install (ours) running.
Thanks for any tips or pointers!
Neil-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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
**************************************************************************************
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. Unless indicated
to the contrary: it does not constitute professional advice or opinions
upon which reliance may be made by the addressee or any other party,
and it should be considered to be a work in progress. Unless otherwise
noted in this email or its attachments, this communication does not form
a Statement of Actuarial Opinion under American Academy of Actuaries guidelines.
**************************************************************************************
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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