made logo width variable
authorkramm <kramm>
Thu, 29 May 2008 18:40:12 +0000 (18:40 +0000)
committerkramm <kramm>
Thu, 29 May 2008 18:40:12 +0000 (18:40 +0000)
installer/installer.rc

index e1373a7..06e7ae4 100755 (executable)
@@ -4,56 +4,62 @@
 MYICON1            ICON    "swftools.ico"\r
 SWFTOOLS    BITMAP  "swftools.bmp"\r
 \r
-IDD_LICENSE DIALOGEX 0, 0, 379, 178\r
+#define X 64\r
+\r
+IDD_LICENSE 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 Installer will install swftools on your computer. Please read and sign the following license agreement."\r
-              IDC_TITLE,125,10,247,20,NOT WS_GROUP\r
-    EDITTEXT  IDC_LICENSE,125,31,247,131,ES_MULTILINE | ES_READONLY |\r
+              IDC_TITLE,125-X,10,247,20,NOT WS_GROUP\r
+    EDITTEXT  IDC_LICENSE,125-X,31,247,131,ES_MULTILINE | ES_READONLY |\r
               WS_VSCROLL | WS_HSCROLL | NOT WS_TABSTOP\r
     CONTROL   110,IDC_BITMAP,"Static",SS_BITMAP | SS_CENTERIMAGE,6,8,\r
-              104,163,WS_EX_CLIENTEDGE\r
-    LTEXT     "Click next if you agree with this license.",IDC_STATIC,125,163,247,8\r
+              104-X,163,WS_EX_CLIENTEDGE\r
+    LTEXT     "Click next if you agree with this license.",IDC_STATIC,125-X,163,247,8\r
 END\r
 \r
-IDD_INSTALLDIR DIALOGEX 0, 0, 379, 178\r
+IDD_INSTALLDIR 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           "Select installation directory:",IDC_TITLE,125,10,\r
+    LTEXT           "Select installation directory:",IDC_TITLE,125-X,10,\r
                     247,12,NOT WS_GROUP\r
-    PUSHBUTTON      "Browse...",IDC_BROWSE,322,7,50,14,WS_VISIBLE\r
-    EDITTEXT        IDC_INSTALL_PATH ,125,24,247,11,ES_AUTOHSCROLL\r
-    CONTROL         110,IDC_BITMAP,"Static",SS_BITMAP | SS_CENTERIMAGE,6,8, 104,163,WS_EX_CLIENTEDGE\r
+    PUSHBUTTON      "Browse...",IDC_BROWSE,322-X,7,50,14,WS_VISIBLE\r
+    EDITTEXT        IDC_INSTALL_PATH ,125-X,30,247,11,ES_AUTOHSCROLL\r
+\r
+    RADIOBUTTON        "Install only for the current user", IDC_CURRENTUSER, 125-X,60,247,8\r
+    RADIOBUTTON        "Install for all users", IDC_ALLUSERS, 125-X,80,247,8\r
+\r
+    CONTROL         110,IDC_BITMAP,"Static",SS_BITMAP | SS_CENTERIMAGE,6,8, 104-X,163,WS_EX_CLIENTEDGE\r
 END\r
 \r
-IDD_PROGRESS DIALOGEX 0, 0, 379, 178\r
+IDD_PROGRESS 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           "Click ""Next"" to begin the install process. If you want to review or change any of your installation settings, click ""Back"". Click ""Cancel"" to exit the Installer."\r
-                    IDC_TITLE,125,10,246,31,NOT WS_GROUP\r
+                    IDC_TITLE,125-X,10,246,31,NOT WS_GROUP\r
     CONTROL         "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER,\r
-                    125,157,246,14\r
-    CTEXT           "Installation progress:",IDC_INFO,125,137,246,8\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,163,WS_EX_CLIENTEDGE\r
+                    104-X,163,WS_EX_CLIENTEDGE\r
 END\r
 \r
-IDD_FINISH DIALOGEX 0, 0, 379, 178\r
+IDD_FINISH DIALOGEX 0, 0, 379-X, 178\r
 STYLE WS_CHILD | WS_DISABLED | WS_CAPTION\r
 CAPTION "Setup"\r
 FONT 8, "MS Sans Serif"\r
 BEGIN\r
     LTEXT           "Installation is finished.",\r
-                    IDC_TITLE,125,10,247,31,NOT WS_GROUP\r
-    CHECKBOX        "Create start menu entry", IDC_STARTMENU, 125,40,247,8\r
-    CHECKBOX        "Create desktop shortcut", IDC_DESKTOP, 125,70,247,8\r
+                    IDC_TITLE,125-X,10,247,31,NOT WS_GROUP\r
+    CHECKBOX        "Create start menu entry", IDC_STARTMENU, 125-X,40,247,8\r
+    CHECKBOX        "Create desktop shortcut", IDC_DESKTOP, 125-X,60,247,8\r
     CONTROL         110,IDC_BITMAP,"Static",SS_BITMAP | SS_CENTERIMAGE,6,8,\r
-                    104,163,WS_EX_CLIENTEDGE\r
+                    104-X,163,WS_EX_CLIENTEDGE\r
 END\r
 \r