Commit Graph

2301 Commits

Author SHA1 Message Date
Alexandre Julliard b4d81f8517 msi: Fix handling of buffer sizes in MsiEnumPatchesA and avoid a redundant call to MsiEnumPatchesW. 2009-02-25 16:06:21 +01:00
Hans Leidekker 18cd216e80 msi: Don't release view object twice in check_assembly_installed. 2009-02-19 16:17:17 +01:00
Hans Leidekker 43094e4a3e msi: Make comparison of assembly field names case insensistive. 2009-02-19 16:17:17 +01:00
Alexandre Julliard fb04bcf638 Fix position of CDECL qualifier for functions that return pointers. 2009-02-06 14:54:01 +01:00
Andrew Talbot c0ad988e67 msi: Remove unused functions. 2009-02-06 13:04:03 +01:00
Alexandre Julliard 4e29ceeb77 include: Define LANGID in wtypes.idl. 2009-02-04 15:06:25 +01:00
Jacek Caban 0194b8f08c jscript: Add IActiveScriptParse64 declaration and use it on Win64. 2009-02-03 12:39:23 +01:00
Alexandre Julliard 8ca2aa3da9 msi: Fix compiler warning on older gcc. 2009-01-30 13:44:06 +01:00
Alasdair Sinclair 0bd6da81c5 msi/tests: Fix missing void in empty parameter list. 2009-01-29 12:19:44 +01:00
Hans Leidekker 8fec17b5ad msi: Add stub implementations of MsiSourceListClearSourceA/W. 2009-01-27 14:27:00 +01:00
Marcus Meissner 76b08f3aa7 msi: Initialize row (Coverity). 2009-01-26 16:08:25 +01:00
Nikolay Sivov 2fbe8d23eb msi: Fix potential NULL pointer dereference in ILockBytes_Release (Coverity). 2009-01-26 15:49:01 +01:00
Nikolay Sivov 9598a50916 msi: Fix NULL dereference in MsiQueryComponentStateW (Coverity). 2009-01-26 15:48:57 +01:00
Nikolay Sivov c3e2cb00d5 msi: Remove redundant pointer check (Coverity). 2009-01-26 14:30:34 +01:00
Ge van Geldorp 78457300aa msi/tests: EstimatedSize is not set consistently between Windows Installer versions. 2009-01-20 14:02:43 +01:00
Ge van Geldorp 3355f3d66f msi/tests: Double nul-terminate REG_MULTI_SZ values. 2009-01-19 14:18:04 +01:00
Ge van Geldorp 349d8bd1a1 msi/tests: Windows Installer 3.0 often returns ERROR_INVALID_PARAMETER. 2009-01-19 14:17:57 +01:00
Andrew Nguyen 6d75522fb4 msi/tests: Fix a few handle leaks.
This was pointed out by Christoph von Wittich.
2009-01-19 13:36:27 +01:00
Michael Stefaniuc 5f3ac30b3c msi: Remove superfluous pointer casts. 2009-01-15 12:43:03 +01:00
Michael Stefaniuc 9975dcd19e msi/tests: Remove superfluous pointer casts. 2009-01-15 12:42:57 +01:00
Michael Stefaniuc f516cab017 include: Change to LONG/ULONG in fdi.h for Win64 compatibility. 2009-01-14 12:21:20 +01:00
Michael Stefaniuc 602f42c25f include: Change to LONG/ULONG in fci.h for Win64 compatibility. 2009-01-14 12:21:13 +01:00
Ge van Geldorp f9f2e91198 msi/tests: Opening package with relative filename sometimes succeeds on Windows. 2009-01-12 14:34:51 +01:00
Andrew Talbot 668197a898 msi: Declare some functions static. 2009-01-12 13:10:53 +01:00
Alexandre Julliard 81ecd7041a msi: Fix pointer cast warnings on 64-bit. 2009-01-08 17:26:44 +01:00
Alexandre Julliard 35811a9078 msi/tests: Use CreateFile instead of OpenFile to avoid handle casts. 2009-01-08 13:05:27 +01:00
Paul Vriens bb7efb1deb msi/tests: Skip some tests if we don't have enough rights. 2009-01-08 12:40:26 +01:00
Michael Stefaniuc 6bd893a960 msi: Change MSIHANDLE to ULONG for Win64 compatibility.
Also fix the compiler warnings produced by this change.
2009-01-05 12:34:12 +01:00
Alexandre Julliard ddc34141cd msi/tests: Fix pointer casting warnings on 64-bit. 2009-01-03 20:13:45 +01:00
Alexandre Julliard 3e7ac7ea2e msi/tests: Add CDECL to the cabinet callback functions. 2009-01-03 20:12:49 +01:00
Maarten Lankhorst 49abc9878f msi: Add missing CDECL to cabinet functions. 2008-12-23 18:50:57 +01:00
Alexandre Julliard 2a5cf54f05 msi/tests: Avoid sizeof in traces. 2008-12-20 13:32:59 +01:00
Aric Stewart 17ffb562aa msi: Fix some NULL checking in MSI_RecordGetStringA.
Includes a few record tests with a NULL buffer.
2008-12-18 14:19:40 +01:00
Aric Stewart f10eb0bfa2 msi: EndDialog with Ignore should not be an error. 2008-12-17 11:38:52 +01:00
Hans Leidekker 8bd9a3aa09 janitorial: Don't depend on user32 for the self registration functions. 2008-12-17 11:38:32 +01:00
Paul Vriens 017fee4aa0 msi/tests: Run tests again on Win9x and NT4. 2008-12-16 12:51:20 +01:00
James Hawkins 0ccb714470 msi: Add tests for MsiGetPatchInfo. 2008-12-15 12:36:00 +01:00
James Hawkins c059ceb5b0 msi: Set the property specified by the Source attribute of the Media table when applying a patch. 2008-12-15 12:34:56 +01:00
James Hawkins 01eb930005 msi: Publish the patch information. 2008-12-15 12:34:52 +01:00
James Hawkins 5aac1ec6e5 msi: Implement MsiGetPatchInfoExW. 2008-12-15 12:34:35 +01:00
James Hawkins b5e3e19a19 msi: Add the ability to query a specific context for install properties. 2008-12-15 12:34:18 +01:00
James Hawkins 880b9199a9 msi: Add the ability to query a specific context for a patch. 2008-12-15 12:34:12 +01:00
James Hawkins 4a9f6995aa msi: Add the ability to query a specific context for a product key. 2008-12-15 12:34:06 +01:00
James Hawkins d195ee3cc4 msi: Forward MsiGetPatchInfoExA to MsiGetPatchInfoExW. 2008-12-15 12:34:00 +01:00
James Hawkins 199a26c81a msi: Add a stub implementation of MsiGetPatchInfoEx. 2008-12-15 12:33:56 +01:00
Francois Gouget 0d7cb11fdf msi/tests: Make enum_stream_names() and package_RegDeleteTreeW() static. 2008-12-15 12:25:48 +01:00
Alexandre Julliard 0b99af82b2 msi: Don't include msvcrt headers. 2008-12-12 10:19:54 +01:00
ByeongSik Jeon 5f3287d79f *Ko.rc: Update Korean resource.
Fix the unnecessary SUBLANG_NATURAL.
Change the font size from 8 to 9.
2008-12-11 12:21:07 +01:00
Paul Vriens 194c053021 msi/tests: Skip tests on win9x due to different registry keys. 2008-12-11 11:50:12 +01:00
Paul Vriens 732c1e8d31 msi/tests: Run tests again on Win9x and NT4. 2008-12-10 10:48:05 +01:00
James Hawkins dfb8b664d6 msi: Add tests for MsiGetProductProperty. 2008-12-09 11:24:19 +01:00
James Hawkins da783c3888 msi: Implement MsiGetProductPropertyW. 2008-12-09 11:24:13 +01:00
James Hawkins 06a438152c msi: Forward MsiGetProductPropertyA to MsiGetProductPropertyW. 2008-12-09 11:24:09 +01:00
James Hawkins 61c94d281a msi: Add tests for MsiEnumPatches. 2008-12-09 11:24:04 +01:00
James Hawkins e07ed1a2eb msi: Implement MsiEnumPatchesW. 2008-12-09 11:23:56 +01:00
James Hawkins c46f2102c9 msi: Forward MsiEnumPatchesA to MsiEnumPatchesW. 2008-12-09 11:23:49 +01:00
James Hawkins a9e0290934 msi: Add the ability to delete multiple users' component keys. 2008-12-09 10:28:14 +01:00
James Hawkins bdf7da9bdc msi: Remove a duplicated function. 2008-12-09 10:28:04 +01:00
James Hawkins 8438d21127 msi: Remove a duplicated function. 2008-12-09 10:27:58 +01:00
James Hawkins 98c703ab87 msi: Add the ability to open multiple users' install properties key. 2008-12-09 10:27:52 +01:00
James Hawkins b198f4f23f msi: Add the ability to open multiple users' component keys. 2008-12-09 10:27:45 +01:00
James Hawkins 930b429d1e msi: Add the ability to open multiple users product keys. 2008-12-09 10:27:37 +01:00
James Hawkins 947c4c312a msi: Add tests for MsiEnumPatchesEx. 2008-12-09 10:25:47 +01:00
James Hawkins ff87f354c4 msi: Fix an uninitialized variable. 2008-12-09 10:25:44 +01:00
Andrew Talbot 94d22682c1 msi: Remove an unused declaration. 2008-12-08 22:02:53 +01:00
James Hawkins 87fef9fd22 msi: Implement MsiEnumPatchesExW. 2008-12-08 12:18:49 +01:00
James Hawkins a32fcfa9b1 msi: Forward MsiEnumPatchesExA to MsiEnumPatchesExW. 2008-12-08 12:06:42 +01:00
James Hawkins 7df94f3b04 msi: Fix the type of the last parameter of MsiEnumPatchesEx. 2008-12-08 12:06:06 +01:00
Lei Zhang 4153fc1904 msi: Set DllVersion registry key for CLSID_IMsiServerMessage. 2008-11-28 13:41:00 +01:00
Francois Gouget d7119f2b73 msi: Remove WINAPI on static functions where not needed. 2008-11-28 12:54:37 +01:00
Michael Stefaniuc b1a54bf7a3 msi: Remove casts of void pointers. 2008-11-25 11:55:56 +01:00
Paul Vriens 3c533397e9 msi/tests: Skip tests on win9x by checking functionality instead of registry keys. 2008-11-17 13:16:08 +01:00
Paul Vriens 1dba41b104 msi/tests: Skip some tests on Win9x and WinMe. 2008-11-13 15:41:30 +01:00
Paul Vriens b4874a8921 msi/tests: Fix some test failures on Win9x and WinMe. 2008-11-11 14:06:49 +01:00
James Hawkins 7051bf5e22 msi: Remove an unused registry function. 2008-11-04 11:24:16 +01:00
James Hawkins e3074348fc msi: Factor out the code to open the UserData features key. 2008-11-04 11:24:11 +01:00
James Hawkins 0c01c586c7 msi: Factor out the code to open the features key. 2008-11-04 11:24:04 +01:00
James Hawkins 70be1e7746 msi: Factor out the code to open a product key. 2008-11-04 11:23:51 +01:00
James Hawkins f12b9cea99 msi: Factor out the table insertion code. 2008-11-04 11:23:30 +01:00
James Hawkins 2abb8bba13 msi: Factor out the table insertion code. 2008-11-04 11:23:07 +01:00
James Hawkins 88f39d95f2 msi: Factor out the table insertion code. 2008-11-04 11:22:45 +01:00
Michael Stefaniuc 4f199a10ad Remove the remaining casts of NULL. 2008-11-03 13:42:09 +01:00
James Hawkins ca71e5aff0 msi: Allow private properties from the AdminProperties property list. 2008-10-30 11:47:10 +01:00
James Hawkins 019f4af1c2 msi: Do not reinstall an assembly that already exists in the global assembly cache. 2008-10-29 13:29:32 +01:00
Nicolas Le Cam cec5d3f514 msi/tests: Fix a failing test on all platforms up to and including win2k. 2008-10-28 12:13:53 +01:00
James Hawkins c261030d21 msi: Skip the leading period of the extension to be registered. 2008-10-27 12:02:19 +01:00
James Hawkins 2ffa433f80 msi: Convert command line property names to uppercase. 2008-10-27 12:02:13 +01:00
James Hawkins bf9538f383 msi: Use the long file name in the WriteIniValues action. 2008-10-27 12:02:04 +01:00
James Hawkins 7616a750ba msi: Set the source path tests to "interactive" to avoid timing out on some machines. 2008-10-27 12:01:57 +01:00
James Hawkins cd4b952863 msi: Fix several test failures. 2008-10-24 14:25:01 +02:00
James Hawkins acfc915914 msi: Fix a failing test in win9x. 2008-10-24 14:25:01 +02:00
James Hawkins f18c6ba28d msi: Only compare the file version if a version was specified. 2008-10-22 13:54:53 +02:00
Andrew Talbot 1c9886d6e7 msi: Sign-compare warnings fix. 2008-10-21 11:45:44 +02:00
Andrew Talbot 40db5bdb16 msi: Sign-compare warnings fix. 2008-10-21 11:45:39 +02:00
James Hawkins 03282df13d msi: Use the quoted part of the registry value when searching for a file or directory. 2008-10-20 13:16:24 +02:00
James Hawkins 6df69c6aaa msi: Fix a copy and paste error. 2008-10-20 13:16:09 +02:00
James Hawkins 7eba78dc7e msi: Strip the file off the parent path if it's not a directory. 2008-10-20 13:16:04 +02:00
James Hawkins 0ed516908b msi: Only check the file signature if the candidate file is not a directory. 2008-10-20 13:15:36 +02:00
James Hawkins 1fb22654e4 msi: Append the next directory to search to the current directory when recursing. 2008-10-20 13:11:14 +02:00
James Hawkins 4aca381ff7 msi: Only append a backslash to directories. 2008-10-20 13:10:59 +02:00
James Hawkins 7497f1ab5c msi: Don't get rid of the file signature when searching the DrLocator table. 2008-10-20 13:10:54 +02:00
James Hawkins 2e17638dc4 msi: Simplify and clean up ACTION_RecurseSearchDirectory. 2008-10-20 13:10:50 +02:00
James Hawkins 29c0836fcc msi: Handle searching for directories in the IniLocator part of the AppSearch action. 2008-10-20 13:10:44 +02:00
James Hawkins c48497d0e6 msi: Handle searching for a file with no signature. 2008-10-20 13:10:39 +02:00
James Hawkins 326a1b6c47 msi: Add more tests for the RegLocator part of the AppSearch action. 2008-10-20 13:10:34 +02:00
James Hawkins 859bd01b5e msi: Check the file version when a version is provided in the signature. 2008-10-20 13:10:28 +02:00
James Hawkins fbba2e8b93 msi: Add more tests for the AppSearch action. 2008-10-20 13:10:19 +02:00
James Hawkins 642cddf180 msi: Return the requested ini field. 2008-10-20 13:10:08 +02:00
James Hawkins f1e2041bf4 msi: Pass the correct view to get_row. 2008-10-20 13:09:59 +02:00
James Hawkins f80b5f6e66 msi: All files are uncompressed in an administrative image. 2008-10-17 11:44:21 +02:00
James Hawkins 7620bb367f msi: Append a backslash to the AppSearch registry path. 2008-10-16 11:22:43 +02:00
James Hawkins 3adf1e4e0e msi: Append a backslash to the AppSearch directory path. 2008-10-16 11:22:40 +02:00
James Hawkins 47ac325f82 msi: Fix the returned format of REG_BINARY data. 2008-10-13 13:04:30 +02:00
James Hawkins 6d02194a46 msi: Expand REG_EXPAND_SZ registry values in the RegLocator table. 2008-10-13 13:00:47 +02:00
James Hawkins 65915af1ae msi: Append the file signature to the component's directory when searching for the component's key path. 2008-10-13 13:00:42 +02:00
James Hawkins 701c2a2728 msi: Add tests for the DrLocator part of the AppSearch action. 2008-10-13 13:00:37 +02:00
James Hawkins 33c9e80be5 msi: Add tests for the RegLocator part of the AppSearch action. 2008-10-13 13:00:32 +02:00
James Hawkins 3e76ade6c8 msi: Add tests for the IniLocator part of the AppSearch action. 2008-10-13 13:00:25 +02:00
James Hawkins 41c8bc8ae6 msi: Add more tests for the CompLocator part of the AppSearch action. 2008-10-13 13:00:06 +02:00
Alexandre Julliard 87e21fe585 msi/tests: Clean up the binary.dat file. 2008-10-09 14:27:21 +02:00
James Hawkins 68268dc3df msi: Initialize the count variable to zero. 2008-10-09 13:01:31 +02:00
James Hawkins 451aff9ae5 msi: Add extra constraints on the formatting string of edit path text. 2008-10-09 13:01:25 +02:00
James Hawkins 1484c6272d msi: Add a stub implementation of MsiDetermineApplicablePatches. 2008-10-09 13:01:18 +02:00
James Hawkins 8128d97fd4 msi: Replace lengthy calls to MSI_DatabaseOpenView with MSI_OpenQuery. 2008-10-09 12:58:47 +02:00
James Hawkins f03889ae82 msi: Add initial implementation of MsiDatabaseMerge, with tests. 2008-10-09 12:58:25 +02:00
James Hawkins c9ec69db02 msi: Add tests for converting record fields between strings and ints. 2008-10-09 12:58:12 +02:00
James Hawkins b187008345 msi: Remove a part of a debugging statement that was accidentally left in. 2008-10-09 12:58:09 +02:00
Michael Stefaniuc 704ebf280e msi: Use the right FAILED/SUCCEEDED macro instead of negating the opposite. 2008-10-08 13:43:17 +02:00
James Hawkins e88b09a342 msi: Don't update the table columns if there are no more columns.
This should fix the heap corruption that caused intermittent crashes
for patchwatcher.
2008-10-07 12:14:03 +02:00
James Hawkins 7cd6736886 msi: Add tests for dropping tables with multiple columns. 2008-10-07 12:13:52 +02:00
James Hawkins 374c042880 msi: Remove the columns in reverse order. 2008-10-07 12:13:46 +02:00
James Hawkins aa230a6267 msi: Remove a break that kept other columns from getting the table name. 2008-10-07 12:13:39 +02:00
James Hawkins d15fddf6f5 msi: Resolve file source paths dynamically, as the source directory can be changed. 2008-10-07 12:13:33 +02:00
Jacek Caban 417134709d msi: Added MsiInstallMissingComponentW stub implementation. 2008-10-07 12:12:54 +02:00
James Hawkins 62c544cf4f msi: Implement the DROP TABLE sql command. 2008-10-06 13:05:52 +02:00
James Hawkins 48e6e584d3 msi: Fix a test that fails in win95. 2008-10-01 11:41:34 -05:00
James Hawkins 4749ee2662 msi: Forward MsiDatabaseMergeA to MsiDatabaseMergeW. 2008-10-01 11:41:29 -05:00
James Hawkins 525865447e msi: Add a stub implementation of MsiDatabaseMerge. 2008-10-01 11:41:23 -05:00
Marcus Meissner 628b8e7630 msi: Fix potential uninitialized use of substg. 2008-09-30 11:33:38 -05:00
James Hawkins 3713720351 msi: Fix several test failures in win9x. 2008-09-29 17:24:17 -05:00
Marcus Meissner dd142bf5a7 msi/tests: Fix explicit C:\\Program Files\\ references. 2008-09-29 17:23:42 -05:00
Louis Lenders e16e15bf0c msi: Add stub for MsiSetExternalUIRecord. 2008-09-25 13:27:38 +02:00
Detlef Riekenberg 88a5bdb858 msi: Remove redundant NULL check before SysFreeString. 2008-09-23 12:12:35 +02:00
Marcus Meissner 67b06ecba5 msi/tests: Reduce buffer to size of string written. 2008-09-15 11:43:53 +02:00
Paul Vriens 2dfcb94211 msi/tests: Prevent a crash on NT4. 2008-09-15 11:23:42 +02:00
Paul Vriens 58ddb6f564 msi/tests: Create only one log file and delete it afterwards. 2008-09-11 11:43:09 +02:00
Rob Shearman ef1b0cacfa msi: Reduce destination file name used in the MoveFiles action to the long file name.
Add a test for this behaviour.
2008-09-10 12:08:52 +02:00
Andrew Talbot be759dddb8 msi: Uninitialized variable fix (Coverity). 2008-09-10 10:41:54 +02:00
James Hawkins d11968cade msi: Fix a few file access discrepancies between platforms. 2008-09-09 11:46:17 +02:00
James Hawkins 765275a306 msi: Make sure read-only source files are set writable after being copied. 2008-09-08 12:47:22 +02:00