added uninstaller dialogs
authorkramm <kramm>
Tue, 10 Jun 2008 10:45:49 +0000 (10:45 +0000)
committerkramm <kramm>
Tue, 10 Jun 2008 10:45:49 +0000 (10:45 +0000)
installer/installer.rc

index 24b298c..8377401 100755 (executable)
@@ -2,7 +2,7 @@
 #include "installer.h"\r
 \r
 MYICON1            ICON    "swftools.ico"\r
-SWFTOOLS    BITMAP  "swftools.bmp"\r
+LOGO       BITMAP  "swftools.bmp"\r
 \r
 #define X 64\r
 \r
@@ -64,3 +64,41 @@ BEGIN
                     104-X,163,WS_EX_CLIENTEDGE\r
 END\r
 \r
+IDD_SURE DIALOGEX 0, 0, 379-X, 178\r
+STYLE WS_CHILD | WS_DISABLED | WS_CAPTION\r
+CAPTION "Setup"\r
+FONT 8, "MS Sans Serif", 0, 0, 0x1\r
+BEGIN\r
+    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."\r
+                    IDC_TITLE,125-X,10,246,31,NOT WS_GROUP\r
+    CONTROL         "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER,\r
+                    125-X,157,246,14\r
+    CTEXT           "Installation progress:",IDC_INFO,125-X,137,246,8\r
+    CONTROL         110,IDC_BITMAP,"Static",SS_BITMAP | SS_CENTERIMAGE,6,8,\r
+                    104-X,163,WS_EX_CLIENTEDGE\r
+END\r
+\r
+IDD_EXTRAFILES DIALOGEX 0, 0, 379-X, 178\r
+STYLE WS_CHILD | WS_DISABLED | WS_CAPTION\r
+CAPTION "Setup"\r
+FONT 8, "MS Sans Serif", 0, 0, 0x1\r
+BEGIN\r
+    LTEXT     "The installation directory still contains files which were created after the initial installation. Please decide whether those files should be removed, too."\r
+              IDC_TITLE,125-X,10,247,20,NOT WS_GROUP\r
+    EDITTEXT  IDC_FILELIST,125-X,31,247,130,ES_MULTILINE | ES_READONLY |\r
+              WS_VSCROLL | WS_HSCROLL | NOT WS_TABSTOP\r
+    CHECKBOX  "Delete extra files", IDC_DELETEEXTRA, 125-X,163,247,8\r
+    CONTROL   110,IDC_BITMAP,"Static",SS_BITMAP | SS_CENTERIMAGE,6,8,\r
+              104-X,163,WS_EX_CLIENTEDGE\r
+END\r
+\r
+IDD_DEINSTALLED DIALOGEX 0, 0, 379-X, 178\r
+STYLE WS_CHILD | WS_DISABLED | WS_CAPTION\r
+CAPTION "Setup"\r
+FONT 8, "MS Sans Serif", 0, 0, 0x1\r
+BEGIN\r
+    LTEXT           "Deinstallation is finished." IDC_TITLE,125-X,10,246,31,NOT WS_GROUP\r
+    CONTROL         110,IDC_BITMAP,"Static",SS_BITMAP | SS_CENTERIMAGE,6,8, 104-X,163,WS_EX_CLIENTEDGE\r
+END\r
+\r
+\r