parent
ae84730e34
commit
6ef2d26a53
|
@ -137,18 +137,14 @@ static msi_file_state calculate_install_state( MSIPACKAGE *package, MSIFILE *fil
|
||||||
{
|
{
|
||||||
if (msi_compare_font_versions( font_version, file->Version ) < 0)
|
if (msi_compare_font_versions( font_version, file->Version ) < 0)
|
||||||
{
|
{
|
||||||
TRACE("overwriting %s (new version %s old version %u.%u.%u.%u)\n",
|
TRACE("overwriting %s (new version %s old version %s)\n",
|
||||||
debugstr_w(file->File), debugstr_w(file->Version),
|
debugstr_w(file->File), debugstr_w(file->Version), debugstr_w(font_version));
|
||||||
HIWORD(file_version->dwFileVersionMS), LOWORD(file_version->dwFileVersionMS),
|
|
||||||
HIWORD(file_version->dwFileVersionLS), LOWORD(file_version->dwFileVersionLS));
|
|
||||||
state = msifs_overwrite;
|
state = msifs_overwrite;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
TRACE("keeping %s (new version %s old version %u.%u.%u.%u)\n",
|
TRACE("keeping %s (new version %s old version %s)\n",
|
||||||
debugstr_w(file->File), debugstr_w(file->Version),
|
debugstr_w(file->File), debugstr_w(file->Version), debugstr_w(font_version));
|
||||||
HIWORD(file_version->dwFileVersionMS), LOWORD(file_version->dwFileVersionMS),
|
|
||||||
HIWORD(file_version->dwFileVersionLS), LOWORD(file_version->dwFileVersionLS));
|
|
||||||
state = msifs_present;
|
state = msifs_present;
|
||||||
}
|
}
|
||||||
msi_free( font_version );
|
msi_free( font_version );
|
||||||
|
|
Loading…
Reference in New Issue