This commit is contained in:
v-zhongz 2015-08-10 15:16:50 +08:00
Родитель 95011bfe4f
Коммит 60f12313b3
1 изменённых файлов: 44 добавлений и 9 удалений

Просмотреть файл

@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
The MIT License (MIT)
Copyright 2015 Microsoft Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy
@ -116,19 +114,56 @@ THE SOFTWARE.
<ComponentRef Id="EnhancedMonitoring.Config" />
<ComponentRef Id="EnhancedMonitoring.Common" />
<ComponentRef Id="EnhancedMonitoring.Service" />
</Feature>
<UIRef Id="WixUI_Minimal" />
<Property Id="WIXUI_EXITDIALOGOPTIONALTEXT" Value="Enhanced Monitoring Service installed successfully." />
<CustomAction Id='LaunchApplication' Directory='INSTALLDIR' Execute='deferred'
</Feature>
<UI Id="WixUI_Minimal">
<TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
<TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
<TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
<Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
<Property Id="WixUI_Mode" Value="Minimal" />
<DialogRef Id="ErrorDlg" />
<DialogRef Id="FatalError" />
<DialogRef Id="FilesInUse" />
<DialogRef Id="MsiRMFilesInUse" />
<DialogRef Id="PrepareDlg" />
<DialogRef Id="ProgressDlg" />
<DialogRef Id="ResumeDlg" />
<DialogRef Id="UserExit" />
<!-- This is the welcome dialog you specified-->
<DialogRef Id="WelcomeDlg" />
<!-- Hook the new welcome dialog to the next one in the stack-->
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="PrepareDlg">1</Publish>
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
<Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>
<Property Id="ARPNOMODIFY" Value="1" />
</UI>
<UIRef Id="WixUI_Common" />
<CustomAction Id='DeleteLog' Directory='INSTALLDIR' Execute='deferred'
ExeCommand='[SystemFolder]cmd.exe /c &quot;rd /s /q "C:\ProgramData\Enhanced Monitoring"&quot;' Return='ignore' Impersonate = "no" />
<InstallExecuteSequence>
<Custom Action='LaunchApplication' After='InstallInitialize'>
<Custom Action='DeleteLog' After='InstallInitialize'>
(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")
</Custom>
</InstallExecuteSequence>
</Product>
</Wix>