Add Warning to installer
This commit is contained in:
+14
-1
@@ -115,6 +115,17 @@ XML_FILE+=" <UI>\r\n"
|
||||
XML_FILE+=" <UIRef Id='WixUI_InstallDir'/>\r\n"
|
||||
XML_FILE+=" <UIRef Id='WixUI_ErrorProgressText'/>\r\n"
|
||||
XML_FILE+="\r\n"
|
||||
XML_FILE+=" <Dialog Id='WarningDialog' Width='370' Height='270' Title='!(loc.InstallDirDlg_Title)'>\r\n"
|
||||
XML_FILE+=" <Control Id='Next' Type='PushButton' X='236' Y='243' Width='56' Height='17' Default='yes' Text='!(loc.WixUINext)' />\r\n"
|
||||
XML_FILE+=" <Control Id='Back' Type='PushButton' X='180' Y='243' Width='56' Height='17' Text='!(loc.WixUIBack)' />\r\n"
|
||||
XML_FILE+=" <Control Id='Cancel' Type='PushButton' X='304' Y='243' Width='56' Height='17' Cancel='yes' Text='!(loc.WixUICancel)'>\r\n"
|
||||
XML_FILE+=" <Publish Event='SpawnDialog' Value='CancelDlg' />\r\n"
|
||||
XML_FILE+=" </Control>\r\n"
|
||||
XML_FILE+=" <Control Id='Description' Type='Text' X='25' Y='23' Width='280' Height='15' Transparent='yes' NoPrefix='yes' Text='WARNING!' />\r\n"
|
||||
XML_FILE+=" <Control Id='Title' Type='Text' X='15' Y='6' Width='200' Height='15' Transparent='yes' NoPrefix='yes' Text='WARNING!' />\r\n"
|
||||
XML_FILE+=" <Control Id='MainText' Type='Text' X='40' Y='60' Width='300' Height='40' Text='This project interacts directly with hardware using reverse engineered protocols. While we do our best to make sure we're sending the right data, there is always some risk in sending data to hardware when we don't understand exactly how that hardware works. There have been issues in the past with certain hardware getting damaged/bricked and we have either disabled or fixed the offending code. That said, with OpenRGB always changing and the landscape of RGB devices being of widely varying quality, we can't guarantee it won't happen again. By installing and using OpenRGB you accept this risk.' />\r\n"
|
||||
XML_FILE+=" </Dialog>\r\n"
|
||||
XML_FILE+="\r\n"
|
||||
XML_FILE+=" <Dialog Id='PawnIODialog' Width='370' Height='270' Title='!(loc.InstallDirDlg_Title)'>\r\n"
|
||||
XML_FILE+=" <Control Id='Next' Type='PushButton' X='236' Y='243' Width='56' Height='17' Default='yes' Text='!(loc.WixUINext)' />\r\n"
|
||||
XML_FILE+=" <Control Id='Back' Type='PushButton' X='180' Y='243' Width='56' Height='17' Text='!(loc.WixUIBack)' />\r\n"
|
||||
@@ -159,8 +170,10 @@ XML_FILE+=" <Publish Event='NewDialog' Value='VerifyReadyDlg'
|
||||
XML_FILE+=" </Control>\r\n"
|
||||
XML_FILE+=" </Dialog>\r\n"
|
||||
XML_FILE+="\r\n"
|
||||
XML_FILE+=" <Publish Dialog='InstallDirDlg' Control='Next' Event='NewDialog' Value='PawnIODialog' Order='5'>WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID=\"1\"</Publish>\r\n"
|
||||
XML_FILE+=" <Publish Dialog='InstallDirDlg' Control='Next' Event='NewDialog' Value='WarningDialog' Order='5'>WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID=\"1\"</Publish>\r\n"
|
||||
XML_FILE+=" <Publish Dialog='VerifyReadyDlg' Control='Back' Event='NewDialog' Value='ServiceDialog' Order='2'>1</Publish>\r\n"
|
||||
XML_FILE+=" <Publish Dialog='WarningDialog' Control='Next' Event='NewDialog' Value='PawnIODialog' Order='2'>1</Publish>\r\n"
|
||||
XML_FILE+=" <Publish Dialog='WarningDialog' Control='Back' Event='NewDialog' Value='WarningDialog' Order='2'>1</Publish>\r\n"
|
||||
XML_FILE+=" <Publish Dialog='PawnIODialog' Control='Next' Event='NewDialog' Value='ServiceDialog' Order='2'>1</Publish>\r\n"
|
||||
XML_FILE+=" <Publish Dialog='PawnIODialog' Control='Back' Event='NewDialog' Value='InstallDirDlg' Order='2'>1</Publish>\r\n"
|
||||
XML_FILE+=" <Publish Dialog='ServiceDialog' Control='Next' Event='NewDialog' Value='VerifyReadyDlg' Order='2'>1</Publish>\r\n"
|
||||
|
||||
Reference in New Issue
Block a user