개정판 f3b3ba86
issue #000: wix modify
Change-Id: I48539a3339bac773e75c7e02052086fb177e66c7
MARKUS.wxs | ||
---|---|---|
14 | 14 |
</Feature> |
15 | 15 |
|
16 | 16 |
<Property Id="WixShellExecTarget" Value="[INSTALLFOLDER]readme.html" /> |
17 |
<Property Id="NETFRAMEWORK40"> |
|
18 |
<RegistrySearch Id="NetFramework40" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full" Name="Install" Type="raw" /> |
|
19 |
</Property> |
|
20 |
<CustomAction Id="SetFX461" Property="WixShellExecTarget" Value="http://go.microsoft.com/fwlink/?LinkId=671743" /> |
|
21 |
|
|
22 |
<Dialog Id="NetFRWDlg" Width="260" Height="95" Title="[ProductName] Installation" NoMinimize="yes"> |
|
23 |
|
|
24 |
<Control Id="Text" Type="Text" X="48" Y="15" Width="194" Height="40"> |
|
25 |
<Text>This setup requires the .NET Framework version 4.6.1 Please install the .NET Framework and run this setup again. The .NET Framework can be obtained from the web. Would you like to do this now?</Text> |
|
26 |
</Control> |
|
27 |
|
|
28 |
<Control Id="YesButton" Type="PushButton" X="72" Y="67" Width="56" Height="17" Default="yes" Cancel="yes" Text="[ButtonText_Yes]"> |
|
29 |
<Publish Event="DoAction" Value="NetFRWDlg" Order="1">1</Publish> |
|
30 |
<Publish Event="DoAction" Value="LaunchBrowser" Order="2">1</Publish> |
|
31 |
<Publish Event="EndDialog" Value="Exit" Order="3">1</Publish> |
|
32 |
</Control> |
|
33 |
|
|
34 |
<Control Id="NoButton" Type="PushButton" X="132" Y="67" Width="56" Height="17" Default="no" Cancel="yes" Text="[ButtonText_No]"> |
|
35 |
<Publish Event="EndDialog" Value="Exit">1</Publish> |
|
36 |
</Control> |
|
37 |
|
|
38 |
<Control Id="Icon" Type="Icon" X="15" Y="15" Width="24" Height="24" ToolTip="Information icon" FixedSize="yes" IconSize="32" Text="[WarningIcon]" /> |
|
39 |
</Dialog> |
|
40 |
|
|
41 |
<InstallUISequence> |
|
42 |
<Show Dialog="NetFRWDlg" After="AppSearch"> |
|
43 |
(NOT Installed) AND (NOT NETFRAMEWORK40) |
|
44 |
</Show> |
|
45 |
</InstallUISequence> |
|
17 | 46 |
<CustomAction Id="LaunchBrowser" |
18 | 47 |
BinaryKey="WixCA" |
19 | 48 |
DllEntry="WixShellExec" |
내보내기 Unified diff