{Display a dialog asking the user if they'd like to delete the previous start menu group}
{If they'd like to delete the previous start menu group then...}
- If Msgbox(strMessage, mbConfirmation, mb_YesNo) = mrYes Then
+ If SuppressibleMsgbox(strMessage, mbConfirmation, mb_YesNo, mrYes) = mrYes Then
Begin
strOld := ExpandConstant('{commonprograms}\') + strOld;
{Remove old start menu}
\r
{Display a dialog asking the user if they'd like to delete the previous start menu group}\r
{If they'd like to delete the previous start menu group then...}\r
- If Msgbox(strMessage, mbConfirmation, mb_YesNo) = mrYes Then\r
+ If SuppressibleMsgbox(strMessage, mbConfirmation, mb_YesNo, mrYes) = mrYes Then\r
Begin\r
strOld := ExpandConstant('{commonprograms}\') + strOld;\r
{Remove old start menu}\r
\r
{Display a dialog asking the user if they'd like to delete the previous start menu group}\r
{If they'd like to delete the previous start menu group then...}\r
- If Msgbox(strMessage, mbConfirmation, mb_YesNo) = mrYes Then\r
+ If SuppressibleMsgbox(strMessage, mbConfirmation, mb_YesNo, mrYes) = mrYes Then\r
Begin\r
strOld := ExpandConstant('{commonprograms}\') + strOld;\r
{Remove old start menu}\r
{Display a dialog asking the user if they'd like to delete the previous start menu group}
{If they'd like to delete the previous start menu group then...}
- If Msgbox(strMessage, mbConfirmation, mb_YesNo) = mrYes Then
+ If SuppressibleMsgbox(strMessage, mbConfirmation, mb_YesNo, mrYes) = mrYes Then
Begin
strOld := ExpandConstant('{commonprograms}\') + strOld;
{Remove old start menu}
\r
{Display a dialog asking the user if they'd like to delete the previous start menu group}\r
{If they'd like to delete the previous start menu group then...}\r
- If Msgbox(strMessage, mbConfirmation, mb_YesNo) = mrYes Then\r
+ If SuppressibleMsgbox(strMessage, mbConfirmation, mb_YesNo, mrYes) = mrYes Then\r
Begin\r
strOld := ExpandConstant('{commonprograms}\') + strOld;\r
{Remove old start menu}\r