[2/2] setupapi: Fix resolving target path when given a section. Default to the system directory.

Alexandre Julliard julliard at winehq.org
Tue Jan 13 08:53:38 CST 2009


Hans Leidekker <hans at codeweavers.com> writes:

> @@ -68,6 +68,20 @@ static const char inf_data2[] =
>      "sp1qfe\\winhttp.dll=3EC6F518114606CA59D4160322077437,000500010A280615,331776,SP1QFE\n"
>      "sp1qfe\\xpob2res.dll=DB83156B9F496F20D1EA70E4ABEC0166,000500010A280622,158720,SP1QFE\n";
>  
> +static const char inf_data3[] =
> +    "[Version]\n"
> +    "Signature = \"$Windows NT$\"\n"
> +    "[DestinationDirs]\n"
> +    "CopyAlways.System32.files = 11\n"
> +    "[CopyAlways.System32.Files]\n"
> +    "WindowsCodecs.dll\n";
> +
> +static const char inf_data4[] =
> +    "[Version]\n"
> +    "Signature = \"$Windows NT$\"\n"
> +    "[CopyAlways.System32.Files]\n"
> +    "WindowsCodecs.dll\n";

It would be better to use a different directory in the first test so
that you can make sure there's a difference. Also you should try setting
DefaultDestDir to see how this changes the behavior.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list