Commit Graph

88 Commits

Author SHA1 Message Date
James Hawkins
5606428a71 msi: Set media info strings to NULL after freeing them. 2007-10-23 18:05:32 +02:00
James Hawkins
5e46fc9019 msi: Delay publishing of the SourceList until the PublishProduct action. 2007-07-03 13:43:20 +02:00
James Hawkins
71d7da1170 msi: Fetch the volume name when getting disk info. 2007-06-26 11:56:47 +02:00
Rob Shearman
f533159bb6 msi: Only use the long name for the file source if the file has one. 2007-06-22 12:18:22 +02:00
James Hawkins
44649d2ff8 msi: Fall back to checking if the cab exists if the volume name doesn't match. 2007-05-30 11:48:51 +02:00
James Hawkins
1aa0082558 msi: Create the destination directory if it doesn't exist when duplicating files. 2007-05-30 11:48:40 +02:00
James Hawkins
666cfd1c03 msi: Only check the volume label for every media after the first disk. 2007-05-11 11:20:18 +02:00
James Hawkins
6eb7eadffa msi: Check the volume name when changing media. 2007-05-09 12:07:01 +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
James Hawkins
7ef8428b5e msi: Reset the is_extracted flag when every cabinet is loaded. 2007-04-12 16:18:08 +02:00
James Hawkins
8cedb218c3 msi: Load the folder property if available and requested. 2007-03-29 21:01:42 +02: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
5b8282120a msi: Don't skip files continued from a previous cabinet. 2007-02-08 13:01:40 +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
James Hawkins
30577c253a msi: Allow uncompressed files before compressed files in the same media. 2007-02-05 12:27:33 +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
7125d3073d msi: Don't fail if we can't remove an existing install file. 2006-11-29 14:06:49 +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
c88c0b453d msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 11:43:17 +01:00
James Hawkins
31a9b087c1 msi: Notify the external UI handler when changing media. 2006-11-14 11:35:00 +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
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
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
62dc9ca691 msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 12:09:28 +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
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
Mike McCormack
f1d4646a49 msi: Win64 printf format warning fixes. 2006-10-05 11:32:32 +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
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
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
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
Mike McCormack
d39cf962ac msi: Change an ERR to a WARN. 2006-07-29 11:55:36 +02:00
Huw Davies
045d817f4b msi: Create files with the correct file attributes. 2006-07-19 09:44:41 +02:00