Commit Graph

68 Commits (61f4fff42b26958e47e04252b4a460edfd19fecf)

Author SHA1 Message Date
James Hawkins 8cedb218c3 msi: Load the folder property if available and requested. 2007-03-29 21:01:42 +02: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 5b8fdad920 msi: Fix use of integer fields in MsiFormatRecord. 2006-11-21 12:16:05 +01:00
Mike McCormack 6b38139e62 msi: Remove a level of indent in resolve_folder(). 2006-11-17 11:14:39 +01:00
Mike McCormack 5bffd28be7 msi: Remove some redundant else statements. 2006-11-17 11:14:27 +01:00
Mike McCormack c88c0b453d msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 11:43:17 +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 ae18c2dc7f msi: Store the base URL of the MSI package if it is downloaded. 2006-11-08 13:00:15 +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 575cc67d0f msi: Use msi_feature_set_state and msi_component_set_state where possible. 2006-10-26 12:56:09 +02:00
James Hawkins c507543554 msi: Set the SourceDir and SOURCEDIR properties in the ResolveSource action. 2006-10-11 12:09:54 +02:00
Mike McCormack 80affb3c2d msi: Merge action.h into msipriv.h. 2006-10-10 16:12:12 +02:00
James Hawkins 563a50ab35 msi: Make internal functions static. 2006-10-09 14:40:08 +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 ad609f1518 msi: Only specifically resolve the TARGETDIR directory once. 2006-09-26 21:55:57 +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 6518f3d7f2 msi: INSTALLSTATE_SOURCE also overrides a parent feature state change to INSTALLSTATE_ABSENT. 2006-09-20 12:24:45 +02:00
Mike McCormack 8ebbc8c0d2 msi: Reimplement msi_dup_property and msi_get_property_int. 2006-08-25 11:21:43 +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 2ec80faabe msi: Move msi_get_property_int() to helpers.c 2006-07-17 14:46:25 +02:00
Mike McCormack 230af9d21f msi: Move version string conversions to registry.c. 2006-07-14 13:32:39 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +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 c1513be48c msi: Improve handling of short paths. 2006-03-21 16:19:07 +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
Mike McCormack b9d135a37b msi: Clean trailing and leading spaces from path segments. 2006-01-06 12:19:22 +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 9fac484928 Make all source directories at the root of the install. 2005-11-24 19:22:44 +01:00
Mike McCormack a977b2c346 Remove some redundant null pointer checks. 2005-11-03 09:56:29 +00:00
Mike McCormack d693f461ba Remove the unused 1st parameter of ACTION_VerifyComponentForAction. 2005-10-29 11:36:48 +00:00
Mike McCormack 51c6618d8d Rename load_dynamic_stringW to msi_dup_record_field to better describe
what it does, and replace a few instances with MSI_RecordGetString to
avoid allocating memory.
2005-10-27 12:36:12 +00:00
Mike McCormack 61f24a4ca7 Rename ACTION_DoTopLevelINSTALL to MSI_InstallPackage, remove its
duplicate 4th parameter.
Split the code to copy a package into a separate function.
2005-09-30 10:32:41 +00:00
Mike McCormack 470f23d471 Fix various memory leaks. 2005-09-22 10:56:26 +00:00
Mike McCormack 75658d7aaa Make build_icon_path return the path directly. 2005-09-22 10:33:57 +00:00
Mike McCormack 6dc309187c Fix some simple memory leaks. 2005-09-21 09:43:29 +00:00
Mike McCormack ee034ba4c2 Added memory allocation inline functions (part 2). 2005-09-20 11:59:14 +00:00
Mike McCormack 062ad50510 Rename load_dynamic_property and remove its unused 3rd argument. 2005-09-15 15:04:08 +00:00
Mike McCormack 79ca56cd6a Eliminate fixed length buffers from the MSIFEATURE structure. 2005-09-13 10:37:37 +00:00
Mike McCormack ca2c8c867f Eliminate yet more fixed length buffers. 2005-09-12 15:28:00 +00:00
Mike McCormack efcc1ec5e4 Fix more fixed length buffers. 2005-09-12 12:07:15 +00:00
Mike McCormack cbb5709a04 Make sure not to access invalid components or features. 2005-09-12 11:08:20 +00:00
Mike McCormack 1f09af3004 Move a fixed size buffer to the heap. 2005-09-09 14:49:08 +00:00
Mike McCormack 5c1212261f Allocate memory rather than using fixed length buffers. 2005-09-08 12:42:31 +00:00
Mike McCormack 41a04cc0de Fix memory leaks. 2005-09-08 11:03:45 +00:00
Mike McCormack c50ef541e8 Keep temporary files in a seperate list. 2005-09-07 11:25:18 +00:00
Mike McCormack 298cdaead1 Avoid fixed length buffers for conditions. 2005-09-06 11:39:01 +00:00