All: My employer has required me to pass a computer security certification exam. The folks at Pass4Sure have what I consider the best program. However, it does not want to play nice under Wine. I installed the Demo version of the Network+ test program. It is a native Windows Java application. It wanted to install GDIPLUS and msxml6. I used Winetricks to install them and then tried to run the program again and here is what showed up in a terminal session: wine n10-003\ DEMO.exe Fontconfig error: Cannot load default config file Fontconfig error: Cannot load default config file fixme:system:SystemParametersInfoW Unimplemented action: 4132 (SPI_GETDROPSHADOW) Fontconfig error: Cannot load default config file I have this particular .wine to set for a virtual desktop and it appeared and then disappeared. Any ideas as to what else I can do? BTW, Java is installed and is Java 1.5 Update 15. James McKenzie
On Sun, Jul 26, 2009 at 9:38 PM, James McKenzie<jjmckenzie51 at earthlink.net> wrote:> All: > > My employer has required me to pass a computer security certification > exam. ?The folks at Pass4Sure have what I consider the best program. > However, it does not want to play nice under Wine. ?I installed the Demo > version of the Network+ test program. ?It is a native Windows Java > application. ?It wanted to install GDIPLUS and msxml6. ?I used > Winetricks to install them and then tried to run the program again and > here is what showed up in a terminal session: > > wine n10-003\ DEMO.exe > Fontconfig error: Cannot load default config file > Fontconfig error: Cannot load default config fileUnrelated, but strange...Probably an OSXism.> fixme:system:SystemParametersInfoW Unimplemented action: 4132 > (SPI_GETDROPSHADOW) > Fontconfig error: Cannot load default config file > > I have this particular .wine to set for a virtual desktop and it > appeared and then disappeared. > > Any ideas as to what else I can do?There's not much there. A +relay is your next best bet. -- -Austin
file a bug in bugzilla. It is this program http://www.pass4surevip.com/demo/n10-003Demo.zip right? I got it running with a few hacks, apparently there's a problem with sharing violation when wine tries to open the main file
>file a bug in bugzilla. It is this program http://www.pass4surevip.com/demo/n10-003Demo.zip right? I got it >running with a few hacks, apparently there's a problem with sharing violation when wine tries to open the >main file >Yes, that is the program. Would you mind sharing the hacks off-line? James McKenzie
>On Tue, Jul 28, 2009 at 8:50 AM, James >Mckenzie<jjmckenzie51 at earthlink.net> wrote: >>>file a bug in bugzilla. It is this program http://www.pass4surevip.com/demo/n10-003Demo.zip right? I got it >>>running with a few hacks, apparently there's a problem with sharing violation when wine tries to open the >>>main file >>> >> Yes, that is the program. ?Would you mind sharing the hacks off-line? > >Why offline? This _is_ an opensource project after all. >I would like to test them before posting them to the Applications Database. Don't want to add incorrect information. If this only works for a limited audience, then we need to address this as well. James McKenzie
well, if you don't mind i post it here anyway, so others might think with us as to why the app fails. The problem seemed to be: 0009:Call KERNEL32.CreateFileW(0032f45c L"C:\\Program Files\\Pass4sure Test Environment\\n10-003 DEMO\\n10-003 DEMO.exe",80000000,00000000,0032f1d0,00000003,00000080,00000000) ret=00487fca 0009:Ret KERNEL32.CreateFileW() retval=ffffffff ret=00487fca hack below just simply changes some parameters when CreateFileW is called for n10DEMO.exe , and then the splash screen at least keeps up ;) It appeared to be querying interface from wbemprox, so I installed native wmi: winetricks win98 wget wget http://download.microsoft.com/download/platformsdk/wmi9x/1.5/W9X/EN-US/wmi9x.exe wine wmi9x.exe winetricks winxp After that it hang again, the second hack in ole32 made the app start. At least the first problem ( CreateFileW failing) seems to be worth a bugreport afaics 1st hack:> > --- a/dlls/kernel32/file.c > +++ b/dlls/kernel32/file.c > @@ -1304,6 +1304,9 @@ HANDLE WINAPI CreateFileW( LPCWSTR filename, DWORD access, DWORD sharing, > static const WCHAR bkslashes_with_dotW[] = {'\\','\\','.','\\',0}; > static const WCHAR coninW[] = {'C','O','N','I','N','$',0}; > static const WCHAR conoutW[] = {'C','O','N','O','U','T','$',0}; > + static const WCHAR n10W[] = {'C',':','\\','P','r','o','g','r','a','m',' ','F','i','l','e','s','\\','P','a','s','s','4'\ > +,'s','u','r','e',' ','T','e','s','t',' ','E','n','v','i','r','o','n','m','e','n','t','\\','n','1','0','-','0','0','3',' ',\ > +'D','E','M','O','\\','n','1','0','-','0','0','3',' ','D','E','M','O','.','e','x','e',0}; > SECURITY_QUALITY_OF_SERVICE qos; > > static const UINT nt_disposition[5] > @@ -1323,7 +1326,7 @@ HANDLE WINAPI CreateFileW( LPCWSTR filename, DWORD access, DWORD sharing, > SetLastError( ERROR_PATH_NOT_FOUND ); > return INVALID_HANDLE_VALUE; > } > - > + if (0==strcmpW(filename,n10W)) {attributes=0; sharing = FILE_SHARE_READ | FILE_SHARE_WRITE;} > TRACE("%s %s%s%s%s%s%s creation %d attributes 0x%x\n", debugstr_w(filename), > (access & GENERIC_READ)?"GENERIC_READ ":"", > (access & GENERIC_WRITE)?"GENERIC_WRITE ":"", >2nd hack:> > diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c > index b2013cf..f1ae64b 100644 > --- a/dlls/ole32/compobj.c > +++ b/dlls/ole32/compobj.c > @@ -3289,7 +3289,7 @@ HRESULT WINAPI CoSetProxyBlanket(IUnknown *pProxy, DWORD AuthnSvc, > IClientSecurity_Release(pCliSec); > } > > - if (FAILED(hr)) ERR("-- failed with 0x%08x\n", hr); > + if (FAILED(hr)) {ERR("-- failed with 0x%08x\n", hr); hr=0;} > return hr; > } > >