Commit Graph

1606 Commits

Author SHA1 Message Date
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
James Hawkins ba257f0cea msi: Add a test for installing from different current working directories. 2007-07-13 14:41:14 +02:00
James Hawkins 6c940b9b49 msi: Fix compilation in MSVC. 2007-07-13 14:41:04 +02:00
James Hawkins ed281b725a msi: Fix three tests that were failing in Windows. 2007-07-13 14:40:59 +02:00
James Hawkins c7b53d37e1 msi: Fix automation.c compile for MSVC. 2007-07-13 14:40:55 +02:00
James Hawkins 30fc5602de msi: Reload properties as they may have been changed by a transform. 2007-07-13 12:27:33 +02:00
James Hawkins cf3f442754 msi: Fix a copy and paste error. 2007-07-13 12:27:28 +02:00
Alexandre Julliard 3f9632ca53 msi/tests: Comment out call to function that is still a stub in Wine. 2007-07-12 13:00:47 +02:00
James Hawkins 0f6aaf86bd msi: Add tests for adding properties with a transform during an install. 2007-07-11 12:42:59 +02:00
James Hawkins 1093eb83cd msi: Add tests for adding properties in a transform. 2007-07-11 12:42:55 +02:00
James Hawkins 5a8e0e8c1d msi: Fix current _Property table tests and add more tests. 2007-07-11 12:42:45 +02:00
James Hawkins f0b97cb1e1 msi: Check for NULL transform, as there may be no transforms for the _Columns or _Tables tables. 2007-07-11 12:00:53 +02:00
James Hawkins 17ba74195b msi: Handle adding columns in transforms. 2007-07-10 13:35:50 +02:00
James Hawkins 9285351ad3 msi: Test adding columns with data in a transform. 2007-07-10 13:35:39 +02:00
James Hawkins 5af06dec83 msi: Delete msifile after the tests. 2007-07-10 13:35:31 +02:00
James Hawkins dfa1b1299c msi: Match the changes made by the hand-generated and API-generated transforms. 2007-07-10 13:35:11 +02:00
James Hawkins 1647de570b msi: Enable remote custom actions. 2007-07-06 18:12:18 +02:00
James Hawkins 6b97f8905d msi: Handle remote calls to MsiEvaluateCondition. 2007-07-06 18:12:11 +02:00
James Hawkins ba4919912c msi: Forward MsiFormatRecordA to MsiFormatRecordW. 2007-07-06 18:12:05 +02:00
James Hawkins cba1b1e1f4 msi: Handle remote calls to MsiFormatRecordW. 2007-07-06 18:12:00 +02:00
James Hawkins 29ce520df9 msi: Fix use of BSTRs. 2007-07-06 18:11:51 +02:00
James Hawkins c6741d83c6 msi: Handle remote calls to MsiSetInstallLevel. 2007-07-04 12:07:01 +02:00
James Hawkins 569ea392a7 msi: Handle remote calls to MsiGetLanguage. 2007-07-04 12:07:01 +02:00
James Hawkins 82b0066f70 msi: Handle remote calls to MsiSetComponentState. 2007-07-04 12:07:00 +02:00
James Hawkins 254e27ad31 msi: Handle remote calls to MsiGetComponentState. 2007-07-04 12:07:00 +02:00
James Hawkins 7d93e1a2a5 msi: Handle remote calls to MsiGetFeatureState. 2007-07-04 12:07:00 +02:00
James Hawkins f45b3ce60e msi: Handle remote calls to MsiSetFeatureState. 2007-07-04 12:07:00 +02:00
James Hawkins c96f1d524b msi: Handle remote calls to MsiGetMode. 2007-07-04 12:07:00 +02:00
James Hawkins f935e94adf msi: Handle remote calls to MsiSetTargetPath. 2007-07-04 12:06:59 +02:00
James Hawkins 582be6a73a msi: Handle remote calls to MsiGetSourcePath. 2007-07-04 12:06:59 +02:00
James Hawkins b7479be1bb msi: Handle remote calls to MsiGetTargetPath. 2007-07-04 12:06:59 +02:00
James Hawkins 99714f12cb msi: Handle remote calls to MsiSequence. 2007-07-04 12:06:59 +02:00
James Hawkins 0f321c0af9 msi: Handle remote calls to MsiDoAction. 2007-07-04 12:06:59 +02:00
James Hawkins be5eec45b5 msi: Handle remote calls to MsiProcessMessage. 2007-07-04 12:06:59 +02:00
James Hawkins 39a5638268 msi: Read the components state directly from the registry. 2007-07-03 14:05:41 +02:00
James Hawkins 34f6af95b4 msi: Return INSTALLSTATE_BADCONFIG if we can't decode the first component. 2007-07-03 14:05:36 +02:00
James Hawkins 73e0a87477 msi: Return INSTALLSTATE_ADVERTISED if the component list is empty. 2007-07-03 14:05:29 +02:00
James Hawkins 1130d5909b msi: Open the correct key and return INSTALLSTATE_ADVERTISED if it's missing. 2007-07-03 14:05:21 +02:00
James Hawkins ceb4e6d4ef msi: Add tests for MsiQueryFeatureState. 2007-07-03 13:50:08 +02:00
James Hawkins 0e44e090c5 msi: Set the WindowsInstaller value in RegisterProduct instead of PublishProduct. 2007-07-03 13:49:44 +02:00
James Hawkins a2df31aea1 msi: Only publish the product if at least one feature is to be installed. 2007-07-03 13:49:35 +02:00
James Hawkins 624bbbe78a msi: Unpublish the product when it is entirely removed. 2007-07-03 13:49:18 +02:00
James Hawkins 5e46fc9019 msi: Delay publishing of the SourceList until the PublishProduct action. 2007-07-03 13:43:20 +02:00
James Hawkins 08443b3bf7 msi: PackagePath must also include the package name. 2007-07-03 13:43:00 +02:00
James Hawkins 56129f252c msi: Add tests to show when the SourceList is published to the registry. 2007-07-03 13:42:52 +02:00
James Hawkins 04c67c2a1c msi: Add support for the MSICODE_PATCH option. 2007-07-03 13:42:42 +02:00
James Hawkins 0cd708e7f5 msi: pcchValue represents the length of szValue in TCHARS, not bytes. 2007-07-03 13:42:22 +02:00
James Hawkins 4d668e06a2 msi: Handle remote calls to MsiSetProperty. 2007-07-03 12:59:58 +02:00
James Hawkins 4de8247c5a msi: Handle remote calls to MsiGetProperty. 2007-07-03 12:59:48 +02:00
James Hawkins e4658e05f2 msi: Handle remote calls to MsiGetActiveDatabase. 2007-07-03 12:59:32 +02:00
James Hawkins bc4750ff75 msi: Add the IWineMsiRemoteCustomAction interface. 2007-07-03 12:59:17 +02:00
James Hawkins f9001058b0 msi: Add the IWineMsiRemotePackage interface. 2007-07-03 12:58:43 +02:00
James Hawkins c26505b701 msi: Return ERROR_SUCCESS if the PackageName property is not present. 2007-07-02 15:28:50 +02:00
James Hawkins 381b915b47 msi: Return ERROR_BAD_CONFIGURATION if the SourceList key does not exist. 2007-07-02 15:28:42 +02:00
James Hawkins 3e56d78f2e msi: Validate MsiSourceListGetInfo parameters. 2007-07-02 15:28:33 +02:00
James Hawkins 1ff40d1558 msi: Add tests for MsiSourceListGetInfo. 2007-07-02 15:28:14 +02:00
James Hawkins 6cc2f0f402 msi: Implement MsiSourceListGetInfoA. 2007-07-02 15:27:42 +02:00
James Hawkins bafc4dc385 msi: Ignore invalid conditional expressions when checking the launch conditions. 2007-06-29 12:33:19 +02:00
James Hawkins 219857f831 msi: Add tests that show '!=' is not a valid conditional expression operator. 2007-06-29 12:33:09 +02:00
James Hawkins 4c3e4ba029 msi: Reference count the custom action data to avoid freeing the data by another thread.
Based on a patch by Rob Shearman.
2007-06-27 14:32:28 +02:00
Alexandre Julliard bb8ba38f98 msi: Avoid some redundant checks in MsiCloseHandle. 2007-06-27 14:32:28 +02:00
James Hawkins 46158e034c msi: Add support for remote handles. 2007-06-27 14:32:28 +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 24ede2f9e6 msi: If the UserData product key exists, but the user product key doesn't, the product is absent. 2007-06-27 12:32:44 +02:00
James Hawkins 3bf32f2700 msi: Any value of WindowsInstaller besides 0 means the product is installed. 2007-06-27 12:32:44 +02:00
James Hawkins 7da89f48fd msi: Use the correct registry key when detecting a published product. 2007-06-27 12:32:44 +02:00
James Hawkins 15823e1acf msi: If the user product key exists, the product's state is advertised. 2007-06-27 12:32:43 +02:00
James Hawkins e92f66558a msi: Validate MsiQueryProductCode parameters. 2007-06-27 12:32:43 +02:00
James Hawkins db318ec9af msi: Add tests for MsiQueryProductState. 2007-06-27 12:32:43 +02:00
Rob Shearman 2e2b17f340 msi: Fix transforms to work when the number of bytes per string reference differs to that of the database it is being applied to. 2007-06-27 12:32:42 +02:00
Rob Shearman bf67b14602 msi: Fix bytes_per_column for binary types when the database is using 3-byte string references. 2007-06-27 12:32:42 +02:00
Rob Shearman 0876f7664a msi: Fix loading string tables for databases that use 3-byte string references and that have a non-zero codepage (i.e. != CP_ACP). 2007-06-27 12:32:23 +02:00
Rob Shearman 023383afd3 msi: Free version after using lpVer in msi_get_disk_file_version as lpVer points inside of version. 2007-06-27 11:44:49 +02:00
Rob Shearman 9c6fac65d8 msi: Check the return value of VerQueryValueW in msi_get_disk_file_version. 2007-06-27 11:44:44 +02:00
James Hawkins 90e9722ecb msi: Add tests for publishing and unpublishing products, features, and components. 2007-06-26 12:11:54 +02:00
James Hawkins ee89cfca53 msi: Add a stub implementation of MsiQueryComponentStateA. 2007-06-26 12:11:47 +02:00
James Hawkins 71d7da1170 msi: Fetch the volume name when getting disk info. 2007-06-26 11:56:47 +02:00
Rob Shearman 8a94f7aad3 msi: Implement MsiGetMode for MSIRUNMODE_SCHEDULED, MSIRUNMODE_COMMIT and MSIRUNMODE_ROLLBACK. 2007-06-26 11:56:33 +02:00
Andrew Talbot 0e4ccb822c msi: Fix use of uninitialized variable (Coverity). 2007-06-25 13:23:58 +02:00
Rob Shearman f533159bb6 msi: Only use the long name for the file source if the file has one. 2007-06-22 12:18:22 +02:00
James Hawkins 9309f4dfa0 msi: Properly delete rows from the table, instead of zeroing out the row. 2007-06-19 11:31:44 +02:00
James Hawkins 82f4e3981b msi: Send the expected data to set_deferred_action_props. 2007-06-19 11:31:07 +02:00
Andrew Talbot 19ef864058 msi: Name all or none of the formal arguments in function prototypes. 2007-06-18 13:36:42 +02:00
James Hawkins 261e1179bb msi: Patches are applied based on ProductCode, not ProductID. 2007-06-18 12:14:58 +02:00