Re: improve winetricks dotnet 1.1

2008-03-17 Thread Dan Kegel
On Tue, Mar 11, 2008 at 1:15 PM, Dan Kegel <[EMAIL PROTECTED]> wrote:
> Louis wrote:
>  > Hi, i wonder if it would be possible to improve
>  > winetricks dotnet 1.1, so that it's actually able to run
>  >.net-1.1 applications. Currently it only installs the framework,
>  > but due to bugs the apps don't run.   Atm i use pretty worthless
>  > script below to get them running..

Louis, your script did

winetricks allfonts
wineprefixcreate  #to register the fonts

which I didn't quite understand.  Why do fonts installed by
perfectly valid corefonts installers from Microsoft need
to be registered?  Do we have a bug somewhere?

I ask because http://winehq.org/pipermail/wine-users/2008-March/030284.html
mentions that it helped him.  I'm still not quite convinced,
hoping you can enlighten me.
- Dan




Re: improve winetricks dotnet 1.1

2008-03-14 Thread Michael Stefaniuc
Maarten Lankhorst wrote:
> Hi,
> 
> 2008/3/12, Michael Stefaniuc <[EMAIL PROTECTED]>:
>> James Hawkins wrote:
>>  > On Tue, Mar 11, 2008 at 3:15 PM, Dan Kegel <[EMAIL PROTECTED]> wrote:
>>  >>  I'm kind of hoping James implements the missing bits in msi
>>  >>  soon.  James, think that will happen soon enough that
>>  >>  there's no need to update winetricks?
>>  >>
>>  >
>>  > Just sent in the service patch.  If you're referring to anything else,
>>  > I'm not sure what it is.  MsiPublishAssemblies won't see the light of
>>  > day for a long, long time, because it requires fusion.dll being
>>  > implemented.
>>
>> Implementing fusion.dll sounds like a GSoC project to me (no clue how
>>  much work that is). At least getting the basic structure in place should
>>  be doable.
> It doesn't seem that hard to implementi the fusion dll. The hard part
> is that you will probably have to dipe really deep into assemblies for
> it if you want to implement it properly. I don't know the specific
Just to remove any confusion: I'm _not_ planning to participate in the
GSoC. My student time are long gone  Means implementing fusion.dll
is free for everybody.

> code paths taken, but msdn seems to have at least some info on it.
> 
> I think that the fusion dll is installed when installing the .net
> framework because my windows xp install doesn't have it in system32.
> It is in C:\windows\microsoft.net\framework\${VERSION}, which means
> it's probably installed as part of the .net framework. Calling it from
> MSI doesn't seem to be too hard.

bye
michael
-- 
Michael Stefaniuc   Tel.: +49-711-96437-199
Consulting Communications Engineer  Fax.: +49-711-96437-111

Reg. Adresse: Red Hat GmbH, Hauptstätter Strasse 58, 70178 Stuttgart
Handelsregister: Amtsgericht Stuttgart HRB 153243
Geschäftsführer: Brendan Lane, Charlie Peters, Michael Cunningham,
 Werner Knoblich




Re: improve winetricks dotnet 1.1

2008-03-14 Thread Maarten Lankhorst
Hi,

2008/3/12, Michael Stefaniuc <[EMAIL PROTECTED]>:
> James Hawkins wrote:
>  > On Tue, Mar 11, 2008 at 3:15 PM, Dan Kegel <[EMAIL PROTECTED]> wrote:
>  >> Louis wrote:
>  >>  > Hi, i wonder if it would be possible to improve
>  >>  > winetricks dotnet 1.1, so that it's actually able to run
>  >>  >.net-1.1 applications. Currently it only installs the framework,
>  >>  > but due to bugs the apps don't run.   Atm i use pretty worthless
>  >>  > script below to get them running..
>  >>
>  >>  I'm kind of hoping James implements the missing bits in msi
>  >>  soon.  James, think that will happen soon enough that
>  >>  there's no need to update winetricks?
>  >>
>  >
>  > Just sent in the service patch.  If you're referring to anything else,
>  > I'm not sure what it is.  MsiPublishAssemblies won't see the light of
>  > day for a long, long time, because it requires fusion.dll being
>  > implemented.
>
> Implementing fusion.dll sounds like a GSoC project to me (no clue how
>  much work that is). At least getting the basic structure in place should
>  be doable.
It doesn't seem that hard to implementi the fusion dll. The hard part
is that you will probably have to dipe really deep into assemblies for
it if you want to implement it properly. I don't know the specific
code paths taken, but msdn seems to have at least some info on it.

I think that the fusion dll is installed when installing the .net
framework because my windows xp install doesn't have it in system32.
It is in C:\windows\microsoft.net\framework\${VERSION}, which means
it's probably installed as part of the .net framework. Calling it from
MSI doesn't seem to be too hard.

Cheers,
Maarten.




Re: improve winetricks dotnet 1.1

2008-03-12 Thread Michael Stefaniuc
James Hawkins wrote:
> On Tue, Mar 11, 2008 at 3:15 PM, Dan Kegel <[EMAIL PROTECTED]> wrote:
>> Louis wrote:
>>  > Hi, i wonder if it would be possible to improve
>>  > winetricks dotnet 1.1, so that it's actually able to run
>>  >.net-1.1 applications. Currently it only installs the framework,
>>  > but due to bugs the apps don't run.   Atm i use pretty worthless
>>  > script below to get them running..
>>
>>  I'm kind of hoping James implements the missing bits in msi
>>  soon.  James, think that will happen soon enough that
>>  there's no need to update winetricks?
>>
> 
> Just sent in the service patch.  If you're referring to anything else,
> I'm not sure what it is.  MsiPublishAssemblies won't see the light of
> day for a long, long time, because it requires fusion.dll being
> implemented.
Implementing fusion.dll sounds like a GSoC project to me (no clue how
much work that is). At least getting the basic structure in place should
be doable.

