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.

65 lines
3.7 KiB

  1. #include <windows.h>
  2. #include <ntverp.h>
  3. #include "setup.h"
  4. #define VER_FILETYPE VFT_APP
  5. #define VER_FILESUBTYPE VFT2_UNKNOWN
  6. #define VER_FILEDESCRIPTION_STR "Terminal Services APPSEC Setup Program"
  7. #define VER_INTERNALNAME_STR "InstAppSec"
  8. #define VER_ORIGINALFILENAME_STR "InstAppSec.exe"
  9. VS_VERSION_INFO VERSIONINFO
  10. FILEVERSION 5,0,2080,1
  11. PRODUCTVERSION 5,0,2080,1
  12. FILEFLAGSMASK 0x3fL
  13. #ifdef _DEBUG
  14. FILEFLAGS 0x9L
  15. #else
  16. FILEFLAGS 0x8L
  17. #endif
  18. FILEOS 0x40004L
  19. FILETYPE 0x1L
  20. FILESUBTYPE 0x0L
  21. BEGIN
  22. END
  23. STRINGTABLE DISCARDABLE
  24. BEGIN
  25. IDS_SUCCESS "AppSec Installation"
  26. IDS_SUCCESS_TEXT "Appsec Installation is Complete"
  27. IDS_WARNING_TITLE "AppSec Installation Warning"
  28. IDS_HELP_TITLE "AppSec Installation Help"
  29. IDS_ERROR "AppSec Installation Error"
  30. IDS_ERROR_TEXT "AppSec Installation Error : AppSec.dll file was not copied to the target directory."
  31. IDS_FILE_ALREADY_EXISTS "The File AppSec.dll already exists in the Target Directory. If you want to update the AppSec.dll, this should be done manually."
  32. IDS_FILE_NOT_FOUND "The File AppSec.dll is not present in the Current Directory."
  33. IDS_REG_ERROR "Unable to the necessary Create Registry Key."
  34. IDS_APPFILE_NOT_FOUND "The file containing the list of Authorized Applications was not found. Loading the default applications only."
  35. IDS_ARGUMENT_ERROR "The second argument to InstAppSec should be 1 or 0."
  36. IDS_WARNING "Installing AppSec will remove the list of Authorized Applications present already.\n
  37. \t\t Do you want to continue ?"
  38. IDS_APPS_WARNING "Error loading Applications into the registry."
  39. IDS_ERROR_LOAD "All the applications in the file may not have been loaded into the Registry.\n
  40. Please check the list of applications in the file."
  41. IDS_HELP_MESSAGE "Installs the AppSec tool.\n
  42. Syntax : InstAppsec <FileName> <Enabled> /N.\n
  43. <FileName>\tName of the file containing the list of authorized applications.
  44. \t\tFile contains the full path of the applications seperated by a newline.\n
  45. <Enabled> \tA value of 1 to this argument enables security through AppSec.
  46. \t\tAppSec is disabled by default.\n
  47. </N>\t\tIf this argument is present, there will be no message boxes.\n
  48. All these command line arguments are optional. If they are not included, only the
  49. default set of applications is loaded as authorized applications and AppSec is disabled.\n
  50. Running InstAppSec removes the list of authorized applications present previously."
  51. END