Repository navigation
מתקין Windows: הסרה שקטה לא נעצרת על השאלה "למחוק גם את הספרים?" (הגשה מחדש של #1989) - #5774
Merged
Merged
Conversation
InitializeUninstall שאל ב-MsgBox, שאינו מדוכא ב-/SUPPRESSMSGBOXES (רק SuppressibleMsgBox מחזיר ברירת מחדל). ההסרה בהיקף השני, שהמתקין מריץ ב-/VERYSILENT /SUPPRESSMSGBOXES /CROSSSCOPE=1, נעצרה על חלון השאלה. הסרה שקטה מדלגת עכשיו על השאלה ושומרת את הספרים והנתונים — ברירת המחדל שהשאלה עצמה מסמנת (MB_DEFBUTTON2). זהה בשני המתקינים. (cherry picked from commit fca44e6)
Y-PLONI
force-pushed
the
reopen/pr-1989
branch
from
November 22, 2026 16:09
4715284 to
ccff7a8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
למה הוגש מחדש
ה-PR המקורי #1989 (Nathaniel-260) נסגר על ידי המחבר מתוך אי-הבנה של מה שהתיקון עושה, אבל הבאג עדיין קיים ב-
dev(נבדק בקוד העדכני).מתקין חדש שמוצא התקנה ישנה בהיקף השני (משתמש מול מנהל) מריץ את המסיר שלה עם
/VERYSILENT /SUPPRESSMSGBOXES /CROSSSCOPE=1וממתין לסיומו (ewWaitUntilTerminated;otzaria.iss~שורה 1642).InitializeUninstallקורא ל-MsgBoxבלי בדיקתUninstallSilent, ולפי התיעוד של Inno Setup הדגל/SUPPRESSMSGBOXESמשפיע רק עלSuppressibleMsgBoxולא עלMsgBoxבקוד. לכן ההסרה נתקעת על חלון השאלה "למחוק גם את הספרים?" וההתקנה החדשה לא מתקדמת.התיקון משאיר את השאלה בהסרה רגילה, ומדלג עליה רק בהסרה שקטה. ההערה ב-
dev("בהסרה שקטה MsgBox מחזיר את ברירת המחדל") שגויה, ותוקנה כאן.הקוד של המחבר המקורי נשמר (האוטור של הקומיט), בוצע עליו ריבייס על
dev.מה השינוי?
installer/otzaria.issוב-installer/otzaria_full.iss, ב-InitializeUninstall, אחרי איפוסDeleteUserDataOnUninstall := False, נוספהif UninstallSilent then exit;. הסרה שקטה שומרת את הספרים והנתונים (ברירת המחדל של השאלה,MB_DEFBUTTON2). הסרה רגילה ללא שינוי.test/installer/installer_scripts_test.dartשמוודא בשני המתקינים שהיציאה השקטה קודמת ל-MsgBox, ושהשגרה זהה בשניהם.קישור לבעיה
Refs #1989 (ה-PR המקורי). אין issue נפרד פתוח.
הערות ידועות
בדיקות
flutter analyze test/installer/installer_scripts_test.dart;flutter test test/installer/installer_scripts_test.dart(235 בדיקות, כולל שלוש החדשות).flutter analyzeעל כל הפרויקט.PRs קשורים
git merge-treeמול ראש ה-PR שלו והמיזוג נקי.