bye
michael
-- 
Michael Stefaniuc   Tel.: +49-711-96437-199
Consulting Communications Engineer  Fax.: +49-711-96437-111

Reg. Adresse: Red Hat GmbH, Hauptstätter Strasse 58, 70178 Stuttgart
Handelsregister: Amtsgericht Stuttgart HRB 153243
Geschäftsführer: Brendan Lane, Charlie Peters, Michael Cunningham,
 Werner Knoblich




Re: improve winetricks dotnet 1.1

2008-03-11 Thread James Hawkins
On Tue, Mar 11, 2008 at 6:16 PM, James Hawkins <[EMAIL PROTECTED]> wrote:
> On Tue, Mar 11, 2008 at 3:15 PM, Dan Kegel <[EMAIL PROTECTED]> wrote:
>  > Louis wrote:
>  >  > Hi, i wonder if it would be possible to improve
>  >  > winetricks dotnet 1.1, so that it's actually able to run
>  >  >.net-1.1 applications. Currently it only installs the framework,
>  >  > but due to bugs the apps don't run.   Atm i use pretty worthless
>  >  > script below to get them running..
>  >
>  >  I'm kind of hoping James implements the missing bits in msi
>  >  soon.  James, think that will happen soon enough that
>  >  there's no need to update winetricks?
>  >
>
>  Just sent in the service patch.  If you're referring to anything else,
>  I'm not sure what it is.  MsiPublishAssemblies won't see the light of
>  day for a long, long time, because it requires fusion.dll being
>  implemented.
>

For the record, if I were a millionaire, this is what I would work on :)

http://msdn2.microsoft.com/en-us/library/ms404523(VS.85).aspx

-- 
James Hawkins




Re: improve winetricks dotnet 1.1

2008-03-11 Thread Dan Kegel
On Tue, Mar 11, 2008 at 4:16 PM, James Hawkins <[EMAIL PROTECTED]> wrote:
>  MsiPublishAssemblies won't see the light of
>  day for a long, long time, because it requires fusion.dll being
>  implemented.

OK, I guess I'll roll the kludge into crosstool.

Thanks,
Dan




Re: improve winetricks dotnet 1.1

2008-03-11 Thread James Hawkins
On Tue, Mar 11, 2008 at 3:15 PM, Dan Kegel <[EMAIL PROTECTED]> wrote:
> Louis wrote:
>  > Hi, i wonder if it would be possible to improve
>  > winetricks dotnet 1.1, so that it's actually able to run
>  >.net-1.1 applications. Currently it only installs the framework,
>  > but due to bugs the apps don't run.   Atm i use pretty worthless
>  > script below to get them running..
>
>  I'm kind of hoping James implements the missing bits in msi
>  soon.  James, think that will happen soon enough that
>  there's no need to update winetricks?
>

Just sent in the service patch.  If you're referring to anything else,
I'm not sure what it is.  MsiPublishAssemblies won't see the light of
day for a long, long time, because it requires fusion.dll being
implemented.

-- 
James Hawkins




re: improve winetricks dotnet 1.1

2008-03-11 Thread Dan Kegel
Louis wrote:
> Hi, i wonder if it would be possible to improve
> winetricks dotnet 1.1, so that it's actually able to run
>.net-1.1 applications. Currently it only installs the framework,
> but due to bugs the apps don't run.   Atm i use pretty worthless
> script below to get them running..

I'm kind of hoping James implements the missing bits in msi
soon.  James, think that will happen soon enough that
there's no need to update winetricks?

> Note, the dlls gdiplus and mscoree should be set to native only, not (native, 
> builtin), so override_dll should look tiny bit different then in winetricks.

Ah, good point.
- Dan




improve winetricks dotnet 1.1

2008-03-11 Thread Louis. Lenders
Hi, i wonder if it would be possible to improve winetricks dotnet 1.1, so that 
it's actually able to run
.net-1.1 applications. Currently it only installs the framework, but due to 
bugs the apps don't run. Atm  moment i use pretty worthless script below to get 
them running, but i'm sure one of the winetricks hackers could turn this into a 
nice script

Note, the dlls gdiplus and mscoree should be set to native only, not (native, 
builtin), so override_dll should look tiny bit different then in winetricks.








  __
Sent from Yahoo! Mail.
The World's Favourite Email http://uk.docs.yahoo.com/nowyoucan.htmloverride_dlls() {
echo Overriding following DLLs: $@
cat > /tmp/override-dll.reg <<_EOF_
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
_EOF_
while test "$1" != ""
do
echo "\"$1\"=\"native\"" >> /tmp/override-dll.reg
shift
done

regedit /tmp/override-dll.reg
rm /tmp/override-dll.reg
}

cd /tmp

wget http://bugs.winehq.org/attachment.cgi?id=11046

sh attachment.cgi?id=11046

cp -rf ~/.wine/drive_c/windows/Microsoft.NET/Framework/v1.1.4322/gdiplus.dll 
~/.wine/drive_c/windows/system32/

override_dlls gdiplus

winetricks allfonts

wineprefixcreate  #to register the fonts

cp -rf ~/.wine/drive_c/windows/system32/URTTemp/mscoree.dll 
~/.wine/drive_c/windows/system32/

override_dlls mscoree