fixed bug #2725883 - NSIS installers always show warning on Windows 7
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5974 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
1c747e74cf
commit
5f1cfb02ff
5 changed files with 21 additions and 2 deletions
|
@ -2248,9 +2248,9 @@ int CEXEBuild::UpdatePEHeader()
|
|||
{
|
||||
try {
|
||||
PIMAGE_NT_HEADERS headers = CResourceEditor::GetNTHeaders(m_exehead);
|
||||
// workaround for bug #2697027
|
||||
// workaround for bug #2697027, #2725883
|
||||
headers->OptionalHeader.MajorImageVersion = 6;
|
||||
headers->OptionalHeader.MinorImageVersion = 0;
|
||||
headers->OptionalHeader.MinorImageVersion = 1;
|
||||
} catch (std::runtime_error& err) {
|
||||
ERROR_MSG("Error updating PE headers: %s\n", err.what());
|
||||
return PS_ERROR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue