msi: Move set_installed_prop() call because platform information is needed in it.

This commit is contained in:
Akihiro Sagawa 2014-07-21 21:48:13 +09:00 committed by Alexandre Julliard
parent 41962a5a07
commit 6fc6d32da2
1 changed files with 1 additions and 1 deletions

View File

@ -1181,7 +1181,6 @@ MSIPACKAGE *MSI_CreatePackage( MSIDATABASE *db, LPCWSTR base_url )
package->ProductCode = msi_dup_property( package->db, szProductCode );
package->script = msi_alloc_zero( sizeof(MSISCRIPT) );
set_installed_prop( package );
set_installer_properties( package );
package->ui_level = gUILevel;
@ -1656,6 +1655,7 @@ UINT MSI_OpenPackageW(LPCWSTR szPackage, MSIPACKAGE **pPackage)
return r;
}
msi_set_property( package->db, szDatabase, db->path, -1 );
set_installed_prop( package );
msi_set_context( package );
while (1)