home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sysmgmt / setup / infinst / instwiz.rc < prev    next >
Text File  |  1997-10-05  |  7KB  |  156 lines

  1.  
  2. /******************************************************************************\
  3. *       This is a part of the Microsoft Source Code Samples. 
  4. *       Copyright (C) 1995-1997 Microsoft Corporation.
  5. *       All rights reserved. 
  6. *       This source code is only intended as a supplement to 
  7. *       Microsoft Development Tools and/or WinHelp documentation.
  8. *       See these sources for detailed information regarding the 
  9. *       Microsoft samples programs.
  10. \******************************************************************************/
  11.  
  12. #include <windows.h>
  13. #include "instwiz.h"
  14. #include "infinst.h"
  15.  
  16. /////////////////////////////////////////////////////////////////////////////
  17. //
  18. // Icon
  19. //
  20.  
  21. // Icon with lowest ID value placed first to ensure application icon
  22. // remains consistent on all systems.
  23. EXE_ICON                ICON    DISCARDABLE     "setup.ico"
  24.  
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // Dialog
  28. //
  29.  
  30. IDD_WELCOME DIALOG DISCARDABLE  10, 20, 252, 218
  31. STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION | WS_SYSMENU
  32. CAPTION "Welcome"
  33. FONT 8, "MS Shell Dlg"
  34. BEGIN
  35.     ICON            EXE_ICON,EXE_ICON,10,24,18,20,WS_GROUP
  36.     LTEXT           "Welcome to Setup.\n\nThe Setup program for the Product for Microsoft Windows installs the Product.  Each Setup dialog has basic instructions for completing a step of the installation.",
  37.                     IDC_STATIC,44,24,202,56
  38.     LTEXT           "To install the Product on your computer now, click Next or press Enter.\n\nTo exit Setup without installing the Product, click Cancel at any time.",
  39.                     IDC_STATIC,44,83,175,55
  40. END
  41.  
  42. IDD_LICENSE DIALOGEX 10, 20, 252, 218
  43. STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION | WS_SYSMENU
  44. CAPTION "Software License Agreement"
  45. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  46. BEGIN
  47.     EDITTEXT        LICENSE_TEXT,7,32,238,130,ES_MULTILINE | ES_AUTOVSCROLL | 
  48.                     ES_READONLY | WS_VSCROLL,WS_EX_NOPARENTNOTIFY
  49.     LTEXT           "Do you accept all of the terms of the preceding License Agreement?",
  50.                     LICENSE_BOTTOM1,7,165,295,8
  51.     LTEXT           "If you choose No, Setup will not continue.  To install this product, you must accept this agreement.",
  52.                     LICENSE_BOTTOM2,7,174,233,16,0,WS_EX_TRANSPARENT
  53.     LTEXT           "Please read the following license agreement.",
  54.                     LICENSE_TOP1,53,8,199,9
  55.     LTEXT           "Press the PAGE DOWN key to see the rest of the agreement.",
  56.                     LICENSE_TOP2,53,17,208,10
  57.     PUSHBUTTON      "Yes",IDC_LICENSE_ACCEPT,121,192,59,14
  58.     PUSHBUTTON      "No",IDC_LICENSE_DECLINE,190,192,56,14
  59.     ICON            EXE_ICON,IDC_STATIC,16,6,18,20
  60. END
  61.  
  62. IDD_CUSTOM_OPTIONS DIALOG DISCARDABLE  10, 20, 252, 218
  63. STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION | WS_SYSMENU
  64. CAPTION "Custom Installation Options"
  65. FONT 8, "MS Shell Dlg"
  66. BEGIN
  67.     LTEXT           "Please select the components desired.",IDC_STATIC,9,8,
  68.                     252,11
  69.     CONTROL         "Main application.",IDC_CUSTOM_OPTION1,"Button",
  70.                     BS_AUTOCHECKBOX | WS_TABSTOP,15,26,252,10
  71.     CONTROL         "Add-on application.",IDC_CUSTOM_OPTION2,"Button",
  72.                     BS_AUTOCHECKBOX | WS_TABSTOP,15,46,252,9
  73.     CONTROL         "Administration tools.",IDC_CUSTOM_OPTION3,"Button",
  74.                     BS_AUTOCHECKBOX | WS_TABSTOP,15,66,252,9
  75.     CONTROL         "Multimedia components.",IDC_CUSTOM_OPTION4,"Button",
  76.                     BS_AUTOCHECKBOX | WS_TABSTOP,15,85,252,10
  77. END
  78.  
  79. IDD_INSTALL_TYPE DIALOG DISCARDABLE  10, 20, 252, 218
  80. STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION | WS_SYSMENU
  81. CAPTION "Installation Type"
  82. FONT 8, "MS Shell Dlg"
  83. BEGIN
  84.     LTEXT           "Please select the type of installation desired.",
  85.                     IDC_STATIC,8,8,256,11
  86.     CONTROL         "Express install to install the most common options.",
  87.                     IDC_INSTALL_TYPE_NORMAL,"Button",BS_AUTORADIOBUTTON | 
  88.                     WS_TABSTOP,11,29,175,10
  89.     CONTROL         "Custom install to install only the files you choose.",
  90.                     IDC_INSTALL_TYPE_CUSTOM,"Button",BS_AUTORADIOBUTTON | 
  91.                     WS_TABSTOP,11,48,167,10
  92.     CONTROL         "Laptop / Mininium install to install only required files.",
  93.                     IDC_INSTALL_TYPE_MIN,"Button",BS_AUTORADIOBUTTON | 
  94.                     WS_TABSTOP,11,67,181,10
  95.     CONTROL         "Uninstall to remove a previous installation.",
  96.                     IDC_INSTALL_TYPE_UNINSTALL,"Button",BS_AUTORADIOBUTTON | 
  97.                     WS_TABSTOP,11,86,151,10
  98. END
  99.  
  100. IDD_INFO DIALOG DISCARDABLE  10, 20, 252, 218
  101. STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | 
  102.     WS_SYSMENU
  103. CAPTION "Who Are You?"
  104. FONT 8, "MS Shell Dlg"
  105. BEGIN
  106.     LTEXT           "Your Name:",IDC_STATIC,10,14,55,10
  107.     EDITTEXT        IDE_NAME,69,13,166,12,ES_AUTOHSCROLL
  108.     LTEXT           "Company Name:",IDC_STATIC,10,39,55,10
  109.     EDITTEXT        IDE_COMPANY,69,36,166,12,ES_AUTOHSCROLL
  110.     LTEXT           "Product Id:",IDC_STATIC,10,59,55,10
  111.     EDITTEXT        IDE_PRODUCT_ID,69,58,166,12,ES_AUTOHSCROLL
  112.     LTEXT           "Email address:",IDC_STATIC,10,85,55,10
  113.     EDITTEXT        IDE_EMAIL,69,83,166,12,ES_AUTOHSCROLL
  114. END
  115.  
  116. IDD_INSTALL_DESTINATION DIALOG DISCARDABLE  10, 20, 252, 218
  117. STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | 
  118.     WS_SYSMENU
  119. CAPTION "Where to install?"
  120. FONT 8, "MS Shell Dlg"
  121. BEGIN
  122.     LTEXT           "Path:",IDC_STATIC,14,15,29,7
  123.     EDITTEXT        IDE_PATH,45,13,178,12,ES_AUTOHSCROLL
  124. END
  125.  
  126. IDD_INSTALL DIALOG DISCARDABLE  10, 20, 252, 218
  127. STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION | WS_SYSMENU
  128. CAPTION "Complete Install"
  129. FONT 8, "MS Shell Dlg"
  130. BEGIN
  131.     ICON            EXE_ICON,EXE_ICON,10,25,18,20,WS_GROUP
  132.     LTEXT           "The Setup program for the Product is ready to complete.",
  133.                     IDC_STATIC,44,25,164,28
  134.     LTEXT           "To install the Product on your computer now, click Finish or press Enter.\n\nTo exit Setup without installing the Product, click Cancel.",
  135.                     IDC_STATIC,44,65,149,55
  136. END
  137.  
  138. /////////////////////////////////////////////////////////////////////////////
  139. //
  140. // String Table
  141. //
  142.  
  143. STRINGTABLE DISCARDABLE 
  144. BEGIN
  145.     IDC_MUST_AGREE          "This program cannot be installed unless you agree to the terms of the license agreement."
  146. END
  147.  
  148. STRINGTABLE DISCARDABLE 
  149. BEGIN
  150.     IDC_INSTALL_TYPE1       "Express install to install the most common options."
  151.     IDC_INSTALL_TYPE2       "Complete install to install all files."
  152.     IDC_INSTALL_TYPE3       "Laptop / Mininium install to install only required files."
  153.     IDC_INSTALL_TYPE4       "Uninstall to remove a previous installation."
  154. END
  155.  
  156.