mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 13:10:28 +00:00
msi: Set the install state to INSTALLSTATE_LOCAL for components with compressed files.
This commit is contained in:
parent
40556ae08f
commit
98d1486410
@ -1323,6 +1323,12 @@ static UINT load_file(MSIRECORD *row, LPVOID param)
|
||||
|
||||
file->state = msifs_invalid;
|
||||
|
||||
if (file->Attributes & msidbFileAttributesCompressed)
|
||||
{
|
||||
file->Component->Action = INSTALLSTATE_LOCAL;
|
||||
file->Component->ActionRequest = INSTALLSTATE_LOCAL;
|
||||
}
|
||||
|
||||
TRACE("File Loaded (%s)\n",debugstr_w(file->File));
|
||||
|
||||
list_add_tail( &package->files, &file->entry );
|
||||
|
@ -1744,10 +1744,7 @@ static void test_states(void)
|
||||
r = MsiGetComponentState(hpkg, "eta", &state, &action);
|
||||
ok( r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r );
|
||||
ok( state == INSTALLSTATE_ABSENT, "Expected INSTALLSTATE_ABSENT, got %d\n", state);
|
||||
todo_wine
|
||||
{
|
||||
ok( action == INSTALLSTATE_LOCAL, "Expected INSTALLSTATE_LOCAL, got %d\n", action);
|
||||
}
|
||||
ok( action == INSTALLSTATE_LOCAL, "Expected INSTALLSTATE_LOCAL, got %d\n", action);
|
||||
|
||||
MsiCloseHandle( hpkg );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user