mshtml #2: Added warning if a wrong Wine Gecko package version was found.

Alexandre Julliard julliard at winehq.org
Wed May 30 07:37:38 CDT 2007


Jacek Caban <jacek at codeweavers.com> writes:

> @@ -212,8 +213,10 @@ static BOOL load_wine_gecko(PRUnichar *gre_path)
>      if(res != ERROR_SUCCESS || type != REG_SZ)
>          return FALSE;
>  
> -    if(TRACE_ON(mshtml))
> -        check_version(gre_path);
> +    /* We may consider message box here */
> +    if(ERR_ON(mshtml) && !check_version(gre_path))
> +        MESSAGE("Found a version of Wine Gecko package that is not dedicated "
> +                "to your Wine version. Reinstalation is recommended.\n");

If you want to check versions, there needs to be a way to specify in
the URL which version you want to download, and old versions need to
be kept available. The target CPU should also be part of the URL so we
can support multiple platforms.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list