[4/4] msi: Test installing over in-use files.

Paul Vriens paul.vriens.wine at gmail.com
Thu Oct 1 13:46:13 CDT 2009


On 09/29/2009 02:57 PM, Hans Leidekker wrote:
>
> +    static char key[]   = "System\\CurrentControlSet\\Control\\Session Manager";
> +    static char value[] = "PendingFileRenameOperations";
> +
> +    RegOpenKeyExA(HKEY_LOCAL_MACHINE, key, 0, KEY_ALL_ACCESS,&hkey);
> +    if (!RegQueryValueExA(hkey, value, NULL, NULL, NULL,&size))
> +    {
> +        skip("Pending file rename operations, skipping test\n");
> +        return;

Hi Hans,

(In response to this and the previous patch concerning pending renames).

Win9x and WinMe act differently on pending renames (as usual :( ). 
Instead of using the registry some entries are written into 
%windir%\WinInit.ini.

Is it worthwhile to have the tests cope with this or should we just skip 
them on Win9x/WinMe?

-- 
Cheers,

Paul.



More information about the wine-devel mailing list