WineHQ
Bug Tracking Database – Bug 18752

 Bugzilla

 

Last modified: 2014-01-03 13:09:49 UTC  

Skype 4 MSI installer fails to start Skype.exe when finishing installation in Vista mode (missing TaskScheduler component)

Bug 18752 - Skype 4 MSI installer fails to start Skype.exe when finishing installation in Vista mode (missing TaskScheduler component)
Skype 4 MSI installer fails to start Skype.exe when finishing installation in...
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: -unknown
1.1.22
x86 Linux
: P2 minor
: ---
Assigned To: Mr. Bugs
http://www.ziddu.com/download/1298401...
: download, Installer
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2009-06-02 13:29 UTC by Ken Sharp
Modified: 2014-01-03 13:09 UTC (History)
2 users (show)

See Also:
Regression SHA1:
Fixed by SHA1: c0ecc1025776e18472aba21c15150f55a58bff82
Distribution: ---
Staged patchset:


Attachments
wine-1.1.22-323-gc18d69e +msi (78.18 KB, application/x-lzma)
2009-06-02 13:29 UTC, Ken Sharp
Details
wine-1.1.22-323-gc18d69e +relay +seh +tid last 10000 lines (22.21 KB, application/x-lzma)
2009-06-02 13:30 UTC, Ken Sharp
Details
wine-1.1.22-365-g1643679 +msi (86.91 KB, application/x-bzip)
2009-06-03 18:39 UTC, Andreas Hermann Braml
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Sharp 2009-06-02 13:29:36 UTC
Created attachment 21502 [details]
wine-1.1.22-323-gc18d69e +msi

In Vista mode, trying to install the Skype 4 .msi doesn't do anything.

Could be related:
trace:msi:MSI_ProcessMessage ((nil) 0 10 L"1: SkypeOpenFirewallVista 2: failed to change firewall settings 3:  ")
Comment 1 Ken Sharp 2009-06-02 13:30:43 UTC
Created attachment 21503 [details]
wine-1.1.22-323-gc18d69e +relay +seh +tid last 10000 lines

Not sure if the +relay log is any use, but here's the last part.
Comment 2 Andreas Hermann Braml 2009-06-03 18:39:38 UTC
Created attachment 21532 [details]
wine-1.1.22-365-g1643679 +msi

I can confirm the bug in Vista mode. The install succeeds in XP mode. This is the log when run in XP mode, as reference.

In there is:

trace:msi:MSI_ProcessMessage ((nil) 0 10 L"1: SkypeOpenFirewallXP 2: failed to change firewall settings 3:  ")

So perhaps it's not where the problem is in Vista mode.
Comment 3 Ken Sharp 2009-06-04 06:19:35 UTC
Possibly, but if you look at the .msi trace, it doesn't do anything else but query and try to set the firewall settings.
Plus, err:ole:CoGetClassObject class {e2b3c97f-6ae1-41ac-817a-f6f92166d7dd} not registered
This OLE class is related to the Vista firewall (according to a Google).

May simply be an OLE problem at this point.
Comment 4 Niko Sandschneider 2010-01-09 04:52:29 UTC
Still present in wine 1.1.36
Comment 5 Anastasius Focht 2010-08-27 15:58:36 UTC
Hello,

installs perfectly in both winver's. You can compare both WINEPREFIXes, they are identical (minus some unrelated stuff).

The only difference is that Skype isn't automatically started in winver=Vista by setup when finishing installaton.
This is not a showstopper - you can manually start skype.exe after install.
The Firewall settings failure is unrelated and harmless (it also happens for WinXp config).

CustomAction table:

