Commit Graph

1281 Commits

Author SHA1 Message Date
Mike McCormack 4fa08a638c msi: Split the font registration code out into a separate file. 2006-09-13 11:42:35 +02:00
James Hawkins bfc1b5c15f msi: Add more join tests. 2006-09-13 11:36:54 +02:00
James Hawkins 75ee2262cc msi: Show the available drives in the VolumeCostList control. 2006-09-13 11:36:50 +02:00
Alexandre Julliard fc4cd637d9 tests: Moved some compatibility defines to wine/test.h. 2006-09-13 11:01:39 +02:00
Mike McCormack 74a6a1e71b msi: Delete databases we create but never commit. 2006-09-13 10:58:42 +02:00
Mike McCormack e1757fcad2 msi: Add some more tests for MsiOpenDatabase. 2006-09-12 11:01:25 +02:00
James Hawkins 61db539cec msi: Don't try to register a class if a COM server file is not provided. 2006-09-12 10:54:26 +02:00
Alexandre Julliard 2d1b6182af msi: Change the prefix on bison-generated names to avoid the name-prefix directive. 2006-09-11 21:53:04 +02:00
Alexandre Julliard 145a0ba508 makefiles: List bison dependencies explicitly for parallel makes, since older bisons don't support --defines. 2006-09-11 21:43:11 +02:00
Marcus Meissner 0c15360a3e Removes all unnecessary WINE_DEFAULT_DEBUG_CHANNEL and respective wine/debug.h includes. 2006-09-11 11:30:48 +02:00
Alexandre Julliard 9c085cba0a makefiles: Add global rules for bison and lex files.
Also build the .c and .h files separately to allow parallel makes.
2006-09-09 13:16:22 +02:00
Alexandre Julliard 689d943dab msi: Specify the bison name prefix directly in the source file. 2006-09-09 11:25:19 +02:00
Mike McCormack 0fc2bd760c msi: Add more tests for temporary columns. 2006-09-08 12:46:42 +02:00
Mike McCormack 77d3c59843 msi: Fix the TEMPORARY keyword for columns. 2006-09-08 12:46:32 +02:00
Mike McCormack 14ab62306c msi: Add a test for MsiDatabaseIsTablePersistent. 2006-09-08 12:46:25 +02:00
Mike McCormack 665829c390 msi: Fix the prototype of MsiDatabaseIsTablePersistent to match the SDK. 2006-09-08 12:45:11 +02:00
Mike McCormack 4f9cae8d8c msi: Increase the size of the string table. 2006-09-08 12:44:51 +02:00
Mike McCormack 5f83069bd8 msi: Split code to create a random package name into a separate function. 2006-09-08 12:44:39 +02:00
Mike McCormack 00fdc6cb80 msi: Use msi_string_lookup_id instead of msi_id2stringW where possible. 2006-09-08 12:44:23 +02:00
James Hawkins a302f03c65 msi: Allow non-key columns to be used with the join query. 2006-09-08 12:43:55 +02:00
James Hawkins d8c13370b3 msi: Add tests for MSI SQL join queries. 2006-09-08 12:43:39 +02:00
James Hawkins 0405e9d2d4 msi: Store the CustomActionData for deferred custom actions. 2006-09-07 15:15:24 +02:00
James Hawkins 4969ccf3af msi: Add the ability to change directories in the DirectoryList control. 2006-09-07 15:15:06 +02:00
James Hawkins 01432d7165 msi: Add initial implementation of the DirectoryList control. 2006-09-07 15:14:49 +02:00
James Hawkins 8f691adf7e msi: Load and display the VolumeCostList control's column headers. 2006-09-07 15:14:33 +02:00
James Hawkins 1cfdc5185a msi: Store and use the center point of the dialog window in between dialogs. 2006-09-07 15:14:11 +02:00
James Hawkins ad559ca86d msi: Verify the path in the PathEdit control. 2006-09-07 15:13:01 +02:00
James Hawkins 9c3e640c10 msi: Search for the browse dialog controls by type instead of name. 2006-09-07 15:12:48 +02:00
James Hawkins 4e3f6eda0e msi: Provide the control to the dialog_update function for the case
when the control isn't attached to the dialog yet.
2006-09-07 15:12:24 +02:00
James Hawkins 7e86590518 msi: Add more tests for the _Streams table. 2006-09-07 15:12:06 +02:00
James Hawkins f6463dfacd msi: Add many more MsiFormatRecord tests. 2006-09-07 13:58:22 +02:00
James Hawkins 16769b26b2 msi: Fix two MsiFormatRecord tests. 2006-09-07 13:58:07 +02:00
James Hawkins ff6fe41df7 msi: Use the TargetPath of a file if the file doesn't exist in MsiFormatRecord. 2006-09-07 13:57:35 +02:00
James Hawkins a248cc8f62 msi: Fix creation of the default format in MsiFormatRecord. 2006-09-07 13:57:24 +02:00
James Hawkins ad2ec01739 msi: Add more tests for MsiFormatRecord. 2006-09-07 13:56:33 +02:00
Mike McCormack d998543edb msi: Add a short test for transforms. 2006-09-07 12:00:22 +02:00
Mike McCormack 12baa13ba5 msi: Make opening and closing 4000 handle into two tests, not 20000. 2006-09-07 12:00:00 +02:00
Mike McCormack 6991563d81 msi: Implement MsiDatabaseExport. 2006-09-07 11:01:07 +02:00
Mike McCormack a426b18efd msi: Create MSI_ViewGetColumnInfo for accessing MsiViewGetColumnInfo internally. 2006-09-07 11:00:51 +02:00
Mike McCormack 5699936cf1 msi: Make sure there's a value for each column when inserting data. 2006-09-07 11:00:40 +02:00
Mike McCormack 533833b4e1 msi: Validate database fields before inserting them. 2006-09-07 11:00:32 +02:00
Mike McCormack 71d8f4ebf6 msi: Create a function to copy record fields, use it to order INSERT fields correctly. 2006-09-07 11:00:19 +02:00
Mike McCormack 6b4ada6f43 msi: Add a few more tests for MSI_NULL_INTEGER. 2006-09-07 11:00:16 +02:00
Mike McCormack 2924501a68 msi: Check that column names are unique when creating a table. 2006-09-07 10:57:45 +02:00
Mike McCormack 7a120c99ea msi: Don't crash if we can't find a control. 2006-09-07 10:22:09 +02:00
Mike McCormack f9042ec9e8 msi: Use a binary search to find sql keywords. 2006-09-07 10:22:07 +02:00
Mike McCormack 6eea50394e msi: Fix a memory leak. 2006-08-29 13:48:07 +02:00
Mike McCormack 155a325f96 msi: Free the handle table on PROCESS_DETACH. 2006-08-29 13:48:04 +02:00
Mike McCormack ada5daa76a msi: Fix test compilation with MSVC6. 2006-08-29 13:48:01 +02:00
Mike McCormack b183956193 msi: Properties are case sensitive. 2006-08-29 13:46:39 +02:00
James Hawkins 20d98e81ed msi: Use msi_dialog_dup_property where appropriate. 2006-08-29 12:24:41 +02:00
James Hawkins 2a09d4f6c7 msi: Use the respective update functions when creating the Browse dialog control. 2006-08-29 12:24:28 +02:00
James Hawkins 6320d0adef msi: Update the DirectoryCombo control in response to the DirectoryListUp event. 2006-08-29 12:23:11 +02:00
James Hawkins 2dbaccbe60 msi: Update the PathEdit control in response to the DirectoryListUp event. 2006-08-29 12:22:59 +02:00
James Hawkins 7df642117c msi: Highlight the text in the PathEdit control. 2006-08-29 12:22:09 +02:00
Dan Kegel 337e1e202f msi: Callers of alloc_msihandle should handle failure. 2006-08-29 12:21:54 +02:00
Dan Kegel 29f0803c02 msi: Remove limit on number of handles. 2006-08-28 17:49:31 +02:00
Dan Kegel 98ec9399c4 msi/tests: Add test to verify we can create 4000 msi handles. 2006-08-28 17:49:08 +02:00
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Mike McCormack 5f832b2731 msi: Fix writing of long strings to the database. 2006-08-28 11:49:21 +02:00
Mike McCormack b9d6ec3b87 msi: Fix MsiRecordGetString for a null buffer and non-zero buffer length. 2006-08-28 11:49:14 +02:00
Hwang YunSong(황윤성) aec5bc33f6 msi: Updated Korean resource. 2006-08-28 11:44:53 +02:00
James Hawkins 80225d53b9 msi: Add a stub implementation of the VolumeCostList control. 2006-08-28 11:40:01 +02:00
James Hawkins a1b16d2d96 msi: Add initial implementation of the DirectoryListUp event. 2006-08-28 11:38:04 +02:00
James Hawkins a97962eef4 msi: Add initial implementation of the DirectoryCombo control. 2006-08-28 11:37:42 +02:00
Mike McCormack c8548fb88d msi: Set the ALLUSERS property to 1 always. 2006-08-25 20:04:50 +02:00
Mike McCormack e2a0a35423 msi: Fix a memory leak. 2006-08-25 20:04:46 +02:00
Mike McCormack 99338f48b5 msi: Use msi_get_property_int rather than MSI_GetPropertyW. 2006-08-25 20:04:41 +02:00
Mike McCormack 8ebbc8c0d2 msi: Reimplement msi_dup_property and msi_get_property_int. 2006-08-25 11:21:43 +02:00
Mike McCormack a4fb1c94ac msi: Store properties in a hash table, not the database.
Use string insensitive comparisons for property names.
2006-08-25 11:21:14 +02:00
James Hawkins 0de9cf4d00 msi: Fix the height of the line control window. 2006-08-25 11:20:24 +02:00
James Hawkins 25062556a8 msi: Add a stub implementation of the DirectoryList dialog control. 2006-08-25 11:20:08 +02:00
James Hawkins c9674e690c msi: Add a stub implementation of the DirectoryCombo dialog control. 2006-08-25 11:19:40 +02:00
James Hawkins fb7646beaa msi: Inform the user with an error message when the MSI file path is invalid. 2006-08-25 11:18:34 +02:00
Mike McCormack 089411747b msi: Fix strings with lengths that are exact multiples of 2^16. 2006-08-24 14:09:08 +02:00
James Hawkins 11b7097df8 msi: Add an initial implementation of the PathEdit control. 2006-08-24 12:07:56 +02:00
James Hawkins 80740e72e7 msi: Add tests for the AppSearch action. 2006-08-22 12:53:43 +02:00
James Hawkins 6a520c0b6d msi: Add handling for MsiEvaluateCondition's substring operators. 2006-08-22 12:11:40 +02:00
James Hawkins 762a13eb34 msi: Add tests for MsiEvaluateCondition's substring operators. 2006-08-22 12:11:29 +02:00
Mike McCormack 399321c4f2 msi: Add a stub ALTER query. 2006-08-18 11:36:30 +02:00
Mike McCormack b42f9df913 msi: Fix a couple of memory leaks in the test code. 2006-08-16 12:53:57 +02:00
James Hawkins 485484deac msi: Add a stub for MsiGetFeatureCost. 2006-08-16 12:40:43 +02:00
James Hawkins d4a27358a5 msi: Use the bare minimum number of parameters for LookupAccountName. 2006-08-16 12:40:21 +02:00
James Hawkins 75cc5f1e5e msi: Non-compressed files may come before the list of compressed files in the file sequence. 2006-08-15 11:42:44 +02:00
James Hawkins 3cb82ab8d2 msi: If a component's state is not local, source, or default, default to the local state. 2006-08-12 11:39:58 +02:00
Juan Lang 5c850c6a40 msi: Use wide char strings for token values to avoid an unnecessary WideCharToMultiByte. 2006-08-12 11:39:32 +02:00
Andrew Talbot 4aaf1f0b9e msi/tests: Write-strings warnings fix. 2006-08-11 19:26:50 +02:00
Andrew Talbot 92725e5299 msi: Write-strings warning fix. 2006-08-11 19:26:41 +02:00
James Hawkins 5d37be9e56 msi: Only remove a file if the version to be installed is strictly newer than the old file. 2006-08-11 11:56:27 +02:00
James Hawkins 1ff96c63a8 msi: Download install cabinet files if the msi package is remote. 2006-08-10 10:55:23 +02:00
Robert Shearman 95d057a839 msi: Support MSIDBOPEN_CREATEDIRECT and MSIDBOPEN_DIRECT in MSI_OpenDatabaseW. 2006-08-09 20:41:40 +02:00
Francois Gouget 407468e851 msi: Link the WindowsInstaller.Installer ProgId back to the right CLSID. 2006-08-09 20:37:19 +02:00
Francois Gouget b7a2699b62 msi: Change the CLSID_IMsiServer ProgId to IMsiServer to match Windows. 2006-08-09 20:37:08 +02:00
James Hawkins bf4e00fd9b msi: Add tests for the RemoveFiles action. 2006-08-09 11:20:25 +02:00
James Hawkins f84fa0ce63 msi: Fix the compressed files logic.
If the compressed file attribute is not set, use the Word Count
property to determine if files are compressed.
2006-08-08 19:34:34 +02:00
James Hawkins 4fade6d3a8 msi: Add tests for MsiGetProperty. 2006-08-08 11:14:10 +02:00
Francois Gouget ce9b4baad8 Assorted spelling fixes. 2006-08-07 13:52:55 +02:00
Mike McCormack 72b940e09b msi: Fix the dialog centering logic. 2006-08-07 13:13:43 +02:00
Andrew Talbot d58e1dba42 msi: Write-strings warnings fix. 2006-08-05 11:27:04 +02:00
James Hawkins 23027f5435 msi: Use the initial dialog position values in the database when creating the dialog window. 2006-08-04 13:25:32 +02:00
Robert Shearman ab378803ef msi: Fix the creation of shortcuts with a null icon index by mapping it to zero. 2006-08-03 22:23:09 +02:00
Andrew Talbot 72ac6f5d4e msi/tests: Write-strings warnings fix. 2006-08-02 22:04:00 +02:00
Mike McCormack b73dca2302 msi: Only ever write the long path for InProcServers. 2006-08-02 13:41:13 +02:00
Mike McCormack 244405af47 msi: Register advertised components too. 2006-08-02 13:41:06 +02:00
James Hawkins 91ec65d7f1 msi: Add tests for SQL query markers. 2006-08-02 11:45:26 +02:00
James Hawkins 1dd97aa154 msi: A file that does not have the msidbFileAttributesCompressed bit set should be considered non-compressed. 2006-08-02 11:45:04 +02:00
James Hawkins f10365bb5d msi: Don't crash if an empty record is given to MsiProcessMessage. 2006-08-02 11:44:55 +02:00
James Hawkins 7edea0cc68 msi: Set the install state to INSTALLSTATE_LOCAL for features with compressed files. 2006-08-02 11:42:20 +02:00
Thomas Kho 88cc410fd6 msi: Wake dialog on messages from external threads. 2006-08-01 10:51:55 +02:00
James Hawkins 38f2ba23f1 msi: Fix a couple install state test cases.
- Correctly handle the msidbComponentAttributesOptional component attribute.
- Don't set a component's state to INSTALLSTATE_LOCAL if the
  msidbComponentAttributesSourceOnly attribute is provided.
2006-08-01 10:49:20 +02:00
James Hawkins 6330f14da9 msi: Fix the add_feature_entry helper function. 2006-08-01 10:49:07 +02:00
James Hawkins 98d1486410 msi: Set the install state to INSTALLSTATE_LOCAL for components with compressed files. 2006-07-31 21:36:19 +02:00
Mike McCormack d39cf962ac msi: Change an ERR to a WARN. 2006-07-29 11:55:36 +02:00
Andrew Talbot 81592e497b msi/tests: Write-strings warnings fix. 2006-07-29 11:51:02 +02:00
Stefan Leichter 055b23b125 msi: Native DllGetVersion does not fail if the supplied buffer is bigger than required. 2006-07-28 13:17:22 +02:00
Stefan Leichter 93bbd00be7 msi: Make the version information of DllGetVersion same as in version resource. 2006-07-28 13:17:01 +02:00
James Hawkins 05bd17b8b7 msi: Add tests for MsiDatabaseImport. 2006-07-28 12:35:37 +02:00
Michael Stefaniuc b222f1bca4 msi: 0xdeadbeef is too big for a signed int thus producing sign
comparison warnings when compared to an int variable. Use 0xdeadbee
instead.
2006-07-28 12:33:45 +02:00
Andrew Talbot ccf7f0777a msi/tests: Write-strings warning fix. 2006-07-28 12:33:01 +02:00
Mike McCormack 43f7f3ec3f msi: Don't set the shortcut's working directory if it's NULL. 2006-07-28 12:32:17 +02:00
Mike McCormack 525ceb7085 msi: Fix some memory leaks. 2006-07-28 12:32:14 +02:00
James Hawkins d1617bea17 msi: Download the MSI package if it is a remote URL. 2006-07-27 12:22:43 +02:00
Mike McCormack 65d12c342d msi: Fix the value of LONG integers in records (suggested by James Hawkins). 2006-07-27 11:57:12 +02:00
Mike McCormack e12f2b36a3 msi: Remember to free a handle. 2006-07-27 11:57:00 +02:00
Mike McCormack 31c5652dc6 msi: Fix some memory leaks in the condition parser. 2006-07-27 11:56:57 +02:00
Mike McCormack f3dae17cbb msi: Use msi_alloc/free, not HeapAlloc/Free. 2006-07-27 11:56:51 +02:00
James Hawkins 75c866ed58 msi: Test the column types of MSI packages. 2006-07-27 11:43:33 +02:00
James Hawkins 59a706bc2b msi: Test the states of a component with a compressed file. 2006-07-27 11:43:28 +02:00
James Hawkins 5842af1b95 msi: Fix a typo. 2006-07-27 11:43:22 +02:00
Mike McCormack aff9f4c1ed msi: Fix an off by one error in MsiRecordGetString. 2006-07-26 15:17:42 +02:00
Mike McCormack 76baa45a86 msi: Implement SQL inner joins. 2006-07-26 15:17:40 +02:00
Andrew Talbot 320da90632 msi/tests: Write-strings warnings fix. 2006-07-26 10:25:21 +02:00
Mike McCormack 328298b64f msi: Add a FIXME for join queries. 2006-07-26 10:23:44 +02:00
Mike McCormack 1d46cdf11a msi: Always load all the components. 2006-07-26 10:23:34 +02:00
Mike McCormack 4ab109e507 msi: Fix where queries on 32bit integer columns. 2006-07-25 11:22:43 +02:00
James Hawkins 8144e17169 msi: Add tests for the WHERE SQL clause. 2006-07-25 11:22:19 +02:00
Mike McCormack 9f89427291 msi: Use CLSIDFromString to make squash_guid a bit more robust. 2006-07-24 19:55:53 +02:00
Mike McCormack bc673bff01 msi: Make MsiConfigureFeature a bit more robust. 2006-07-24 19:55:50 +02:00
Mike McCormack 0bfb9c3e3d msi: Move COM server implementation to a separate file. 2006-07-24 19:55:41 +02:00
Robert Shearman c0596e0ae9 msi: The szLogFile parameter of MsiEnableLogW is optional, so handle the case of it being NULL. 2006-07-24 13:47:50 +02:00
Mike McCormack a652e28517 msi: Add a test case for MsiGetFileHash. 2006-07-24 13:46:37 +02:00
Mike McCormack e8a7587bdb msi: Implement MsiGetFileHash. 2006-07-24 13:46:33 +02:00
Mike McCormack bb141641d3 msi: Reimplement MsiGetUserInfo using awstrings. 2006-07-24 13:27:15 +02:00
Mike McCormack dc4d5b0f0e msi: MoveMsiEnumPatches to registry.c 2006-07-24 12:57:33 +02:00
James Hawkins dc0aad523b msi: Add tests for component and feature states. 2006-07-24 12:57:32 +02:00
James Hawkins e295bd9743 msi: Expand features with odd Display values. 2006-07-21 20:22:48 +02:00
James Hawkins cf9886e6e0 msi: Don't display a feature if its Display value is zero. 2006-07-21 20:22:41 +02:00
James Hawkins cae3215a6f msi: Set the component's initial state based on its attributes. 2006-07-21 20:22:27 +02:00
Mike McCormack aed2de8ec9 msi: Handle W/A conversions more correctly in MsiProvideQualifiedComponentEx. 2006-07-21 10:56:53 +02:00
Mike McCormack 869495efd3 msi: Use msi_reg_get_val_str() to read a registry value. 2006-07-21 10:56:40 +02:00
Mike McCormack db1baf7367 msi: Add a stub implementation for MsiProvideQualifiedComponentExA. 2006-07-21 10:56:30 +02:00
Mike McCormack 8bce656fd3 msi: Components with INSTALLSTATE_NOTUSED are considered present. 2006-07-21 10:56:17 +02:00
Mike McCormack a36d06c003 msi: A component with an empty path is not used. 2006-07-21 10:55:48 +02:00
Mike McCormack dfb1f4f55b msi: Use TRACE not FIXME for already implemented functions. 2006-07-21 10:55:37 +02:00
Juan Lang fb6bd2414b msi: Don't use fixed-size buffers in AppSearch action. 2006-07-21 10:49:09 +02:00
James Hawkins ece0ae0a41 msi: Implement the SetInstallLevel event. 2006-07-20 12:51:20 +02:00
James Hawkins de73481c89 msi: Forward MsiSetInstallLevel to an internal MSI_SetInstallLevel that can be used internally. 2006-07-20 12:51:11 +02:00
James Hawkins 7bcac31dcf msi: Update feature states after changing install levels, as they may have changed. 2006-07-20 12:50:14 +02:00
James Hawkins 7c7f0bb2c1 msi: Rename SetFeatureStates to match the naming scheme of internal msi functions. 2006-07-20 12:50:02 +02:00
Juan Lang 07253473d4 msi: Implement ACTION_AppSearchIni. 2006-07-20 12:09:06 +02:00
Juan Lang 0042c010af msi: Implement searching parent in ACTION_AppSearchReg. 2006-07-19 18:15:49 +02:00
Mike McCormack fee5bee811 msi: Implement MsiConfigureFeatureW. 2006-07-19 18:15:35 +02:00
Mike McCormack 4642221875 msi: Fix the size of base 85 GUIDs. 2006-07-19 18:15:26 +02:00
Mike McCormack 9a9195d6e4 msi: Only load the features and files tables once. 2006-07-19 18:15:21 +02:00
James Hawkins fc56e92657 msi: Add a stub implementation of MsiSourceListClearAll. 2006-07-19 09:47:00 +02:00
James Hawkins 2396e2a59f msi: Sort SelectionTree items by their Display value. 2006-07-19 09:46:31 +02:00
Huw Davies 045d817f4b msi: Create files with the correct file attributes. 2006-07-19 09:44:41 +02:00
Mike McCormack 1aba0d62c6 msi: Check the right pointers for NULL. 2006-07-19 09:42:36 +02:00
Mike McCormack bf57910537 msi: Set properties, not the command line in MsiReinstallFeatureW. 2006-07-19 09:41:06 +02:00
Mike McCormack a7e6864be1 msi: Implement MsiSetInstallLevel. 2006-07-19 09:40:26 +02:00
Juan Lang 2590c081a1 msi: Set name in ACTION_AppSearchGetSignature. 2006-07-19 09:38:24 +02:00
Juan Lang 9e7f182871 msi: Fix silly pointer error. 2006-07-18 11:17:31 +02:00
James Hawkins 7745a831a1 msi: Update the feature components' states when a feature is selected. 2006-07-18 11:17:20 +02:00
Robert Shearman aea12b4695 msi: Fix conversion of path to include nul-termination character in MsiProvideQualifiedComponentA. 2006-07-18 11:13:43 +02:00
Mike McCormack 33ec7eb5e0 msi: Tidy up MsiCreateAndVerifyInstallerDirectory a bit. 2006-07-17 14:46:26 +02:00
Mike McCormack f6170beb47 msi: Implement MsiConfigureFeatureA using MsiConfigureFeatureW. 2006-07-17 14:46:26 +02:00
Mike McCormack 741b47fd26 msi: Cleanup traces, remove unnecessary includes. 2006-07-17 14:46:26 +02:00
Mike McCormack 2ec80faabe msi: Move msi_get_property_int() to helpers.c 2006-07-17 14:46:25 +02:00
Mike McCormack a5a91d17a4 msi: Add support for INSTALLSTATE_ADVERTISED to MsiQueryFeatureState. 2006-07-17 14:46:25 +02:00
Mike McCormack baa6efa56f msi: MsiGetComponentPath cannot return INSTALLSTATE_ADVERTISED. 2006-07-17 14:46:25 +02:00
James Hawkins 6de2ca8459 msi: Add handling for the ListBox dialog control. 2006-07-17 13:46:01 +02:00
Stefan Siebert ded4fbcc3c msi: cabinet_notify - don't fail on files with the same filepath. 2006-07-14 13:32:40 +02:00
Juan Lang 5cf870dae5 msi: Let caller set property in AppSearch. 2006-07-14 13:32:39 +02:00
Mike McCormack c19f9e9c31 msi: Use awstring to return strings from MsiGetProductInfo. 2006-07-14 13:32:39 +02:00
Mike McCormack cd5bac0b3d msi: Read from the registry, not the database in MsiGetProductInfo. 2006-07-14 13:32:39 +02:00
Mike McCormack a3c03fea58 msi: Add some registry reading macro functions. 2006-07-14 13:32:39 +02:00
Mike McCormack 230af9d21f msi: Move version string conversions to registry.c. 2006-07-14 13:32:39 +02:00
Mike McCormack 9917250863 msi: Move some registry helper functions to registry.c. 2006-07-14 13:32:39 +02:00
James Hawkins 1adcf0087a msi: Add handling for the GroupBox dialog control. 2006-07-14 12:27:29 +02:00
James Hawkins 094915ae2c msi: Update the files target paths as well, because a parent directory might have been changed. 2006-07-13 13:48:12 +02:00
Juan Lang ab24569b85 msi: Split up ACTION_AppSearchReg. 2006-07-12 19:28:00 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
James Hawkins 15ad5de13c msi: Test how SetTargetPath affects the target paths of install files. 2006-07-11 17:15:16 +02:00
James Hawkins 3b506c6408 msi: AppSearchReg shouldn't create the key it's looking for if it doesn't exist. 2006-07-11 17:15:10 +02:00
Alexandre Julliard 88c97d7284 .gitignore: Added wildcards to ignore lex and bison output files. 2006-07-10 21:40:49 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Mike McCormack abfe248633 msi: Features may be published but absent. 2006-07-06 15:40:23 +02:00
Mike McCormack ee3e058655 msi: Add a test for MsiGetComponentPath and make it pass. 2006-07-06 15:40:12 +02:00
Mike McCormack 4c0e72eceb msi: Use msi_strcpy_to_awstring to return the string in MsiComponentGetPath. 2006-07-06 15:39:56 +02:00
Mike McCormack 17518ca910 msi: Forward MsiUseFeature to MsiUseFeatureEx. 2006-07-06 12:45:16 +02:00
Dmitry Timoshkov 081563e7ec Avoid non-portable WCHAR[] constructs. 2006-07-05 11:43:55 +02:00
Paul Vriens 8f143f190c Use the return value of register_key_guid. 2006-06-30 21:08:07 +02:00
James Hawkins 3c56550ea5 msi: Read the font color from the database, and use it for the text control. 2006-06-27 21:14:02 +02:00
Andrey Turkin 2ad04cae39 msi: Disable some path validity checks in MsiSetTargetPath. 2006-06-26 13:38:02 +02:00
James Hawkins 566beb788b msi: Add tests for components that aren't associated with a feature. 2006-06-23 11:22:49 +02:00
James Hawkins a1910e11bb msi: Fix handling of the no-op identifier in the Directory table. 2006-06-21 13:53:51 +02:00
Andrew Talbot 685e7007e1 msi/tests: Write-strings warnings fixes. 2006-06-19 09:21:42 +02:00
Andrey Turkin 07edeb8394 msi: Added tests for MsiSetTargetPath. 2006-06-16 14:42:36 +02:00
James Hawkins 36bf71c174 msi: Add tests for MsiInstallProduct. 2006-06-15 18:05:53 +02:00
Mike McCormack 94dc36e5a6 msi: Add test for _Streams table (based on patch by Andrey Turkin). 2006-06-15 12:24:16 +02:00
Mike McCormack 172e183cf3 msi: Don't define COND_SPACE twice. 2006-06-15 11:39:28 +02:00
Mike McCormack 863bc989b9 msi: Add a test for reading long strings. 2006-06-14 12:47:06 +02:00
Mike McCormack 2d323b3df8 msi: Add a test for creating a record with a long string. 2006-06-14 12:47:05 +02:00
Mike McCormack d2dca89c52 msi: Add a test for MsiDatabaseExport. 2006-06-14 12:47:05 +02:00
Mike McCormack cfe36cc81d msi: Fix loading of long strings. 2006-06-13 12:56:42 +02:00
Mike McCormack a28ebdf7d4 msi: Add some more test cases for INSERT. 2006-06-12 16:04:31 +02:00
Mike McCormack 7f64332d11 msi: Add some more MsiFormatRecord tests. 2006-06-12 16:04:19 +02:00
Mike McCormack bef879cb24 msi: Add tests for creating packages and formatting records. 2006-06-12 16:04:08 +02:00
Mike McCormack f29ec238e8 msi: Delete any databases we create at the end of each test. 2006-06-12 16:03:57 +02:00
Mike McCormack 53041d8f73 msi: Fix compilation on msvc6. 2006-06-12 16:03:05 +02:00
Mike McCormack 3c81969a55 msi: Remove an inconsistent test. 2006-06-12 16:02:53 +02:00
Mike McCormack a302ec19bd msi: Fix some test cases to pass against win2k. 2006-06-12 15:56:54 +02:00
Alexandre Julliard b79a53e959 msi: Make some variables static and/or const. 2006-06-12 13:39:59 +02:00
Mike McCormack bbbcc2a1be msi: Add some test cases for "SELECT ... WHERE condition". 2006-06-12 13:21:47 +02:00
Mike McCormack a21f9e5587 msi: Freeing the zero handle always succeeds. 2006-06-12 13:21:47 +02:00
Mike McCormack 15d302c313 msi: Always initialize MsiViewFetch's returned record to zero. 2006-06-12 13:21:47 +02:00
Alexandre Julliard 9a59ee76e4 msi: Make all the ops structures static and const. 2006-06-10 12:02:39 +02:00
Mike McCormack 7500e0feab msi: Update the progress control while installing. 2006-06-09 15:20:25 +02:00
Mike McCormack ea3ab4952b msi: Remove some unnecessary NULL checks. 2006-06-09 15:20:14 +02:00
Vitaly Lipatov 452169243b msi: Add Russian resource file. 2006-06-07 14:31:31 +02:00
EA Durbin 4e66d4791c msi/tests: Fixed a typo. 2006-06-07 14:19:52 +02:00
Huw Davies f5c72fd202 msi: Add some integer condition tests. 2006-06-05 21:00:49 +02:00
Hans Leidekker c077aaf116 msi: Fix some copy/paste bugs in the implementation of condition operators. 2006-06-05 13:50:32 +02:00
Robert Shearman d70db020a6 msi: An empty string is equivalent to nil, so handle this in the optimised WHERE_execute path. 2006-06-05 13:45:53 +02:00
Andrew Ziem f1b449942f msi: Increase verbosity in some failing tests. 2006-05-30 19:30:30 +02:00
Hans Leidekker 4f62bf79dc msi: Implement MsiLocateComponent{A,W}. 2006-05-30 12:23:51 +02:00
Dmitry Timoshkov 0d13a99e79 msi: Translate the resulting string only if the previous call succeeded. 2006-05-25 20:28:45 +02:00
Mike McCormack 2acf800fd4 msi: Fix some pointer to integer casts. 2006-05-25 10:44:44 +02:00
Mike McCormack d20c6cf8ca Fixed more boolean comparisons against TRUE. 2006-05-24 14:38:20 +02:00
Mike McCormack 6df2c04f20 msi: Set a default radio button. 2006-05-24 10:52:42 +02:00
Mike McCormack 20c5746649 msi: Fix a possible memory leak. 2006-05-24 10:52:33 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Labrousse Jean d0862c365b msi: Fix short name and long name mismatch in action.c. 2006-05-23 13:03:57 +02:00
Francois Gouget f7c24f37ad Various trace fixes.
Add trailing '\n's to trace calls.
Remove spaces before '\n'.
2006-05-15 15:05:09 +02:00
Francois Gouget e739ba9551 Assorted spelling fixes. 2006-05-15 15:05:05 +02:00
Robert Shearman 74407105d2 Check the return value from register_key_guid in all the DLL registering code. 2006-05-10 19:38:04 +02:00
Dan Kegel 35f9a4797f msi: Fix missing case in MsiSourceListAddSourceEx. 2006-05-05 17:59:02 +02:00
Mike McCormack 4a7bb647bf msi: Use the source name of the msi package when it fails to copy. 2006-05-05 16:33:25 +02:00
Mike McCormack 3a94011ab6 msi: Clean up memset usage. 2006-04-18 21:13:52 +02:00
Mike McCormack edb58a6d05 msi: Fix a regression caused by some bad logic. 2006-04-18 21:13:46 +02:00
Mike McCormack 1da2fbce95 msi: Don't fall back to the folder's parent if the folder doesn't exist. 2006-04-18 21:13:39 +02:00
Mike McCormack 6607180f64 msi: Simplify create_component_advertise_string() a little. 2006-04-18 16:49:10 +02:00
Mike McCormack a92fe55cce msi: Fix some possible NULL pointer dereferences (Coverity). 2006-04-17 12:38:36 +02:00
Juan Lang 3700913803 msi: Fix possible crash bugs in error path. 2006-04-12 11:18:33 +02:00
Mike McCormack 8232e69492 msi: Add some more MsiFormatRecord tests. 2006-04-11 11:25:32 +02:00
Mike McCormack 819815d66c msi: Use a debug channel to turn on transform debugging. 2006-04-07 20:00:45 +02:00
Mike McCormack 604cdff911 msi: Remove broken volume management code. 2006-04-07 12:57:52 +02:00
Mike McCormack ccdd0869a1 msi: Fix a logic error. 2006-04-07 11:45:47 +02:00
Mike McCormack ed580a1d85 msi: Avoid accessing a null pointer. 2006-04-07 11:45:41 +02:00
Mike McCormack ed9745b94f msi: Check the correct pointer after allocating memory. 2006-04-07 11:45:34 +02:00
Mike McCormack 85e8d3adf8 msi: Fix possible free of uninitialized pointer. 2006-04-07 11:45:29 +02:00
Mike McCormack 17e2c3cc61 msi: Avoid a crash if a parameter is NULL. 2006-04-06 11:33:17 +02:00
Mike McCormack f537eb241a msi: Improve the string table hash. 2006-04-03 12:15:24 +02:00
Antonio Codazzi 79f89b9c33 msi: Italian language support. 2006-04-03 11:51:55 +02:00
Antonio Codazzi 5f0a136f28 msi: Esperanto language support. 2006-04-03 11:49:03 +02:00
Mike McCormack 886036696a msi: Add stub for the RegisterComPlus and UnregisterComPlus actions. 2006-03-22 21:36:20 +01:00
Mike McCormack e1fdf3e24c msi: Don't crash when logging a record with only one field. 2006-03-22 21:36:16 +01:00
Mike McCormack 06c84c4a42 msi: Show "hidden dialogs" but hide them initially. 2006-03-22 11:20:19 +01:00
Mike McCormack cf4f79e877 msi: Implement custom action type 17. 2006-03-22 11:20:12 +01:00
Mike McCormack c1513be48c msi: Improve handling of short paths. 2006-03-21 16:19:07 +01:00
Mike McCormack 5052dcccf2 msi: Set the InstallerLocation value when registering msi.dll. 2006-03-20 12:27:18 +01:00
Robert Shearman 9f487ba1de msi: Optimise WHERE operations.
Optimise WHERE operations on matching against strings by adding a new
function find_matching_rows to the views, which eliminates the need to
examine every record when executing a query. Implement this function
in the table using a hash table on the ID stored in the data.
2006-03-20 12:03:04 +01:00
Robert Shearman d62aa01ec0 msi: Add a test for MsiFormatRecord with integer fields. 2006-03-20 12:01:43 +01:00
András Kovács fb7921a1d3 msi: Added Hungarian translation. 2006-03-15 11:32:18 +01:00
Mike McCormack fe8cd38812 msi: Remove some unnecessary indent. 2006-03-09 12:50:59 +01:00
Mike McCormack 0b9960a1f9 msi: Make sure to run tests for MsiEvaluateCondition. 2006-03-09 12:50:48 +01:00
Ulrich Czekalla 2ee5a5bf7c msi: When evaluating conditions, if the condition is empty or none is
provided then treat it as being satisfied.
2006-02-24 11:21:59 +01:00
Robert Shearman 4ac8567497 msi: Fix heap overflow in ITERATE_CreateShortcuts. 2006-02-22 22:15:54 +01:00
Robert Shearman ecc5c18f4e msi: Init size before passing to RegEnumValue. 2006-02-22 22:15:41 +01:00
Robert Shearman e664435f50 msi: Always set a value for intype in ready_volume.
Remove a memory leak.
2006-02-22 22:15:26 +01:00
Robert Shearman 66c9cbbe0f msi: Fix heap overflow in save_string_table.
Fix heap overflow caused by not accounting for the dummy first item,
which contains the codepage.
2006-02-22 22:15:12 +01:00
Ulrich Czekalla 9d389ec03f msi: Implement MsiSourceListAddSource. 2006-02-22 11:32:58 +01:00
Robert Shearman a911ea0fd7 msi: Fix bison warnings by providing precedence rules for expressions
and by removing a redundant expression case.
2006-02-07 16:24:51 +01:00
Fatih Aşıcı 7fca8f6c72 msi: Turkish translation. 2006-02-06 13:04:40 +01:00
Mike McCormack 43b27144f0 msi: Add an implementation of MsiGetDatabaseState. 2006-01-30 14:56:52 +01:00
Dmitry Timoshkov 57a579ffcd Make more arrays const. 2006-01-24 14:00:32 +01:00
Robert Shearman d679bc5ab3 msi: Move the firing of control events to MSI_ProcessMessage.
Move the firing of control events from internal helper functions to
MSI_ProcessMessage so that custom actions can all cause control events
to be fired.
Added the firing of progress events.
2006-01-23 17:30:31 +01:00
Robert Shearman d2e48e01ac msi: Call ui_actiondata for more actions. 2006-01-23 17:29:50 +01:00
Robert Shearman 04f547dc50 msi: Support msidbControlAttributesSunken. 2006-01-23 11:55:33 +01:00
Robert Shearman 33fa9d08dd msi: Only print fixme for progress attribute once.
Since setting the Progress attribute is done quite frequently, don't
flood the user with messages about it being unimplemented.
2006-01-23 11:55:19 +01:00
Mike McCormack 477bce38dc msi: Eliminate a fixed length buffer. 2006-01-16 20:38:28 +01:00
Jeremy White 9d90ef017c msi: gcc 2.95 compatibility fix. 2006-01-13 13:53:16 +01:00
Mike McCormack 848f67e13e msi: Make the MSI SelectionTree control do something useful. 2006-01-11 21:12:06 +01:00
Mike McCormack 891df89ee7 msi: Remove the font when setting a control's text. 2006-01-11 12:12:16 +01:00
Mike McCormack f69d7bf0f3 msi: Count the number of columns requested and allocate that many,
as columns may be select more than once in from a table.
2006-01-10 12:10:19 +01:00
Mike McCormack aa81e4fa68 msi: Don't crash if there's no script present when we try execute one. 2006-01-10 12:09:19 +01:00
Mike McCormack 1acf032a99 msi: Fixed the prototype of MsiDatabaseIsTablePersistent.
Implemented MsiDatabaseIsTablePersistentA via the W function.
2006-01-10 12:09:11 +01:00
Mike McCormack ead00327e9 msi: Unload riched20 after its window is destroyed. 2006-01-06 12:35:09 +01:00
Mike McCormack abbe4b6dd0 msi: Make radio buttons grey out correctly when disabled. 2006-01-06 12:19:33 +01:00
Mike McCormack b9d135a37b msi: Clean trailing and leading spaces from path segments. 2006-01-06 12:19:22 +01:00
Mike McCormack e534e7726b msi: Apply any MSI transforms specified by the TRANSFORMS property. 2006-01-04 14:51:25 +01:00
Mike McCormack 40a76a58e3 msi: Add a stub for MsiGetLastErrorRecord. 2006-01-04 14:51:05 +01:00
Mike McCormack 576b8a5920 msi: Fixes for the MaskedEdit control.
Allow MaskedEdit masks that aren't enclosed with <>.
Allow the MaskedEdit's edit controls to scroll a bit in case things
don't line up.
2006-01-04 14:49:50 +01:00
Marcus Meissner 73b7900b8b msi: Report the commandline that failed to start in ERR()s. 2006-01-03 17:35:41 +01:00
Mike McCormack 00a7faa377 msi: Subclass the Richedit control.
Send a "DoAction" control event when the user scrolls the text.
2006-01-03 12:15:04 +01:00
Mike McCormack a0f88f7a3e MSI: Improve the MsiGetMode stub a little. 2006-01-03 12:12:15 +01:00
Mike McCormack 188365e2f0 msi: Implement the Reset control event. 2006-01-03 12:12:09 +01:00
Francois Gouget 38884e0347 Small documentation tweaks to avoid winapi_check warnings. 2006-01-03 12:10:09 +01:00
Mike McCormack b7270b8c2d msi: Change some FIXME messages to comments. 2005-12-31 13:18:11 +01:00
Mike McCormack 04a086ad65 msi: Define the property "Intel" if we're running on an Intel processor. 2005-12-31 13:14:34 +01:00
Mike McCormack f24a9e2a24 msi: Add stub actions for CCPSearch and RMCCPSearch. 2005-12-31 13:14:23 +01:00
Bill Medland b56ed22277 msi: Prevent array underflow in MsiFormat when measuring with zero-length buffer. 2005-12-21 21:19:47 +01:00
Bill Medland e0d4df6bb7 msi: Use a default dialog font if nothing is specified. 2005-12-20 11:59:23 +01:00
Magnus Olsen a06aa5e996 msi: Fixed deformat_environment to not cut off string. 2005-12-19 18:17:28 +01:00
Christian Gmeiner e02e539c1e msi: Implemented DllCanUnloadNow. 2005-12-05 20:39:33 +01:00
Huw Davies 0d13aeb26e msi: Fix MsiProvideQualifiedComponentW spec file entry. 2005-12-05 20:38:18 +01:00
Robert Shearman 2d5dc32f35 The buffer sizes in the documentation for MsiDecomposeDescriptorW don't
include the NULL terminator, so fix this.
2005-11-30 12:02:06 +01:00
Mike McCormack 2a6d007c65 If a source directory doesn't exist, use the install root instead. 2005-11-28 10:37:08 +01:00
Mike McCormack 6a976373b3 Handle the ^ character in MaskEdit controls. 2005-11-28 10:36:54 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Mike McCormack 9fac484928 Make all source directories at the root of the install. 2005-11-24 19:22:44 +01:00
YunSong Hwang 68baacc859 Update Korean translations. 2005-11-21 12:01:19 +00:00
Mike McCormack 77da201e8f Loop around calling RegQueryValue until we have a big enough string
for both the name and the value.
2005-11-21 11:59:54 +00:00
Mike McCormack 26a6d598bb Convert MsiEnumComponentQualifiers to use msi_strcpy_to_awstring. 2005-11-15 18:12:21 +00:00
Mike McCormack d78dce709e Fix function prototype and spec file entry for
MsiEnumComponentQualifiers.
2005-11-15 16:55:04 +00:00
Mike McCormack dbc8f877fc Only return ERROR_MORE_DATA if there's a buffer to copy a result
into.
2005-11-15 16:53:47 +00:00
Mike McCormack 828280f4fd Set the Installed property if the product is already installed. 2005-11-15 12:00:13 +00:00
Mike McCormack deaae4b8d1 Empty strings are not equal to any number, so all comparisons against
them fail except for tests for non-equalness.
2005-11-14 12:29:10 +00:00
YunSong Hwang 6e20af5dac Add Korean translations. 2005-11-14 11:27:36 +00:00
Mike McCormack fc0cc66b54 Fix comparison of empty properties to numbers and add test cases. 2005-11-14 11:24:14 +00:00
Steven Edwards f5f8cd0846 Partly implement MsiMessageBox[A/W] on top of MessageBoxEx[A/W] 2005-11-11 10:52:53 +00:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Francois Gouget f4c0524ec6 Assorted spelling and case fixes. 2005-11-10 11:39:07 +00:00
Aric Stewart 5cbd491b7b Use MsiDecomposeDescriptorW in MsiProvideQualifiedComponentExW. 2005-11-10 11:06:04 +00:00
Mike McCormack 5c63332b4f Fix passing of NULL pointers to MsiDecomposeDescriptor and add a
test.
2005-11-09 10:59:20 +00:00
Mike McCormack 454fa4bea0 Make sure we only CoUninitialize after successfully initializing.
Fix the address of the returned IShellLinkDataList interface.
2005-11-09 10:58:24 +00:00
Saulius Krasuckas 056d96939b Win9x returns MSIDBERROR_NOERROR. 2005-11-05 10:42:57 +00:00
Ivan Leo Puoti 5b22e4d6ef Fix some wrong prototypes. 2005-11-03 11:35:11 +00:00
Mike McCormack a977b2c346 Remove some redundant null pointer checks. 2005-11-03 09:56:29 +00:00
Mike McCormack 1238fda624 Add missing semicolons that caused compile trouble on FreeBSD. 2005-11-03 09:55:30 +00:00
Mike McCormack da20e4d9ca NULL and empty strings are the same in conditions. 2005-11-02 19:58:01 +00:00
Mike McCormack 451ef3a9c3 Stub implementation for MsiAdvertiseScriptA/W. 2005-11-02 19:54:31 +00:00
Mike McCormack 50684c15d5 Create the +msidb debug channel for msi database code. 2005-11-02 14:24:21 +00:00
Aric Stewart d5655f90cf Force files to install if the REINSTALL property is set. 2005-11-02 14:21:17 +00:00
Mike McCormack 76137e55b7 Fix parameter handling in MsiSetTargetPath, and add a test for it. 2005-11-02 11:43:05 +00:00
Mike McCormack fd4a2003db Implement the RemoveFiles action. 2005-11-02 11:42:56 +00:00