Commit ce6a037a authored by Daniel Jelinski's avatar Daniel Jelinski Committed by Alexandre Julliard

msi: Fix ComputerName property.

parent 33d62f3f
......@@ -1020,7 +1020,7 @@ static VOID set_installer_properties(MSIPACKAGE *package)
if ((computername = msi_alloc( len * sizeof(WCHAR) )))
{
if (GetComputerNameW( computername, &len ))
msi_set_property( package->db, szComputerName, computername, len - 1 );
msi_set_property( package->db, szComputerName, computername, len );
msi_free( computername );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment