From 20eae995d845b134a5523057ee02005d604eb97e Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 10 Jun 2008 10:45:49 +0000 Subject: [PATCH] added uninstaller dialogs --- installer/installer.rc | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/installer/installer.rc b/installer/installer.rc index 24b298c..8377401 100755 --- a/installer/installer.rc +++ b/installer/installer.rc @@ -2,7 +2,7 @@ #include "installer.h" MYICON1 ICON "swftools.ico" -SWFTOOLS BITMAP "swftools.bmp" +LOGO BITMAP "swftools.bmp" #define X 64 @@ -64,3 +64,41 @@ BEGIN 104-X,163,WS_EX_CLIENTEDGE END +IDD_SURE DIALOGEX 0, 0, 379-X, 178 +STYLE WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Setup" +FONT 8, "MS Sans Serif", 0, 0, 0x1 +BEGIN + LTEXT "This program will deinstall the software from your computer. Click ""Next"" to remove all files and startmenu/desktop entries from this machine. Click ""Cancel"" to exit the Deinstaller." + IDC_TITLE,125-X,10,246,31,NOT WS_GROUP + CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER, + 125-X,157,246,14 + CTEXT "Installation progress:",IDC_INFO,125-X,137,246,8 + CONTROL 110,IDC_BITMAP,"Static",SS_BITMAP | SS_CENTERIMAGE,6,8, + 104-X,163,WS_EX_CLIENTEDGE +END + +IDD_EXTRAFILES DIALOGEX 0, 0, 379-X, 178 +STYLE WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Setup" +FONT 8, "MS Sans Serif", 0, 0, 0x1 +BEGIN + LTEXT "The installation directory still contains files which were created after the initial installation. Please decide whether those files should be removed, too." + IDC_TITLE,125-X,10,247,20,NOT WS_GROUP + EDITTEXT IDC_FILELIST,125-X,31,247,130,ES_MULTILINE | ES_READONLY | + WS_VSCROLL | WS_HSCROLL | NOT WS_TABSTOP + CHECKBOX "Delete extra files", IDC_DELETEEXTRA, 125-X,163,247,8 + CONTROL 110,IDC_BITMAP,"Static",SS_BITMAP | SS_CENTERIMAGE,6,8, + 104-X,163,WS_EX_CLIENTEDGE +END + +IDD_DEINSTALLED DIALOGEX 0, 0, 379-X, 178 +STYLE WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Setup" +FONT 8, "MS Sans Serif", 0, 0, 0x1 +BEGIN + LTEXT "Deinstallation is finished." IDC_TITLE,125-X,10,246,31,NOT WS_GROUP + CONTROL 110,IDC_BITMAP,"Static",SS_BITMAP | SS_CENTERIMAGE,6,8, 104-X,163,WS_EX_CLIENTEDGE +END + + -- 1.7.10.4