프로젝트

일반

사용자정보

개정판 fc6ec385

IDfc6ec385ba49e6a98b5f9810f3154fffd46a04ab
상위 e4357f18
하위 937a60e4, 401c6836

김동진이(가) 5년 이상 전에 추가함

issue #000: wix net framework ui 추가.

Change-Id: Iea1e6ccd7c6e73eeb711e8246eb71039f9ee2cb6

차이점 보기:

MARKUS.wxs
18 18
		<RegistrySearch Id="NetFramework40" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full" Name="Install" Type="raw" />
19 19
	</Property>
20 20
	<CustomAction Id="SetFX461" Property="WixShellExecTarget" Value="http://go.microsoft.com/fwlink/?LinkId=671743" />
21
	<UI>
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="SetFX461" 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
  </Dialog>
21 38
	
39
	<InstallUISequence>
40
    <Show Dialog="NetFRWDlg" After="AppSearch">
41
      (NOT Installed) AND (NOT NETFRAMEWORK40)
42
    </Show>        
43
  </InstallUISequence>
44
	</UI>
22 45
	<CustomAction Id="LaunchBrowser" 
23 46
        BinaryKey="WixCA" 
24 47
        DllEntry="WixShellExec"
......
45 68
    </Directory>
46 69
    <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
47 70
    <UIRef Id="WixUI_InstallDir"/>   
48
    <UI>
49
	<Dialog Id="NetFRWDlg" Width="260" Height="95" Title="[ProductName] Installation" NoMinimize="yes">
50

  
51
    <Control Id="Text" Type="Text" X="48" Y="15" Width="194" Height="40">
52
      <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>
53
    </Control>
54

  
55
    <Control Id="YesButton" Type="PushButton" X="72" Y="67" Width="56" Height="17" Default="yes" Cancel="yes" Text="[ButtonText_Yes]">
56
      <Publish Event="DoAction" Value="NetFRWDlg" Order="1">1</Publish>
57
      <Publish Event="DoAction" Value="LaunchBrowser" Order="2">1</Publish>
58
      <Publish Event="EndDialog" Value="Exit" Order="3">1</Publish>
59
    </Control>
60

  
61
    <Control Id="NoButton" Type="PushButton" X="132" Y="67" Width="56" Height="17" Default="no" Cancel="yes" Text="[ButtonText_No]">
62
      <Publish Event="EndDialog" Value="Exit">1</Publish>
63
    </Control>
64

  
65
    <Control Id="Icon" Type="Icon" X="15" Y="15" Width="24" Height="24" ToolTip="Information icon" FixedSize="yes" IconSize="32" Text="[WarningIcon]" />
66
  </Dialog>
67
	
68
	<InstallUISequence>
69
    <Show Dialog="NetFRWDlg" After="AppSearch">
70
      (NOT Installed) AND (NOT NETFRAMEWORK40)
71
    </Show>        
72
  </InstallUISequence>
73
	</UI>
71
    
74 72
  </Fragment>
75 73

  
76 74
  <Fragment>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)