Software: Trados as usual Script to launch: Code: #!/bin/sh wineboot cd ~/.wine/drive_c/ if test -f SDLTrados2007_PRO_SP2_835.exe then echo "file exists" else cp ~/SDLTrados2007_PRO_SP2_835.exe ~/.wine/drive_c/ fi cd ../../../ wget -nd www.kegel.com/wine/winetricks winetricks -q corefonts gecko wsh56 fakeie6 winxp cd ~/.wine/drive_c wine SDLTrados2007_PRO_SP2_835.exe -q exit Error during the installation: Code: fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime 2.0 Error Reporting"): stub fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00001388,(nil),0x000b,0x000000ec,0x3009a1b4,0x7dfe5684): stub err:eventlog:ReportEventW L"clr20r3" err:eventlog:ReportEventW L"regasm.exe" err:eventlog:ReportEventW L"2.0.50727.42" err:eventlog:ReportEventW L"4333aba6" err:eventlog:ReportEventW L"mscorlib" err:eventlog:ReportEventW L"2.0.0.0" err:eventlog:ReportEventW L"4333ab80" err:eventlog:ReportEventW L"2a4a" err:eventlog:ReportEventW L"0" err:eventlog:ReportEventW L"system.nullreferenceexception" err:eventlog:ReportEventW L"NIL" fixme:advapi:DeregisterEventSource (0xcafe4242) stub fixme:thread:NtQueryInformationThread info class 9 not supported yet fixme:thread:NtQueryInformationThread info class 9 not supported yet fixme:thread:NtQueryInformationThread info class 9 not supported yet Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at System.Resources.ResourceManager.GetSatelliteAssembliesFromConfig() at System.Resources.ResourceManager.TryLookingForSatellite(CultureInfo lookForCulture) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.GetString(String name, CultureInfo culture) at System.Environment.ResourceHelper.GetResourceStringCode(Object userDataIn) at System.Environment.GetResourceFromDefault(String key) at System.TypeInitializationException..ctor(String fullTypeName, Exception innerException) at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID) at System.Globalization.TextInfo.get_InvariantNativeTextInfo() at System.String.Compare(String strA, Int32 indexA, String strB, Int32 indexB, Int32 length, StringComparison comparisonType) at System.Security.Util.URLString.PreProcessForExtendedPathRemoval(String url, Boolean isFileUrl) at System.AppDomainSetup.NormalizePath(String path, Boolean useAppBase) at System.AppDomainSetup.SetupDefaultApplicationBase(String imageLocation) at System.AppDomain.SetupFusionStore(AppDomainSetup info) at System.AppDomain.SetupDomain(Boolean allowRedirects, String path, String configFile) wine: Unhandled page fault on read access to 0x00000000 at address 0x2de2c57 (thread 00a9), starting debugger... Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x02de2c57). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:02de2c57 ESP:0033e6c0 EBP:0033e70c EFLAGS:00210293( - 00 RISA1C) EAX:00000000 EBX:008522bc ECX:008511b4 EDX:0000040c ESI:00000000 EDI:0033e6ec Stack dump: 0x0033e6c0: 00000000 00000000 00000000 00000000 0x0033e6d0: 00000000 00000000 00000000 00000000 0x0033e6e0: 00000000 00000000 00000000 0033e744 0x0033e6f0: 02de2b5d 00000000 0185101c 008522bc 0x0033e700: 008522bc 0185101c 00000000 0033e744 0x0033e710: 02de2b5d 00000000 0085399c 008522bc Backtrace: =>1 0x02de2c57 (0x0033e70c) 2 0x02de2b5d (0x0033e744) 3 0x02d48f27 (0x0033e798) 4 0x02d48aaf (0x00851e5c) 5 0x00000018 (0x003a9310) 6 0x00000010 (0x02440002) 7 0x00000000 (0x00000000) 0x02de2c57: cmpl %eax,0x0(%esi) Modules: Module Address Debug info Name (60 modules) PE 400000- 410000 Deferred regasm PE 5e380000-5e409000 Deferred diasymreader PE 78130000-781cb000 Deferred msvcr80 PE 79000000-79045000 Deferred mscoree PE 79060000-790b3000 Deferred mscorjit PE 790c0000-794de000 Deferred mscorlib PE 79e70000-7a3d1000 Deferred mscorwks ELF 7b800000-7b929000 Deferred kernel32<elf> \-PE 7b820000-7b929000 \ kernel32 ELF 7bc00000-7bca1000 Deferred ntdll<elf> \-PE 7bc10000-7bca1000 \ ntdll ELF 7bf00000-7bf03000 Deferred <wine-loader> ELF 7e2a6000-7e2ba000 Deferred lz32<elf> \-PE 7e2b0000-7e2ba000 \ lz32 ELF 7e2ba000-7e35a000 Deferred oleaut32<elf> \-PE 7e2d0000-7e35a000 \ oleaut32 ELF 7e35a000-7e36d000 Deferred libresolv.so.2 ELF 7e374000-7e38d000 Deferred version<elf> \-PE 7e380000-7e38d000 \ version ELF 7e38d000-7e3ab000 Deferred iphlpapi<elf> \-PE 7e390000-7e3ab000 \ iphlpapi ELF 7e3ab000-7e40b000 Deferred rpcrt4<elf> \-PE 7e3c0000-7e40b000 \ rpcrt4 ELF 7e40b000-7e4ad000 Deferred ole32<elf> \-PE 7e420000-7e4ad000 \ ole32 ELF 7e6cf000-7e735000 Deferred msvcrt<elf> \-PE 7e6e0000-7e735000 \ msvcrt ELF 7e735000-7e738000 Deferred libxrandr.so.2 ELF 7e738000-7e758000 Deferred imm32<elf> \-PE 7e740000-7e758000 \ imm32 ELF 7e758000-7e84f000 Deferred libx11.so.6 ELF 7e84f000-7e85d000 Deferred libxext.so.6 ELF 7e85d000-7e875000 Deferred libice.so.6 ELF 7e885000-7e88a000 Deferred libxfixes.so.3 ELF 7e88a000-7e893000 Deferred libxcursor.so.1 ELF 7e893000-7e895000 Deferred xlcutf8load.so.2 ELF 7e895000-7e92a000 Deferred winex11<elf> \-PE 7e8a0000-7e92a000 \ winex11 ELF 7eaf9000-7eb18000 Deferred libexpat.so.1 ELF 7eb18000-7eb51000 Deferred libfontconfig.so.1 ELF 7eb51000-7eb63000 Deferred libz.so.1 ELF 7eb63000-7ebd0000 Deferred libfreetype.so.6 ELF 7ebd0000-7ec69000 Deferred gdi32<elf> \-PE 7ebe0000-7ec69000 \ gdi32 ELF 7ec69000-7edad000 Deferred user32<elf> \-PE 7ec80000-7edad000 \ user32 ELF 7edad000-7ee04000 Deferred shlwapi<elf> \-PE 7edc0000-7ee04000 \ shlwapi ELF 7ee04000-7ee55000 Deferred advapi32<elf> \-PE 7ee10000-7ee55000 \ advapi32 ELF 7efbb000-7efe0000 Deferred libm.so.6 ELF 7efe1000-7efe9000 Deferred libxrender.so.1 ELF 7efe9000-7efec000 Deferred libxinerama.so.1 ELF 7efec000-7eff1000 Deferred libxxf86vm.so.1 ELF f7cb1000-f7cba000 Deferred libsm.so.6 ELF f7cbd000-f7cc1000 Deferred libdl.so.2 ELF f7cc1000-f7ded000 Deferred libc.so.6 ELF f7ded000-f7e03000 Deferred libpthread.so.0 ELF f7e23000-f7f59000 Deferred libwine.so.1 ELF f7f5a000-f7f76000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 0000000c 0000008e 0 0000008c 0 00000050 0 00000012 0 0000000e 0 0000000d 0 0000000f 00000015 0 00000014 0 00000011 0 00000010 0 00000018 00000019 0 0000002f 00000034 0 00000030 0 00000013 00000040 0 0000004b 0000008a 0 0000002b 0 00000038 0 00000039 0 0000004f 0 0000002d 0 0000002e 0 00000021 0 0000005d 0 0000004a 0 0000004d 00000035 0 00000058 0 0000003a 0 00000051 0 00000053 0 0000003f 00000059 0 0000003d 0 0000003e 0 0000005e 0 0000000b 0 00000042 00000089 0 00000048 0 00000044 0 0000005f 0 0000001d 0 00000023 0 00000025 0 0000001f 0 00000020 0 0000001b 0 0000005c 0 00000027 0 00000022 0 000000a8 (D) C:\windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe 000000ab 2 000000aa 0 000000a9 0 <=000000ac 000000ae 0 000000ad 0 Backtrace: =>1 0x02de2c57 (0x0033e70c) 2 0x02de2b5d (0x0033e744) 3 0x02d48f27 (0x0033e798) 4 0x02d48aaf (0x00851e5c) 5 0x00000018 (0x003a9310) 6 0x00000010 (0x02440002) 7 0x00000000 (0x00000000) Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at System.Resources.ResourceManager.GetSatelliteAssembliesFromConfig() at System.Resources.ResourceManager.TryLookingForSatellite(CultureInfo lookForCulture) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.GetString(String name, CultureInfo culture) at System.Environment.ResourceHelper.GetResourceStringCode(Object userDataIn) at System.Environment.GetResourceFromDefault(String key) at System.TypeInitializationException..ctor(String fullTypeName, Exception innerException) at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID) at System.Globalization.TextInfo.get_InvariantNativeTextInfo() at System.String.Compare(String strA, Int32 indexA, String strB, Int32 indexB, Int32 length, StringComparison comparisonType) at System.Security.Util.URLString.PreProcessForExtendedPathRemoval(String url, Boolean isFileUrl) at System.AppDomainSetup.NormalizePath(String path, Boolean useAppBase) at System.AppDomainSetup.SetupDefaultApplicationBase(String imageLocation) at System.AppDomain.SetupFusionStore(AppDomainSetup info) at System.AppDomain.SetupDomain(Boolean allowRedirects, String path, String configFile) Unhandled Exception: System.Threading.SynchronizationLockException: Object synchronization method was called from an unsynchronized block of code. at System.Resources.ResourceManager.TryLookingForSatellite(CultureInfo lookForCulture) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.GetString(String name, CultureInfo culture) at System.Environment.ResourceHelper.GetResourceStringCode(Object userDataIn) at System.Environment.GetResourceFromDefault(String key) at System.TypeInitializationException..ctor(String fullTypeName, Exception innerException) at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID) at System.Globalization.TextInfo.get_InvariantNativeTextInfo() at System.String.Compare(String strA, Int32 indexA, String strB, Int32 indexB, Int32 length, StringComparison comparisonType) at System.Security.Util.URLString.PreProcessForExtendedPathRemoval(String url, Boolean isFileUrl) at System.AppDomainSetup.NormalizePath(String path, Boolean useAppBase) at System.AppDomainSetup.SetupDefaultApplicationBase(String imageLocation) at System.AppDomain.SetupFusionStore(AppDomainSetup info) at System.AppDomain.SetupDomain(Boolean allowRedirects, String path, String configFile) fixme:advapi:SetNamedSecurityInfoW L"C:\\windows\\PCHealth\\ErrorRep\\QSignoff" 1 -2147483644 (nil) (nil) 0x141ebc (nil) err:ole:CoGetClassObject class {4e14fba2-2e22-11d1-9964-00c04fbbb345} not registered err:ole:create_server class {4e14fba2-2e22-11d1-9964-00c04fbbb345} not registered err:ole:CoGetClassObject no class object {4e14fba2-2e22-11d1-9964-00c04fbbb345} could be created for context 0x5 last errors seems that something is not installed. Is there something missing on my script? Can I do anything about the assembly error? I would be thankful for any hints. y.
install .NET 2 -- Marcel W. Wysocki <maci at satgnu.net> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available Url : http://www.winehq.org/pipermail/wine-users/attachments/20080531/be24d68e/attachment.pgp
Already done :-) Otherwise you don't have a chance to prompt regasm.exe since it belongs to the NET.
Maybe one thing to mention: I don't need to install the .NET separately because it's part of the installation of Trados (using it's own script). Here the log of the .NET installation but I'm sure it doesn't come from there. Code: [05/31/08,08:24:52] ========== Logging started ========= [05/31/08,08:24:52] ==================================== [05/31/08,08:24:52] No language specified in ini file default to OS language [05/31/08,08:24:52] Set lang to 1031 [05/31/08,08:24:52] Pending Reboot Table state : Logging start [05/31/08,08:24:52] _________________________________________ [05/31/08,08:24:52] There are no queued up pending reboot entries. [05/31/08,08:24:52] Logging property values [05/31/08,08:24:52] PROPERTY ProductName Microsoft .NET Framework 2.0 [05/31/08,08:24:52] PROPERTY C:\windows\temp\IXP000.TMP\netfx.msi [05/31/08,08:24:52] PROPERTY ProductMsi netfx.msi [05/31/08,08:24:52] PROPERTY Ini Filename C:\windows\temp\IXP000.TMP\install.ini [05/31/08,08:24:52] PROPERTY ProductCode [05/31/08,08:24:52] PROPERTY ProductRegKey SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727 [05/31/08,08:24:52] PROPERTY ProductRegValue OCM [05/31/08,08:24:52] PROPERTY ProductRegData [05/31/08,08:24:52] PROPERTY ProductSupportURL http://go.microsoft.com/fwlink/?LinkId=45396 [05/31/08,08:24:52] PROPERTY DefaultDirInstallToken URTInstallPath.3643236F_FC70_11D3_A536_0090278A1BB8 [05/31/08,08:24:52] PROPERTY Install 0 [05/31/08,08:24:52] PROPERTY SupportWin9X 1 [05/31/08,08:24:52] PROPERTY MinNTVersion 5.0 [05/31/08,08:24:52] PROPERTY CheckAdminRights 1 [05/31/08,08:24:52] PROPERTY BlockOn64Platform 1 [05/31/08,08:24:52] PROPERTY ShowFeatureOptions 0 [05/31/08,08:24:52] PROPERTY ShowDestinationFolder 0 [05/31/08,08:24:52] PROPERTY LogFilePrefix dd_netfx20 [05/31/08,08:24:52] PROPERTY CustomTextPrefix CustomText [05/31/08,08:24:52] PROPERTY MSI Log name /qb [05/31/08,08:24:52] PROPERTY Msi Command Line properties [05/31/08,08:24:52] PROPERTY VerboseLog 1 [05/31/08,08:24:52] PROPERTY RebootMode 1 [05/31/08,08:24:52] PROPERTY UILanguage 1031 [05/31/08,08:24:52] PROPERTY BitmapFile C:\windows\temp\IXP000.TMP\netfx.bmp [05/31/08,08:24:52] PROPERTY User Canceled 0 [05/31/08,08:24:52] PROPERTY Red [05/31/08,08:24:52] PROPERTY Green [05/31/08,08:24:52] PROPERTY Blue [05/31/08,08:24:52] PROPERTY Current Dir C:\windows\temp\IXP000.TMP\ [05/31/08,08:24:52] PROPERTY Temp Dir C:\windows\temp\ [05/31/08,08:24:52] PROPERTY Usage Mode 0 [05/31/08,08:24:52] PROPERTY Admin Mode 0 [05/31/08,08:24:52] PROPERTY Maintenance Mode [05/31/08,08:24:52] PROPERTY Silent Mode 1 [05/31/08,08:24:52] PROPERTY Silent Mode Uninstall 0 [05/31/08,08:24:52] PROPERTY WatsonSilent 0 [05/31/08,08:24:52] PROPERTY WatsonUI 0 [05/31/08,08:24:52] PROPERTY Silent Mode UI string /qb [05/31/08,08:24:52] PROPERTY SkipAllChecks 0 [05/31/08,08:24:52] PROPERTY WatsonGenerateManifestOnly [05/31/08,08:24:52] PROPERTY UninstallWarning 1 [05/31/08,08:24:52] PROPERTY ControlMSIService 1 [05/31/08,08:24:52] PROPERTY RTL Language 0 [05/31/08,08:24:52] PROPERTY PostSetupCommandRegKey [05/31/08,08:24:52] PROPERTY GlobDataINIPresent [05/31/08,08:24:53] Checking Windows Installer version... [05/31/08,08:24:53] msi.dll loaded ok [05/31/08,08:24:53] Looking for: 2.0.0 [05/31/08,08:24:53] Found: 3.1.4000 [05/31/08,08:24:53] Windows Installer version ok [05/31/08,08:24:53] Finished Checking Windows Installer version. Return code 0 [05/31/08,08:24:53] Entering CMsiInstaller::ThreadInit [05/31/08,08:24:53] Leaving CMsiInstaller::ThreadInit [05/31/08,08:24:53] Checking Windows Installer version... [05/31/08,08:24:53] msi.dll loaded ok [05/31/08,08:24:53] Looking for: 2.0.0 [05/31/08,08:24:53] Found: 3.1.4000 [05/31/08,08:24:53] Windows Installer version ok [05/31/08,08:24:53] Finished Checking Windows Installer version. Return code 0 [05/31/08,08:24:53] Entering Silent Mode CSilentNavigator::Start [05/31/08,08:24:53] Running all checks [05/31/08,08:24:53] Running system checks [05/31/08,08:24:53] SYSTEM CHECK: : One instance of setup running Passed [05/31/08,08:24:53] SYSTEM CHECK: : Administrative rights check Passed [05/31/08,08:24:53] SYSTEM CHECK: : Minimum NT Version 5.0 Passed [05/31/08,08:24:53] SYSTEM CHECK: : Runing on 64 bit wow check Passed [05/31/08,08:24:53] SYSTEM CHECK: : OCM product installed Passed [05/31/08,08:24:53] Running prereq checks [05/31/08,08:24:53] PREREQ CHECK: : Microsoft Internet Explorer 5.01 Passed [05/31/08,08:24:53] Checking Windows Installer version... [05/31/08,08:24:53] msi.dll loaded ok [05/31/08,08:24:53] Looking for: 3.0.0 [05/31/08,08:24:53] Found: 3.1.4000 [05/31/08,08:24:53] Windows Installer version ok [05/31/08,08:24:53] Finished Checking Windows Installer version. Return code 0 [05/31/08,08:24:53] PREREQ CHECK: : Microsoft Windows Installer 3.0 Passed [05/31/08,08:24:53] PREREQ CHECKS: Passed [05/31/08,08:24:53] Running block checks [05/31/08,08:24:53] BETA CHECK: Passed [05/31/08,08:24:53] Entering CMsiInstaller::IsInstalled [05/31/08,08:24:53] Entering CMsiInstaller::GetProductCode [05/31/08,08:24:53] Leaving CMsiInstaller::GetProductCode [05/31/08,08:24:53] Leaving CMsiInstaller::IsInstalled [05/31/08,08:24:53] Entering CMsiInstaller::RegisterUIInterfaces [05/31/08,08:24:53] Leaving CMsiInstaller::RegisterUIInterfaces [05/31/08,08:24:53] Entering CMsiInstaller::BeginInstall [05/31/08,08:24:53] Entering CMsiInstaller::GetMscoreeVersionFromSystem [05/31/08,08:24:53] ***WARNING***: Cannot obtain MSCOREE.DLL version at C:\windows\system32\mscoree.dll [05/31/08,08:24:53] Entering CMsiInstaller::GetMscoreeVersionFromMsi [05/31/08,08:24:53] Version of mscoree.dll in the msi package is 2.0.50727.42. [05/31/08,08:24:53] Leaving CMsiInstaller::GetMscoreeVersionFromMsi [05/31/08,08:25:01] Entering CMsiInstaller::SuppressReboot [05/31/08,08:25:01] Leaving CMsiInstaller::SuppressReboot [05/31/08,08:25:01] Entering CMsiInstaller::Stop [05/31/08,08:25:01] StopDarwinService: Entering the function [05/31/08,08:25:01] StopDarwinService: Service was already Stopped! Return TRUE [05/31/08,08:25:01] Darwin service was successfully stopped after INSTALL [05/31/08,08:25:01] Leaving CMsiInstaller::WorkerThread [05/31/08,08:25:01] Leaving CMsiInstaller::Stop [05/31/08,08:25:01] Leaving CSilentNavigator::Start [05/31/08,08:25:01] Process returning code 1603 [05/31/08,08:25:01] Pending Reboot Table state : Logging start [05/31/08,08:25:01] _________________________________________ [05/31/08,08:25:01] There are no queued up pending reboot entries. [05/31/08,08:25:01] =========== Logging ended ========== [05/31/08,08:25:01] ==================================== [05/31/08,08:25:01] [05/31/08,08:25:01] [05/31/08,08:25:01] Error 1603 had been occurring for 8 months now, with or without the above error so I don't see the problem there.