reactos/reactos/dll/win32/msi/files.c

1036 lines
28 KiB
C
Raw Normal View History

/*
* Implementation of the Microsoft Installer (msi.dll)
*
* Copyright 2005 Aric Stewart for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* Actions dealing with files These are
*
* InstallFiles
* DuplicateFiles
* MoveFiles (TODO)
* PatchFiles (TODO)
* RemoveDuplicateFiles(TODO)
* RemoveFiles(TODO)
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "wine/debug.h"
#include "fdi.h"
#include "msi.h"
#include "msidefs.h"
#include "msvcrt/fcntl.h"
#include "msipriv.h"
#include "winuser.h"
#include "winreg.h"
#include "shlwapi.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(msi);
extern const WCHAR szInstallFiles[];
extern const WCHAR szDuplicateFiles[];
extern const WCHAR szMoveFiles[];
extern const WCHAR szPatchFiles[];
extern const WCHAR szRemoveDuplicateFiles[];
extern const WCHAR szRemoveFiles[];
static const WCHAR cszTempFolder[]= {'T','e','m','p','F','o','l','d','e','r',0};
static BOOL source_matches_volume(MSIMEDIAINFO *mi, LPWSTR source_root)
{
WCHAR volume_name[MAX_PATH + 1];
if (!GetVolumeInformationW(source_root, volume_name, MAX_PATH + 1,
NULL, NULL, NULL, NULL, 0))
{
ERR("Failed to get volume information\n");
return FALSE;
}
return !lstrcmpW(mi->volume_label, volume_name);
}
static UINT msi_change_media( MSIPACKAGE *package, MSIMEDIAINFO *mi )
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
{
LPSTR msg;
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
LPWSTR error, error_dialog;
LPWSTR source_dir;
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
UINT r = ERROR_SUCCESS;
static const WCHAR szUILevel[] = {'U','I','L','e','v','e','l',0};
static const WCHAR error_prop[] = {'E','r','r','o','r','D','i','a','l','o','g',0};
if ( (msi_get_property_int(package, szUILevel, 0) & INSTALLUILEVEL_MASK) == INSTALLUILEVEL_NONE && !gUIHandlerA )
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
return ERROR_SUCCESS;
error = generate_error_string( package, 1302, 1, mi->disk_prompt );
error_dialog = msi_dup_property( package, error_prop );
source_dir = msi_dup_property( package, cszSourceDir );
PathStripToRootW(source_dir);
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
while ( r == ERROR_SUCCESS &&
!source_matches_volume(mi, source_dir) )
{
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
r = msi_spawn_error_dialog( package, error_dialog, error );
if (gUIHandlerA)
{
msg = strdupWtoA( error );
gUIHandlerA( gUIContext, MB_RETRYCANCEL | INSTALLMESSAGE_ERROR, msg );
msi_free(msg);
}
}
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
msi_free( error );
msi_free( error_dialog );
msi_free( source_dir );
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
return r;
}
/*
* This is a helper function for handling embedded cabinet media
*/
static UINT writeout_cabinet_stream(MSIPACKAGE *package, LPCWSTR stream_name,
WCHAR* source)
{
UINT rc;
USHORT* data;
UINT size;
DWORD write;
HANDLE the_file;
WCHAR tmp[MAX_PATH];
rc = read_raw_stream_data(package->db,stream_name,&data,&size);
if (rc != ERROR_SUCCESS)
return rc;
write = MAX_PATH;
if (MSI_GetPropertyW(package, cszTempFolder, tmp, &write))
GetTempPathW(MAX_PATH,tmp);
GetTempFileNameW(tmp,stream_name,0,source);
track_tempfile(package, source);
the_file = CreateFileW(source, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, NULL);
if (the_file == INVALID_HANDLE_VALUE)
{
ERR("Unable to create file %s\n",debugstr_w(source));
rc = ERROR_FUNCTION_FAILED;
goto end;
}
WriteFile(the_file,data,size,&write,NULL);
CloseHandle(the_file);
TRACE("wrote %i bytes to %s\n",write,debugstr_w(source));
end:
msi_free(data);
return rc;
}
/* Support functions for FDI functions */
typedef struct
{
MSIPACKAGE* package;
MSIMEDIAINFO *mi;
} CabData;
static void * cabinet_alloc(ULONG cb)
{
return msi_alloc(cb);
}
static void cabinet_free(void *pv)
{
msi_free(pv);
}
static INT_PTR cabinet_open(char *pszFile, int oflag, int pmode)
{
HANDLE handle;
DWORD dwAccess = 0;
DWORD dwShareMode = 0;
DWORD dwCreateDisposition = OPEN_EXISTING;
switch (oflag & _O_ACCMODE)
{
case _O_RDONLY:
dwAccess = GENERIC_READ;
dwShareMode = FILE_SHARE_READ | FILE_SHARE_DELETE;
break;
case _O_WRONLY:
dwAccess = GENERIC_WRITE;
dwShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE;
break;
case _O_RDWR:
dwAccess = GENERIC_READ | GENERIC_WRITE;
dwShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE;
break;
}
if ((oflag & (_O_CREAT | _O_EXCL)) == (_O_CREAT | _O_EXCL))
dwCreateDisposition = CREATE_NEW;
else if (oflag & _O_CREAT)
dwCreateDisposition = CREATE_ALWAYS;
handle = CreateFileA( pszFile, dwAccess, dwShareMode, NULL,
dwCreateDisposition, 0, NULL );
if (handle == INVALID_HANDLE_VALUE)
return 0;
return (INT_PTR) handle;
}
static UINT cabinet_read(INT_PTR hf, void *pv, UINT cb)
{
HANDLE handle = (HANDLE) hf;
DWORD dwRead;
if (ReadFile(handle, pv, cb, &dwRead, NULL))
return dwRead;
return 0;
}
static UINT cabinet_write(INT_PTR hf, void *pv, UINT cb)
{
HANDLE handle = (HANDLE) hf;
DWORD dwWritten;
if (WriteFile(handle, pv, cb, &dwWritten, NULL))
return dwWritten;
return 0;
}
static int cabinet_close(INT_PTR hf)
{
HANDLE handle = (HANDLE) hf;
return CloseHandle(handle) ? 0 : -1;
}
static long cabinet_seek(INT_PTR hf, long dist, int seektype)
{
HANDLE handle = (HANDLE) hf;
/* flags are compatible and so are passed straight through */
return SetFilePointer(handle, dist, NULL, seektype);
}
static void msi_file_update_ui( MSIPACKAGE *package, MSIFILE *f, const WCHAR *action )
{
MSIRECORD *uirow;
LPWSTR uipath, p;
/* the UI chunk */
uirow = MSI_CreateRecord( 9 );
MSI_RecordSetStringW( uirow, 1, f->FileName );
uipath = strdupW( f->TargetPath );
p = strrchrW(uipath,'\\');
if (p)
p[1]=0;
MSI_RecordSetStringW( uirow, 9, uipath);
MSI_RecordSetInteger( uirow, 6, f->FileSize );
ui_actiondata( package, action, uirow);
msiobj_release( &uirow->hdr );
msi_free( uipath );
ui_progress( package, 2, f->FileSize, 0, 0);
}
static UINT msi_media_get_disk_info( MSIPACKAGE *package, MSIMEDIAINFO *mi )
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
{
MSIRECORD *row;
LPWSTR ptr;
static const WCHAR query[] =
{'S','E','L','E','C','T',' ','*',' ', 'F','R','O','M',' ',
'`','M','e','d','i','a','`',' ','W','H','E','R','E',' ',
'`','D','i','s','k','I','d','`',' ','=',' ','%','i',0};
row = MSI_QueryGetRecord(package->db, query, mi->disk_id);
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
if (!row)
{
TRACE("Unable to query row\n");
return ERROR_FUNCTION_FAILED;
}
mi->disk_prompt = strdupW(MSI_RecordGetString(row, 3));
mi->cabinet = strdupW(MSI_RecordGetString(row, 4));
mi->volume_label = strdupW(MSI_RecordGetString(row, 5));
if (!mi->first_volume)
mi->first_volume = strdupW(mi->volume_label);
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
ptr = strrchrW(mi->source, '\\') + 1;
lstrcpyW(ptr, mi->cabinet);
msiobj_release(&row->hdr);
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
return ERROR_SUCCESS;
}
static INT_PTR cabinet_notify(FDINOTIFICATIONTYPE fdint, PFDINOTIFICATION pfdin)
{
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
TRACE("(%d)\n", fdint);
switch (fdint)
{
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
case fdintPARTIAL_FILE:
{
CabData *data = (CabData *)pfdin->pv;
data->mi->is_continuous = FALSE;
return 0;
}
case fdintNEXT_CABINET:
{
CabData *data = (CabData *)pfdin->pv;
MSIMEDIAINFO *mi = data->mi;
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
LPWSTR cab = strdupAtoW(pfdin->psz1);
UINT rc;
msi_free(mi->disk_prompt);
msi_free(mi->cabinet);
msi_free(mi->volume_label);
mi->disk_prompt = NULL;
mi->cabinet = NULL;
mi->volume_label = NULL;
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
mi->disk_id++;
mi->is_continuous = TRUE;
rc = msi_media_get_disk_info(data->package, mi);
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
if (rc != ERROR_SUCCESS)
{
msi_free(cab);
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
ERR("Failed to get next cabinet information: %d\n", rc);
return -1;
}
if (lstrcmpiW(mi->cabinet, cab))
{
msi_free(cab);
ERR("Continuous cabinet does not match the next cabinet in the Media table\n");
return -1;
}
msi_free(cab);
TRACE("Searching for %s\n", debugstr_w(mi->source));
if (GetFileAttributesW(mi->source) == INVALID_FILE_ATTRIBUTES)
rc = msi_change_media(data->package, mi);
if (rc != ERROR_SUCCESS)
return -1;
return 0;
}
case fdintCOPY_FILE:
{
CabData *data = (CabData*) pfdin->pv;
HANDLE handle;
LPWSTR file;
MSIFILE *f;
DWORD attrs;
file = strdupAtoW(pfdin->psz1);
f = get_loaded_file(data->package, file);
msi_free(file);
if (!f)
{
WARN("unknown file in cabinet (%s)\n",debugstr_a(pfdin->psz1));
return 0;
}
if (f->state != msifs_missing && f->state != msifs_overwrite)
{
TRACE("Skipping extraction of %s\n",debugstr_a(pfdin->psz1));
return 0;
}
msi_file_update_ui( data->package, f, szInstallFiles );
TRACE("extracting %s\n", debugstr_w(f->TargetPath) );
attrs = f->Attributes & (FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_SYSTEM);
if (!attrs) attrs = FILE_ATTRIBUTE_NORMAL;
handle = CreateFileW( f->TargetPath, GENERIC_READ | GENERIC_WRITE, 0,
NULL, CREATE_ALWAYS, attrs, NULL );
if ( handle == INVALID_HANDLE_VALUE )
{
if ( GetFileAttributesW( f->TargetPath ) != INVALID_FILE_ATTRIBUTES )
f->state = msifs_installed;
else
ERR("failed to create %s (error %d)\n",
debugstr_w( f->TargetPath ), GetLastError() );
return 0;
}
f->state = msifs_installed;
return (INT_PTR) handle;
}
case fdintCLOSE_FILE_INFO:
{
CabData *data = (CabData*) pfdin->pv;
FILETIME ft;
FILETIME ftLocal;
HANDLE handle = (HANDLE) pfdin->hf;
data->mi->is_continuous = FALSE;
if (!DosDateTimeToFileTime(pfdin->date, pfdin->time, &ft))
return -1;
if (!LocalFileTimeToFileTime(&ft, &ftLocal))
return -1;
if (!SetFileTime(handle, &ftLocal, 0, &ftLocal))
return -1;
CloseHandle(handle);
return 1;
}
default:
return 0;
}
}
/***********************************************************************
* msi_cabextract
*
* Extract files from a cab file.
*/
BOOL msi_cabextract(MSIPACKAGE* package, MSIMEDIAINFO *mi,
PFNFDINOTIFY notify, LPVOID data)
{
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
LPSTR cabinet, cab_path = NULL;
LPWSTR ptr;
HFDI hfdi;
ERF erf;
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
BOOL ret = FALSE;
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
TRACE("Extracting %s\n", debugstr_w(mi->source));
hfdi = FDICreate(cabinet_alloc, cabinet_free, cabinet_open, cabinet_read,
cabinet_write, cabinet_close, cabinet_seek, 0, &erf);
if (!hfdi)
{
ERR("FDICreate failed\n");
return FALSE;
}
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
ptr = strrchrW(mi->source, '\\') + 1;
cabinet = strdupWtoA(ptr);
if (!cabinet)
goto done;
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
cab_path = strdupWtoA(mi->source);
if (!cab_path)
goto done;
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
cab_path[ptr - mi->source] = '\0';
ret = FDICopy(hfdi, cabinet, cab_path, 0, notify, NULL, data);
if (!ret)
ERR("FDICopy failed\n");
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
done:
FDIDestroy(hfdi);
msi_free(cabinet);
msi_free(cab_path);
if (ret)
mi->is_extracted = TRUE;
return ret;
}
/* compares the version of a file read from the filesystem and
* the version specified in the File table
*/
static int msi_compare_file_version(MSIFILE *file)
{
WCHAR version[MAX_PATH];
DWORD size;
UINT r;
size = MAX_PATH;
version[0] = '\0';
r = MsiGetFileVersionW(file->TargetPath, version, &size, NULL, NULL);
if (r != ERROR_SUCCESS)
return 0;
return lstrcmpW(version, file->Version);
}
void msi_free_media_info( MSIMEDIAINFO *mi )
{
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
msi_free( mi->disk_prompt );
msi_free( mi->cabinet );
msi_free( mi->volume_label );
msi_free( mi->first_volume );
msi_free( mi );
}
UINT msi_load_media_info(MSIPACKAGE *package, MSIFILE *file, MSIMEDIAINFO *mi)
{
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
MSIRECORD *row;
LPWSTR source_dir;
LPWSTR source;
DWORD options;
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
UINT r;
static const WCHAR query[] = {
'S','E','L','E','C','T',' ','*',' ', 'F','R','O','M',' ',
'`','M','e','d','i','a','`',' ','W','H','E','R','E',' ',
'`','L','a','s','t','S','e','q','u','e','n','c','e','`',' ','>','=',
' ','%','i',' ','A','N','D',' ','`','D','i','s','k','I','d','`',' ','>','=',
' ','%','i',' ','O','R','D','E','R',' ','B','Y',' ',
'`','D','i','s','k','I','d','`',0
};
row = MSI_QueryGetRecord(package->db, query, file->Sequence, mi->disk_id);
if (!row)
{
TRACE("Unable to query row\n");
return ERROR_FUNCTION_FAILED;
}
mi->is_extracted = FALSE;
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
mi->disk_id = MSI_RecordGetInteger(row, 1);
mi->last_sequence = MSI_RecordGetInteger(row, 2);
msi_free(mi->disk_prompt);
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
mi->disk_prompt = strdupW(MSI_RecordGetString(row, 3));
msi_free(mi->cabinet);
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
mi->cabinet = strdupW(MSI_RecordGetString(row, 4));
msi_free(mi->volume_label);
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
mi->volume_label = strdupW(MSI_RecordGetString(row, 5));
msiobj_release(&row->hdr);
if (!mi->first_volume)
mi->first_volume = strdupW(mi->volume_label);
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
source_dir = msi_dup_property(package, cszSourceDir);
lstrcpyW(mi->source, source_dir);
PathStripToRootW(source_dir);
mi->type = GetDriveTypeW(source_dir);
if (file->IsCompressed && mi->cabinet)
{
if (mi->cabinet[0] == '#')
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
{
r = writeout_cabinet_stream(package, &mi->cabinet[1], mi->source);
if (r != ERROR_SUCCESS)
{
ERR("Failed to extract cabinet stream\n");
return ERROR_FUNCTION_FAILED;
}
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
}
else
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
lstrcatW(mi->source, mi->cabinet);
}
options = MSICODE_PRODUCT;
if (mi->type == DRIVE_CDROM || mi->type == DRIVE_REMOVABLE)
{
source = source_dir;
options |= MSISOURCETYPE_MEDIA;
}
else if (package->BaseURL && UrlIsW(package->BaseURL, URLIS_URL))
{
source = package->BaseURL;
options |= MSISOURCETYPE_URL;
}
else
{
source = mi->source;
options |= MSISOURCETYPE_NETWORK;
}
msi_package_add_media_disk(package, package->Context,
MSICODE_PRODUCT, mi->disk_id,
mi->volume_label, mi->disk_prompt);
msi_package_add_info(package, package->Context,
options, INSTALLPROPERTY_LASTUSEDSOURCEW, source);
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
msi_free(source_dir);
return ERROR_SUCCESS;
}
/* FIXME: search NETWORK and URL sources as well */
UINT find_published_source(MSIPACKAGE *package, MSIMEDIAINFO *mi)
{
WCHAR source[MAX_PATH];
WCHAR volume[MAX_PATH];
WCHAR prompt[MAX_PATH];
DWORD volumesz, promptsz;
DWORD index, size, id;
UINT r;
size = MAX_PATH;
r = MsiSourceListGetInfoW(package->ProductCode, NULL,
package->Context, MSICODE_PRODUCT,
INSTALLPROPERTY_LASTUSEDSOURCEW, source, &size);
if (r != ERROR_SUCCESS)
return r;
index = 0;
volumesz = MAX_PATH;
promptsz = MAX_PATH;
while (MsiSourceListEnumMediaDisksW(package->ProductCode, NULL,
package->Context,
MSICODE_PRODUCT, index++, &id,
volume, &volumesz, prompt, &promptsz) == ERROR_SUCCESS)
{
mi->disk_id = id;
mi->volume_label = msi_realloc(mi->volume_label, ++volumesz * sizeof(WCHAR));
lstrcpyW(mi->volume_label, volume);
mi->disk_prompt = msi_realloc(mi->disk_prompt, ++promptsz * sizeof(WCHAR));
lstrcpyW(mi->disk_prompt, prompt);
if (source_matches_volume(mi, source))
{
/* FIXME: what about SourceDir */
lstrcpyW(mi->source, source);
lstrcatW(mi->source, mi->cabinet);
return ERROR_SUCCESS;
}
}
return ERROR_FUNCTION_FAILED;
}
static UINT ready_media(MSIPACKAGE *package, MSIFILE *file, MSIMEDIAINFO *mi)
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
{
UINT rc = ERROR_SUCCESS;
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
/* media info for continuous cabinet is already loaded */
if (mi->is_continuous)
return ERROR_SUCCESS;
rc = msi_load_media_info(package, file, mi);
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
if (rc != ERROR_SUCCESS)
{
ERR("Unable to load media info\n");
return ERROR_FUNCTION_FAILED;
}
/* cabinet is internal, no checks needed */
if (!mi->cabinet || mi->cabinet[0] == '#')
return ERROR_SUCCESS;
/* package should be downloaded */
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
if (file->IsCompressed &&
GetFileAttributesW(mi->source) == INVALID_FILE_ATTRIBUTES &&
package->BaseURL && UrlIsW(package->BaseURL, URLIS_URL))
{
WCHAR temppath[MAX_PATH];
msi_download_file(mi->source, temppath);
lstrcpyW(mi->source, temppath);
return ERROR_SUCCESS;
}
/* check volume matches, change media if not */
if (mi->volume_label && mi->disk_id > 1 &&
lstrcmpW(mi->first_volume, mi->volume_label))
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
{
LPWSTR source = msi_dup_property(package, cszSourceDir);
BOOL matches;
matches = source_matches_volume(mi, source);
msi_free(source);
if ((mi->type == DRIVE_CDROM || mi->type == DRIVE_REMOVABLE) && !matches)
{
rc = msi_change_media(package, mi);
if (rc != ERROR_SUCCESS)
return rc;
}
}
if (file->IsCompressed &&
GetFileAttributesW(mi->source) == INVALID_FILE_ATTRIBUTES)
{
/* FIXME: this might be done earlier in the install process */
rc = find_published_source(package, mi);
if (rc != ERROR_SUCCESS)
{
ERR("Cabinet not found: %s\n", debugstr_w(mi->source));
return ERROR_INSTALL_FAILURE;
}
}
return ERROR_SUCCESS;
}
static UINT get_file_target(MSIPACKAGE *package, LPCWSTR file_key,
MSIFILE** file)
{
LIST_FOR_EACH_ENTRY( *file, &package->files, MSIFILE, entry )
{
if (lstrcmpW( file_key, (*file)->File )==0)
{
if ((*file)->state >= msifs_overwrite)
return ERROR_SUCCESS;
else
return ERROR_FILE_NOT_FOUND;
}
}
return ERROR_FUNCTION_FAILED;
}
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
static void schedule_install_files(MSIPACKAGE *package)
{
MSIFILE *file;
LIST_FOR_EACH_ENTRY(file, &package->files, MSIFILE, entry)
{
if (!ACTION_VerifyComponentForAction(file->Component, INSTALLSTATE_LOCAL))
{
TRACE("File %s is not scheduled for install\n", debugstr_w(file->File));
ui_progress(package,2,file->FileSize,0,0);
file->state = msifs_skipped;
}
}
}
static UINT copy_file(MSIFILE *file)
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
{
BOOL ret;
ret = CopyFileW(file->SourcePath, file->TargetPath, FALSE);
if (ret)
{
file->state = msifs_installed;
return ERROR_SUCCESS;
}
return GetLastError();
}
static UINT copy_install_file(MSIFILE *file)
{
UINT gle;
TRACE("Copying %s to %s\n", debugstr_w(file->SourcePath),
debugstr_w(file->TargetPath));
gle = copy_file(file);
if (gle == ERROR_SUCCESS)
return gle;
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
if (gle == ERROR_ALREADY_EXISTS && file->state == msifs_overwrite)
{
TRACE("overwriting existing file\n");
gle = ERROR_SUCCESS;
}
else if (gle == ERROR_ACCESS_DENIED)
{
SetFileAttributesW(file->TargetPath, FILE_ATTRIBUTE_NORMAL);
gle = copy_file(file);
TRACE("Overwriting existing file: %d\n", gle);
}
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
return gle;
}
static BOOL check_dest_hash_matches(MSIFILE *file)
{
MSIFILEHASHINFO hash;
UINT r;
if (!file->hash.dwFileHashInfoSize)
return FALSE;
hash.dwFileHashInfoSize = sizeof(MSIFILEHASHINFO);
r = MsiGetFileHashW(file->TargetPath, 0, &hash);
if (r != ERROR_SUCCESS)
return FALSE;
return !memcmp(&hash, &file->hash, sizeof(MSIFILEHASHINFO));
}
/*
* ACTION_InstallFiles()
*
* For efficiency, this is done in two passes:
* 1) Correct all the TargetPaths and determine what files are to be installed.
* 2) Extract Cabinets and copy files.
*/
UINT ACTION_InstallFiles(MSIPACKAGE *package)
{
MSIMEDIAINFO *mi;
UINT rc = ERROR_SUCCESS;
MSIFILE *file;
/* increment progress bar each time action data is sent */
ui_progress(package,1,1,0,0);
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
schedule_install_files(package);
/*
* Despite MSDN specifying that the CreateFolders action
* should be called before InstallFiles, some installers don't
* do that, and they seem to work correctly. We need to create
* directories here to make sure that the files can be copied.
*/
msi_create_component_directories( package );
mi = msi_alloc_zero( sizeof(MSIMEDIAINFO) );
LIST_FOR_EACH_ENTRY( file, &package->files, MSIFILE, entry )
{
if (file->state != msifs_missing && !mi->is_continuous && file->state != msifs_overwrite)
continue;
if (check_dest_hash_matches(file))
{
TRACE("File hashes match, not overwriting\n");
continue;
}
if (MsiGetFileVersionW(file->TargetPath, NULL, NULL, NULL, NULL) == ERROR_SUCCESS &&
msi_compare_file_version(file) >= 0)
{
TRACE("Destination file version greater, not overwriting\n");
continue;
}
if (file->Sequence > mi->last_sequence || mi->is_continuous ||
(file->IsCompressed && !mi->is_extracted))
{
CabData data;
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
rc = ready_media(package, file, mi);
if (rc != ERROR_SUCCESS)
{
ERR("Failed to ready media\n");
break;
}
data.mi = mi;
data.package = package;
if (file->IsCompressed &&
!msi_cabextract(package, mi, cabinet_notify, &data))
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
{
ERR("Failed to extract cabinet: %s\n", debugstr_w(mi->cabinet));
rc = ERROR_FUNCTION_FAILED;
break;
}
}
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
if (!file->IsCompressed)
{
TRACE("file paths %s to %s\n", debugstr_w(file->SourcePath),
debugstr_w(file->TargetPath));
msi_file_update_ui(package, file, szInstallFiles);
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
rc = copy_install_file(file);
if (rc != ERROR_SUCCESS)
{
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
ERR("Failed to copy %s to %s (%d)\n", debugstr_w(file->SourcePath),
debugstr_w(file->TargetPath), rc);
rc = ERROR_INSTALL_FAILURE;
break;
}
}
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
else if (file->state != msifs_installed)
{
Wine sync of msi.dll Warning: msi_ros.diff needs to be updated with new sql.tab.c and sql.tab.h before performing any future autosyncs! Log: 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchReg. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchComponents. 22 hours ago Mike McCormack msi: Use MSI_QueryGetRecord in ACTION_AppSearchGetSigna ... 22 hours ago Mike McCormack msi: Use MSI_IterateRecords when cloning properties. 22 hours ago Francois Gouget msi: Add a Portuguese translation (contributed by Ameri ... 4 days ago Francois Gouget Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX ... 6 days ago Mike McCormack msi: Treat the SourceDir folder the same as TargetDir. 6 days ago Mike McCormack msi: Load all folders in one query, rather one per ... 6 days ago Mike McCormack msi: Only wait for custom actions that don't have msidb ... 6 days ago Mike McCormack msi: Split process_action_return_value into two differe ... 6 days ago Mike McCormack msi: Remove an unused parameter. tree | commitdiff 6 days ago Mike McCormack msi: Fix use of integer fields in MsiFormatRecord. 6 days ago Mike McCormack msi: Test MsiRecordGetString on an integer record field ... 6 days ago Mike McCormack msi: Add a test for formatting records with strings. 6 days ago Mike McCormack msi: Don't access the list of controls after the dialog ... 6 days ago Mike McCormack msi: Create a function to free control data. 7 days ago Mike McCormack msi: Fix an access after freeing memory. 8 days ago Mike McCormack msi: Split msi_set_sourcedir_props into a separate ... 8 days ago Mike McCormack msi: Spelling fixes. 8 days ago Mike McCormack msi: Add another test for the SourceDir property. 8 days ago Mike McCormack msi: Clean up parameters of msi_media_get_disk_info(). 8 days ago Mike McCormack msi: Fix some memory leaks. 8 days ago Mike McCormack msi: Don't leak row handles. 11 days ago Mike McCormack msi: Fix a memory leak in load_folder(). 11 days ago Mike McCormack msi: Remove unnecessary includes. 11 days ago Mike McCormack msi: Remove a level of indent in resolve_folder(). 11 days ago Mike McCormack msi: Add a test showing the _Properties table is a ... 11 days ago Mike McCormack msi: Add a test showing which tables are special. 11 days ago Mike McCormack msi: Remove some redundant else statements. 2006-11-14 Mike McCormack msi: Split MSI_CreatePackage into two functions. 2006-11-14 Mike McCormack msi: Delete the tempfile created by GetTempFileName. 2006-11-14 Mike McCormack msi: Defer package deletion until after the database ... 2006-11-14 Mike McCormack msi: Remove track_tempfile()'s unused 2nd parameter. 2006-11-14 Mike McCormack msi: Always delete temp files after creating them. 2006-11-14 Mike McCormack msi: Print a message if we fail to delete a file. 2006-11-14 James Hawkins msi: Notify the external UI handler when changing media. 2006-11-13 Mike McCormack msi: Only free a string in one place. 2006-11-13 Mike McCormack msi: Fix error handling. 2006-11-13 Mike McCormack msi: Track temp files as soon as they are created. 2006-11-13 Mike McCormack msi: Fail if we can't write out a temporary file. 2006-11-13 Mike McCormack msi: Fix an uninitialized variable in the test cases. 2006-11-13 Mike McCormack msi: Clean upstore_binary_to_temp. 2006-11-13 Francois Gouget Assorted spelling fixes. 2006-11-13 Francois Gouget msi: assert.h is not a local header (spotted by winapi ... 2006-11-13 Paul Vriens msi: Fix typo's (Coverity). 2006-11-13 James Hawkins msi: Fix a heap corruption bug by resizing the src ... 2006-11-10 Mike McCormack msi: Only log the Action, as it's the same as ActionReq ... 2006-11-10 Mike McCormack msi: Check whether the component is enabled first. 2006-11-10 Mike McCormack msi: Component attributes are bitmasks. 2006-11-09 Eric Pouech msi: Fixed bogus A -> W conversion. 2006-11-09 Eric Pouech msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 James Hawkins msi: Add support for continuous cabinets. 2006-11-09 James Hawkins msi: Extract cabinets in ACTION_InstallFiles. ready ... 2006-11-09 James Hawkins msi: Move the file sequence check out of ready_media ... 2006-11-09 James Hawkins msi: Factor out load_media_info from ready_media_for ... 2006-11-09 James Hawkins msi: Use disk_prompt from the media_info structure ... 2006-11-09 James Hawkins msi: Only add text to the scroll control if text is ... 2006-11-08 Stefan Leichter msi: Added stub for MsiGetFeatureValidStatesA/W. 2006-11-08 James Hawkins msi: Factor out download_remote_cabinet and reuse extra ... 2006-11-08 James Hawkins msi: Store the base URL of the MSI package if it is ... 2006-11-08 James Hawkins msi: Factor copy_install_file out of ACTION_InstallFiles. 2006-11-08 James Hawkins msi: Factor schedule_install_files out of ACTION_Instal ... 2006-11-08 James Hawkins msi: Model the media_info structure members after the ... 2006-11-08 James Hawkins msi: Use msi_alloc_zero instead of a helper function ... 2006-11-08 James Hawkins msi: Use the file's component instead of passing an ... 2006-11-08 James Hawkins msi: Use the media_info structure instead of passing ... 2006-11-08 James Hawkins msi: Add more tests for installing from cabinets. 2006-11-08 Mike McCormack msi: Fix a memory leak. 2006-11-07 Francois Gouget Assorted spelling fixes. 2006-11-07 Mike McCormack msi: By default, install components locally. 2006-11-07 Mike McCormack msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 Mike McCormack msi: Fix regression tests failing on Windows. 2006-11-07 Mike McCormack msi: Split ACTION_CostFinalize into two functions. 2006-11-06 Alexandre Julliard msi: Fixed definition of the MSIITERHANDLE type. 2006-11-02 Mike McCormack msi: Avoid a memory leak by freeing actions scripts ... 2006-11-02 Mike McCormack msi: Fix a memory leak. 2006-11-02 Mike McCormack msi: Fix a handle leak in the tests. 2006-11-01 Mike McCormack msi: Fix a typo. 2006-11-01 Mike McCormack msi: Don't print traces for addref and release. 2006-11-01 Mike McCormack msi: Search the patch package for source cabinet files. 2006-10-31 Mike McCormack msi: Add a test showing a join doesn't need a WHERE ... 2006-10-31 Mike McCormack msi: Use a simpler algorithm for joins. 2006-10-31 Mike McCormack msi: Test the data returned by join queries in one ... 2006-10-31 Mike McCormack msi: Remove tokens that aren't valid for MSI SQL. 2006-10-31 Mike McCormack msi: Fix a trace. 2006-10-31 Mike McCormack msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 Mike McCormack msi: Mark components with missing or outdated files ... 2006-10-30 Mike McCormack msi: Split ACTION_UpdateInstallStates into two separate ... 2006-10-27 James Hawkins msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 James Hawkins msi: Test the order in which cab files are handled ... 2006-10-27 James Hawkins msi: Implement handling for the ErrorDialog and use ... 2006-10-27 Mike McCormack msi: Avoid crashing if writeout_cabinet_stream fails. 2006-10-27 Mike McCormack msi: Remove redundant null checks before MSI_EvaluateCo ... 2006-10-26 Mike McCormack msi: Fix the join algorithm. 2006-10-26 Mike McCormack msi: Allow UPDATE queries without a condition. 2006-10-26 Mike McCormack msi: Update tables using records, not integer by integer. 2006-10-26 Mike McCormack msi: Remove some unused functions. 2006-10-26 Mike McCormack msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 Mike McCormack msi: Use msi_feature_set_state and msi_component_set ... 2006-10-26 Mike McCormack msi: Create macro functions to set feature and componen ... 2006-10-26 James Hawkins msi: Add tests for the UPDATE sql command. 2006-10-25 Alexandre Julliard msi: Properly handle negative coordinates for mouse ... 2006-10-24 Mikołaj Zalewski resources: Change Dutch sublanguage code to SUBLANG ... 2006-10-24 Mikołaj Zalewski resources: Change German sublanguage code to SUBLANG ... 2006-10-24 Mike McCormack msi: Split code to get a file's verion into a separate ... 2006-10-24 James Hawkins msi: Add tests for installing from continuous cabinets. 2006-10-24 James Hawkins msi: Allow more customization of install test files. 2006-10-24 James Hawkins msi: Remove unused function pointer and definitions. 2006-10-24 James Hawkins msi: Remove two unnecessary install tables. tree | commitdiff 2006-10-24 James Hawkins msi: Add support for localizable strings in MsiDatabase ... svn path=/trunk/; revision=24909
2006-11-28 11:21:39 +00:00
ERR("compressed file wasn't extracted (%s)\n", debugstr_w(file->TargetPath));
rc = ERROR_INSTALL_FAILURE;
break;
}
}
msi_free_media_info( mi );
return rc;
}
static UINT ITERATE_DuplicateFiles(MSIRECORD *row, LPVOID param)
{
MSIPACKAGE *package = (MSIPACKAGE*)param;
WCHAR dest_name[0x100];
LPWSTR dest_path, dest;
LPCWSTR file_key, component;
DWORD sz;
DWORD rc;
MSICOMPONENT *comp;
MSIFILE *file;
component = MSI_RecordGetString(row,2);
comp = get_loaded_component(package,component);
if (!ACTION_VerifyComponentForAction( comp, INSTALLSTATE_LOCAL ))
{
TRACE("Skipping copy due to disabled component %s\n",
debugstr_w(component));
/* the action taken was the same as the current install state */
comp->Action = comp->Installed;
return ERROR_SUCCESS;
}
comp->Action = INSTALLSTATE_LOCAL;
file_key = MSI_RecordGetString(row,3);
if (!file_key)
{
ERR("Unable to get file key\n");
return ERROR_FUNCTION_FAILED;
}
rc = get_file_target(package,file_key,&file);
if (rc != ERROR_SUCCESS)
{
ERR("Original file unknown %s\n",debugstr_w(file_key));
return ERROR_SUCCESS;
}
if (MSI_RecordIsNull(row,4))
strcpyW(dest_name,strrchrW(file->TargetPath,'\\')+1);
else
{
sz=0x100;
MSI_RecordGetStringW(row,4,dest_name,&sz);
reduce_to_longfilename(dest_name);
}
if (MSI_RecordIsNull(row,5))
{
LPWSTR p;
dest_path = strdupW(file->TargetPath);
p = strrchrW(dest_path,'\\');
if (p)
*p=0;
}
else
{
LPCWSTR destkey;
destkey = MSI_RecordGetString(row,5);
dest_path = resolve_folder(package, destkey, FALSE, FALSE, TRUE, NULL);
if (!dest_path)
{
/* try a Property */
dest_path = msi_dup_property( package, destkey );
if (!dest_path)
{
FIXME("Unable to get destination folder, try AppSearch properties\n");
return ERROR_SUCCESS;
}
}
}
dest = build_directory_name(2, dest_path, dest_name);
create_full_pathW(dest_path);
TRACE("Duplicating file %s to %s\n",debugstr_w(file->TargetPath),
debugstr_w(dest));
if (strcmpW(file->TargetPath,dest))
rc = !CopyFileW(file->TargetPath,dest,TRUE);
else
rc = ERROR_SUCCESS;
if (rc != ERROR_SUCCESS)
ERR("Failed to copy file %s -> %s, last error %d\n",
debugstr_w(file->TargetPath), debugstr_w(dest_path), GetLastError());
FIXME("We should track these duplicate files as well\n");
msi_free(dest_path);
msi_free(dest);
msi_file_update_ui(package, file, szDuplicateFiles);
return ERROR_SUCCESS;
}
UINT ACTION_DuplicateFiles(MSIPACKAGE *package)
{
UINT rc;
MSIQUERY * view;
static const WCHAR ExecSeqQuery[] =
{'S','E','L','E','C','T',' ','*',' ','F','R','O','M',' ',
'`','D','u','p','l','i','c','a','t','e','F','i','l','e','`',0};
rc = MSI_DatabaseOpenViewW(package->db, ExecSeqQuery, &view);
if (rc != ERROR_SUCCESS)
return ERROR_SUCCESS;
rc = MSI_IterateRecords(view, NULL, ITERATE_DuplicateFiles, package);
msiobj_release(&view->hdr);
return rc;
}
UINT ACTION_RemoveFiles( MSIPACKAGE *package )
{
MSIFILE *file;
LIST_FOR_EACH_ENTRY( file, &package->files, MSIFILE, entry )
{
MSIRECORD *uirow;
LPWSTR uipath, p;
if ( !file->Component )
continue;
if ( file->Component->Installed == INSTALLSTATE_LOCAL )
continue;
if ( file->state == msifs_installed )
ERR("removing installed file %s\n", debugstr_w(file->TargetPath));
if ( file->state != msifs_present )
continue;
/* only remove a file if the version to be installed
* is strictly newer than the old file
*/
if ( msi_compare_file_version( file ) >= 0 )
continue;
TRACE("removing %s\n", debugstr_w(file->File) );
if ( !DeleteFileW( file->TargetPath ) )
ERR("failed to delete %s\n", debugstr_w(file->TargetPath) );
file->state = msifs_missing;
/* the UI chunk */
uirow = MSI_CreateRecord( 9 );
MSI_RecordSetStringW( uirow, 1, file->FileName );
uipath = strdupW( file->TargetPath );
p = strrchrW(uipath,'\\');
if (p)
p[1]=0;
MSI_RecordSetStringW( uirow, 9, uipath);
ui_actiondata( package, szRemoveFiles, uirow);
msiobj_release( &uirow->hdr );
msi_free( uipath );
/* FIXME: call ui_progress here? */
}
return ERROR_SUCCESS;
}