[Bug 20651] Crash when installing Impulse

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 31 14:49:58 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=20651

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |dotnet
                 CC|                            |focht at gmx.net
          Component|-unknown                    |wmi&wbemprox

--- Comment #12 from Anastasius Focht <focht at gmx.net> 2010-08-31 14:49:56 CDT ---
Hello,

yes WMI insufficiency.

--- snip ---
Unhandled Exception: System.Exception: Cannot create ActiveX component.
   at Microsoft.VisualBasic.Interaction.GetObject(String PathName, String
Class)
   at setsdaff.GetRunningProcesses.GetAllRunningProcesses(String strPrefix,
String& strFound)
   at setsdaff.SetStardockAffiliate.Main()
wine: Unhandled exception 0xe0434f4d at address 0x7b835c02 (thread 003e),
starting debugger... 
--- snip ---

Stupid they didn't wrap chained instance creation in exception handler (hence
the crash) ... though somewhat expectedly from people using Visual Basic .NET
;-)

--- snip managed code ---
object objectValue =
RuntimeHelpers.GetObjectValue(NewLateBinding.LateGet(RuntimeHelpers.GetObjectValue(Interaction.GetObject(@"winmgmts:\\"
+ str + @"\root\cimv2", null)), null, "ExecQuery", new object[] { "Select *
from Win32_Process" }, null, null, null));
--- snip managed code ---

The only purpose of the app seems to be in extracting a sub string from all
running processes named "impulse_setup_XXX.exe" (XXX = affiliate id) and write
it to registry.

"HKLM\Software\Stardock\ComponentManager" -> "AffiliateID" + extracted string
value.

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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