Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

170 lines
5.1 KiB

  1. #include <windows.h>
  2. #include <prsht.h>
  3. #include "ids.h"
  4. #include "pack2.rcv"
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Icon
  8. //
  9. IDI_PACKAGER ICON DISCARDABLE "PACK2.ICO"
  10. IDI_DOCUMENT ICON DISCARDABLE "PACK2.ICO"
  11. /////////////////////////////////////////////////////////////////////////////
  12. //
  13. // Bitmaps
  14. //
  15. IDB_PACKWIZBMP BITMAP MOVEABLE PURE "PACKWIZ.BMP"
  16. /////////////////////////////////////////////////////////////////////////////
  17. //
  18. // REGINST
  19. //
  20. REGINST REGINST DISCARDABLE "selfreg.inf"
  21. /////////////////////////////////////////////////////////////////////////////
  22. //
  23. // String Table
  24. //
  25. STRINGTABLE DISCARDABLE
  26. BEGIN
  27. IDS_BROWSEEXT "exe"
  28. IDS_BROWSEFILTER "All Files@*.*"
  29. IDS_BROWSETITLE "Browse"
  30. IDS_APP_TITLE "Packager Shell Object"
  31. IDS_UPDATE_ERROR "The object could not be updated."
  32. IDS_OLD_FORMAT_ERROR "The object could not be loaded because this format is not supported."
  33. IDS_CREATE_ERROR "The package could not be created."
  34. IDS_COPY_ERROR "The package could not be copied to the clipboard."
  35. IDS_COPY_COMPLETE "The package has been copied to the clipboard."
  36. END
  37. /////////////////////////////////////////////////////////////////////////////
  38. //
  39. // Dialog
  40. //
  41. //
  42. // Create New Package -- Dialog 1: Select File
  43. //
  44. IDD_SELECTFILE DIALOG DISCARDABLE 0, 0, WIZ_CXDLG, WIZ_CYDLG
  45. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  46. CAPTION "Create New Package"
  47. FONT 8, "MS Shell Dlg"
  48. BEGIN
  49. CONTROL IDB_PACKWIZBMP,IDC_WIZBMP,"Static",SS_BITMAP | SS_CENTERIMAGE |
  50. SS_SUNKEN,0,0,80,140
  51. LTEXT "Please type in the name of the file you wish to package. Or, search for the file by clicking Browse.",
  52. IDC_STATIC,WIZ_BODYX,0,WIZ_BODYCX,20
  53. LTEXT "&Filename:",IDC_STATIC,WIZ_BODYX,28,WIZ_BODYCX,8
  54. EDITTEXT IDC_COMMAND,WIZ_BODYX,38,WIZ_BODYCX,14,ES_AUTOHSCROLL
  55. PUSHBUTTON "B&rowse...",IDC_BROWSE,WIZ_BODYX,56,50,14
  56. END
  57. //
  58. // Create New Package -- Dialog 2: Select Icon
  59. //
  60. IDD_SELECTICON DIALOG DISCARDABLE 0, 0, WIZ_CXDLG, WIZ_CYDLG
  61. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  62. CAPTION "Create New Package"
  63. FONT 8, "MS Shell Dlg"
  64. BEGIN
  65. CONTROL IDB_PACKWIZBMP,IDC_WIZBMP,"Static",SS_BITMAP | SS_CENTERIMAGE |
  66. SS_SUNKEN,0,0,80,140
  67. LTEXT "Select an icon for your package. You may change the icon, by clicking on the Change Icon button.",
  68. IDC_STATIC,WIZ_BODYX,0,WIZ_BODYCX,20
  69. ICON IDI_PACKAGER,IDC_PACKICON,WIZ_BODYX,28,18,20
  70. PUSHBUTTON "&Change Icon...",IDC_CHANGEICON,WIZ_BODYX,56,55,14
  71. END
  72. //
  73. // Create New Package -- Dialog 3: Select Label
  74. //
  75. IDD_SELECTLABEL DIALOG DISCARDABLE 0, 0, WIZ_CXDLG, WIZ_CYDLG
  76. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  77. CAPTION "Create New Package"
  78. FONT 8, "MS Shell Dlg"
  79. BEGIN
  80. CONTROL IDB_PACKWIZBMP,IDC_WIZBMP,"Static",SS_BITMAP | SS_CENTERIMAGE |
  81. SS_SUNKEN,0,0,80,140
  82. LTEXT "Please type in a label for your package.",IDC_STATIC,WIZ_BODYX,0,WIZ_BODYCX,20
  83. LTEXT "&Label:",IDC_STATIC,WIZ_BODYX,28,WIZ_BODYCX,8
  84. EDITTEXT IDC_COMMAND,WIZ_BODYX,38,WIZ_BODYCX,14,ES_AUTOHSCROLL
  85. END
  86. //
  87. // Edit Embeded Package Dialog
  88. //
  89. IDD_EDITEMBEDPACKAGE DIALOG DISCARDABLE 0, 0, 247, 131
  90. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  91. CAPTION "Edit Package"
  92. FONT 8, "MS Shell Dlg"
  93. BEGIN
  94. DEFPUSHBUTTON "OK",IDOK,134,110,50,14
  95. PUSHBUTTON "Cancel",IDCANCEL,190,110,50,14
  96. ICON IDI_PACKAGER,IDC_PACKICON,7,7,18,20
  97. PUSHBUTTON "Change Icon...",IDC_CHANGEICON,32,7,55,14
  98. LTEXT "Filename:",IDC_STATIC,7,33,31,8
  99. LTEXT "Label",IDC_STATIC,7,66,18,8
  100. EDITTEXT IDC_EDIT1,7,43,221,14,ES_AUTOHSCROLL
  101. EDITTEXT IDC_EDIT2,7,76,221,14,ES_AUTOHSCROLL
  102. END
  103. //
  104. // Edit Command line Package Dialog
  105. //
  106. IDD_EDITCMDPACKAGE DIALOG DISCARDABLE 0, 0, 247, 131
  107. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  108. CAPTION "Edit Package"
  109. FONT 8, "MS Shell Dlg"
  110. BEGIN
  111. DEFPUSHBUTTON "OK",IDOK,134,110,50,14
  112. PUSHBUTTON "Cancel",IDCANCEL,190,110,50,14
  113. ICON IDI_PACKAGER,IDC_PACKICON,7,7,18,20
  114. PUSHBUTTON "Change Icon...",IDC_CHANGEICON,32,7,55,14
  115. LTEXT "Command Line:",IDC_STATIC,7,33,31,8
  116. LTEXT "Label",IDC_STATIC,7,66,18,8
  117. EDITTEXT IDC_EDIT1,7,43,221,14,ES_AUTOHSCROLL
  118. EDITTEXT IDC_EDIT2,7,76,221,14,ES_AUTOHSCROLL
  119. END
  120. #ifdef APSTUDIO_INVOKED
  121. /////////////////////////////////////////////////////////////////////////////
  122. //
  123. // TEXTINCLUDE
  124. //
  125. 1 TEXTINCLUDE DISCARDABLE
  126. BEGIN
  127. "pkwizid.h\0"
  128. END
  129. 2 TEXTINCLUDE DISCARDABLE
  130. BEGIN
  131. "\0"
  132. END
  133. 3 TEXTINCLUDE DISCARDABLE
  134. BEGIN
  135. "\r\n"
  136. "\0"
  137. END
  138. #endif // APSTUDIO_INVOKED
  139. #ifndef APSTUDIO_INVOKED
  140. /////////////////////////////////////////////////////////////////////////////
  141. //
  142. // Generated from the TEXTINCLUDE 3 resource.
  143. //
  144. /////////////////////////////////////////////////////////////////////////////
  145. #endif // not APSTUDIO_INVOKED