Commit Graph

521 Commits

Author SHA1 Message Date
Mike McCormack ca2c8c867f Eliminate yet more fixed length buffers. 2005-09-12 15:28:00 +00:00
Alexandre Julliard b597f99960 Fixed memory leak introduced in previous change. 2005-09-12 14:14:50 +00:00
Mike McCormack efcc1ec5e4 Fix more fixed length buffers. 2005-09-12 12:07:15 +00:00
Alexandre Julliard 92a5149540 Avoid non-portable va_list manipulations. 2005-09-12 11:13:05 +00:00
Mike McCormack cbb5709a04 Make sure not to access invalid components or features. 2005-09-12 11:08:20 +00:00
Mike McCormack a9a3bc7b14 Fix an uninitialized variable problem. 2005-09-12 10:11:23 +00:00
Mike McCormack 1f09af3004 Move a fixed size buffer to the heap. 2005-09-09 14:49:08 +00:00
Mike McCormack f11c8b0098 Reduce the indent level of a function. 2005-09-09 14:48:51 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Mike McCormack 5c1212261f Allocate memory rather than using fixed length buffers. 2005-09-08 12:42:31 +00:00
Mike McCormack 0232c5c45f Convert RunningActions array into a list. 2005-09-08 12:42:07 +00:00
Mike McCormack b3b5ab8977 Improve a fixme message a little. 2005-09-08 11:04:03 +00:00
Mike McCormack 6db7f82539 - fix a bug introduced by the progid list conversion
- make a fixme a little less alarmist
2005-09-08 11:03:55 +00:00
Mike McCormack 41a04cc0de Fix memory leaks. 2005-09-08 11:03:45 +00:00
Mike McCormack 72faac0d2f Remove an unnecessary level of indent. 2005-09-08 11:03:35 +00:00
Mike McCormack 9cbe09be06 Fix memory leaks in custom actions. 2005-09-08 11:03:18 +00:00
Aric Stewart c774bb026d Implement MsiReinstallFeature. 2005-09-07 13:26:06 +00:00
Mike McCormack c50ef541e8 Keep temporary files in a seperate list. 2005-09-07 11:25:18 +00:00
Mike McCormack fec220d321 Don't include the terminating nul in the length in
MsiSummaryInfoGetPropertyW.
2005-09-07 09:24:14 +00:00
Mike McCormack 114d399666 - add test for MsiGetSourcePath
- don't specify drive for package path
2005-09-07 09:23:58 +00:00
Aric Stewart 685aa44b2d Be sure to null terminate the string in MsiGetProductInfoA after the
W->A conversion using MsiGetProductInfoW if there is space.
2005-09-06 14:04:25 +00:00
Alexandre Julliard 14a6d89905 Authors: Mike McCormack <mike@codeweavers.com>, Aric Stewart <aric@codeweavers.com>
Test creating a package.
2005-09-06 11:39:15 +00:00
Mike McCormack 298cdaead1 Avoid fixed length buffers for conditions. 2005-09-06 11:39:01 +00:00
Mike McCormack 68680e9c0c Fixes for MsiGetSourcePath parameter handling. 2005-09-06 11:05:35 +00:00
Aric Stewart d3d5ad6b7a Added stub implementations for MsiEnumPatchesA/W. 2005-09-06 11:05:24 +00:00
Mike McCormack 1228ce2684 Remove an unnecessary level of indent. 2005-09-06 10:23:34 +00:00
Mike McCormack 0867e48d5f - fix MsiSummaryInfoGetProperty to return ERROR_MORE_DATA if the
buffer is too small (based on a patch by Aric Stewart)
- add a test case to show correct behaviour
2005-09-06 10:23:12 +00:00
Mike McCormack 1ceb25ba7b Convert progids to a standard list. 2005-09-06 09:26:18 +00:00
Aric Stewart 27eb7adb92 Add the GUID for Patch files so that they can be opened as well. Looks
like the database structure is pretty much the same.
2005-09-06 09:24:48 +00:00
Mike McCormack 54a2891d33 Make some fixme messages less alarmist. 2005-09-06 09:23:18 +00:00
Saulius Krasuckas a9476d4edf Older platforms choke on a NULL as the third parameter to
MsiViewGetError.
2005-09-06 09:21:08 +00:00
Mike McCormack 4d7b593bd3 - convert verbs into a standard list
- remove limitation of 100 verbs
- use pointers to verbs rather than indexes
2005-09-02 14:39:13 +00:00
Mike McCormack dacea64643 Add objects to lists at the right time. 2005-09-02 11:21:22 +00:00
Mike McCormack 8a8c561cfa - the combination of all table keys must be unique, not each key
- MsiViewExecute may not be called before MsiModifyView
2005-08-29 10:16:12 +00:00
Mike McCormack 0c49c1c41d - build a standard Wine list of extensions instead of using an array
- use extension pointers instead of array indexes
2005-08-29 09:38:39 +00:00
Mike McCormack e18952a921 Add the allocated mime type to the mime type list. 2005-08-27 10:01:03 +00:00
Mike McCormack 9e558d7449 - build a standard Wine list of mime types instead of using an array
- use mime type pointers instead of array indexes
2005-08-26 08:47:31 +00:00
Mike McCormack 8aa1a919bf Make sure to save the result calculated in ACTION_UpdateInstallStates. 2005-08-25 19:19:10 +00:00
Aric Stewart 50a9b78253 The file name used in the ui messages is the target name not the
source name.
2005-08-25 15:20:34 +00:00
Mike McCormack a391a98a9d - build a standard Wine list of classes instead of using an array
- use class pointers instead of array indexes
2005-08-25 10:22:32 +00:00
Mike McCormack 1256a0c323 Don't dereference variables in a trace. 2005-08-25 09:51:03 +00:00
Mike McCormack 876982df8f Fix a small bug introduced when converting appids to a list. 2005-08-25 09:50:19 +00:00
Aric Stewart 43ec0a4d06 Display the correct text string in the action text field for the
dialog boxes. Also the string should be deformatted.
2005-08-25 09:50:08 +00:00
Johan Dahlin b5c02815d0 Implemented MsiSetComponentState*. 2005-08-24 18:13:09 +00:00
Mike McCormack 34247aff40 Test case for MsiModifyView and MsiViewGetError. 2005-08-24 11:10:39 +00:00
Mike McCormack e8d1a167df Implement MsiModifyView (MSIMODIFY_INSERT_TEMPORARY). 2005-08-24 11:10:23 +00:00
Mike McCormack fba5a59c66 Better stub for MsiViewGetError. 2005-08-24 10:57:49 +00:00
Johan Dahlin 0946c42d5a Added a null check for component. 2005-08-24 10:57:27 +00:00
Mike McCormack 10a1394929 Add include guard to header and make functions extern. 2005-08-24 10:57:02 +00:00
Johan Dahlin fe11241cf3 Added stubs for MsiSetComponentStateA and MsiSetComponentStateW. 2005-08-24 10:56:27 +00:00