Commit Graph

1389 Commits

Author SHA1 Message Date
Misha Koshelev
d49b251db9 msi/tests: automation: Integrate test_createrecord_and_version properly. 2007-05-04 13:40:12 +02:00
Misha Koshelev
357f3db286 msi/tests: automation: Convert method names to Unicode on the fly to simplify adding new tests. 2007-05-04 13:40:02 +02:00
Misha Koshelev
1752f36413 msi/tests: automation: Free memory after string conversion. 2007-05-04 13:39:32 +02:00
Alexandre Julliard
69a88a9d40 Fix minor differences in the formatting of the license notices. 2007-05-04 12:08:15 +02:00
Misha Koshelev
eee455c24a msi: Add JScript/VBScript support. 2007-05-01 18:34:17 +02:00
Misha Koshelev
d70c9e7690 msi: Added handlers for JScript/VBScript actions that call one script function. 2007-05-01 18:25:34 +02:00
Misha Koshelev
f217cacbc2 msi: automation: Expose Installer object. 2007-05-01 18:05:26 +02:00
Misha Koshelev
8026c070bc msi: automation: Implement Installer::OpenPackage. 2007-05-01 18:05:25 +02:00
Misha Koshelev
e4d211a5e9 msi: automation: Implement a few functions from the Session object. 2007-05-01 18:05:25 +02:00
Misha Koshelev
df6d7977c8 msi: automation: Implement Database::OpenView. 2007-05-01 18:05:25 +02:00
Misha Koshelev
deabb2978e msi: automation: Implement View::Execute, Fetch, and Close. 2007-05-01 18:05:25 +02:00
Misha Koshelev
ced0a775a4 msi: automation: Implement Record::StringData. 2007-05-01 18:05:25 +02:00
James Hawkins
1104dc088d msi: Run the costing actions for both the UI and execute sequences. 2007-05-01 13:54:10 +02:00
James Hawkins
baad888766 msi: Reset the folder's resolved target before setting the target in CostFinalize. 2007-05-01 13:53:25 +02:00
James Hawkins
d8586e164f msi: Add tests that show that costing is run in both the UI and Execute sequences. 2007-05-01 13:53:13 +02:00
Misha Koshelev
bb55acb577 msi: Expand IDL file to contain some OLE automation interface functions. 2007-05-01 11:58:45 +02:00
Misha Koshelev
26c16313d9 msi: Add base class for OLE automation objects. 2007-05-01 11:58:04 +02:00
Misha Koshelev
d1c4588625 msi: Merge OLE automation conformance tests. 2007-05-01 11:49:29 +02:00
Misha Koshelev
49bb20cf35 msi: Add OLE automation conformance test. 2007-04-30 13:57:50 +02:00
Francois Gouget
4017334ed4 msi/tests: Add missing '\n' to ok() call. 2007-04-30 12:34:58 +02:00
Marcus Meissner
ff40f3d2d3 msi: Do not mark the tables const. 2007-04-27 11:13:40 +02:00
Hans Leidekker
9eefc04f6b msi: Add a stub implementation for MsiEnumProductsEx{A, W}. 2007-04-26 14:24:18 +02:00
James Hawkins
da55285acb msi: Implement special handling for the _Streams table. 2007-04-25 12:44:37 +02:00
Rob Shearman
220f93db61 msi: Fix an off-by-one error when calculating the path and filename for the action data in the SelfRegModules action.
The backslash is in p[0], not p[1].
2007-04-25 11:49:34 +02:00
Rob Shearman
22cd120d5d msi: Create the _Property table as a temporary table so that the properties aren't saved to the .msi file. 2007-04-25 11:49:29 +02:00
Rob Shearman
3323303e09 msi: Set rec to NULL after calling msiobj_release on it in msi_create_table so that we don't call msiobj_release on it again. 2007-04-25 11:49:26 +02:00
Rob Shearman
e474304160 msi: Add a non-persistent string instead of a persistent one if the table or row is non-persistent. 2007-04-24 12:25:41 +02:00
Rob Shearman
697d820eee msi: All columns being temporary means the table is non-persistent.
The HOLD keyword just means that the non-persistent data in the table 
should be kept around, not that the table is temporary.
2007-04-24 12:25:36 +02:00
Rob Shearman
44f7cb8858 msi: Add a persistent flag to tables.
Implement MSI_DatabaseIsTablePersistent.
2007-04-24 12:25:25 +02:00
Rob Shearman
a33cc3d859 msi: Don't add info to the _Columns table for non-persistent tables. 2007-04-24 12:24:59 +02:00
Rob Shearman
23379b3b5c msi: Add support for adding temporary/non-persistent data to tables. 2007-04-24 12:24:48 +02:00
Rob Shearman
d8cd46ac47 msi: The HOLD keyword implies a temporary table, whereas database importing should lead to permanent tables, so remove the HOLD keyword. 2007-04-24 12:23:13 +02:00
Rob Shearman
338568886c msi: Create the table directly in create_table instead of requiring it to be loaded after saving. 2007-04-24 12:23:02 +02:00
Rob Shearman
ba0507a178 msi: Move table creation to table.c. 2007-04-24 12:22:48 +02:00
Rob Shearman
3aa9a25cb3 msi: Store the column info in the MSITABLE structure.
Load the data on view creation for simplicity instead of view execution.
2007-04-24 12:22:14 +02:00
Rob Shearman
94d48238ff msi: Remove the hash table for a column when one of its values is modified since it will now be invalid. 2007-04-24 12:21:40 +02:00
Rob Shearman
e261d602fb msi: Cleanup unneeded string table functions.
Make string table functions that aren't used outside of string.c static.
2007-04-24 12:21:33 +02:00
Rob Shearman
37b11baaa3 msi: Move string loading and saving to string.c. 2007-04-24 12:20:19 +02:00
Rob Shearman
2e3289ca6c msi: Add support for non-persistent strings.
Store the loaded refcount in the string table.
2007-04-24 12:18:04 +02:00
James Hawkins
7d3162e6be msi: Abstract MSI_RecordSetStream. 2007-04-23 16:18:13 +02:00
James Hawkins
2b4bf44b79 msi: Add an internal MSI_ViewModify. 2007-04-23 16:18:03 +02:00
Hans Leidekker
1d19c2b72f msi: Install data sources in the InstallODBC custom action. 2007-04-23 14:07:18 +02:00
Hans Leidekker
33c025b7f2 msi: Install translators in the InstallODBC custom action. 2007-04-23 14:06:47 +02:00
James Hawkins
b4bb6e5b5d msi: Add the _Property table back, with tests. 2007-04-23 14:03:51 +02:00
James Hawkins
d677bd7f3b msi: Return MSICONDITION_NONE in MsiDatabaseIsTablePersistent if the table doesn't exist. 2007-04-23 14:00:24 +02:00
Alban Browaeys
7aa3917823 msi: Move msi_free(msiFilePath) to enable ERR message to use it before it is freed. 2007-04-16 13:20:43 +02:00
James Hawkins
98eafa870c msi: Add handling for the concurrent install custom action. 2007-04-16 12:11:08 +02:00
James Hawkins
6da8041d47 msi: Run the InstallExecute sequence if the InstallUISequnce table is empty. 2007-04-16 12:10:03 +02:00
James Hawkins
06df9f790d msi: Generalize the msi_custom_action_info struct so other custom actions can use it. 2007-04-16 12:09:14 +02:00
James Hawkins
4cc48b7710 msi: Add tests for the concurrent installation custom action. 2007-04-16 12:08:52 +02:00
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