in the sources: src\ext\NetFxExtension\wixlib will have wxs files you can examine (that are supplied to your projects whenever the WixNetFxExtension is referenced in a build). > From: y...@slb.com > To: wix-users@lists.sourceforge.net; mark...@live.it > Date: Fri, 21 Jun 2013 00:01:37 +0000 > Subject: Re: [WiX-users] Give NetFx40Redist a local download path? > > Hi Marco, > > I'm kind of new to WiX. Where is the "net fx extension" that you mentioned? > Is it just a XML? I'd like have a look at how they do the detection so I can > clone the piece in my local package approach. Thanks! > > > -----Original Message----- > From: Marco Tognacci [mailto:mark...@live.it] > Sent: Thursday, June 20, 2013 12:04 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Give NetFx40Redist a local download path? > > If you check the net fx extension that is provided with wix you can see that > all the options you can choose for the intall of the NET 4.0 need to download > the package from the web, even the full version.I hope that they could add > even this possibility, now the only way that I have found is to add the > package as you have done. > > > From: y...@slb.com > > To: wix-users@lists.sourceforge.net > > Date: Thu, 20 Jun 2013 16:52:27 +0000 > > Subject: [WiX-users] Give NetFx40Redist a local download path? > > > > Hi, > > > > I'm facing a .NET installation issue. My installer bootstraps .NET 4 > > installer by using this: > > > > <PackageGroupRef Id="NetFx40Redist"/> > > > > It works great. But I just found it doesn't work for a disconnected > > computer. The error log shows that my installer is trying access the > > Microsoft site to download the .NET standalone installer. Is there any way > > I can still use this WiX built-in feature but instruct the installer to > > download the .NET installer from a local directory? > > I have tried to use the following approach before: > > > > > > <ExePackage SourceFile="bin\dotNetFx40_Full_x86_x64.exe" > > > > InstallCommand="/passive" > > > > DetectCondition="Netfx4FullVersion AND (NOT VersionNT64 > > OR Netfx4x64FullVersion)" > > > > Compressed="yes" > > > > Cache="no" > > > > PerMachine="yes" > > > > Permanent="yes" > > > > > > DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=164193" > > > > Vital="yes" > > > > > <ExitCode Value="0" Behavior="success" /> > > > > <ExitCode Value="1641" Behavior="scheduleReboot" /> > > > > <ExitCode Value="3010" Behavior="scheduleReboot" /> > > > > <ExitCode Behavior="error" /> > > > > </ExePackage> > > > > But I don't like it because it just doesn't do the detection job as good as > > the WiX built-in package group. The problem was that it always unpacks the > > .NET installer first then realizes .NET 4 is already installed and aborted > > the installation of .NET. I want a detection process as smooth as the > > built-in NetFx40Redist package group does. This is why I want to stick to > > it. > > Can someone tell me how to customize the NetFx40Redist please??? > > > > Thank you! > > ---------------------------------------------------------------------- > > -------- This SF.net email is sponsored by Windows: > > > > Build for Windows Store. > > > > http://p.sf.net/sfu/windows-dev2dev > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows:
Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users