Commit Graph

1689 Commits

Author SHA1 Message Date
James Hawkins
37895faaa8 msi: MsiViewGetError returns MSIDBERROR, not UINT. 2007-11-05 14:53:16 +01:00
James Hawkins
76275bea09 msi: Remove an unused parameter. 2007-11-05 14:53:10 +01:00
James Hawkins
cf8e9e3311 msi: Remove an unused parameter. 2007-11-05 14:53:04 +01:00
James Hawkins
bb54ed1335 msi: Fix the sign of an index variable. 2007-11-05 14:52:56 +01:00
James Hawkins
1a896348d5 msi: Remove a legacy error check. 2007-11-05 14:52:51 +01:00
James Hawkins
35a6782d7b msi: Test and implement the MSIMODIFY_DELETE command. 2007-11-05 14:52:46 +01:00
James Hawkins
341d1fa7b5 msi: Initialize a handle in case MsiGetSummaryInformation fails. 2007-11-05 14:52:38 +01:00
James Hawkins
21bde9d974 msi: Fix the location used to read machine context source list info. 2007-11-05 14:52:31 +01:00
James Hawkins
21619964da msi: szUserSid must be NULL if context is MSIINSTALLCONTEXT_MACHINE. 2007-11-05 14:52:25 +01:00
James Hawkins
14d439c863 msi: Handle the MSIINSTALLCONTEXT_USERMANAGED context. 2007-11-05 14:52:19 +01:00
James Hawkins
3d5b3ef903 msi: Reimplement MsiSourceListAddSourceEx to handle reordering the source list. 2007-11-05 14:52:09 +01:00
James Hawkins
d9a8f0b5fe msi: The options must include a source type. 2007-11-05 14:48:31 +01:00
James Hawkins
7fe6aad7fa msi: An empty source is an invalid parameter. 2007-11-05 14:48:25 +01:00
James Hawkins
dde89244e5 msi: Append a slash to network and url sources. 2007-11-05 14:48:16 +01:00
James Hawkins
798429f9ca msi: Validate the product code. 2007-11-05 14:47:33 +01:00
James Hawkins
861ae27a4f msi: Return the error from OpenSourceKey. 2007-11-05 14:47:26 +01:00
James Hawkins
266ee0f571 msi: Add tests for MsiSourceListAddSourceEx. 2007-11-05 14:47:11 +01:00
James Hawkins
22c10da044 msi: Don't create the product source key when adding a source. 2007-11-05 14:46:59 +01:00
James Hawkins
44e1c7d79b msi: Implement MsiSourceListAddSourceExA. 2007-11-05 14:46:52 +01:00
James Hawkins
405d0be4f7 msi: do_query is supposed to fail, so don't release a handle that is never initialized. 2007-11-05 14:46:41 +01:00
James Hawkins
07c3f4411e msi: A feature's requested action does not depend on its installed state. 2007-11-01 12:43:24 +01:00
James Hawkins
ccdf578ba2 msi: Only unpublish the features if the entire product is being uninstalled. 2007-11-01 12:43:18 +01:00
James Hawkins
9f11a5a878 msi: Properly register features. 2007-11-01 12:43:12 +01:00
James Hawkins
fc6b9dd4e4 msi: Properly register and unregister components. 2007-11-01 12:43:06 +01:00
James Hawkins
eec9bbb12d msi: Remove a duplicated function. 2007-11-01 12:42:57 +01:00
James Hawkins
c3df74e24f msi: Implement the MoveFiles standard action. 2007-11-01 12:42:50 +01:00
James Hawkins
b9a29e221f msi: Test the MoveFiles standard action. 2007-11-01 12:41:54 +01:00
James Hawkins
4d2e148fb0 msi: Use package_from_db instead of opening the package with MsiOpenPackage. 2007-10-26 14:03:47 +02:00
James Hawkins
1d9c680eed msi: Output expected values on failing tests. 2007-10-26 14:03:47 +02:00
James Hawkins
a992991262 msi: Define _WIN32_MSI to pull in new definitions. 2007-10-26 14:03:47 +02:00
James Hawkins
d258484b0b msi: Set the ROOTDRIVE property so the admin sequence won't choose its own. 2007-10-26 14:03:46 +02:00
James Hawkins
5169d04ec2 msi: Add missing newline to the adm_custom_action table. 2007-10-26 14:03:46 +02:00
Francois Gouget
c4b1195c0c Assorted spelling fixes. 2007-10-23 18:20:27 +02:00
James Hawkins
5606428a71 msi: Set media info strings to NULL after freeing them. 2007-10-23 18:05:32 +02:00
James Hawkins
85bd53a675 msi: Include the null terminator when writing data to the stream. 2007-10-23 18:05:25 +02:00
James Hawkins
39bcc662e4 msi: Don't delete the table if the table deleted itself because of a release. 2007-10-23 18:05:05 +02:00
James Hawkins
b6cfc405bd msi: Release the record only after using the record's data. 2007-10-23 18:04:50 +02:00
Mikolaj Zalewski
96e4320feb msi: Use BS_GROUPBOX for group boxes. 2007-10-22 12:36:07 +02:00
Detlef Riekenberg
c54219fb40 msi/tests: Do not leak a HKEY when RegQueryValueEx failed. 2007-10-19 12:26:17 +02:00
Mikolaj Zalewski
d5b620ea0b msi: Make the WriteEnvironmentStrings handling of [~] a bit better. 2007-10-18 13:21:44 +02:00
James Hawkins
2694cf3ff8 msi: Add handling for MSIMODIFY_INSERT for the streams table. 2007-10-18 12:10:13 +02:00
James Hawkins
2274388323 msi: Save nonpersistent strings as holes in the string pool. 2007-10-18 12:10:05 +02:00
James Hawkins
36df6a0655 msi: Test adding nonpersistent strings to the string table. 2007-10-18 12:09:52 +02:00
James Hawkins
26f86c55c9 msi: Return ERROR_FUNCTION_FAILED if a matching row is not found. 2007-10-18 12:09:39 +02:00
James Hawkins
46ec7ee183 msi: Return ERROR_FUNCTION_FAILED when inserting duplicate keys. 2007-10-18 12:09:33 +02:00
Alexandre Julliard
6adf058089 msi: Avoid casting const pointers to non-const. 2007-10-17 14:14:21 +02:00
Alexandre Julliard
71747518ad msi: Properly clear the new table data when a column is added. 2007-10-17 14:13:53 +02:00
Marcus Meissner
6f865b9497 msi: Common Files is translated to current language. 2007-10-17 13:41:45 +02:00
Marcus Meissner
9684c9fee6 msi: Marked two variables static. 2007-10-17 13:40:59 +02:00
James Hawkins
0e2db26fa3 msi: Only double the returned size when szValueBuf is NULL. 2007-10-16 12:48:07 +02:00
Daniel Nylander
59450c91ff msi: Add Swedish translation. 2007-10-16 12:38:10 +02:00
Detlef Riekenberg
7f655802a3 msi: Dump the database name in a FIXME. 2007-10-04 11:28:53 +02:00
Alexandre Julliard
cd2780e2a7 msi: Avoid accessing a freed object. 2007-10-01 18:07:49 +02:00
Mikolaj Zalewski
cf84cbac5b msi: Add some already implemented function to the spec file. 2007-09-28 11:00:04 +02:00
Juan Lang
a3331c6f22 msi: Initialize nested. 2007-09-18 10:42:14 +02:00
Juan Lang
71a78c4478 msi: Make sure nested is initialized. 2007-09-18 10:42:05 +02:00
Juan Lang
c2d66da665 msi: Don't crash if record has no fields. 2007-09-18 10:41:58 +02:00
Alexandre Julliard
e4959bf1bc msi: We can now store binary files in the repository. 2007-09-17 15:53:53 +02:00
Stefan Leichter
e96695a652 msi: Remove 'recursive registry key delete' function. 2007-08-27 11:58:35 +02:00
Paul Vriens
f581a1cbef msi/tests: Be verbose when GetProcAddress fails. 2007-08-21 21:38:31 +02:00
Marcus Meissner
fb4901759b msi: Allocate 1 byte more buffer. 2007-08-13 12:25:32 +02:00
James Hawkins
b353a09569 msi: Add tests for the RemoveFiles standard action. 2007-08-13 11:35:42 +02:00
Paul Vriens
5f16125246 msi/tests: Run tests again on win98 and NT4. 2007-08-10 16:19:03 +02:00
James Hawkins
6ac0816109 msi: Implement the UnpublishFeatures standard action. 2007-08-10 12:58:17 +02:00
Francois Gouget
5771700019 msi: Better match the PSDK types, remove some now unused types from win32.api, and update it to fix the winapi_check warnings. 2007-08-09 14:12:44 +02:00
James Hawkins
511bdd9de8 msi: Simplify MsiQueryComponentState, with more tests. 2007-08-09 13:53:36 +02:00
James Hawkins
0713c32869 msi: Implement the remaining contexts for MsiQueryComponentState. 2007-08-08 15:32:00 +02:00
James Hawkins
ca55c7a330 msi: Implement the MSIINSTALLCONTEXT_MACHINE context for MsiQueryComponentState. 2007-08-07 12:39:48 +02:00
James Hawkins
5f442207d5 msi: Forward MsiQueryComponentStateA to MsiQueryComponentStateW. 2007-08-07 12:39:36 +02:00
James Hawkins
072adfa99a msi: Add tests for MsiQueryComponentState. 2007-08-07 12:39:27 +02:00
Francois Gouget
4deb14a3b6 msi: Fix the MsiEnumProductsEx*(), MsiQueryComponentState*() and MsiProvideQualifiedComponentEx*() prototypes. 2007-08-06 13:57:53 +02:00
James Hawkins
f1b790be06 msi: Fix the size allocated for the deferred custom action string. 2007-08-06 12:18:08 +02:00
James Hawkins
2e6ed06fdc msi: Reimplement joins to allow joining any number of tables, each of arbitrary size. 2007-08-02 12:18:42 +02:00
James Hawkins
4f6a93b9c8 msi: Add tests for joining three tables. 2007-08-02 12:18:42 +02:00
Paul Vriens
5e7b31b51d msi/registry: Use the return value of squash_guid. 2007-07-30 23:37:58 +02:00
James Hawkins
37286473a0 msi: Add a stub implementation of MsiSourceListEnumSourcesA. 2007-07-30 15:27:02 +02:00
James Hawkins
5e81dbebb0 msi: Treat an empty string and a NULL string as the same value. 2007-07-30 15:26:51 +02:00
Misha Koshelev
03d19b5782 msi: Use SysAllocString/SysFreeString for BSTR members of EXCEPINFO structure. 2007-07-30 13:38:11 +02:00
James Hawkins
9089835c35 msi: Use a more unique property separator. 2007-07-30 12:51:55 +02:00
James Hawkins
ac1f717ab8 msi: Keep track of the wildcard record index. 2007-07-30 12:51:47 +02:00
James Hawkins
b830fb0a34 msi: Implement the MSIMODIFY_UPDATE command in the SELECT view. 2007-07-27 12:24:39 +02:00
James Hawkins
fb45206ed7 msi: Initialize the size parameter. 2007-07-27 12:24:08 +02:00
James Hawkins
b0ac20e951 msi: Add more tests for MSIMODIFY_UPDATE. 2007-07-27 12:24:02 +02:00
James Hawkins
6af199ef9c msi: Use a different separator as a semi-colon may separate values in the CustomActionData. 2007-07-25 13:03:45 +02:00
James Hawkins
f4147ca004 msi: Add handling for the MSIMODIFY_UPDATE command. 2007-07-24 11:49:59 +02:00
James Hawkins
479aca4731 msi: Add tests for the MSIMODIFY_UPDATE command. 2007-07-24 11:49:50 +02:00
James Hawkins
8a7690c151 msi: Properly delete the columns view. 2007-07-24 11:49:33 +02:00
Andrew Talbot
0e14c29d66 msi: Cast-qual warning fix. 2007-07-24 11:25:40 +02:00
James Hawkins
ccef56f2cc msi: Ref count temporary columns and release them when necessary. 2007-07-23 11:55:34 +02:00
James Hawkins
0fd733bf90 msi: Implement adding columns using the ALTER command. 2007-07-23 11:55:11 +02:00
Juan Lang
955f5f3910 msi: Return FALSE from MsiGetMode for MSIRUNMODE_OPERATIONS. 2007-07-19 14:38:37 +02:00
James Hawkins
3b1ab76986 msi: Implement reference counting for tables, manipulated with the HOLD and FREE sql commands. 2007-07-19 12:00:43 +02:00
James Hawkins
0169533be8 msi: Add more tests for the ALTER command. 2007-07-19 11:59:59 +02:00
Michael Stefaniuc
02933a11de dlls: Remove unreachable break after return/break. Found by Smatch. 2007-07-19 11:57:49 +02:00
James Hawkins
24e158e972 msi: Only double the size if the remote call is from MsiGetPropertyA. 2007-07-18 12:58:23 +02:00
James Hawkins
929acbcb7f Revert "msi: Only call a custom action remotely if the type is msidbCustomActionTypeInScript."
This reverts f2ae31000b commit.
2007-07-18 12:58:15 +02:00
James Hawkins
f2ae31000b msi: Only call a custom action remotely if the type is msidbCustomActionTypeInScript. 2007-07-17 12:55:03 +02:00
James Hawkins
dc3060c542 msi: Load the AdminProperties stream if the package is an Admin package. 2007-07-17 12:54:53 +02:00
Paul Vriens
02d14c85e7 msi/tests: Don't create a directory that's not needed. 2007-07-16 13:36:49 +02:00
James Hawkins
6805bf8ace msi: Add a test for running an ADMIN install. 2007-07-13 14:41:34 +02:00