mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-12 01:47:24 +10:00
* Set version of binaries based on CS_VERSION environment variable * Use AppVeyor supplied product version * Automatically generate ProductCode GUID * Convert version (CS_VERSION) to number (CS_VERSION_NUM)
183 lines
5.7 KiB
Plaintext
183 lines
5.7 KiB
Plaintext
// Microsoft Visual C++ generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include "winres.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (U.S.) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
#pragma code_page(1252)
|
|
#endif //_WIN32
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE
|
|
BEGIN
|
|
"#include ""afxres.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE
|
|
BEGIN
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDI_APPICON ICON "ClassicShell.ico"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Version
|
|
//
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION _PRODUCT_VERSION
|
|
PRODUCTVERSION _PRODUCT_VERSION
|
|
FILEFLAGSMASK 0x17L
|
|
#ifdef _DEBUG
|
|
FILEFLAGS 0x1L
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS 0x4L
|
|
FILETYPE 0x1L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904b0"
|
|
BEGIN
|
|
VALUE "CompanyName", "IvoSoft"
|
|
VALUE "FileDescription", "Adds classic shell features to Windows 7 and Windows 8"
|
|
VALUE "FileVersion", _PRODUCT_VERSION_STR
|
|
VALUE "InternalName", "ClassicShellSetup"
|
|
VALUE "LegalCopyright", "Copyright (C) 2009-2016, Ivo Beltchev"
|
|
VALUE "OriginalFilename", "ClassicShellSetup.exe"
|
|
VALUE "ProductName", "Classic Shell"
|
|
VALUE "ProductVersion", _PRODUCT_VERSION_STR
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1200
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// MSI_FILE
|
|
//
|
|
|
|
IDR_MSI_FILE32 MSI_FILE "Temp\\ClassicShellSetup32.msi_"
|
|
IDR_MSI_FILE64 MSI_FILE "Temp\\ClassicShellSetup64.msi_"
|
|
IDR_MSI_CHECKSUM MSI_FILE "msichecksum.bin"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_DIALOGPWD DIALOGEX 0, 0, 154, 75
|
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Classic Shell 2.8.0 (closed beta)"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
|
BEGIN
|
|
LTEXT "This beta version is password-protected. Please enter the password:",IDC_STATIC,7,7,140,17
|
|
EDITTEXT IDC_EDITPWD,7,32,140,14,ES_AUTOHSCROLL
|
|
DEFPUSHBUTTON "OK",IDOK,43,54,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,97,54,50,14
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO
|
|
BEGIN
|
|
IDD_DIALOGPWD, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 147
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 68
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_APP_TITLE "Classic Shell Setup"
|
|
IDS_OLDSTARTMENU "Warning!\nAn old version of the classic start menu is still running. Please close it before installing the new version to avoid crashing Explorer. Right click on the start button and select ""Exit""."
|
|
IDS_ERR_CORRUPTED "Failed to extract setup file '%s'. The MSI resource is corrupted."
|
|
END
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_ERR_INTERNAL "Internal Setup Error"
|
|
IDS_ERR_EXTRACT "Failed to extract setup file '%s'."
|
|
IDS_ERR_WIN7 "Classic Shell requires Windows 7 or later."
|
|
IDS_ERR_MSIEXEC "Failed to run msiexec.exe."
|
|
END
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_HELP "Classic Shell Setup will install Classic Shell on your computer. Possible command lines:\n <no command line> - runs the installer normally\n extract32 - extracts the 32-bit MSI\n extract64 - extracts the 64-bit MSI\n help, /? - shows the command line help\n <some msiexec options> - the options are passed to msiexec\n * if the options contain %MSI% (all caps) the token is replaced by the name of the extracted MSI file\n * if %MSI% is not found, the setup runs ""msiexec /i <MSI file> <some msiexec options>""\n * run msiexec with no parameters to see the full list of msiexec options\n\nExamples:\n /qn - runs the installer in quiet mode\n /x %MSI% /qb - uninstalls the product in basic UI level\n /f %MSI% - repairs the product\n /l* log.txt - runs the installer and logs the process in the log.txt file\n /qn ADDLOCAL=ClassicExplorer - installs only Classic Explorer in quiet mode\n /qn ADDLOCAL=ClassicStartMenu APPLICATIONFOLDER=C:\\ClassicShell - installs only Classic Start Menu in quiet mode in the folder C:\\ClassicShell\n ADDLOCAL=ClassicStartMenu,ClassicIE - runs the installer in full UI mode with Classic Start Menu and Classic IE checked by default"
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|