/*---------------------------------------------------------------------------*/
/* File:        7zSfxMod.rc2                                                 */
/* Created:     Sun, 26 Jul 2009 18:21:00 GMT                                */
/*              by Oleg N. Scherbakov, mailto:oleg@7zsfx.info                */
/* Last update: Mon, 22 Mar 2010 11:08:22 GMT                                */
/*              by Oleg N. Scherbakov, mailto:oleg@7zsfx.info                */
/* Revision:    239                                                          */
/*---------------------------------------------------------------------------*/
/* Revision:    239                                                          */
/* Updated:     Mon, 22 Mar 2010 11:08:22 GMT                                */
/*              by Oleg N. Scherbakov, mailto:oleg@7zsfx.info                */
/* Description: New file stamp.                                              */
/*---------------------------------------------------------------------------*/
#include <windows.h>
#include "../7zSfxMod.h"
#include "../version.h"

#define DLG_7ZSFXTOOLS_BEGIN(name,caption)	name DIALOGEX 0, 0, 312, 201		\
	STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU		\
	CAPTION caption																\
	FONT 8, "MS Sans Serif", 0, 0, 0x1											\
	BEGIN																		\
	CONTROL         "",IDC_BANNER,"Static",SS_BITMAP,0,0,16,15

#define DLG_7ZSFXTOOLS_END(back_style,next_style,cancel_style,next_text)								\
	PUSHBUTTON      "%7zSfxString35%",IDC_BACK,141,180,50,14,back_style									\
    DEFPUSHBUTTON   next_text,IDC_NEXT,192,180,50,14,next_style											\
    PUSHBUTTON      "%7zSfxString38%",IDCANCEL,254,180,50,14,cancel_style								\
    CONTROL         "",IDC_STATIC,"Static",SS_LEFTNOWORDWRAP | WS_GROUP,0,170,312,2,WS_EX_STATICEDGE	\
    LTEXT           "%sfx_homepage%",IDC_STATIC,7,180,91,14,WS_VISIBLE									\
	END

#define DLG_7ZSFXTOOLS_END_SIMPLE(ctext,bid,btext)														\
    CTEXT           ctext,IDC_MAIN_TEXT,0,44,311,119,SS_CENTERIMAGE										\
    DEFPUSHBUTTON   btext,bid,254,180,50,14																\
    CONTROL         "",IDC_STATIC,"Static",SS_LEFTNOWORDWRAP | WS_GROUP,0,170,312,2,WS_EX_STATICEDGE	\
    LTEXT           "%sfx_homepage%",IDC_STATIC,7,180,91,14,WS_VISIBLE									\
	END

#define DLG_7ZSFXTOOLS_BEGINPROMPT_INTERIOR									\
	LTEXT           "BeginPrompt",IDC_MAIN_TEXT,7,44,297,123

#define DLG_7ZSFXTOOLS_EXTRACTPATH_INTERIOR									\
	    LTEXT           "ExtractPathText",IDC_MAIN_TEXT,7,68,287,8			\
	    EDITTEXT        IDC_EXTRACT_PATH_EDIT,7,87,253,12,ES_AUTOHSCROLL	\
		PUSHBUTTON      "...",IDC_EXTRACT_PATH_BROWSE,272,84,21,16

#define DLG_7ZSFXTOOLS_BEGINPROMPT_EXTRACTPATH_INTERIOR						\
	    LTEXT           "BeginPrompt",IDC_MAIN_TEXT,7,44,287,92				\
		LTEXT           "ExtractPathText",IDC_EXTRA_TEXT,7,138,287,8		\
		EDITTEXT        IDC_EXTRACT_PATH_EDIT,7,151,258,12,ES_AUTOHSCROLL	\
	    PUSHBUTTON      "...",IDC_EXTRACT_PATH_BROWSE,272,150,18,14

