[Bug 30856] Atmel Studio 6 fails to start with Visual Studio 2010 Isolated Shell, reporting 'Cannot find one or more components. Please reinstall the application.'
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Jun 14 14:18:47 CDT 2015
https://bugs.winehq.org/show_bug.cgi?id=30856
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|Abandoned? |
Status|UNCONFIRMED |NEW
CC| |focht at gmx.net
Summary|Atmel Studio 6 fails to |Atmel Studio 6 fails to
|start - Component missing |start with Visual Studio
| |2010 Isolated Shell,
| |reporting 'Cannot find one
| |or more components. Please
| |reinstall the application.'
Ever confirmed|0 |1
--- Comment #6 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
confirming, still present.
Download: http://www.atmel.com/Images/as6installer-6.0.1843.exe
Prerequisite: 'winetricks -q dotnet40' (if Wine-Mono is present prior)
The other prerequisites and workarounds mentioned in the initial bug report are
not needed for now. Those might be the result of a broken WINEPREFIX or old
Wine bugs.
Additionally, this is not about Wine-Mono - avoid mixing this in here.
The installer runs fine along with the sub-installers (.NET Framework 4.0, VS
2010 Isolated Shell, USB driver sub-installer).
The error message appears first when the installer executes some post-install
steps.
--- snip ---
C:\Program Files\Atmel\Atmel Studio 6.0\atmelstudio.exe /setup /log
C:\Program Files\Atmel\Atmel Studio 6.0\atmelstudio.exe /InstallVSTemplates
/log
--- snip ---
Trace log:
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Atmel/Atmel Studio 6.0
$ WINEDEBUG=+tid,+seh,+relay wine ./atmelstudio.exe /InstallVSTemplates /log
>>log.txt 2>&1
...
002d:Call advapi32.RegOpenKeyExW(80000002,0040215c
L"Software\\Microsoft\\AppEnv\\10.0",00000000,00020019,0032e3ec) ret=0040112f
002d:Ret advapi32.RegOpenKeyExW() retval=00000000 ret=0040112f
002d:Call advapi32.RegQueryValueExW(00000048,0040219c
L"AppenvStubDLLInstallPath",00000000,0032e3e0,0032fb90,0032e3e8) ret=00401166
002d:Ret advapi32.RegQueryValueExW() retval=00000000 ret=00401166
002d:Call advapi32.RegCloseKey(00000048) ret=00401173
002d:Ret advapi32.RegCloseKey() retval=00000000 ret=00401173
002d:Call KERNEL32.GetFileAttributesW(0032fb90 L"C:\\Program Files\\Microsoft
Visual Studio 10.0\\Common7\\IDE\\ShellExtensions\\Platform\\AppenvStub.dll")
ret=00401182
002d:Ret KERNEL32.GetFileAttributesW() retval=00000020 ret=00401182
002d:Call KERNEL32.LoadLibraryW(0032fb90 L"C:\\Program Files\\Microsoft Visual
Studio 10.0\\Common7\\IDE\\ShellExtensions\\Platform\\AppenvStub.dll")
ret=004011db
...
002d:Ret PE DLL (proc=0x1002c956,module=0x10000000
L"AppenvStub.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1
002d:Ret KERNEL32.LoadLibraryW() retval=10000000 ret=004011db
002d:Call KERNEL32.GetProcAddress(10000000,004021f0 "Start") ret=00401243
002d:Ret KERNEL32.GetProcAddress() retval=100145c2 ret=00401243
002d:Call msvcr100._wputenv(004021f8 L"AVR_STUDIOS_SHOW_MODAL_DIALOGS=1")
ret=00401258
...
002d:Call KERNEL32.GetCommandLineW() ret=1001c208
002d:Ret KERNEL32.GetCommandLineW() retval=001154d0 ret=1001c208
002d:Call msvcr100.wcspbrk(001154d0 L"\"C:\\Program Files\\Atmel\\Atmel Studio
6.0\\atmelstudio.exe\" /InstallVSTemplates /log",1000d20c L"\" ") ret=1001c21b
002d:Ret msvcr100.wcspbrk() retval=001154d0 ret=1001c21b
...
002d:Ret ole32.OleInitialize() retval=00000000 ret=1001b91b
...
002d:Call
ole32.CoInitializeSecurity(00000000,ffffffff,00000000,00000000,00000000,00000002,00000000,00000000,00000000)
ret=1001ba52
002d:fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,2,(nil),0,(nil)) -
stub!
002d:Ret ole32.CoInitializeSecurity() retval=00000000 ret=1001ba52
002d:Call ole32.CoCreateInstance(100047ec,00000000,00000001,1000d398,0032de60)
ret=1001ba72
...
002d:Call ole32.CoCreateInstance(100047ec,00000000,00000001,1000d398,0032de60)
ret=1001ba72
...
002d:Call
KERNEL32.FindActCtxSectionGuid(00000001,00000000,00000004,0032dd58,0032dc3c)
ret=7e643af3
002d:Ret KERNEL32.FindActCtxSectionGuid() retval=00000000 ret=7e643af3
002d:Call ntdll.RtlInitUnicodeString(0032db50,0032dba2
L"CLSID\\{0000034B-0000-0000-C000-000000000046}") ret=7e63e0a1
002d:Ret ntdll.RtlInitUnicodeString() retval=0032db50 ret=7e63e0a1
002d:Call ntdll.NtOpenKey(0032db9c,00020019,0032db58) ret=7e63e0bd
002d:Ret ntdll.NtOpenKey() retval=c0000034 ret=7e63e0bd
002d:Call ntdll.RtlNtStatusToDosError(c0000034) ret=7e63e0c8
002d:Ret ntdll.RtlNtStatusToDosError() retval=00000002 ret=7e63e0c8
002d:err:ole:CoGetClassObject class {0000034b-0000-0000-c000-000000000046} not
registered
002d:err:ole:CoGetClassObject no class object
{0000034b-0000-0000-c000-000000000046} could be created for context 0x1
002d:Ret ole32.CoCreateInstance() retval=80040154 ret=1001ba72
...
002d:Call advapi32.RegOpenKeyExW(80000001,0032da88
L"Software\\Microsoft\\VisualStudio\\ZeroSetupRoot\\atmelstudio.exe_44_Config\\Packages\\{647F920C-4230-4C5B-830D-B65F79620AE8}\\SatelliteDll",00000000,00020019,0032dec0)
ret=100207f3
002d:Ret advapi32.RegOpenKeyExW() retval=00000002 ret=100207f3
...
002d:Call user32.MessageBoxW(00000000,0032d084 L"Cannot find one or more
components. Please reinstall the application.",0032ce64 L"Microsoft Visual
Studio Shell Isolated",00000010) ret=1001b67d
...
--- snip ---
The VS isolated shell hookup seems to be done via 'C:\Program Files\Microsoft
Visual Studio 10.0\Common7\IDE\ShellExtensions\Platform\AppenvStub.dll' and
'Start' entry point.
MSDN:
https://msdn.microsoft.com/en-us/library/bb685692%28v=vs.90%29.aspx ("
Isolated Shell Extensibility Points")
https://msdn.microsoft.com/en-us/library/cc138530%28v=vs.90%29.aspx ("
Isolated Shell Entry Point Parameters (C++)")
Not sure if the failing 'CoGetClassObject' class
'{0000034b-0000-0000-c000-000000000046}' (CLSID_GlobalOptions) is relevant,
hard to tell.
http://www.geoffchappell.com/studies/windows/win32/com/interfaces/iglobaloptions.htm
$ sha1sum as6installer-6.0.1843.exe
3633a8e5445290e6b7a9ccaa29fe008cfd3ac669 as6installer-6.0.1843.exe
$ du -sh as6installer-6.0.1843.exe
743M as6installer-6.0.1843.exe
$ wine --version
wine-1.7.45
Regards
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list