--- snip ---
SkypeStart	        1234	Skype.exe	
SkypeStartVista1	51	SkypeStartVista2	[#Skype.exe]
SkypeStartVista2	3137	SkypeCustomActions	CreateTaskAsDesktopUser
--- snip ---

InstallExecuteSequence table:

--- snip ---
SkypeStart	(Version9X OR (VersionNT < 600)) AND ($SkypeApplication=3 OR ?SkypeApplication=3) AND ((NOT Installed AND UILevel=5) OR STARTSKYPE="TRUE" OR STARTSKYPE=1)	6597
SkypeStartVista1	(VersionNT >= 600) AND ($SkypeApplication=3 OR ?SkypeApplication=3) AND ((NOT Installed AND UILevel=5) OR STARTSKYPE="TRUE" OR STARTSKYPE=1)	6598
SkypeStartVista2	(VersionNT >= 600) AND ($SkypeApplication=3 OR ?SkypeApplication=3) AND ((NOT Installed AND UILevel=5) OR STARTSKYPE="TRUE" OR STARTSKYPE=1)	6599
--- snip ---

Relevant trace log:

--- snip ---
0009:trace:msi:ACTION_CustomAction Handling custom action L"SkypeStartVista2" (c41 L"SkypeCustomActions" L"CreateTaskAsDesktopUser") 
...
0009:trace:msi:HANDLE_CustomType1 Calling function L"CreateTaskAsDesktopUser" from L"C:\\users\\focht\\Temp\\msi4348.tmp"
...
002c:trace:msi:ACTION_CallDllFunction calling L"CreateTaskAsDesktopUser" 
...
002c:Call oleaut32.SysAllocString(005be580 L"C:\\Program Files\\Skype\\Phone\\Skype.exe") ret=1000669d
...
002c:Call ole32.CoCreateInstance(1001714c,00000000,00000001,10016384,005be630) ret=10003662
002c:Call advapi32.RegOpenKeyExW(80000000,005be2d2 L"CLSID\\{0F87369F-A4E5-4CFC-BD3E-73E6154572DD}",00000000,00020019,005be32c) ret=684b15b9
002c:Ret  advapi32.RegOpenKeyExW() retval=00000002 ret=684b15b9
002c:err:ole:CoGetClassObject class {0f87369f-a4e5-4cfc-bd3e-73e6154572dd} not registered
002c:err:ole:CoGetClassObject no class object {0f87369f-a4e5-4cfc-bd3e-73e6154572dd} could be created for context 0x1
002c:Ret  ole32.CoCreateInstance() retval=80040154 ret=10003662 
...
002c:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CreateTaskAsDesktopUser 2: CoCreateInstance CLSID_TaskScheduler failed 3:  " 
...
002c:trace:msi:DllThread custom action (2c) returned 1603 
--- snip ---

CLSID {0f87369f-a4e5-4cfc-bd3e-73e6154572dd} -> TaskScheduler class.

MSDN: http://msdn.microsoft.com/en-us/library/aa383608.aspx

That requires some work ...

Regards
Comment 6 Ken Sharp 2012-09-06 15:25:04 UTC
Still present in Wine 1.5.12
Comment 7 Anastasius Focht 2013-12-18 07:09:53 UTC
Hello folks,

obviously still present.

Fortunately Dmitry started to work on this, introducing Task Scheduler COM server infrastructure. See recent patchset on wine-patches.

This bug might be a good 'testcase' ;-)

$ sha1sum SkypeSetup_4.0.0.226.exe 
3726546c421f078353c73ea6fb42561fac434701  SkypeSetup_4.0.0.226.exe

$ du -sh SkypeSetup_4.0.0.226.exe 
20M	SkypeSetup_4.0.0.226.exe

$ wine --version
wine-1.7.8-248-g8dd9c61

Regards
Comment 8 Anastasius Focht 2013-12-27 15:16:37 UTC
Hello folks,

the initial infrastructure is now in place - thanks Dmitry.

Still fails though which will be subject of new bugs.

Fixed by commit http://source.winehq.org/git/wine.git/commitdiff/c0ecc1025776e18472aba21c15150f55a58bff82 (last of series).

Regards
Comment 9 Alexandre Julliard 2014-01-03 13:09:49 UTC
Closing bugs fixed in 1.7.10.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers