Skip to content

Instantly share code, notes, and snippets.

@benash
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benash/d5b49d71b0e264cfdcc2 to your computer and use it in GitHub Desktop.
Save benash/d5b49d71b0e264cfdcc2 to your computer and use it in GitHub Desktop.
<Chain>
<PackageGroupRef Id="NetFx20Web"/>
<!-- more packages here -->
</Chain>
<!-- . . . -->
<Fragment>
<PackageGroup Id="NetFx20Web">
<ExePackage InstallCondition="NOT VersionNT64 AND VersionNT &lt;&gt; v6.1"
DetectCondition="NOT VersionNT64 AND NETFRAMEWORK20"
Name="NetFx20SP2_x86.exe"
Permanent="yes"
Compressed="no"
PerMachine="yes"
InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;"
UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
DownloadUrl="http://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe">
<RemotePayload CertificatePublicKey="F321408E7C51F8544B98E517D76A8334052E26E8"
CertificateThumbprint="D57FAC60F1A8D34877AEB350E83F46F6EFC9E5F1"
Description="Microsoft .NET Framework 2.0 SP2 Setup"
Hash="22D776D4D204863105A5DB99E8B8888BE23C61A7"
ProductName="Microsoft .NET Framework 2.0 SP2"
Size="25001480"
Version="2.2.30729.1" />
</ExePackage>
<ExePackage InstallCondition="VersionNT64 AND VersionNT &lt;&gt; v6.1"
DetectCondition="VersionNT64 AND NETFRAMEWORK20"
Name="NetFx20SP2_x64.exe"
Permanent="yes"
Compressed="no"
PerMachine="yes"
InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;"
UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
DownloadUrl="http://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x64.exe">
<RemotePayload CertificatePublicKey="F321408E7C51F8544B98E517D76A8334052E26E8"
CertificateThumbprint="D57FAC60F1A8D34877AEB350E83F46F6EFC9E5F1"
Description="Microsoft .NET Framework 2.0 SP2 Setup"
Hash="A7CC6C6E5A4AD9CDF3DF16A7D277EB09FEC429B7"
ProductName="Microsoft .NET Framework 2.0 SP2"
Size="48524296"
Version="2.2.30729.1" />
</ExePackage>
</PackageGroup>
</Fragment>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment