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