On Tue, 2004-06-01 at 09:33 +0200, Raphael wrote:
Now we go further on many InstallShields (i'm using Prince Of Persia and SplinterCell Demo) but InstallShield seems to freeze after creating the "desktop/background" window (i only see Window messaging traces). Any expert to help me ? helpppp, i want a lot to use SplinterCell Demo :(
Are you sure it's frozen, or is it actually that the big blue window was created as override-redirect so is placed always-on-top by your window manager?
What happens if you use desktop mode?
thanks -mike
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tuesday 01 June 2004 10:49, Mike Hearn wrote:
On Tue, 2004-06-01 at 09:33 +0200, Raphael wrote:
Now we go further on many InstallShields (i'm using Prince Of Persia and SplinterCell Demo) but InstallShield seems to freeze after creating the "desktop/background" window (i only see Window messaging traces). Any expert to help me ? helpppp, i want a lot to use SplinterCell Demo :(
Are you sure it's frozen, or is it actually that the big blue window was created as override-redirect so is placed always-on-top by your window manager?
What happens if you use desktop mode?
You are right :) It runs a lot better (i can see 3 step on installshied process) but it crash after that (seems a crypt problem):
trace:crypt:CryptAcquireContextA (0x4069e234, {A863E740-B410-11D8-C687-00E018F34088}, (null), 1, 00000010) fixme:crypt:CryptAcquireContextA Did not find registry entry of crypto provider for "Software\Microsoft\Cryptography\Defaults\Provider Types\Type 001".
:(
thanks -mike
Regards, Raphael
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tuesday 01 June 2004 23:16, Raphael wrote:
On Tuesday 01 June 2004 10:49, Mike Hearn wrote:
On Tue, 2004-06-01 at 09:33 +0200, Raphael wrote:
Now we go further on many InstallShields (i'm using Prince Of Persia and SplinterCell Demo) but InstallShield seems to freeze after creating the "desktop/background" window (i only see Window messaging traces). Any expert to help me ? helpppp, i want a lot to use SplinterCell Demo :(
Are you sure it's frozen, or is it actually that the big blue window was created as override-redirect so is placed always-on-top by your window manager?
What happens if you use desktop mode?
You are right :) It runs a lot better (i can see 3 step on installshied process) but it crash after that (seems a crypt problem):
trace:crypt:CryptAcquireContextA (0x4069e234, {A863E740-B410-11D8-C687-00E018F34088}, (null), 1, 00000010) fixme:crypt:CryptAcquireContextA Did not find registry entry of crypto provider for "Software\Microsoft\Cryptography\Defaults\Provider Types\Type 001".
:( :
thanks -mike
trace:ole:SafeArrayDestroyDescriptor (0x420d51d8)
With latest rsabase (i'll send the last today) and ntdll patches we go a lot further. But we seems to crash with File Access (sharing) problem. Who can understand this log ? The traces like fixme:ntdll:NtCreateFile L"\??\E:\4996.rra" => (0, 1) are traces in my tree ( FIXME("%s => (%lx, %lx)\n", debugstr_us(attr->ObjectName), io->u.Status, disposition); on ntdll/file.c#220 ) For me seems that MoveFile not create the file with the good sharing/access rights for future use :(
trace:file:MoveFileExW (L"E:\4996.rra",L"C:\Program Files\InstallShield Installation Information\{A98E5E03-E407-408E-A8D8-B9F088F21000}\setup.ilg",0002) trace:file:RtlDosPathNameToNtPathName_U (L"E:\4996.rra",0x4069df18,(nil), (nil)) trace:file:RtlGetFullPathName_U (L"E:\4996.rra" 520 0x4069dcb0 (nil)) trace:file:wine_nt_to_unix_file_name L"\??\E:\4996.rra" -> "/home/fenix/.wine/dosdevices/e:/4996.rra" fixme:ntdll:NtCreateFile L"\??\E:\4996.rra" => (0, 1) trace:file:wine_nt_to_unix_file_name L"\??\E:\4996.rra" -> "/home/fenix/.wine/dosdevices/e:/4996.rra" trace:file:RtlDosPathNameToNtPathName_U (L"C:\Program Files\InstallShield Installation Information\{A98E5E03-E407-408E-A8D8-B9F088F21000}\setup.ilg",0x4069df18, (nil),(nil)) trace:file:RtlGetFullPathName_U (L"C:\Program Files\InstallShield Installation Information\{A98E5E03-E407-408E-A8D8-B9F088F21000}\setup.ilg" 520 0x4069dcb0 (nil)) warn:file:wine_nt_to_unix_file_name L"setup.ilg" not found in /home/fenix/.wine/dosdevices/c:/Program Files/InstallShield Installation Information/{A98E5E03-E407-408E-A8D8-B9F088F21000} fixme:ntdll:NtCreateFile L"\??\C:\Program Files\InstallShield Installation Information\{A98E5E03-E407-408E-A8D8-B9F088F21000}\setup.ilg" => (c0000034, 24) warn:file:wine_nt_to_unix_file_name L"\??\C:\Program Files\InstallShield Installation Information\{A98E5E03-E407-408E-A8D8-B9F088F21000}\setup.ilg" - -> "/home/fenix/.wine/dosdevices/c:/Program Files/InstallShield Installation Information/{A98E5E03-E407-408E-A8D8-B9F088F21000}/setup.ilg" required a case-insensitive search trace:file:wine_nt_to_unix_file_name L"\??\C:\Program Files\InstallShield Installation Information\{A98E5E03-E407-408E-A8D8-B9F088F21000}\setup.ilg" - -> "/home/fenix/.wine/dosdevices/c:/Program Files/InstallShield Installation Information/{A98E5E03-E407-408E-A8D8-B9F088F21000}/setup.ilg" trace:file:CopyFileW L"E:\4996.rra" -> L"C:\Program Files\InstallShield Installation Information\{A98E5E03-E407-408E-A8D8-B9F088F21000}\setup.ilg" trace:file:CreateFileW L"E:\4996.rra" GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE OPEN_EXISTING attributes 0x0 trace:file:RtlDosPathNameToNtPathName_U (L"E:\4996.rra",0x4069d610,(nil), (nil)) trace:file:RtlGetFullPathName_U (L"E:\4996.rra" 520 0x4069d3b4 (nil)) trace:file:wine_nt_to_unix_file_name L"\??\E:\4996.rra" -> "/home/fenix/.wine/dosdevices/e:/4996.rra" fixme:ntdll:NtCreateFile L"\??\E:\4996.rra" => (c0000043, 4069d628) warn:file:CreateFileW Unable to create file L"E:\4996.rra" (status c0000043) trace:file:CreateFileW returning 0xffffffff warn:file:CopyFileW Unable to open source L"E:\4996.rra" trace:file:CopyFileW L"E:\4996.rra" -> L"C:\Program Files\InstallShield Installation Information\{A98E5E03-E407-408E-A8D8-B9F088F21000}\setup.ilg" trace:file:CreateFileW L"E:\4996.rra" GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE OPEN_EXISTING attributes 0x0 trace:file:RtlDosPathNameToNtPathName_U (L"E:\4996.rra",0x4069d730,(nil), (nil)) trace:file:RtlGetFullPathName_U (L"E:\4996.rra" 520 0x4069d4d4 (nil)) trace:file:wine_nt_to_unix_file_name L"\??\E:\4996.rra" -> "/home/fenix/.wine/dosdevices/e:/4996.rra" fixme:ntdll:NtCreateFile L"\??\E:\4996.rra" => (c0000043, 4069d748) warn:file:CreateFileW Unable to create file L"E:\4996.rra" (status c0000043) trace:file:CreateFileW returning 0xffffffff warn:file:CopyFileW Unable to open source L"E:\4996.rra" fixme:advapi:GetFileSecurityA ("C:\Program Files\InstallShield Installation Information\{A98E5E03-E407-408E-A8D8-B9F088F21000}\") : stub trace:file:DeleteFileW L"E:\4996.rra" trace:file:CreateFileW L"E:\4996.rra" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE FILE_SHARE_DELETE OPEN_EXISTING attributes 0x4000000 trace:file:RtlDosPathNameToNtPathName_U (L"E:\4996.rra",0x4069dfa4,(nil), (nil)) trace:file:RtlGetFullPathName_U (L"E:\4996.rra" 520 0x4069dd48 (nil)) trace:file:wine_nt_to_unix_file_name L"\??\E:\4996.rra" -> "/home/fenix/.wine/dosdevices/e:/4996.rra" fixme:ntdll:NtCreateFile L"\??\E:\4996.rra" => (c0000043, 4052d4ac) warn:file:CreateFileW Unable to create file L"E:\4996.rra" (status c0000043) trace:file:CreateFileW returning 0xffffffff trace:file:DeleteFileW L"" trace:ole:CoUninitialize () trace:module:LdrShutdownThread ()
Regards, Raphael
On Wed, 2004-06-02 at 01:36, Raphael wrote:
With latest rsabase (i'll send the last today) and ntdll patches we go a lot further. But we seems to crash with File Access (sharing) problem. Who can understand this log ? The traces like fixme:ntdll:NtCreateFile L"\??\E:\4996.rra" => (0, 1) are traces in my tree ( FIXME("%s => (%lx, %lx)\n", debugstr_us(attr->ObjectName), io->u.Status, disposition); on ntdll/file.c#220 ) For me seems that MoveFile not create the file with the good sharing/access rights for future use :(
See below.
trace:file:MoveFileExW (L"E:\4996.rra",L"C:\Program Files\InstallShield Installation Information\{A98E5E03-E407-408E-A8D8-B9F088F21000}\setup.ilg",0002)
...
fixme:ntdll:NtCreateFile L"\??\E:\4996.rra" => (0, 1)
We open the existing file E:\4996.rra successfully as the source (asking for no access rights).
...
We presumably detect that the source and destination files are on different volumes and fall back to copy & delete rather than Unix rename: if (errno == EXDEV && (flag & MOVEFILE_COPY_ALLOWED)) { NtClose( source_handle ); RtlFreeAnsiString( &source_unix ); RtlFreeAnsiString( &dest_unix ); return (CopyFileW( source, dest, TRUE ) && DeleteFileW( source )); }
Therefore, we have now (presumably) closed the source_handle and so we shouldn't care about how MoveFile opened the file.
trace:file:CopyFileW L"E:\4996.rra" -> L"C:\Program Files\InstallShield Installation Information\{A98E5E03-E407-408E-A8D8-B9F088F21000}\setup.ilg" trace:file:CreateFileW L"E:\4996.rra" GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE OPEN_EXISTING attributes 0x0 trace:file:RtlDosPathNameToNtPathName_U (L"E:\4996.rra",0x4069d610,(nil), (nil)) trace:file:RtlGetFullPathName_U (L"E:\4996.rra" 520 0x4069d3b4 (nil)) trace:file:wine_nt_to_unix_file_name L"\??\E:\4996.rra" -> "/home/fenix/.wine/dosdevices/e:/4996.rra" fixme:ntdll:NtCreateFile L"\??\E:\4996.rra" => (c0000043, 4069d628)
But, we cannot open the file this time.
...
And stuff fails from there.
trace:ole:CoUninitialize () trace:module:LdrShutdownThread ()
We are asking for slightly different rights the second time we open the file. I presume E:\ is your temp directory? I'm guessing that further up the log it was created or left open without the right permissions. You will have to show earlier traces in your log to determine the real cause.
Rob