#define DLG_7ZSFXTOOLS_EXTRACT_INTERIOR												\
	    LTEXT           "ExtractDialogText",IDC_MAIN_TEXT,7,68,287,8				\
	    LTEXT           "Percents",1205,249,95,45,15								\
		CONTROL         "",1208,"msctls_progress32",WS_BORDER,7,95,235,15

#define DLG_FINISHMESSAGE_INTERIOR													\
		CTEXT           "FinishMessage",IDC_MAIN_TEXT,0,44,311,119

//////////////////////////////////////////////////////////////////////////////
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
//////////////////////////////////////////////////////////////////////////////

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 1,0,1
 PRODUCTVERSION 1,0,1
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x9L
#else
 FILEFLAGS 0x8L
#endif
 FILEOS 0x40004L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "000004b0"
        BEGIN
            VALUE "CompanyName", "NVIDIA Corporation"
            VALUE "FileDescription", "NVIDIA Package Launcher"
            VALUE "FileVersion", "1.0.3"
            VALUE "InternalName", "PackageLauncher"
            VALUE "LegalCopyright", "Copyright © 2013 NVIDIA Corporation"
            VALUE "OriginalFilename", "PackageLauncher.exe"
            VALUE "PrivateBuild", "February 20, 2013"
            VALUE "ProductName", "NVIDIA Package Launcher"
            VALUE "ProductVersion", "1.0.3"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x0, 1200
    END
END

#ifdef _SFXTOOLS
	IDC_BANNER              IMAGES  DISCARDABLE     "res\banner_en.gif"
	// BeginPrompt
	DLG_7ZSFXTOOLS_BEGIN(IDD_BEGINPROMT_CLASSIC,"BeginPrompt")
		DLG_7ZSFXTOOLS_BEGINPROMPT_INTERIOR
	DLG_7ZSFXTOOLS_END(WS_DISABLED,WS_VISIBLE,WS_VISIBLE,"%7zSfxString36%")
	// ExtractPath
	DLG_7ZSFXTOOLS_BEGIN(IDD_EXTRACTPATH,"ExtractPath")
		DLG_7ZSFXTOOLS_EXTRACTPATH_INTERIOR
	DLG_7ZSFXTOOLS_END(WS_VISIBLE,WS_VISIBLE,WS_VISIBLE,"%7zSfxString36%")
	// BeginPrompt+ExtractPath
	DLG_7ZSFXTOOLS_BEGIN(IDD_BEGINPROMT_EXTRACTPATH,"BeginPrompt+ExtractPath")
		DLG_7ZSFXTOOLS_BEGINPROMPT_EXTRACTPATH_INTERIOR
	DLG_7ZSFXTOOLS_END(WS_DISABLED,WS_VISIBLE,WS_VISIBLE,"%7zSfxString36%")
	// Extract
	DLG_7ZSFXTOOLS_BEGIN(IDD_EXTRACT,"Extract")
		DLG_7ZSFXTOOLS_EXTRACT_INTERIOR
	DLG_7ZSFXTOOLS_END(WS_DISABLED,WS_DISABLED,WS_VISIBLE,"%7zSfxString36%")
	// FinishMessage
	DLG_7ZSFXTOOLS_BEGIN(IDD_FINISHMESSAGE,"FinishMessage")
		DLG_FINISHMESSAGE_INTERIOR
	DLG_7ZSFXTOOLS_END(WS_DISABLED,WS_VISIBLE,WS_DISABLED,"%7zSfxString37%")
	// HelpText
	DLG_7ZSFXTOOLS_BEGIN(IDD_HELPTEXT,"HelpText")
	DLG_7ZSFXTOOLS_END_SIMPLE("HelpText",IDCANCEL,"%7zSfxString25%")
#endif


//////////////////////////////////////////////////////////////////////////////
// Russian resources
//////////////////////////////////////////////////////////////////////////////
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT

#ifdef _SFXTOOLS
	IDC_BANNER              IMAGES  DISCARDABLE     "res\banner_ru.gif"
#endif
