Updated TODO.txt; New methods to change VersionInformation, this time is completed customizable by the script, default code page and language retrieved from OS, but can be changed by script too; fixed problem with some chars like ©
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2625 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0b9f44233c
commit
397234a5bd
8 changed files with 163 additions and 112 deletions
|
@ -14,14 +14,14 @@
|
|||
#include <algorithm>
|
||||
using namespace std;
|
||||
|
||||
#define VERINFO_LANGUAGE L"040904b0" // English language and codepage
|
||||
#define VERINFO_TRANSLATION 0x04B00409 // English language and codepage
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////
|
||||
class CResourceVersionInfo
|
||||
{
|
||||
VS_FIXEDFILEINFO m_FixedInfo;
|
||||
DefineList m_ChildStrings;
|
||||
vector< DWORD > m_Translations;
|
||||
string m_VersionInfoLang;
|
||||
bool b_CustomTranslations;
|
||||
|
||||
public:
|
||||
CResourceVersionInfo();
|
||||
|
@ -32,6 +32,11 @@ public:
|
|||
void SetFileVersion(int HighPart, int LowPart);
|
||||
void SetProductVersion(int HighPart, int LowPart);
|
||||
void ExportToStream(GrowBuf &strm);
|
||||
int GetKeyCount();
|
||||
int GetTranslationCount();
|
||||
char *FindKey(char *pKeyName);
|
||||
void SetVersionInfoLang(char *pLandCp);
|
||||
bool IsValidCodePage(WORD codePage );
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue