Commit Graph

1589 Commits

Author SHA1 Message Date
Rob Shearman 1b0b5f5699 msi: Provide UI action data for uncompressed files, not just compressed ones. 2007-04-13 11:42:46 +02:00
Aric Stewart b46ab0b8cb msi: Do not crash in MsiGetUserInfo if org, user or serial are not present, instead return USERINFOSTATE_ABSENT. 2007-04-12 16:19:24 +02:00
James Hawkins 7ef8428b5e msi: Reset the is_extracted flag when every cabinet is loaded. 2007-04-12 16:18:08 +02:00
Aric Stewart d54900b8bc msi: Register fonts with full target paths as applications can and will install fonts to places other than the windows/fonts directory. 2007-04-11 11:20:52 +02:00
Rob Shearman 3fbe9db433 msi: Don't wait on closed handles in ACTION_FinishCustomActions.
The handle will be closed by free_custom_action_data, so duplicate the 
handle before calling it.
2007-04-04 12:39:14 +02:00
James Hawkins 8cedb218c3 msi: Load the folder property if available and requested. 2007-03-29 21:01:42 +02:00
Francois Gouget d9e8a0f63e Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll. 2007-03-28 12:36:13 +02:00
Andrew Talbot efc988e1c8 msi: Replace inline static with static inline. 2007-03-23 12:29:19 +01:00
Francois Gouget 7b0cde8f84 Assorted spelling fixes. 2007-03-06 21:51:35 +01:00
Andrew Talbot 7a9b2183d4 msi: Replace const pointer parameters with correct pointers to const. 2007-03-06 12:10:31 +01:00
Rob Shearman 77f6bc4f8d msi: Set the PackageCode property based on the "revision number" data in the summary information.
Add a test to show that PackageCode is set by MSI.
2007-03-05 16:43:26 +01:00
Rob Shearman e2972af436 msi: Rewrite the second loop in ACTION_FinishCustomActions so that it always terminates.
Create an array of handles to wait on so that we can wait without
holding a critical section.
2007-03-05 16:43:26 +01:00
Rob Shearman 95f38b75fb msi: Set the Date, Time and VersionDatabase properties.
Add tests for these properties.
Update the todo list of properties to set.
2007-03-05 16:43:26 +01:00
Paul Vriens 6efffc3829 msi/tests: Properly cleanup after each test. 2007-03-05 12:05:59 +01:00
James Hawkins ba40c463d7 msi: Overwrite an existing read-only file when copying the install file. 2007-02-26 13:57:43 +01:00
James Hawkins a40d687133 msi: Add tests for using markers in SELECT clauses. 2007-02-26 13:56:24 +01:00
James Hawkins d4a324940b msi: Check for a NULL text entry, as it can be blank in the VolumeCostList control. 2007-02-26 13:56:21 +01:00
James Hawkins 747f19f011 msi: Free the custom action data after the thread function executes. 2007-02-26 13:56:11 +01:00
James Hawkins 0746b9076d msi: Cleanup the dialog event subscriptions when destroying the dialog. 2007-02-21 10:53:49 +01:00
Andrew Talbot 5346ba392d msi: Constify some variables. 2007-02-19 12:04:12 +01:00
Steven Stein ee3ac7a8fb msi: ValidateProductID action stub. 2007-02-14 22:17:41 +01:00
Steven Stein 378928f2df msi: Added "Default" control condition to msi_dialog_set_control_condition. 2007-02-14 22:17:36 +01:00
Mike McCormack d50c62884a msi: Find pending custom actions by GUID. 2007-02-14 14:42:02 +01:00
Alexandre Julliard a71a22c579 cabinet: Fixed fd leak in case of error. 2007-02-14 13:12:32 +01:00
Mike McCormack 63cdee2741 msi: Remove an unused initializer. 2007-02-13 17:47:30 +01:00
Misha Koshelev 8aa5c99379 msi: Conformance test, check that INSTALLUILEVEL flags don't trigger UI install. 2007-02-13 17:45:20 +01:00
Mike McCormack 63e554994a msi: Store dll based custom actions in a separate list. 2007-02-12 14:12:41 +01:00
Mike McCormack 5927015726 msi: Simplify ACTION_FinishCustomActions. 2007-02-12 14:12:34 +01:00
Mike McCormack d0e12bdef7 msi: Split process_handle() into two separate functions. 2007-02-12 12:39:05 +01:00
Vitaly Lipatov c8bcbdb90d Some fixes in russian resources. 2007-02-09 11:48:28 +01:00
James Hawkins 5b8282120a msi: Don't skip files continued from a previous cabinet. 2007-02-08 13:01:40 +01:00
Mike McCormack 94edfde1d9 msi: Register the typelib. 2007-02-08 11:56:16 +01:00
Mike McCormack 3ca5f8bbf9 msi: Add a test for the version method. 2007-02-07 21:40:09 +01:00
Peter Oberndorfer 712e67723a msi: Clean up magic numbers. 2007-02-07 11:35:17 +01:00
Peter Oberndorfer c1b7a825ff msi: Honor attributes for combobox. 2007-02-07 11:35:09 +01:00
Peter Oberndorfer a5277fb53b msi: Honor msidbControlAttributesSorted attribute for list box. 2007-02-07 11:34:32 +01:00
Misha Koshelev d8b00a071d msi: Make sure to ignore UI level flags in dialog and files as well. 2007-02-07 11:03:39 +01:00
Peter Oberndorfer 91bf34f610 msi: Do not use a static variable to save the insertion position for the listview. 2007-02-06 20:36:33 +01:00
Peter Oberndorfer 9afb0f39a8 msi: Store value of the property with each listbox element.
This makes sure the property is set to the right value even when order in listbox is changed.
2007-02-06 20:36:12 +01:00
Peter Oberndorfer 69448afdc7 msi: Do not store property for each listbox element, as it is the same one for the whole listbox.
Remove struct msi_listbox_item as it only contains 1 element now.
2007-02-06 20:35:19 +01:00
Peter Oberndorfer 79d2f76b8e msi: Only insert entries into listbox if property value matches. 2007-02-06 20:35:03 +01:00
Mike McCormack 224ead8253 msi: Test the dispid for CreateRecord. 2007-02-06 13:20:29 +01:00
Mike McCormack 59736773d7 msi: Add the generated typelib to the resources. 2007-02-06 13:20:26 +01:00
Mike McCormack a16e5151da msi: Factor out code to calculate column offsets. 2007-02-06 13:20:17 +01:00
Mike McCormack 824b89987a msi: Add a test showing MsiGetProperty returns correct values. 2007-02-06 13:20:12 +01:00
Misha Koshelev ecd20e28ac msi: InstallPackage check for UI level must not disregard flags. 2007-02-06 13:19:55 +01:00
James Hawkins 30577c253a msi: Allow uncompressed files before compressed files in the same media. 2007-02-05 12:27:33 +01:00
Mike McCormack 702adb37a2 msi: Add a (mostly empty) typelib for the MsiServer interface. 2007-01-26 14:29:43 +01:00
Mike McCormack 595983f498 msi: Add todos around tests that aren't being run yet, but will fail. 2007-01-26 13:53:52 +01:00
Mike McCormack 7fe5166340 msi: Fix a typo. 2007-01-26 13:53:52 +01:00
Mike McCormack 8a38d3038c msi: Allocate a buffer in WCHARs not CHARs. 2007-01-26 12:55:50 +01:00
Mike McCormack 9c76a0b37a msi: Implement IDispatch->CreateInstance() for the msi server dll. 2007-01-25 12:00:07 +01:00
Mike McCormack c63d21bf8c msi: Implement IClassFactory->QueryInterface() for the msi server dll. 2007-01-25 12:00:04 +01:00
Mike McCormack d316c19741 msi: Add a test for the IMsiServer interface. 2007-01-25 11:59:59 +01:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Mike McCormack 208cdde0f5 msi: Register IMsiServer. 2007-01-18 11:59:20 +01:00
Mikołaj Zalewski c38c5fb2fc msi: Add Polish translation. 2007-01-15 12:42:42 +01:00
Andrew Talbot 020bda7ee2 msi: Declare some functions static. 2007-01-12 20:41:49 +01:00
Andrew Talbot e5938d6fbb msi: Remove unused variables. 2007-01-12 20:41:45 +01:00
Paul Vriens 4d0232e504 msi/tests: Remove test directory after the files have been deleted. 2007-01-01 17:04:32 +01:00
James Hawkins be59fb4e6d msi: Enable cab compression and delete any resulting cabs using SHFileOperation. 2006-12-19 12:38:48 +01:00
James Hawkins e1f76deedc msi: Run the install tests from a temporary directory. 2006-12-19 12:09:07 +01:00
James Hawkins fdfb10e02b msi: Update the text control when the selection path changes. 2006-12-18 12:01:18 +01:00
James Hawkins 6f3f2549c1 msi: Only cleanup event subscriptions of the dialog being closed. 2006-12-18 12:01:09 +01:00
Alexandre Julliard fadc820fe5 Revert "msi: Comparisons with null in conditions are special."
This reverts commit 9dce96b315.
2006-12-14 17:02:23 +01:00
Alexandre Julliard 598f2be54b msi: Fix the condition test to not assume MsiNetAssemblySupport is empty. 2006-12-14 17:01:35 +01:00
Andrew Talbot ebd6f7d1ce msi/tests: Cast-qual warning fix. 2006-12-12 12:11:01 +01:00
Marcus Meissner f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +01:00
Mike McCormack c8898f6bba msi: Add tests for comparison to empty strings. 2006-12-07 17:54:37 +01:00
Mike McCormack 9dce96b315 msi: Comparisons with null in conditions are special. 2006-12-07 17:54:32 +01:00
Mike McCormack 01cc2c3234 msi: More tests for the SourceDir property. 2006-12-06 11:40:59 +01:00
Mike McCormack 3578bf64d6 msi: Add some tests for the ALTER query. 2006-12-06 11:40:55 +01:00
James Hawkins 0b652fe8c6 msi: Initialize sid_str to NULL. 2006-12-05 16:49:48 +01:00
James Hawkins 00fa70dbc1 msi: Fail if stg is NULL. 2006-12-05 16:49:45 +01:00
Mike McCormack 97419aea80 msi: Examine the attributes of all features before setting a component's state. 2006-12-05 11:29:02 +01:00
Mike McCormack bccab7bb9d msi: Add the names of features/components to debugging output. 2006-12-05 11:28:45 +01:00
Francois Gouget c66628b73f Consistently use SUBLANG_NEUTRAL for Italian resources. 2006-12-05 11:28:38 +01:00
Mike McCormack 08d1398d97 msi: Double quotes are not valid in queries. 2006-12-04 12:41:08 +01:00
Mike McCormack ef1af6ada7 msi: Add tests for quoting in queries. 2006-12-04 12:40:59 +01:00
James Hawkins 58bb3571de msi: Add handling for the StartServices action. 2006-12-04 12:22:32 +01:00
James Hawkins 8ae81d0620 msi: Set the UserSID property. 2006-12-01 13:12:11 +01:00
James Hawkins a64945baea msi: Use mi->source if the source is not a full path. 2006-11-30 12:26:08 +01:00
James Hawkins d3bec32500 msi: Add handling for the InstallODBC action. 2006-11-29 14:08:14 +01:00
James Hawkins 7125d3073d msi: Don't fail if we can't remove an existing install file. 2006-11-29 14:06:49 +01:00
Dmitry Timoshkov 1cdf5cddac msi: Make some data const and static. 2006-11-29 12:44:10 +01:00
Mike McCormack a3a2eaea93 msi: Update the UI in one place only in ACTION_ProcessComponents. 2006-11-29 12:37:12 +01:00
Mike McCormack 1770c9125d msi: Advertise components of a feature that has the msidbFeatureAttributesFavorAdvertise property. 2006-11-29 12:37:07 +01:00
Dmitry Timoshkov d4877a32f1 msi: Synchronize msi exports with what PSDK has. 2006-11-29 12:36:22 +01:00
Mike McCormack 77b514fe24 msi: Use MSI_IterateRecords in ACTION_AppSearch. 2006-11-28 12:14:58 +01:00
Mike McCormack 63afb3f840 msi: Use MSI_QueryGetRecord in ACTION_AppSearchIni. 2006-11-28 12:14:53 +01:00
Mike McCormack a0d0453501 msi: Use MSI_QueryGetRecord in ACTION_AppSearchDr. 2006-11-28 12:14:46 +01:00
Mike McCormack 54ab47ef59 msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 2006-11-27 13:46:37 +01:00
Mike McCormack fa6bc9e50b msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 2006-11-27 13:46:32 +01:00
Mike McCormack a1c969ee23 msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSignature. 2006-11-27 13:46:09 +01:00
Mike McCormack 0670ebc67b msi: Use MSI_IterateRecords when cloning properties. 2006-11-27 13:46:06 +01:00
Francois Gouget 48af421a8b msi: Add a Portuguese translation (contributed by Americo Jose Melo). 2006-11-27 13:42:53 +01:00
Francois Gouget b5f104d05b Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX constant for languages that have multiple sublanguages. 2006-11-24 11:49:32 +01:00
Mike McCormack 4e25188a2a msi: Treat the SourceDir folder the same as TargetDir. 2006-11-22 11:43:09 +01:00
Mike McCormack 7eb270265f msi: Load all folders in one query, rather one per query. 2006-11-22 11:43:05 +01:00
Mike McCormack b1a16d978d msi: Only wait for custom actions that don't have msidbCustomActionTypeContinue specified. 2006-11-22 11:39:25 +01:00
Mike McCormack 2a95a8ae78 msi: Split process_action_return_value into two different functions. 2006-11-22 11:39:21 +01:00
Mike McCormack eb16fd5198 msi: Remove an unused parameter. 2006-11-22 11:39:16 +01:00
Mike McCormack 5b8fdad920 msi: Fix use of integer fields in MsiFormatRecord. 2006-11-21 12:16:05 +01:00
Mike McCormack 8f20756068 msi: Test MsiRecordGetString on an integer record fields with a NULL output buffer. 2006-11-21 12:15:59 +01:00
Mike McCormack 99129d20a6 msi: Add a test for formatting records with strings. 2006-11-21 12:15:55 +01:00
Mike McCormack ed663fe216 msi: Don't access the list of controls after the dialog is destroyed. 2006-11-21 12:14:44 +01:00
Mike McCormack 6a2fb05451 msi: Create a function to free control data. 2006-11-21 12:14:34 +01:00
Mike McCormack fbfc221a77 msi: Fix an access after freeing memory. 2006-11-21 12:14:31 +01:00
Mike McCormack b921118f14 msi: Split msi_set_sourcedir_props into a separate function. 2006-11-20 11:50:15 +01:00
Mike McCormack fc56423904 msi: Spelling fixes. 2006-11-20 11:50:15 +01:00
Mike McCormack 69c6fff384 msi: Add another test for the SourceDir property. 2006-11-20 11:50:15 +01:00
Mike McCormack ebf2733527 msi: Clean up parameters of msi_media_get_disk_info(). 2006-11-20 11:50:15 +01:00
Mike McCormack 18db60782f msi: Fix some memory leaks. 2006-11-20 11:50:15 +01:00
Mike McCormack 13078f180e msi: Don't leak row handles. 2006-11-20 11:50:15 +01:00
Mike McCormack eba742e5cd msi: Fix a memory leak in load_folder(). 2006-11-17 11:14:44 +01:00
Mike McCormack cf370a8d39 msi: Remove unnecessary includes. 2006-11-17 11:14:41 +01:00
Mike McCormack 6b38139e62 msi: Remove a level of indent in resolve_folder(). 2006-11-17 11:14:39 +01:00
Mike McCormack 4052b8be05 msi: Add a test showing the _Properties table is a bit strange. 2006-11-17 11:14:33 +01:00
Mike McCormack 2f2143b4ec msi: Add a test showing which tables are special. 2006-11-17 11:14:31 +01:00
Mike McCormack 5bffd28be7 msi: Remove some redundant else statements. 2006-11-17 11:14:27 +01:00
Mike McCormack eadf2f82be msi: Split MSI_CreatePackage into two functions. 2006-11-14 11:43:39 +01:00
Mike McCormack 032b1389b1 msi: Delete the tempfile created by GetTempFileName. 2006-11-14 11:43:34 +01:00
Mike McCormack 3c2e79e727 msi: Defer package deletion until after the database is closed. 2006-11-14 11:43:30 +01:00
Mike McCormack c88c0b453d msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 11:43:17 +01:00
Mike McCormack f241daef54 msi: Always delete temp files after creating them. 2006-11-14 11:43:10 +01:00
Mike McCormack 6914c4749e msi: Print a message if we fail to delete a file. 2006-11-14 11:43:05 +01:00
James Hawkins 31a9b087c1 msi: Notify the external UI handler when changing media. 2006-11-14 11:35:00 +01:00
Mike McCormack 4811743b36 msi: Only free a string in one place. 2006-11-13 13:02:26 +01:00
Mike McCormack 959c71846d msi: Fix error handling. 2006-11-13 13:02:22 +01:00
Mike McCormack 3ef703ad6c msi: Track temp files as soon as they are created. 2006-11-13 13:02:15 +01:00
Mike McCormack 1767989bd1 msi: Fail if we can't write out a temporary file. 2006-11-13 13:02:12 +01:00
Mike McCormack 2a46821b82 msi: Fix an uninitialized variable in the test cases. 2006-11-13 13:02:03 +01:00
Mike McCormack 0b7a17d282 msi: Clean upstore_binary_to_temp. 2006-11-13 13:02:00 +01:00
Francois Gouget 1ccf944900 Assorted spelling fixes. 2006-11-13 13:01:53 +01:00
Francois Gouget 6a385ae273 msi: assert.h is not a local header (spotted by winapi_check). 2006-11-13 12:59:14 +01:00
Paul Vriens ded9943b5b msi: Fix typo's (Coverity). 2006-11-13 12:58:46 +01:00
James Hawkins 5cc4a8915f msi: Fix a heap corruption bug by resizing the src string before adding to it. 2006-11-13 12:46:25 +01:00
Mike McCormack 3fe6a5d01e msi: Only log the Action, as it's the same as ActionRequest. 2006-11-10 11:35:38 +01:00
Mike McCormack 87fa854dcf msi: Check whether the component is enabled first. 2006-11-10 11:35:33 +01:00
Mike McCormack ad80eceb5f msi: Component attributes are bitmasks. 2006-11-10 11:35:28 +01:00
Eric Pouech f2ee10aed7 msi: Fixed bogus A -> W conversion. 2006-11-09 16:20:30 +01:00
Eric Pouech 8f2b479461 msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 12:24:24 +01:00
James Hawkins fa8fc1628a msi: Add support for continuous cabinets. 2006-11-09 10:36:21 +01:00
James Hawkins 6d537a311f msi: Extract cabinets in ACTION_InstallFiles. ready_media is for finding and loading medi. 2006-11-09 10:36:11 +01:00
James Hawkins d21e1cc05b msi: Move the file sequence check out of ready_media_info to avoid an unnecessary function call. 2006-11-09 10:35:59 +01:00
James Hawkins 6ef6512938 msi: Factor out load_media_info from ready_media_for_file. 2006-11-09 10:35:49 +01:00
James Hawkins a621c2a661 msi: Use disk_prompt from the media_info structure instead of passing an extra parameter to msi_change_media. 2006-11-09 10:35:38 +01:00
James Hawkins 9d899129bf msi: Only add text to the scroll control if text is provided. 2006-11-09 10:35:07 +01:00
Stefan Leichter 723abff804 msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 15:51:56 +01:00
James Hawkins 1ae4ab6ef7 msi: Factor out download_remote_cabinet and reuse extract_cabinet_file to extract a remote cabinet. 2006-11-08 13:00:34 +01:00
James Hawkins ae18c2dc7f msi: Store the base URL of the MSI package if it is downloaded. 2006-11-08 13:00:15 +01:00
James Hawkins 542101fcda msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 12:59:54 +01:00
James Hawkins a13bbaf736 msi: Factor schedule_install_files out of ACTION_InstallFiles. 2006-11-08 12:57:54 +01:00
James Hawkins de3b84df09 msi: Model the media_info structure members after the columns in the media table. 2006-11-08 12:56:47 +01:00
James Hawkins 842ffc3545 msi: Use msi_alloc_zero instead of a helper function that sets everything to zero. 2006-11-08 12:55:05 +01:00
James Hawkins 988509e1af msi: Use the file's component instead of passing an extra parameter to set_file_source. 2006-11-08 12:54:16 +01:00
James Hawkins b81f1ce561 msi: Use the media_info structure instead of passing in individual values to extract_cabinet_file. 2006-11-08 12:54:08 +01:00
James Hawkins 84f34ec210 msi: Add more tests for installing from cabinets. 2006-11-08 12:53:29 +01:00
Mike McCormack 063c42cfa6 msi: Fix a memory leak. 2006-11-08 11:26:16 +01:00
Francois Gouget 30e44c85c8 Assorted spelling fixes. 2006-11-07 15:25:24 +01:00
Mike McCormack 9efb7b71ba msi: By default, install components locally. 2006-11-07 15:07:01 +01:00
Mike McCormack 50e5caeb6c msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 15:06:57 +01:00
Mike McCormack 2b943bfddc msi: Fix regression tests failing on Windows. 2006-11-07 15:06:49 +01:00
Mike McCormack c5c5521015 msi: Split ACTION_CostFinalize into two functions. 2006-11-07 15:06:40 +01:00
Alexandre Julliard 36c4ec8f33 msi: Fixed definition of the MSIITERHANDLE type. 2006-11-06 13:02:47 +01:00
Mike McCormack f86cfd4088 msi: Avoid a memory leak by freeing actions scripts in one place only. 2006-11-02 12:25:07 +01:00
Mike McCormack f5dddd557f msi: Fix a memory leak. 2006-11-02 12:25:03 +01:00
Mike McCormack aaa0dc0425 msi: Fix a handle leak in the tests. 2006-11-02 12:25:00 +01:00
Mike McCormack 14dda0f74f msi: Fix a typo. 2006-11-01 13:38:23 +01:00
Mike McCormack 3f2cedd41f msi: Don't print traces for addref and release. 2006-11-01 13:38:20 +01:00
Mike McCormack 9a4ba8c114 msi: Search the patch package for source cabinet files. 2006-11-01 13:38:09 +01:00
Mike McCormack d65e80c85e msi: Add a test showing a join doesn't need a WHERE clause. 2006-10-31 11:57:46 +01:00
Mike McCormack c6124db905 msi: Use a simpler algorithm for joins. 2006-10-31 11:57:40 +01:00
Mike McCormack 8fc5fbe7ab msi: Test the data returned by join queries in one ok(). 2006-10-31 11:57:23 +01:00
Mike McCormack 2b2953c6e7 msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 11:57:21 +01:00
Mike McCormack 9e21dd57ae msi: Fix a trace. 2006-10-31 11:56:51 +01:00
Mike McCormack 57443e0112 msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 11:56:49 +01:00
Mike McCormack ddf0b593bb msi: Mark components with missing or outdated files as incomplete. 2006-10-31 11:46:57 +01:00
Mike McCormack b76691537f msi: Split ACTION_UpdateInstallStates into two separate functions. 2006-10-30 11:20:06 +01:00
James Hawkins 62dc9ca691 msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 12:09:28 +02:00
James Hawkins 005c0a792e msi: Test the order in which cab files are handled in the Media table. 2006-10-27 12:09:09 +02:00
James Hawkins c6bfbde849 msi: Implement handling for the ErrorDialog and use it to change media. 2006-10-27 12:08:46 +02:00
Mike McCormack b851d46552 msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 12:01:40 +02:00
Mike McCormack 9375fd9fd3 msi: Remove redundant null checks before MSI_EvaluateCondition. 2006-10-27 12:01:37 +02:00
Mike McCormack 1582f58036 msi: Fix the join algorithm. 2006-10-26 12:56:10 +02:00
Mike McCormack 6c95dc644c msi: Allow UPDATE queries without a condition. 2006-10-26 12:56:10 +02:00
Mike McCormack 15bfb30fc3 msi: Update tables using records, not integer by integer. 2006-10-26 12:56:10 +02:00
Mike McCormack 9b95c27c9c msi: Remove some unused functions. 2006-10-26 12:56:09 +02:00
Mike McCormack 4a32845a56 msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 12:56:09 +02:00
Mike McCormack 575cc67d0f msi: Use msi_feature_set_state and msi_component_set_state where possible. 2006-10-26 12:56:09 +02:00
Mike McCormack 6395ff6a5c msi: Create macro functions to set feature and component states. 2006-10-26 12:56:09 +02:00
James Hawkins 62aedea856 msi: Add tests for the UPDATE sql command. 2006-10-26 12:56:09 +02:00
Alexandre Julliard 33b346613e msi: Properly handle negative coordinates for mouse events. 2006-10-25 17:42:04 +02:00
Mikołaj Zalewski 58bd35c8c5 resources: Change Dutch sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 17:45:51 +02:00
Mikołaj Zalewski e32aa55703 resources: Change German sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 11:45:12 +02:00
Mike McCormack d1723de566 msi: Split code to get a file's verion into a separate comment. 2006-10-24 11:45:01 +02:00
James Hawkins 1f3f88bf67 msi: Add tests for installing from continuous cabinets. 2006-10-24 11:44:13 +02:00
James Hawkins 3fc13d4b05 msi: Allow more customization of install test files. 2006-10-24 11:44:03 +02:00
James Hawkins a3a3d6c254 msi: Remove unused function pointer and definitions. 2006-10-24 11:43:56 +02:00
James Hawkins a93763ae21 msi: Remove two unnecessary install tables. 2006-10-24 11:43:42 +02:00
James Hawkins 5b19cc79bd msi: Add support for localizable strings in MsiDatabaseImport. 2006-10-24 11:43:33 +02:00
Francois Gouget a990951358 msi/tests: Fix compilation with gcc 2.95. 2006-10-23 15:19:29 +02:00
Mike McCormack f6c7ae6a0c msi: Fix insertion of null integers into a table. 2006-10-23 12:38:56 +02:00
Mike McCormack 8858011375 msi: Add the column type INTEGER as an alias for INT. 2006-10-23 12:38:51 +02:00
Mike McCormack 0d7dc8f98d msi: Only apply transforms that are valid for a database. 2006-10-23 12:37:40 +02:00
Mike McCormack 7f98f1d086 msi: Initialize the summary information from a storage interface, not a db. 2006-10-23 12:37:32 +02:00
Byeong-Sik Jeon e1fd734c97 Korean: Use SUBLANG_NEUTRAL in Korean resources. 2006-10-20 13:49:39 +02:00
James Hawkins fcd57a3fc4 msi: Add tests for integer column types. 2006-10-20 11:41:09 +02:00
James Hawkins 279f8158f8 msi: Integer columns can have the 'NOT NULL' modifier too. 2006-10-20 11:41:09 +02:00
James Hawkins a66584e1a2 msi: Allow more than one primary key in a table when importing a database. 2006-10-20 11:41:09 +02:00
James Hawkins 929395c0f0 msi: Only initialize a component's state if it is linked with a feature. 2006-10-20 11:41:09 +02:00
James Hawkins 7330a03200 msi: Use the ProgramFileDir reg value instead of ProgramFilesPath. 2006-10-20 11:41:09 +02:00
James Hawkins 9bc12ade13 msi: Implement the InstallServices action. 2006-10-20 11:41:09 +02:00
Mike McCormack c2b4629228 msi: Fix an uninitialized variable causing random conformance test failures. 2006-10-20 10:20:37 +02:00
James Hawkins d6632dd0fb msi: Add tests for the InstallServices action. 2006-10-19 14:01:02 +02:00
Mike McCormack 8ecd34b971 msi: Allow rows in the _Columns table to be unordered. 2006-10-19 13:38:16 +02:00
Mike McCormack f2c207fa03 msi: Reset the column number for each new table in a transform. 2006-10-19 13:38:09 +02:00
James Hawkins 08831b4a1e msi: Set the USERNAME and COMPANYNAME properties when initializing a package. 2006-10-19 13:34:42 +02:00
James Hawkins 8321276cd3 msi: Run SetProperty events before all other events no matter what the order is. 2006-10-19 13:34:17 +02:00
Alexandre Julliard 11894cc77e msi/tests: Make sure to delete the test data file. 2006-10-18 11:51:05 +02:00
Mike McCormack 98a42ad575 msi: Fix tables with binary data where the key is an integer. 2006-10-17 11:17:43 +02:00
Mike McCormack 1f737c035e msi: Stream fields shouldn't be treated as strings. 2006-10-17 11:17:34 +02:00
Mike McCormack 4047cc7009 msi: Fix a memory leak. 2006-10-17 11:17:31 +02:00
Mike McCormack fbddd9060f msi: Add a test for modifying a table containing binary data. 2006-10-17 11:16:45 +02:00
Mike McCormack 194722d3a3 msi: Add a test for summary information. 2006-10-17 11:16:24 +02:00
James Hawkins 9119b700ed msi: Revert "msi: Perform button control events in greatest to least order." 2006-10-17 11:16:11 +02:00
Francois Gouget 0b20150531 msi: Remove spaces before '\n's. 2006-10-16 11:31:03 +02:00
James Hawkins 3797e6cada msi: Also set the SOURCEDIR property in MSI_InstallPackage. 2006-10-14 20:21:17 +02:00
Francois Gouget 58162f87fd Assorted spelling fixes. 2006-10-13 11:55:04 +02:00
Mike McCormack 9187951ac7 msi: Handle the sign properly when converting integer data. 2006-10-12 14:58:39 +02:00
Mike McCormack 1b256f2c6e msi: Improve error checking when applying transform data. 2006-10-12 14:58:33 +02:00
José Manuel Ferrer Ortiz 30f30e5e46 msi: Updated Spanish translation. 2006-10-12 11:36:58 +02:00
Mike McCormack 60ea01a4f2 msi: Test transforms removing a row in a table. 2006-10-12 11:32:36 +02:00
Mike McCormack 8f56ae8b3a msi: Tests for transforms modifying rows in a table. 2006-10-12 11:32:27 +02:00
Mike McCormack 5742b332fe msi: An empty string table entry should always have a zero refcount. 2006-10-12 11:32:21 +02:00
James Hawkins c507543554 msi: Set the SourceDir and SOURCEDIR properties in the ResolveSource action. 2006-10-11 12:09:54 +02:00
James Hawkins 58870ce841 msi: Clean up after the package tests. 2006-10-11 12:09:43 +02:00
Mike McCormack eb18bd9403 msi: Check transforms have the correct storage guid. 2006-10-11 12:09:36 +02:00
Mike McCormack ee55546d34 msi: Check that transforms return the correct data. 2006-10-11 12:09:32 +02:00
Mike McCormack 80affb3c2d msi: Merge action.h into msipriv.h. 2006-10-10 16:12:12 +02:00
Mike McCormack 175c407bfc msi: Make msi_makestring static. 2006-10-10 16:11:42 +02:00
Michael Ploujnikov e86296a47f msi/tests: Win64 printf format warning fixes. 2006-10-10 13:36:49 +02:00
Mike McCormack 2d48706d74 msi: Fix a memory leak. 2006-10-10 12:56:05 +02:00
Mike McCormack 47949afc35 msi: Avoid an unnecessary strdup. 2006-10-10 12:56:01 +02:00
Mike McCormack 07c85fe895 msi: Avoid reading the transform table data twice. 2006-10-10 12:55:57 +02:00
Mike McCormack e9c5e93fda msi: Fix handle leaks in the test cases. 2006-10-10 12:10:18 +02:00
Mike McCormack 73c7bcb6e5 msi: Fix memory leaks and bad frees. 2006-10-10 12:10:07 +02:00
James Hawkins 915898fbb7 msi: NULL-terminate dst on error. 2006-10-10 11:57:52 +02:00
James Hawkins 42b05ea311 msi: Add missing sizeof(WCHAR) multiplier. 2006-10-10 11:57:32 +02:00
James Hawkins 563a50ab35 msi: Make internal functions static. 2006-10-09 14:40:08 +02:00
James Hawkins f721a24a13 msi: Perform button control events in greatest to least order. 2006-10-09 14:40:00 +02:00
Paul Vriens feb7990b49 msi: Make tests run on Win98 again. 2006-10-09 12:53:59 +02:00
James Hawkins 9024a88dd9 msi: Make msi_dialog_dup_property return a copy of the property if the property is empty. 2006-10-06 15:20:52 +02:00
Mike McCormack 4d41a2b9ee msi: Fix transform traces. 2006-10-06 12:54:30 +02:00
Mike McCormack 92cc0bc0c2 msi: Work around what appears to be a bug in native MSI's generation of transform data. 2006-10-06 12:54:21 +02:00
Mike McCormack f53ba3ca58 msi: Transform the _Columns and _Tables tables first so the table metadata is present for new tables. 2006-10-06 12:54:13 +02:00
Mike McCormack 2c626c9d81 msi: Handle null integers properly in transforms. 2006-10-06 12:53:58 +02:00
Mike McCormack 59edd7d8a8 msi: Only ignore the StringPool and StringData in a transform. 2006-10-05 11:33:07 +02:00
Mike McCormack 2af5ed571a msi: Only declare the szStringData and szStringPool strings once. 2006-10-05 11:33:00 +02:00
Mike McCormack 8d7bbd1809 msi: Remove an unused variable. 2006-10-05 11:32:51 +02:00
Mike McCormack f1d4646a49 msi: Win64 printf format warning fixes. 2006-10-05 11:32:32 +02:00
Mike McCormack 2e19d49538 msi: Check that transforms preserve tables. 2006-10-05 11:32:27 +02:00
James Hawkins f16ddf1b32 msi: Only apply the last font style in the list of styles. 2006-10-04 11:14:21 +02:00
James Hawkins 971ab9aa47 msi: Handle the SelectionBrowse event using ControlEvent_SpawnDialog. 2006-10-04 11:13:28 +02:00
James Hawkins 5ea2cd44c1 msi: Subscribe the SelectionTree control to the SelectionPath event. 2006-10-04 11:13:22 +02:00
James Hawkins 908e27d6fc msi: Store the selected item in the SelectionTree control. 2006-10-04 11:13:12 +02:00
James Hawkins 846fdd1550 msi: Publish the SelectionDescription and SelectionPath events when the selection changes in the SelectionTree control. 2006-10-04 11:13:01 +02:00
James Hawkins de0efba366 msi: Properly initialize the SelectionTree control's attributes and property values. 2006-10-04 11:12:44 +02:00
James Hawkins aea0dcc86d msi: Publish the SelectionPath event in the SetTargetPath event. 2006-10-04 11:12:32 +02:00
James Hawkins 2a8c38ff74 msi: Provide a specific dialog to ControlEvent_SubscribeToEvent, as package->dialog does not always point to the same dialog. 2006-10-04 11:12:22 +02:00
James Hawkins 7ee3a4efdf msi: Select the first item in the SelectionTree control. 2006-10-04 11:12:11 +02:00
James Hawkins 0fe1b36716 msi: Empty the window text if no text is provided. 2006-10-04 11:11:59 +02:00
James Hawkins e3496be256 msi: Assign the property to path if the property is empty. 2006-10-04 11:11:49 +02:00
James Hawkins 038d31ca93 msi: Don't ERR if a dialog doesn't provide control conditions, as they are not required. 2006-10-04 11:11:36 +02:00
James Hawkins 1bfc50eb74 msi: Add missing '\n' to TRACE output. 2006-10-04 11:11:20 +02:00
James Hawkins 6be7ba7546 msi: Implement MsiDatabaseImport. 2006-10-03 20:18:38 +02:00
Juan Lang 4b99bf02c0 msi: Implement msidbLocatorTypeFileName in RegLocator searches. 2006-10-03 11:16:16 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
James Hawkins 3d812659e8 msi: Return to the parent dialog when the argument to the EndDialog event is Return. 2006-09-29 15:00:13 +02:00
James Hawkins cabc7ee1ae msi: Follow state resolution rules when a feature parent saves a component. 2006-09-28 13:20:31 +02:00
James Hawkins d83aa64c57 msi: A feature state of INSTALLSTATE_ABSENT translates into a component state of INSTALLSTATE_UNKNOWN. 2006-09-28 12:55:45 +02:00
James Hawkins bbd4d1e3ef msi: If the feature linked to a component has a state of INSTALLSTATE_UNKNOWN, the component's state should match. 2006-09-26 21:56:05 +02:00
James Hawkins ad609f1518 msi: Only specifically resolve the TARGETDIR directory once. 2006-09-26 21:55:57 +02:00
James Hawkins 3ee3fc35ef msi: Add tests for setting the target path of TARGETDIR (based on a patch by Andrey Turkin). 2006-09-26 21:54:05 +02:00
James Hawkins da14a4a25e msi: Store the full path to the database file in the MSIDATABASE structure. 2006-09-26 21:50:36 +02:00
Mikołaj Zalewski 3380a7d955 resources: Mark common resources as LANG_NEUTRAL, SUBLANG_NEUTRAL. 2006-09-25 18:31:55 +02:00
Marcus Meissner 966c5b6c0b msi: Support more dialog groups. 2006-09-25 17:56:50 +02:00
James Hawkins 545d0e70cf msi: Disable child features of parent features that are unselected because of the install level. 2006-09-21 13:03:32 +02:00
James Hawkins 703d77dc58 msi: Translate the INSTALLSTATE_UNKNOWN index into the INSTALLSTATE_ABSENT image index. 2006-09-21 13:03:27 +02:00
James Hawkins 32f570222b msi: Don't check a component's install state if a component ID is not provided. 2006-09-21 13:02:00 +02:00
James Hawkins 6ac0f3ed29 msi: Fix the results of a few tests to match Windows. 2006-09-21 13:01:43 +02:00
James Hawkins d893cb7d1e msi: Load the component states in CostFinalize instead of CostInitialize. 2006-09-21 13:01:33 +02:00
James Hawkins ca5c11009d msi: Initialize all features' action states to INSTALLSTATE_UNKNOWN. 2006-09-21 13:01:18 +02:00
James Hawkins 937b9b2bbc msi: Only override a feature whose action state is INSTALLSTATE_SOURCE. 2006-09-21 13:01:10 +02:00
Benjamin Arai 4195697cc1 msi: Adds test to check "JOIN" operator with "*" operator for the SELECT clause returns the correct results. 2006-09-21 11:26:13 +02:00
Benjamin Arai a35ff56580 msi: Adds test to check if basic "JOIN" operator without "WHERE" clause returns the correct results. 2006-09-21 11:26:05 +02:00
Benjamin Arai f84c1463c1 msi: Adds test to check if "AND" operator returns the correct result for the "WHERE" clause. 2006-09-20 20:04:21 +02:00
Benjamin Arai 32d002c7ed msi: Adds tests to check if joins return the correct number of rows. 2006-09-20 20:04:01 +02:00
Benjamin Arai d4c6b06ed7 msi: Updates tests for joins to include row and column ids in message. 2006-09-20 20:03:54 +02:00
Andrew Talbot 2e372c08b5 msi: Cast-qual warnings fix. 2006-09-20 20:02:48 +02:00
James Hawkins 7a97b3ed84 msi: Use ACTION_UpdateComponentStates in the selection tree so we don't have to duplicate the component changing logic. 2006-09-20 12:24:54 +02:00
James Hawkins 6518f3d7f2 msi: INSTALLSTATE_SOURCE also overrides a parent feature state change to INSTALLSTATE_ABSENT. 2006-09-20 12:24:45 +02:00
James Hawkins a4c6ca2b65 msi: Add tests for components with multiple parent features. 2006-09-20 12:24:35 +02:00
James Hawkins 32c0a764ee msi: Add the total and free disk space to the VolumeCostList control. 2006-09-20 12:24:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Mike McCormack 60d92d42a3 msi: Fix a couple of test cases for MsiDatabaseIsTablePersistent. 2006-09-13 12:19:54 +02:00
Mike McCormack 61c1dd2b32 msi: Add a test for ALTER TABLE. 2006-09-13 11:44:06 +02:00
Mike McCormack b4005c15f0 msi: Fix database creation. 2006-09-13 11:43:11 +02:00
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