Re: software built and worked under wine but not in vista?

2010-05-24 Thread Hin-Tak Leung
Matijn Woudt wrote: There are a few differences I spotted between the two executables: 1) setupgs-wine.exe has wrong image size, changing it from 0x2b200 to 0x2b000 makes the executable working under win7. 2) setupgs-wine.exe has wrong resource size, probably related to 1), because the size of bo

Re: software built and worked under wine but not in vista?

2010-05-22 Thread Hin-Tak Leung
Thanks for everybody who advised. I have filed the two bugs under: [Bug 22813] wine's loader does not check invalid image size [Bug 22812] mt creates corrupted executables In a nutshell, just before running mt, wine and vista generates very similiar executables (differing by 4 bytes, two about t

Re: software built and worked under wine but not in vista?

2010-05-21 Thread Hin-Tak Leung
--- On Fri, 21/5/10, André Hentschel wrote: > compile your setupgs in wine but without the "mt-step" and > try running it on vista. > if mt breaks the PE file then submit a bug report > describing wrong behavior of mt. This is what I am doing next. I have also made a change to ghostscript trunk

Re: software built and worked under wine but not in vista?

2010-05-21 Thread André Hentschel
Am 21.05.2010 01:34, schrieb Hin-Tak Leung: > --- On Thu, 20/5/10, Matijn Woudt wrote: > * On Tue, 18 May 2010, Hin-Tak Leung wrote: > > So it seems that setupgs.exe is mis-compiled >> under wine with win7 sdk but > just happened to also work under wine. Any >> idea how it might

Re: software built and worked under wine but not in vista?

2010-05-21 Thread Saulius Krasuckas
* On Fri, 21 May 2010, Hin-Tak Leung wrote: > > > To check this, it would be nice to run "winetricks vcrun6", recomple > > the app in Wine and see if the resulting exe run OK on Vista. > > Tried that - the binary differs by 6 bytes - just timestamp and > checksum. So using native msvcrt in vcru

Re: software built and worked under wine but not in vista?

2010-05-21 Thread Hin-Tak Leung
--- On Fri, 21/5/10, Hin-Tak Leung wrote: > Krasuckas > wrote: > > > > > > http://www.ghostscript.com/~hintak/setupgs-vista.exe > > > > http://www.ghostscript.com/~hintak/setupgs-wine.exe > > > > > > There are a few differences I spotted between the > two > > executables: > > > 1) setupgs-win

Re: software built and worked under wine but not in vista?

2010-05-20 Thread Hin-Tak Leung
--- On Thu, 20/5/10, Saulius Krasuckas wrote: > > > http://www.ghostscript.com/~hintak/setupgs-vista.exe > > > http://www.ghostscript.com/~hintak/setupgs-wine.exe > > > > There are a few differences I spotted between the two > executables: > > 1) setupgs-wine.exe has wrong image size, changing

Re: software built and worked under wine but not in vista?

2010-05-20 Thread Hin-Tak Leung
--- On Thu, 20/5/10, Matijn Woudt wrote: > >> * On Tue, 18 May 2010, Hin-Tak Leung wrote: > >>> > >>> So it seems that setupgs.exe is mis-compiled > under wine with win7 sdk but > >>> just happened to also work under wine. Any > idea how it might happen? > > I have gone ahead and done exactly th

Re: software built and worked under wine but not in vista?

2010-05-20 Thread Saulius Krasuckas
* On Thu, 20 May 2010, Matijn Woudt wrote: > On Thu, May 20, 2010 at 3:54 AM, Hin-Tak Leung > wrote: > > > > I have gone ahead and done exactly that - the correct behavior should > > be a msg box saying filelist.txt is missing, rather than setupgs.exe > > not a valid win32 application. > > > >

Re: software built and worked under wine but not in vista?

2010-05-20 Thread Matijn Woudt
On Thu, May 20, 2010 at 3:54 AM, Hin-Tak Leung wrote: > Saulius Krasuckas wrote: >> >> I sorry for stepping into Alexandre's or Dmitry's shoes, but.. >> >> * On Tue, 18 May 2010, Hin-Tak Leung wrote: >>> >>> So it seems that setupgs.exe is mis-compiled under wine with win7 sdk but >>> just happene

Re: software built and worked under wine but not in vista?

2010-05-20 Thread Hin-Tak Leung
Saulius Krasuckas wrote: I sorry for stepping into Alexandre's or Dmitry's shoes, but.. * On Tue, 18 May 2010, Hin-Tak Leung wrote: So it seems that setupgs.exe is mis-compiled under wine with win7 sdk but just happened to also work under wine. Any idea how it might happen? ... there could b

Re: software built and worked under wine but not in vista?

2010-05-19 Thread Hin-Tak Leung
--- On Wed, 19/5/10, Saulius Krasuckas wrote: > I sorry for stepping into Alexandre's > or Dmitry's shoes, but.. > > * On Tue, 18 May 2010, Hin-Tak Leung wrote: > > > > So it seems that setupgs.exe is mis-compiled under > wine with win7 sdk > > but just happened to also work under wine. Any id

Re: software built and worked under wine but not in vista?

2010-05-19 Thread Saulius Krasuckas
I sorry for stepping into Alexandre's or Dmitry's shoes, but.. * On Tue, 18 May 2010, Hin-Tak Leung wrote: > > So it seems that setupgs.exe is mis-compiled under wine with win7 sdk > but just happened to also work under wine. Any idea how it might happen? ... there could be a pair of bugs: one

software built and worked under wine but not in vista?

2010-05-18 Thread Hin-Tak Leung
I have encountered a slightly strange issue with building the windows self-extracting installer release of ghostscript (http://www.ghostscript.com/) - the self-extracting installer is created with the winzip self-extractor package, which can be manually unzipped. The curious thing is that I can