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
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