forgot to delete old ones svn path=/trunk/; revision=21026
Sync to Wine-0_9_3: Huw Davies <huw@codeweavers.com> - msi: Fix MsiProvideQualifiedComponentW spec file entry. Christian Gmeiner <christian.gmeiner@students.fh-vorarlberg.ac.at> - msi: Implemented DllCanUnloadNow. Robert Shearman <rob@codeweavers.com> - The buffer sizes in the documentation for MsiDecomposeDescriptorW don't include the NULL terminator, so fix this. Mike McCormack <mike@codeweavers.com> - If a source directory doesn't exist, use the install root instead. - Make all source directories at the root of the install. - Handle the ^ character in MaskEdit controls. svn path=/trunk/; revision=20133
Sync to Wine-0_9_2: Francois Gouget <fgouget@free.fr> - Remove spaces before '\n' in traces. - Assorted spelling and case fixes. Steven Edwards <winehacker@gmail.com> - Partly implement MsiMessageBox[A/W] on top of MessageBoxEx[A/W] YunSong Hwang <hys545@dreamwiz.com> - Add Korean translations. - Update Korean translations. Aric Stewart <aric@codeweavers.com> - Use MsiDecomposeDescriptorW in MsiProvideQualifiedComponentExW. Mike McCormack <mike@codeweavers.com> - Fix comparison of empty properties to numbers and add test cases. - Only return ERROR_MORE_DATA if there's a buffer to copy a result into. - Fix function prototype and spec file entry for MsiEnumComponentQualifiers. - Set the Installed property if the product is already installed. - Loop around calling RegQueryValue until we have a big enough string for both the name and the value. - Convert MsiEnumComponentQualifiers to use msi_strcpy_to_awstring. - Empty strings are not equal to any number, so all comparisons against them fail except for tests for non-equalness. svn path=/trunk/; revision=19589
Sync to Wine-0_9_1: Ivan Leo Puoti <ivanleo@gmail.com> - Fix some wrong prototypes. Thomas Weidenmueller <wine-patches@reactsoft.com> - Passing NULL as the last two parameters to ReadFile is illegal and actually causes a crash on windows. The attached patch fixes this. Aric Stewart <aric@codeweavers.com> - Force files to install if the REINSTALL property is set. Mike McCormack <mike@codeweavers.com> - Some installers don't call the CreateFolders action before the InstallFiles action as MSDN specifies, but it still seems to work, so make sure that we create component directories in the InstallFiles action anyway. - Create component folders in the CreateFolders action. - If an action fails, print out its name as well as the error code. Use %d for error codes so it's easy to match them up to something in winerror.h. - Rename load_dynamic_stringW to msi_dup_record_field to better describe what it does, and replace a few instances with MSI_RecordGetString to avoid allocating memory. - Tidy up the RegisterProduct action a little. - Create a stub function to apply a single table transform and call it where we need to apply transforms. - Enumerate the substorage transforms for any patches that are passed on the command line with PATCH=. Need to implement table_apply_transform() before this will do anything interesting. - Simplify register_progid() and remove a fixed length buffer. - Make enter and escape trigger the default and cancel buttons in dialogs. - Switch back to using IPicture to load images. LoadImage did the resizing for us, but doesn't handle jpeg files and requires us writing a temp file, whereas IPicture handles jpeg files and can load directly from a stream. - Remove unused package parameter of register_progid_base(). - Remove an incorrect comment and check for 0 being an invalid file handle. - Add missing semicolons that caused compile trouble on FreeBSD. - Extract file directly to their target location, bypassing the need to use temporary files and move files. - Put the UI update code for cabinet file into a separate function. - Translate INVALID_HANDLE_VALUE to zero for cabinet handles. - Fix a memory leak in the cabinet extracting code. - Fix passing of NULL pointers to MsiDecomposeDescriptor and add a test. - Fix parameter handling in MsiSetTargetPath, and add a test for it. - Deleted two buggy functions that incorrectly and inefficiently check whether a row already exists in a table, and replaced them with a call to an existing working function that does the same thing correctly. - Fix and test MsiGetProperty and MsiSetProperty. - Add a stub implementation of msi.MsiSetMode. - NULL and empty strings are the same in conditions. - Add a bunch of tests for MsiEvaluateCondition and make them pass. - Fix error handling in MsiEvaluateCondition. - Create the +msidb debug channel for msi database code. - Implement transforms. This still includes some debugging code which can be enabled by setting debug_transform to 1 in the relevant places. - Define NONAMELESSUNION and NONAMELESSSTRUCT for older compilers. - Remove some redundant null pointer checks. - Make sure to unregister all the classes that were registered when msi is unloaded, so we can register again cleanly. - Fix a memory leak. - Implement the RemoveFiles action. - Add a read-only implementation of the SelectionTree control. - Make sure we only CoUninitialize after successfully initializing. Fix the address of the returned IShellLinkDataList interface. - Use an enumeration for file states. - Handle MaskEdit masks containing dashes and other constant characters. - Stub implementation for MsiAdvertiseScriptA/W. - Add a stub for the AllocateRegistrySpace action. - Explicitly check for MSICONDITION_TRUE being returned from MsiEvaluateCondition. - Stub implementation for MsiGetFileHashA/W. - Define MSIDBOPEN_ constants using LPCWSTR when compiling Wine. - Improve MsiUseFeatureEx and MsiGetFeatureState a little, add some simple test cases. - Use msi_get_property_int() in a few more places. - Implement MsiGetFeatureUsageA and MsiUseFeature(Ex)A using their W versions. - Use "static const" rather than "const static" as gcc -W complains about the former. - Add an implementation for MsiGetShortcutTargetA/W. - Don't change the UI level during ExecuteAction. - Return an error in MsiGetComponentPathW if passed a null component. - Remove the unused 1st parameter of ACTION_VerifyComponentForAction. - Fix MsiGetPropertyA/W spec declarations. - Create an internal handle-free api for reading MSI database summary information. svn path=/trunk/; revision=19307
Sync to Wine-20050930: Aric Stewart <aric@codeweavers.com> - Add the GUID for Patch files so that they can be opened as well. Looks like the database structure is pretty much the same. - Implement MsiReinstallFeature. - Be sure to null terminate the string in MsiGetProductInfoA after the W->A conversion using MsiGetProductInfoW if there is space. - Added stub implementations for MsiEnumPatchesA/W. Alexandre Julliard <julliard@winehq.org> - We are no longer generating .dbg.c files. - Use a more portable scheme for storing the name of a critical section. - Get rid of a couple of non-portable long long constants. - Fixed memory leak introduced in previous change. - Avoid non-portable va_list manipulations. Milko Krachounov <milko@3mhz.net> - Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw, shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui, setupapi, wininet, regedit, uninstaller, notepad, winecfg and winhelp. Jan Van Buggenhout <Chipzz@ULYSSIS.Org> - implement stubs for MsiSequence[AW]. Dmitry Timoshkov <dmitry@codeweavers.com> - COLOR_3DFACE is a better choice for the dialog background. - Fix the usage of COLOR_xxx constants in the place of the window's class hbrBackground. Mike McCormack <mike@codeweavers.com> - Stub implementation of the RemoveIniValues action. - Fix various memory leaks. - Simplify the ProcessComponents action a little. - Make build_icon_path return the path directly. - Implement MsiSequenceA/W. - Simplify the InstallValidate action a little. - Added memory allocation inline functions (part 2). - Fix a bug in a previous patch spotted by Dieter Komendera. - Convert progids to a standard list. - convert verbs into a standard list - remove limitation of 100 verbs - use pointers to verbs rather than indexes - Rename load_dynamic_property and remove its unused 3rd argument. - Create a macro to write a value to a subkey. - Use the new msi_reg_set* macros where possible. - Create a macro function to write registry values. - fix a bug introduced by the progid list conversion - make a fixme a little less alarmist - Add objects to lists at the right time. - Fix some simple memory leaks. - Fix an error introduced when converting dialog lists to standard lists. - Added memory allocation inline functions (part 1). - Make sure not to free a a pointer that has been modified. Check that the text identifier doesn't contain invalid characters. - Don't quote numbers in a query, as it doesn't parse correctly. - Read the MaskEdit template from the correct db field. - Don't create MSI handles unless we have to pass one through the API. - Convert the list of dialog controls to a standard list. - Deformat all dialog text strings before using them. - Load riched20.dll on demand, and unload it after it's used (based on a patch by Rob Shearman). - Make sure to release the package we grabbed on the error path. - Fix and test MsiViewGetColumnInfo and binary fields. - Skip dash characters in the PIDMask for a MaskedEdit control. - Don't refcount tables. - Fix an uninitialized variable problem. - Fix memory leaks in the table code. - Fix memory leaks. - Remove some unused values in the object header. - Fill out the stubs for MsiApplyTransformA/W a bit more. - Fix various query related memory leaks. - Make sure to set the minimum size before allocating string table memory. - Don't include the terminating nul in the length in MsiSummaryInfoGetPropertyW. - fix MsiSummaryInfoGetProperty to return ERROR_MORE_DATA if the buffer is too small (based on a patch by Aric Stewart) - add a test case to show correct behaviour - Create a function to determine the table's row size and use it. Fix a memory leak in the table code. - Eliminate fixed length buffers from the MSIFEATURE structure. - Fix more fixed length buffers. - Reduce the indent level of a function. - Allocate memory rather than using fixed length buffers. - Remove an unnecessary level of indent. - Keep temporary files in a seperate list. - Rename ACTION_DoTopLevelINSTALL to MSI_InstallPackage, remove its duplicate 4th parameter. Split the code to copy a package into a separate function. - Avoid fixed length buffers for conditions. - Fix a memory leak. - Create a function to read a property as an integer. - Make some fixme messages less alarmist. - Fix if's that are followed by semicolons. - Add some more action stubs, remove forward declarations. - Eliminate yet more fixed length buffers. - Convert RunningActions array into a list. - Split command line parsing from MSI_InstallPackage into a separate function. - Move a fixed size buffer to the heap. - Fix memory leaks in custom actions. - Make a macro function for unimplemented actions. Add some more unimplemented action stubs. - Make load_string_table return the string table. - Stub implementation of the IsolateComponents action. - Convert the list of tables to a standard list. - Add a stub implementation of the BindImage action. - Avoid UpdateWindow, it causes trouble with WS_EX_TRANSPARENT. - Stub implementation of the PatchFiles action. - Fix another memory leak. - Add the progress control. - Stub implementation of the MoveFiles action. - Avoid using static variables in the InstallFiles action. - Take advantage of the msi_get_deformatted_field function to simplify some code. - Improve a fixme message a little. - Skip the first character of a font identifier if it's \ or &. - Make sure not to access invalid components or features. - Fix the handling of MsiGetTargetPath args (with test case). - Fix the handling of MsiDoAction args (with test case). - Fixes for MsiGetSourcePath parameter handling. - Load a table's column information separately from the table itself. - Handle copying of the install package to a temporary file in one place only. - Implement MsiGetShortcutTargetA. - Fix the stub for MsiConfigureFeature. Alexander N. Sørnes <alex@thehandofagony.com> - Added Norwegian translations. Kimmo Myllyvirta <kimmo.myllyvirta@gmail.com> - Added Finnish resources. svn path=/trunk/; revision=18333
Sync to Wine-20050725: Robert Shearman <rob@codeweavers.com> - In MsiLocateComponent pcchBuf can be NULL so don't try to dereference it. Alexandre Julliard <julliard@winehq.org> - Use the official names for the Unicode string constants. Aric Stewart <aric@codeweavers.com> - Implement MsiGetLanguage. - Relocate the msi file to prevent cd locking, corrected to properly not try to relocated #nnnn handles as files. - Use the SourceList functions to get the source path in ConfigureProductExW. - Handle installs off multiple volumes and properly pull the prompt string from the error table. - If MsiGetProperty(A/W) is called with a NULL for the value buffer but a value in the size for the value buffer, then Msi fills in the size of the value into the pointer for size. This is tested and confirmed with native MSI. - Bail out if the reg key is empty. This prevents us from writing garbage to the property table. - Properly resize the buffer based on ERROR_MORE_DATA. Also remember to free the allocated buffer. - Further testing shows that when CustomActionData needs to be blank it is an empty string not ' '. - Correct an error where I was not properly advancing a pointer. - Add source.c to start handling the various MsiSourceList apis used in v3 of MSI, and now internally. - Update files.c to use the MsiSourceList apis to make sure our SourceList keys in the registry are included and correct. - Use the strings defined in msi.h. - Use SOURCEDIR instead of PackagePath. Because the PackagePath may be local, while SOURCEDIR is more proper and will be a full directory. - InstallShield does a number of actions using DoAction before the Install starts so the PackageCode needs to be loaded on OpenPackage instead of the beginning of the install process. - When working toward install on demand support we need to reset all the constant values so that multiple install process do not get confused by leftover values from the previous install. - Fill and use the ProductCode part of the MSIPACKAGE structure. - Add the string constants located in msi.h and make use of them in files.c and source.c. - Keep track of what sequence we are in and register unique actions. This allows us to make sure actions and custom actions flagged to run only once, actually run only once. - Also clean up some of the numeric constants in custom.c using the defined values from msidefs.h. Mike McCormack <mike@codeweavers.com> - gcc 4.0 -Wpointer-sign fixes. - Display icons in buttons that have them. - Use LoadImage to load bitmaps and icons. - Set the initial focus on the control specified by Control_First in the Dialog table. - Move to the next mask edit field when the current one becomes full. - Make the tab order in msi dialogs right. - Don't crash when cancelling out of a modeless dialog. - Stop the install when cancelling from a modeless dialog. svn path=/trunk/; revision=17331
Sync to Wine-20050628: Mike McCormack <mike@codeweavers.com> - Repaint the area behind the "transparent" text control when it changes. - Implement transparency in the text control. - Make the MSI icon control work. - Make tabs work in msi dialogs. - Added support for the MSI MaskEdit control. - Use a richedit control for license text. - Fix radio button groups. Don't add the WS_GROUP style to every window. - Use standard lists in the event subscription code. - Take the dialog frame into account when calculating the dialog size. - Use MSI_QueryGetRecord in one more place. - Create a helper function to fetch a single record from a query. - More -Wmissing-declarations and -Wwrite-strings warning fixes. - Get rid of some redundant parser types. - Use the new helper function MSI_QueryGetRecord. - Use MSI_RecordGetString in more actions. - Use MSI_RecordGetString where possible. - Fixes for -Wmissing-declarations and -Wwrite-strings warnings. - Remove some unused code. - Add and correct some function declarations. - Improve number parsing and avoid unicode.h. - avoid unicode.h - add a missing function prototype - Create a stub implementation for MsiViewGetError. - Remove more types from the parser. - Test and fix the size of stream fields in a record. - Clean up headers and make some functions static. Marcus Meissner <meissner@suse.de> - Use a simpler expression for the "RichEdit20W" string to workaround compiler bug. - Remove cszbs from msi/action.h. Aric Stewart <aric@codeweavers.com> Mike McCormack <mike@codeweavers.com> - Allow dialog controls to subscribe to installer events. - Fix handling of checkbox properties. - Implement dialog events and hook up the dialog code. Aric Stewart <aric@codeweavers.com> - Break out all the file related actions and helper functions into files.c - Break out all the top level apis into install.c. - Break out all the class registration actions into classes.c. This includes RegisterClassInfo, RegisterProgIds, RegisterExtensions and RegisterMIMETypes. - Break out all the helper functions into helpers.c. - Added module upgrade.c and implemented FindRelatedProducts. - A long overdue fix to MSI_SetTargetPath. This should fix an error with some installers that where unable to change the target path. - Add functions to add the User UpgradeCodes. - A simple cleanup to only track the temp file if we need to have it laying around because the action is going on asynchronously. Otherwise clean up the temp file as the action finishes. - Introduce really basic scripting of actions. This is primarily to get the order of execution of the action correct since some custom actions can be scripted and others are run during the script building phase. - Perform ExecuteAction at UILevel 2. - Rework CreateShortcuts to use MSI_IterateRecords. - Properly handle -1 as a registry key root. - Rework SelfRegModules to use MSI_IterateRecords. - Rework component, feature and file loading to use MSI_IterateRecords. - Rework RegisterFonts to use MSI_IterateRecords. - Rework WriteIniValues to use MSI_IterateRecords. - Rework PublishProduct to use MSI_IterateRecords. - Rework RegisterTypeLibraries to use MSI_IterateR - Rework LaunchConditions to use MSI_IterateRecord - Rework CostFinalize to use MSI_IterateRecords. - Rework WriteRegistryValues to use MSI_IterateRecords. - Rework CreateFolders to use MSI_IterateRecords. - Use MSI_IterateRecords for processing actions. Some whitespace cleanup and replace a comment block I did not want to remove. - Flesh out the remaining keys in RegisterProduct. - Extending upon Mike McCormack's cleanup to use MSI_RecordGetString. - Register the Product Version also. Also help plug some memory leaks pointed out by Mike McCormack. - Avoid a loop where a parent's parent refers to itself as its parent. - Added module upgrade.c and implemented FindRelatedProducts. - Set the Preselected property if appropriate (relevant to MigrateFeatureStates when implemented). - Write out Product Language and Product Icon to the registry. - Write out UpgradeCodes to the registry to allow for future upgrades. - Don't get caught in loops on parent progids. - Since multiple progids can refer to 1 class we need to check if that class is isntalled instead of just relying on having it set the InstallMe variable. - Add install_on_demand for Extension servers also. currently defaulting to TRUE. - Extension need to have 1 verb to mark the given progid to be installed. - Do not loop if a ProgId's Parent Index it itself. - Add a VersionIndIndex for tracking version independent fields for the ProgIds properly. - Print a message for skipped actions in ProcessExecSequence like in the UISequence. - Do not change a features state to Advertise if it explicitly disallows it. - For typelibs index 1 do not add \\1 to the path. This cleans up registry diffs with native MSI. - Register the FileType and correct short vs long path problems with InprocServer32. Also add install_on_demand boolean for future expansion. - First pass at writing out CurVer keys for ProgIds. Also print a message for the actions we skip. Lines up with native MSI output logs for ease of comparison. - A big rewrite of the whole RegisterClass, RegisterProgId, RegisterExtension and RegisterMIME actions. We now handle verbs properly, handle dependancies and such properly and keep track of what we need to register and what we do not properly. - Allow control events to return codes to halt the processing of event. Needed for the SetTargetPath Event. - Fix situations where TARGETDIR is set to a non \ terminated path. Fixes a few installers. - Redo how we extract files from a cabinet in order to dramatically improve performance, especially if picking and choosing files out of the cabinet. - Duplicate files should not fail if unable to get Destination Directory. - Use MSI_IterateRecords for DuplicateFiles. - Add UI messages to FindRelatedProducts. - Reduce unneeded includes. - A "1" is returned not a 1 for AssignmentType. Also as a bit more to the FIXME message. - Add Language to the values we can query with MsiGetProductInfo. - Correct a crash if the length buffer is NULL. - Locate where a buffer size is not being set and correctly handle the buffer size conversion from W to A (with help from Robert Shearman). - Make sure the TRACE statements do not spew garbage by using debugstr_wn. - Restrict deformating of nested index keys [[1]]. - Introduce the beginning of group deformating {}. - Implement the [!file] format to produce the short filename. Stefan Huehner <stefan@huehner.org> - Fix more -Wstrict-prototypes warnings. Francois Gouget <fgouget@free.fr> - Assorted spelling fixes. Dmitry Timoshkov <dmitry@codeweavers.com> - Make more of the OLE interface vtables const. svn path=/trunk/; revision=17034
Sync to Wine-20050524: Alexander Julliard <julliard@winehq.org> - Added rules for building import libraries in the individual dll makefiles, and added support for building a .def.a static import library too. Aric Stewart <aric@codeweavers.com> - Fix a few leaking object handles. - Correct user component publication. - Implement MsiEnumComponentQualifiers. - Implement Publish Components in order for MsiGetQualifiedComponent apis to work. Also implement MsiGetQualifiedComponent, or at least some of the functionality as it is supposed to install stuff if it is absent, which it does not do yet. - Correct query quoting based on Mike's patch. Also more error messages about return codes from custom actions and ignore an error that we should be ignoring. - Double terminate SZ_MULTI properly. - ClassInfo and ExtensionInfo are also written for ADVERTISED components. - Write the RegOwner and RegCompany keys as blank if they do not exist when doing the RegisterUser action. - Fix quoting on queries. - Respect '+' and '*' in WriteRegistryValues to only create the key if it does not already exist. Prevents overwriting values with NULL. - We cannot internally load the files in FileCost because that action may be skipped or not called. So do it in CostInitialize. - Quote the file path in SelfRegModules. - Do not write squished null guids to the feature registration. - Correctly use short filenames from uncompressed file sources. Also default feature and component install states to ABSENT instead of UNKNOWN. - Correct a problem with parse_data if binary data was not in full bytes. - More properly handle uncompressed file sources, fix the creating and parsing of Source Directories. - ExecuteAction runs the whole Execute table and not just from InstallValidate onward. To do this make sure we do not do the costing initialization work again if it is already done (by checking the CostingComplete Property). - A lot of work to refine feature states, setting the state affects the state of all child features and also respect features that want to default to something other than LOCAL. - Fix a few leaking object handles. - Correct user component publication. - Implement MsiEnumComponentQualifiers. - We have a stub for MsiGetUserInfoA we should use it. - A few small fixes. - Add a missing msiobj_release that was resulting in a leaked object with each MsiCreateRecord call. - Fix a leaking handle. - Make MsiCollectUserInfo more internally consistent. Thanks to Mike McCormack. - Fix a leaking handle in MsiConfigureProductExW. - Implement MsiGetProductCodeW. - Implement MsiGetUserInfoW. - Implement MsiCollectUserInfoA/W. - Implement MsiQueryFeatureStateW. - Correct a leaking hkey handle. - Expand some handling of special properties in MsiGetProductInfo. - Fix for the return codes for the Qualified component calls. They are not INSTALLSTATEs but rather success values. - Quoting fixes. Mike McCormack <mike@codeweavers.com> - Make sure that dialogs are only created and destroyed in a single thread. - Track memory allocations in the SQL parser. - Create the ORDER BY view in a single call. - Simplify parsing of the FROM keyword. - Improve parser error checking. - Simplify parsing of select query. - remove the unused utf8 field of an expression - make the parse result a single assignment at top level of parsing - abort parsing on a memory allocation failure - Only tables can be backquoted, strings must be single quoted. - Declare MsiExportDatabase* in the spec file, and fix a typo. - make sure to free the string table when closing the database - don't free szPersist in MsiOpenDatabase if it's not a string - Avoid some non-standard str functions. Francois Gouget <fgouget@free.fr> - Tweak the documentation to make winapi_check happy. Juan Lang <juan_lang@yahoo.com> - Don't fail in RegisterFonts if the Fonts table is missing. - Partially implement AppSearch for RegLocator-type searches. - Turn handled errors from ERRs to WARNs or TRACEs. Vincent Beron <vberon@mecano.gme.usherb.ca> - Use SUBLANG_NEUTRAL for French resources. Stefan Leichter <Stefan.Leichter@camLine.com> - Update version resource of msi.dll to current version shipped from windows update. - Added minimal implementation of MsiCreateAndVerifyInstallerDirectory. Marcus Meissner <marcus@jet.franken.de> - Set PhysicalMemory property from system data. svn path=/trunk/; revision=15537
Sync to Wine-20050419: Mike McCormack <mike@codeweavers.com> - Load and display bitmaps in the dialogs. - Make sure there's only one place we allocate dialog controls. - Rename dupstrW to strdupW, and remove duplicate definition. - Move definition of string manipulation functions to msipriv.h. - Split out database functions, remove dependence on wine/unicode.h. - Fix loading of the summary information. - test cases for summary information - fix memory leaks - Implement summary information loading and saving. - Declare MsiExportDatabase* in the spec file, and fix a typo. - Replace instances of HeapAlloc/MultiByteToWideChar with the internally defined strdupAtoW. - Use strdup, implement MsiDatabaseImportA. Francois Gouget <fgouget@free.fr> - Assorted spelling fixes. Peter Berg Larsen <pebl@math.ku.dk> - Janitorial: Get rid of strncpy/strncpyW. - Remove 2 identicals calls to strlenW. Jose Manuel Ferrer Ortiz <jmfo1982@yahoo.es> - Spanish translations updated. Aric Stewart <aric@codeweavers.com> - Implement Publish Components in order for MsiGetQualifiedComponent apis to work. Also implement MsiGetQualifiedComponent, or at least some of the functionality as it is supposed to install stuff if it is absent, which it does not do yet. - Make sure the GUID of the typelib we are registering matches the guid requested from MSI. If not search the given typelib file to find the typelib requested to register. - If running in UI mode, then display the UI mode dialogs at the end of the installs. Steven Edwards <steven_ed4153@yahoo.com> - Avoid using ver.h in favor of winver.h. Jakob Eriksson <jakov@vmlinux.org> - Get rid of HeapAlloc casts. Hans Leidekker <hans@it.vu.nl> - Dutch resource translation. Marcus Meissner <meissner@suse.de> - Fixed MsiDatabaseImportA, MsiDatabaseImportW, and MsiCreateAndVerifyInstallerDirectory stub parameter counts. Juan Lang <juan_lang@yahoo.com> - Log missing environment vars for easier debugging. svn path=/trunk/; revision=14823
Sync to Wine-20050310: Ulrich Czekalla <ulrich@codeweavers.com> - Add support for radio buttons. - Allocate space for terminating null. - Fix a memory leak. - Prevent accessing freed memory in failure case. Mike McCormack <mike@codeweavers.com> - Add a border to the edit control, add some more controls. - Implement SQL delete query. - Move product, feature and component enumeration functions to registry.c. - Make sure strings are null terminated. - Fix up the summary information code a little. - Allow MsiViewExecute to be called twice on the same query. - Implement MsiDatabaseGetPrimaryKeys. - MsiGetComponentPath should allow null pointers for pcchBuf and lpPathBuf. - Remove const declaration from non-const function. Jose Manuel Ferrer Ortiz <jmfo1982@yahoo.es> - Added MSI Spanish resources. Juan Lang <juan_lang@yahoo.com> - Implement MsiEnumRelatedProducts. - make sure msihandle2msiinfo is correctly matched with msiobj_release - don't do redundant NULL checks - Don't hardcode windows or system directories, correct a typo. - Fix a regression in AppSearch. Jonathan Ernst <Jonathan@ErnstFamily.ch> - Add French resources. Henning Gerhardt <henning.gerhardt@web.de> - Add/updated German resources. Marcelo Duarte <wine-devel@bol.com.br> - Update the resources for Portuguese. Francois Gouget <fgouget@free.fr> - Assorted spelling fixes. Alexandre Julliard <julliard@winehq.org> - Avoid spaces before preprocessor directives, that's not portable. Aric Stewart <aric@codeweavers.com> - Text reformatting patch to clean up all the static strings. - Implement the action RegisterFonts. - Add the ExecuteAction handler. - Store the keypath, and do refcounting and registration of SharedDLLs. - Fix a bug with handing dword values in the registry. - Fix bugs with writing registry keys where value == NULL. - Make use of msidefs.h. - Lay some groundwork for uninstalls. - Update the installed state for components during CostFinalize. Laying groundwork to be able to start processing uninstall logic as well. - Fixed problems with my code for finding the PackageCode. - Stubs for MsiUseFeature. - Do some basic work with registry component paths. - Make sure formats like [\\]] and [\\[] work properly. Steven Edwards <steven@codeweavers.com> - Correct typo. Marcus Meissner <marcus@jet.franken.de> - Output some more informations. - Mark one global variable static. svn path=/trunk/; revision=14081
Sync to Wine-20050211 Mike McCormack <mike@codeweavers.com> - add support for Edit boxes in MSI dialogs - run the message loop when waiting for threads or processes - fix the dialog font - allow waiting on a handle while running the message loop - implement checkboxes in dialogs - use TextStyle enumeration instead of numbers - fix MSI_IterateRecords to return the correct count - Add more dialog controls, do something when they're clicked on. - Implement MsiPreviewDialog. - Implement and document MsiLoadString. - Added stub implementations for MsiPreviewDialog and MsiPreviewBillboard. - Fix MsiModifyView and MsiViewGetColumnInfo to use MSIRECORD* not MSIHANDLE. - Implement, test and document MsiDecomposeDescriptor. - Handle a number as a parameter for custom action 19. - Move OpenQuery into msiquery.c and make it non-static. - Fix and test inserting records. - Fix refcounting, use Interlocked functions. - MsiEvaluateCondition returns an error when passed NULL as a condition. - Lock record in MsiViewExecute, move stubs to end. - Fix MsiRecordSetString for NULL strings and update test case. - Fix a bug caused by freeing memory too soon in the table code. - Update headers, add MsiGetUserInfoA stub implementation. - Fix a memory leak in MsiConfigureProductExW. - Indentation and style cleanup. - implement MsiOpenPackageEx, and forward MsiOpenPackage there - make a MSI_CreatePackage function and use it in MSI_OpenPackage - move MsiOpenPackageA down with the rest of the API functions Juan Lang <juan_lang@yahoo.com> - Partially implement AppSearch action. - If a full path isn't specified, search across all fixed drives. - Simplify AppSearch error checking. - Identifiers evaluate to true if they are non-empty, regardless of value. Aric Stewart <aric@codeweavers.com> - action.c is getting too big, so split out all the handling of CustomActions into custom.c. Cleaned up a lot of the handling of custom actions including scripting actions and processing return codes. - Mike McCormack pointed out that MsiFormatRecord is basically the same as internal function deformat_string. So broke deformat_string out and updated it to function as MsiFormatRecord and implemented MsiFormatRecord. - A number of random fixes to action.c including properly calculating the length for the LocalPackage name, not forcing a reboot when really we should just return ERROR_INSTALL_SUSPEND and handling REG_MULTI_SZ now that we can deformat the properly. - Move the guid squishing functions out of msi.c and make a new registry.c file. Also clean up all the various registry keys we need to open and create to this module and modify the functions for msi.c to call these functions. - Added a few more stub implementations. - Implement custom action type 19, Halt install and display error message. - Continued work to simplify the ProcessAction call, also split it into a ProcessAction and ProcessUIAction for future dialog box work. Also fix a bug in deformat_string where i was not freeing the created record. - Make a temp file for each dll saved for custom actions. This prevents name collisions from causing custom actions to fail. - Do not track the temp files for custom actions based on the name from the table because then we get conflicts and files not tracked or cleaned up. - Add the RegisterUser action. - Implement RegisterExtensionInfo and RegisterMIMEInfo. - Add logic to be able to resolve the SourceDir based on CurrentPath. Also add logic to get the source locations of a file if it is not in a cabinet. - Finish up the framework by stubbing out all the remaining Standard actions. - A fix to deformat_string so it only returns a null return if you provided a null buffer. - Eliminate the giant if.. else if block from ACTION_ProcessAction in favor of a table of handlers. - Return code of the install should not depend on the return code of the final action. - Update component installed states as they are installed so that conditions based on component states are at least a little more correct. - Add icon and argument when regestering clsids. - Add a stub for ResolveSource because we do that work just not in ResolveSource like we should. - When quering a Component state return the correct state. - Enable the updating of Feature and thus the resulting component states. - Run the end of install actions for suspend and user exit states as well. - Start putting in place a currently running state for future ui use. - Use the new registry functions in registry.c. - Do not force a reboot, just return ERROR_INSTALL_SUSPEND and write some keys to the registry. - Quite a few fixes: - Allow for the queing of custom actions to trigger on the InstallExecute or InstallExecuteAgain actions. - allow for the queing of custom actions to trigger on InstallFinalize. - Properly set the CustomActionData property for said queued actions. - Implement RegisterProduct. - Beginning implementation of ForceReboot. - Don't kill install if an item to be duplicated does not exist. - Write out SourceList and LastUsedSource for resuming installs. - Use regsvr32 to register self reg dlls. - Implementations for SelfRegModules and PublishFeatures. - Set default ACTION property for Install. - Deformat more than JUST properties properly. Allows for Files and Component paths in deformat. - Properly deformat a LaunchCondition failure dialog box. - Resolve and save registry Keypaths. - Write the Features published keys more correctly. Still some problems. - First implementation of the WriteIniValues action. - Custom actions can have null in their target parameters, handle that without crashing. Also enable deformating of lines greater than 256 characters. - Added some more suminfo stubs. - An implementation of MsiSummaryInfoGetPropertyW based off of MsiSummaryInfoGetPropertyA. - Added stubs for MsiGetShortcutTargetA/W. - Do a very basic first implementation of MsiConfigureProductExW for msiexec /@ when run as a reboot. - Also add a number of new stubs for the office xp and 2k3 install and startup process. - Fix a copy and paste error, check for a null value and discard unneeded errors. - Do not limit properties to 256 characters when evaluating them. - Setting a record to an empty string is the same as making it null. - First pass implement ion of MsiQueryProductState[A/W] as well as a few fixes for MsiGetComponentPath. - Actually start on an implemention for MsiGetComponentPathW that should handle all keypaths that are files. - A reworking of format.c to remove the recursion, clean things up and stabilize behavior to match windows. - Cleanup processing a bit more. - Allow for nested keys to work properly. - MsiGetProperty does not return any error on missing properties. - The new Insert fixes now properly require ?,? instead of just ? for the Insert call. This fix modifies the MSI_SetProperty query to be correct. Michael Stefaniuc <mstefani@redhat.de> - Do not check for non NULL pointer before HeapFree'ing it. It's redundant. Francois Gouget <fgouget@free.fr> - Assorted spelling fixes. Ulrich Czekalla <ulrich@codeweavers.com> - Handle 0 length buffers in MSI_FormatRecordW. - Remove unused buffer in deformat_string. Mike Hearn <mh@codeweavers.com> - Correctly ensure properties set from resolved directory paths are backslash terminated. Francois Gouget <fgouget@free.fr> - Assorted spelling fixes. Marcus Meissner <meissner@suse.de> - Initialize rc in create_component_directory(). Alexandre Julliard <julliard@winehq.org> - Avoid unnecessary run-time initializations. svn path=/trunk/; revision=13518