Commit Graph

105 Commits

Author SHA1 Message Date
Hans Leidekker a620a84f4c msi/tests: Free exception information.
Found by Valgrind.
2010-02-22 13:15:16 +01:00
Hans Leidekker 65c68efc8d msi: Implement MSIRUNMODE_MAINTENANCE and MSIRUNMODE_REBOOTATEND for MsiGetMode. 2010-02-18 14:39:11 +01:00
Hans Leidekker a11882fc0f msi: Implement MsiSetMode. 2010-02-18 14:39:06 +01:00
Chris Schafer 350cdd2fe5 msi/tests: Remove some barriers to running msi tests in parallel. 2009-12-11 17:47:30 +01:00
James Hawkins 50833f0780 msi: Wine fails the test and passes us a Session object back, so free it in this case. 2009-12-11 12:16:27 +01:00
James Hawkins ae58e29e5e msi: Stub out a few more Installer object methods. 2009-12-11 12:16:26 +01:00
James Hawkins 25ab693008 msi: The second parameter to Installer.OpenPackage is optional, so set a default value of 0 if the parameter is not provided. 2009-12-07 09:49:06 +01:00
James Hawkins 1ff6c08621 msi: Verify that the first parameter to Installer.OpenPackage is a VT_BSTR.
It seems ugly to open up the parameters in pDispParams, but
DispGetParam will happily convert a VT_EMPTY to a VT_BSTR and not
return an error.
2009-12-07 09:49:06 +01:00
James Hawkins 4687604356 msi: It's possible to send in more than two parameters to Installer.OpenPackage, but sending in zero parameters should return DISP_E_TYPEMISMATCH. 2009-12-07 09:49:06 +01:00
James Hawkins b614052895 msi: Add more tests for the Installer.OpenPackage method.
The following series fixes a few leaks reported by valgrind.  We were
leaking exception info caused by Installer.OpenPackage failing when we
didn't expected it.
2009-12-07 09:49:06 +01:00
James Hawkins 7d3e664312 msi: MsiSetMode returns a UINT system error code, not a BOOL. 2009-12-04 14:34:57 +01:00
Piotr Caban 1f7a07ebe3 oleaut32: Ignore milliseconds in VarDateFromUdate implementation. 2009-11-19 11:35:40 +01:00
Michael Stefaniuc f8ec47d5c6 msi/tests: Remove trailing '\'. 2009-09-29 18:08:30 +02:00
Paul Vriens 9a1b829923 msi/tests: Fix some test failures on Win95 by using more A-functions. 2009-06-19 13:52:38 +02:00
Detlef Riekenberg a26da7b7a3 msi/tests: Replace lstrcatW with memcpy to fix failures on win95. 2009-04-20 17:20:01 +02:00
Michael Stefaniuc cf6ec333a5 msi/tests: Replace long with LONG. 2009-04-20 14:12:37 +02:00
Hans Leidekker 9163b0d0a3 msi: Enumerate products from all contexts.
Fix for office 2007 proofing tools installer.
2009-03-27 15:51:26 +01:00
James Hawkins b55c031032 msi: Fix a failing test on win9x. 2009-02-26 12:14:19 +01:00
Michael Stefaniuc 9975dcd19e msi/tests: Remove superfluous pointer casts. 2009-01-15 12:42:57 +01:00
Alexandre Julliard ddc34141cd msi/tests: Fix pointer casting warnings on 64-bit. 2009-01-03 20:13:45 +01:00
Paul Vriens b4874a8921 msi/tests: Fix some test failures on Win9x and WinMe. 2008-11-11 14:06:49 +01:00
Michael Stefaniuc 4f199a10ad Remove the remaining casts of NULL. 2008-11-03 13:42:09 +01:00
James Hawkins e5fd83da6d msi: Fix a failing test in Vista. 2008-09-03 13:14:51 +02:00
Paul Vriens dd0ec9f811 msi/tests: Remove service tests. 2008-08-28 11:03:42 +02:00
Jacek Caban 014b96ef15 msi: Added Session::Message implementation. 2008-07-17 11:36:22 +02:00
James Hawkins 1fed032a43 msi: Only copy the resulting string if the RegistryValue call succeeded. 2008-07-09 10:44:59 +02:00
Alexandre Julliard 79c64acc7b tests: Don't depend on the static uuid libraries in the tests.
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +02:00
James Hawkins cdb33f8a39 msi: Publish the UpgradeCode in PublishProduct. 2008-06-24 12:14:49 +02:00
James Hawkins d809b4e2d9 msi: Don't publish the product to an invalid location. 2008-06-24 12:14:07 +02:00
James Hawkins b635e3170f msi: Don't publish the upgrade key to an invalid location. 2008-06-19 12:34:15 +02:00
Paul Vriens 61daa613dd msi/tests: Fix some test failures.
Results on test.winehq.org show failures for at least Vista as new
DISPID's are known there.
2008-06-19 11:55:05 +02:00
James Hawkins 5bec7d4bbf msi: Don't trace the tables names on import. 2008-03-20 14:27:35 +01:00
James Hawkins efc56634fa msi: Fix the registry root indices for Installer::RegistryValue. 2008-03-20 14:27:35 +01:00
James Hawkins c1e3f831ec msi: Skip the Installer object tests on win9x. 2008-03-18 11:15:45 +01:00
James Hawkins 55365b77d7 msi: Fix a few tests of display IDs that don't exist on win9x. 2008-03-18 11:15:40 +01:00
James Hawkins 617eb48d5b msi: Implement the UILevel property of the Installer object. 2008-03-01 12:18:24 +01:00
Alexandre Julliard 848383ac82 msi/tests: Replace a printf() by a trace(). 2008-02-29 20:55:42 +01:00
James Hawkins 1fced5cc1d msi: Add tests for MsiSourceListAddMediaDisk. 2008-02-25 12:21:42 +01:00
James Hawkins 10be16f33a msi: Add tests for MsiSourceListSetInfo. 2008-02-19 13:39:25 +01:00
James Hawkins 40aa7df344 msi: Implement the MSIMODIFY_REFRESH command of MsiViewModify. 2008-02-18 12:41:37 +01:00
James Hawkins ec086f77e3 msi: Handle carriage returns in MsiDatabaseImport. 2008-02-12 22:59:53 +01:00
James Hawkins 1f3d6a9744 msi: Reimplement MsiGetProductInfo. 2008-02-12 22:59:29 +01:00
James Hawkins b57a2f93a9 msi: Implement the Version property of the Installer object. 2007-12-03 14:03:06 +01:00
Misha Koshelev c30d03f8cc msi/tests: automation: Add missing VariantClear. 2007-11-20 16:39:14 +01:00
Misha Koshelev 74a2ce4d99 msi/tests: Close opened service handles. 2007-11-20 16:38:56 +01:00
James Hawkins 2df062182a msi: Remove an unused parameter. 2007-11-05 14:53:58 +01:00
Misha Koshelev 03d19b5782 msi: Use SysAllocString/SysFreeString for BSTR members of EXCEPINFO structure. 2007-07-30 13:38:11 +02:00
James Hawkins c7b53d37e1 msi: Fix automation.c compile for MSVC. 2007-07-13 14:40:55 +02:00
James Hawkins c18b77557d msi: Set the WindowsInstaller value of the UserData product key when publishing the product. 2007-06-27 12:32:45 +02:00
James Hawkins 7da89f48fd msi: Use the correct registry key when detecting a published product. 2007-06-27 12:32:44 +02:00