Hans Leidekker
201e291e5d
msi: Add stub implementations of MsiDeterminePatchSequenceA/W.
2009-03-24 13:31:12 +01:00
Michael Stefaniuc
6789fa8544
msi: Add the Romanian translation.
2009-03-24 13:00:02 +01:00
James Hawkins
5e62686a0f
msi: Handle a NULL and empty szPackagePath in MsiInstallProduct (Coverity 181).
2009-03-23 15:52:18 +01:00
James Hawkins
fb8db0ac13
msi: Don't try to release a NULL record, with tests (Coverity 536).
2009-03-23 15:52:17 +01:00
James Hawkins
baf86bd5bb
msi: MsiCollectUserInfo cannot be called from a custom action (Coverity 565, 566).
2009-03-23 15:52:17 +01:00
James Hawkins
cb958cd773
msi: Test and handle the case where the SourceList key does not exist and the PackageName value does not exist in MsiGetProductInfo.
2009-03-23 15:52:17 +01:00
James Hawkins
dc50773c28
msi: Factor out the MsiEnumPatchesEx tests and test the NULL szUserSid and an szUserSid that is different from the current user.
2009-03-23 15:52:17 +01:00
James Hawkins
c965d839f9
msi: Allow the enumeration of other users' patches.
2009-03-23 15:52:17 +01:00
James Hawkins
f7c615b188
msi: Enumerate the current user's patches if szUserSid is NULL.
2009-03-23 15:52:17 +01:00
James Hawkins
3956bb5b0e
msi: Fix a typo (Coverity 910).
2009-03-23 15:52:17 +01:00
Michael Stefaniuc
fccdccc378
msi: Update the German translation.
2009-03-23 15:52:17 +01:00
Michael Stefaniuc
b4cb8562ae
msi: Convert the German translation to UTF8 encoding.
2009-03-23 15:52:17 +01:00
Aric Stewart
39600d9d2e
msi: Reorder the condition operators so that longer strings are matched first.
...
This allows ~<< to be properly matched.
2009-03-23 15:26:02 +01:00
Hans Leidekker
ba50d15060
msi: Set concurrency model to multi-threaded for custom action threads.
...
A custom action in the office 2007 sp1 installer fails right after calling
CoInitializeEx(NULL, COINIT_MULTITHREADED). This is because our code calls
CoInitialize(NULL) first, which sets a different concurrency model, and a
subsequent call with a different model will return RPC_E_CHANGED_MODE.
Ergo, we should set the model to multi-threaded too.
2009-03-13 14:52:48 +01:00
Hans Leidekker
4da865f324
msi: Handle ADVERTISE overrides.
2009-03-13 13:21:07 +01:00
Hans Leidekker
804d66039d
msi: Correct spec entry for MsiGetProductInfoA/W.
2009-03-13 13:21:07 +01:00
Paul Vriens
7a8000d4e8
msi/tests: Fix a test for systems with %TEMP% being less than 2 levels deep.
2009-03-12 14:29:56 +01:00
Hans Leidekker
40cfbaf023
msi: Fix handling of REINSTALL overrides.
...
We were forcing features with a REINSTALL override to be reinstalled
locally, which is only correct if the original install state is local.
This causes problems with the office 2007 sp1 installer, which applies
a REINSTALL override to an advertised feature.
2009-03-12 14:29:56 +01:00
Paul Vriens
fca2626768
msi/tests: Fix a test failure on Win95.
2009-03-03 12:36:25 +01:00
James Hawkins
9540d762ad
msi: Handle reading from a NULL stream.
2009-03-02 12:06:37 +01:00
James Hawkins
2f1eacfcad
msi: Don't treat carriage returns as spaces.
2009-03-02 12:06:30 +01:00
James Hawkins
7f3faffc3b
msi: Don't allow nested quotes in SQL queries.
2009-03-02 12:06:24 +01:00
James Hawkins
e821f9d724
msi: Add missing calls to MsiViewClose.
2009-03-02 12:06:18 +01:00
James Hawkins
293bdffa29
msi: Use a SQL marker to query the _Property table when fetching a property.
2009-03-02 12:06:10 +01:00
James Hawkins
f36e13fd81
msi: Delete the view on error.
2009-03-02 12:06:02 +01:00
James Hawkins
046bcc918c
msi: The PATH environment variable can be longer than MAX_PATH, so dynamically allocate strings to deal with that.
2009-03-02 12:05:57 +01:00
James Hawkins
37c5e04010
msi: The _Streams and _Storages table are special and always exist.
2009-03-02 12:05:45 +01:00
James Hawkins
c9b3bc1165
msi: Column attributes for temporary string and int columns should be g and j respectively.
2009-03-02 12:05:28 +01:00
James Hawkins
c07b554edc
msi: Order primary keys to be first in the column list when creating a table.
2009-03-02 12:05:09 +01:00
James Hawkins
b3c9875cf7
msi: Correctly order transposed column values in the INSERT query.
2009-03-02 12:04:57 +01:00
Hans Leidekker
148ef5f485
msi: Add reinstall tests.
...
Based on a patch by Aric Stewart.
2009-02-26 15:13:25 +01:00
James Hawkins
b55c031032
msi: Fix a failing test on win9x.
2009-02-26 12:14:19 +01:00
James Hawkins
a7d5adc91f
msi: Trace the username to help debug test failures on certain machines.
2009-02-26 12:14:13 +01:00
James Hawkins
5735e2fafd
msi: Fix a failing test on win9x.
2009-02-26 12:14:08 +01:00
James Hawkins
ea28915133
msi: Don't create a temporary table that is not held.
2009-02-26 12:14:01 +01:00
James Hawkins
241933e13c
msi: A non-temporary table cannot have a temporary primary key.
2009-02-26 12:13:57 +01:00
James Hawkins
74aa053485
msi: The _Tables and _Columns tables have no persistence attribute.
2009-02-26 12:13:52 +01:00
James Hawkins
2f8c2a8d41
msi: Make sure the view being updated is the same view the record was fetched from.
2009-02-26 12:13:49 +01:00
James Hawkins
e872681af7
msi: Set field zero to the name of the table containing the primary keys.
2009-02-26 12:13:44 +01:00
James Hawkins
7d7f14c101
msi: Add tests for field zero of a record.
2009-02-26 12:13:10 +01:00
James Hawkins
60ad75eade
msi: Make sure a constant string's quotes match up.
2009-02-26 12:13:02 +01:00
Alexandre Julliard
b5ac29a73d
msi/tests: Add some tests for MsiEnumPatchesW, fix a few failures on XP.
2009-02-25 16:06:21 +01:00
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