개정판 8f2444ac
issue #000: wix net framework test
Change-Id: Iba9c9e8348a2865a4b6fdc418563682a79c6b9e4
MARKUS.wxs | ||
---|---|---|
13 | 13 |
<ComponentGroupRef Id="MARKUS" /> |
14 | 14 |
</Feature> |
15 | 15 |
|
16 |
<CustomAction Id="NETFRAMEWORK_461" |
|
17 |
Directory="INSTALLFOLDER" |
|
18 |
ExeCommand=""[INSTALLFOLDER]NDP461-KB3102438-Web.exe" /norestart" /passive" /showrumi" /ChainingPackage" Contoso" |
|
19 |
Execute="commit" |
|
20 |
Return="asyncNoWait" |
|
21 |
Impersonate="no" |
|
22 |
/> |
|
23 |
|
|
24 |
<InstallExecuteSequence> |
|
25 |
<Custom Action='NETFRAMEWORK_461' After='InstallFiles' /> |
|
26 |
</InstallExecuteSequence> |
|
27 |
|
|
28 | 16 |
<Property Id="WixShellExecTarget" Value="[INSTALLFOLDER]readme.html" /> |
29 | 17 |
<CustomAction Id="LaunchBrowser" |
30 | 18 |
BinaryKey="WixCA" |
... | ... | |
34 | 22 |
<Custom Action='LaunchBrowser' After='InstallFinalize'>NOT Installed</Custom> |
35 | 23 |
</InstallExecuteSequence> |
36 | 24 |
</Product> |
25 |
<?define NetFx461MinRelease = 394254 ?> |
|
26 |
<?define NetFx461RedistLink = http://go.microsoft.com/fwlink/?LinkId=671743 ?> |
|
27 |
<?define NetFx461EulaLink = http://referencesource.microsoft.com/license.html ?> |
|
37 | 28 |
|
38 | 29 |
<Fragment> |
30 |
<PropertyRef Id="WIXNETFX4RELEASEINSTALLED" /> |
|
31 |
<Property Id="WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED" Secure="yes" /> |
|
32 |
<SetProperty Id="WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED" Value="1" After="AppSearch"> |
|
33 |
WIXNETFX4RELEASEINSTALLED >= "#$(var.NetFx461MinRelease)" |
|
34 |
</SetProperty> |
|
35 |
</Fragment> |
|
36 |
|
|
37 |
<Fragment> |
|
38 |
<util:RegistrySearchRef Id="NETFRAMEWORK45"/> |
|
39 |
|
|
40 |
<WixVariable Id="WixMbaPrereqPackageId" Value="NetFx461Redist" /> |
|
41 |
<WixVariable Id="WixMbaPrereqLicenseUrl" Value="$(var.NetFx461EulaLink)" Overridable="yes" /> |
|
42 |
<WixVariable Id="NetFx461RedistDetectCondition" Value="NETFRAMEWORK45 >= $(var.NetFx461MinRelease)" Overridable="yes" /> |
|
43 |
<WixVariable Id="NetFx461RedistInstallCondition" Value="" Overridable="yes" /> |
|
44 |
<WixVariable Id="NetFx461RedistPackageDirectory" Value="redist\" Overridable="yes" /> |
|
45 |
|
|
46 |
<PackageGroup Id="NetFx461Redist"> |
|
47 |
<ExePackage |
|
48 |
InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx461FullLog].html"" |
|
49 |
RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log "[NetFx461FullLog].html"" |
|
50 |
UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log "[NetFx461FullLog].html"" |
|
51 |
PerMachine="yes" |
|
52 |
DetectCondition="!(wix.NetFx461RedistDetectCondition)" |
|
53 |
InstallCondition="!(wix.NetFx461RedistInstallCondition)" |
|
54 |
Id="NetFx461Redist" |
|
55 |
Vital="yes" |
|
56 |
Permanent="yes" |
|
57 |
Protocol="netfx4" |
|
58 |
DownloadUrl="$(var.NetFx461RedistLink)" |
|
59 |
LogPathVariable="NetFx461FullLog" |
|
60 |
Compressed="no" |
|
61 |
Name="!(wix.NetFx461RedistPackageDirectory)NDP461-KB3102436-x86-x64-AllOS-ENU.exe"> |
|
62 |
<RemotePayload |
|
63 |
CertificatePublicKey="52868DFCA6E3AF2632389E6C1EE7D0468D3797D0" |
|
64 |
CertificateThumbprint="3BDA323E552DB1FDE5F4FBEE75D6D5B2B187EEDC" |
|
65 |
Description="Microsoft .NET Framework 4.6.1 Setup" |
|
66 |
Hash="83D048D171FF44A3CAD9B422137656F585295866" |
|
67 |
ProductName="Microsoft .NET Framework 4.6.1" |
|
68 |
Size="67681000" |
|
69 |
Version="4.6.1055.0" /> |
|
70 |
</ExePackage> |
|
71 |
</PackageGroup> |
|
72 |
</Fragment> |
|
73 |
|
|
74 |
<Fragment> |
|
39 | 75 |
<Directory Id="TARGETDIR" Name="SourceDir"> |
40 | 76 |
<Directory Id="DesktopFolder" Name="Desktop"> |
41 | 77 |
<Component Id="DesktopShortcut" Guid="DF06024A-95FE-43E2-BDF2-7C686EAF391F" Feature="ProductFeature" Win64='yes'> |
내보내기 Unified diff