Commit Graph

2174 Commits

Author SHA1 Message Date
James Hawkins 6056fd1b05 msi: Add another MsiGetFileVersionTest. 2008-06-25 10:43:02 +02:00
James Hawkins 0097275f3f msi: Add tests for MsiGetUserInfo. 2008-06-24 12:16:01 +02:00
James Hawkins 41fe12f149 msi: Reimplement MsiGetUserInfo. 2008-06-24 12:15:48 +02:00
James Hawkins 72fedf7d88 msi: Handle the machine context in MsiQueryFeatureState. 2008-06-24 12:15:38 +02:00
James Hawkins 200eba3b94 msi: Handle the user managed context in MsiQueryFeatureState. 2008-06-24 12:15:31 +02:00
James Hawkins aefd63dc4e msi: Add more tests for MsiQueryFeatureState. 2008-06-24 12:15:23 +02:00
James Hawkins 2d4e4b6ae2 msi: Create the SourceList key in msi_publish_sourcelist. 2008-06-24 12:15:16 +02:00
James Hawkins 58e1543960 msi: Fix the published location of the upgrade code for the machine context. 2008-06-24 12:15:10 +02:00
James Hawkins 301f2a5eae msi: Open the local user data product key for the machine context. 2008-06-24 12:15:03 +02:00
James Hawkins e6d126cd49 msi: Test the PublishProduct action with the machine context. 2008-06-24 12:14:56 +02:00
James Hawkins cdb33f8a39 msi: Publish the UpgradeCode in PublishProduct. 2008-06-24 12:14:49 +02:00
James Hawkins 5538fa0290 msi: Publish media disks whether the drive type is removable or not. 2008-06-24 12:14:42 +02:00
James Hawkins ef640a6cd5 msi: Publish a few more product properties. 2008-06-24 12:14:36 +02:00
James Hawkins c7ab4fad08 msi: Allow checking a REG_MULTI_SZ string. 2008-06-24 12:14:30 +02:00
James Hawkins db2e8d2fdf msi: Squash the package code property. 2008-06-24 12:14:23 +02:00
James Hawkins ebeb537939 msi: Factor out publishing the product properties. 2008-06-24 12:14:14 +02:00
James Hawkins d809b4e2d9 msi: Don't publish the product to an invalid location. 2008-06-24 12:14:07 +02:00
James Hawkins ee8b4a0132 msi: Don't set an invalid install property in PublishProduct. 2008-06-24 12:14:00 +02:00
James Hawkins 68e6071d3c msi: Factor out publishing the product source list. 2008-06-24 12:13:53 +02:00
James Hawkins fac97bb8c5 msi: Factor out publishing icon files. 2008-06-24 12:13:46 +02:00
James Hawkins bb8d253ecc msi: Rewrite the PublishProduct test to only check the registry changes. 2008-06-19 12:34:36 +02:00
James Hawkins c0f8bfd2dd msi: Test the RegisterProduct action with the machine context. 2008-06-19 12:34:29 +02:00
James Hawkins 45de896a3d msi: Factor out the publishing of installation properties. 2008-06-19 12:34:23 +02:00
James Hawkins b635e3170f msi: Don't publish the upgrade key to an invalid location. 2008-06-19 12:34:15 +02:00
James Hawkins 2194889d5d msi: Rewrite the RegisterProduct test to only check the registry changes. 2008-06-19 12:34:04 +02:00
James Hawkins 2a180e060a msi: Fix the PublishFeatures action to handle the package context. 2008-06-19 12:33:55 +02:00
Paul Vriens 61daa613dd msi/tests: Fix some test failures.
Results on test.winehq.org show failures for at least Vista as new
DISPID's are known there.
2008-06-19 11:55:05 +02:00
James Hawkins af56e28f7e msi: Don't publish features to an invalid location. 2008-06-18 16:24:09 +02:00
James Hawkins d8e4258d08 msi: Rewrite the PublishFeatures test to only check the registry changes. 2008-06-18 16:24:05 +02:00
James Hawkins 5f46dfd698 msi: Fix the RegisterUser action to handle the package context. 2008-06-18 16:24:01 +02:00
James Hawkins 79d0c3719f msi: Rewrite the RegisterUser test to only check the registry changes. 2008-06-18 16:23:57 +02:00
James Hawkins 288af81a7c msi: Fix the ProcessComponents action to handle the package context. 2008-06-18 16:23:27 +02:00
James Hawkins 5f11262da9 msi: Determine the installation context after reading properties from the command line. 2008-06-18 16:23:22 +02:00
James Hawkins 4aa3a997f8 msi: Don't publish components to the Installer key. 2008-06-18 16:23:18 +02:00
James Hawkins 073d55e73b msi: Rewrite the ProcessComponents test to only check the registry changes. 2008-06-18 16:17:56 +02:00
James Hawkins d3cc801da1 msi: Set the source path for uncompressed files when loading the file. 2008-06-11 11:27:15 +02:00
James Hawkins dbbd5ca736 msi: Load folders first. 2008-06-11 11:26:55 +02:00
Paul Vriens ad2c9211bc msi/tests: Cleanup registry after test. 2008-06-11 11:26:22 +02:00
Dan Kegel a302ec645c msi/tests: Initialize buffer lengths before calling MsiSourceListEnumMediaDisks. 2008-06-06 10:28:35 +02:00
Dan Kegel ecfa0fbcea msi: MsiSourceListEnumMediaDisksW: free original string, not substring. 2008-06-04 12:53:25 +02:00
Dmitry Timoshkov 76d6b76737 msi: Mark some data as constant. 2008-05-26 19:46:09 +02:00
James Hawkins 77d259f46c msi: Search the last used source if the cabinet to extract cannot be found. 2008-05-22 11:30:54 +02:00
James Hawkins 70cd6bfbbd msi: Check that the file key is valid before installing the assembly. 2008-05-20 15:43:54 +02:00
Mikołaj Zalewski 14a42f802d Make Swedish use SUBLANG_NEUTRAL. 2008-05-19 16:09:13 +02:00
James Hawkins 95282bdeaa msi: Reset the hasLocalFeature flag when updating components. 2008-05-19 13:36:45 +02:00
James Hawkins 6221975407 msi: Don't enable a feature's components if that feature is disabled. 2008-05-19 13:36:37 +02:00
James Hawkins 69c02d0b03 msi: Create the MSI hidden window on demand. 2008-05-14 21:51:10 +02:00
James Hawkins ece5a047de msi: Set the OutOfDiskSpace property. 2008-05-14 12:22:01 +02:00
James Hawkins 9460ae35b5 msi: Copy the assembly file directly if it's not compressed. 2008-05-14 12:21:54 +02:00
James Hawkins 7ae4f695bc msi: Convert string variables to ints when appropriate. 2008-05-13 10:44:22 +02:00
James Hawkins ca8e867da7 msi: Test the ScreenX/Y properties. 2008-05-13 10:43:55 +02:00
Jens Albretsen b74ee6fbcd msi: Danish translation. 2008-05-07 12:08:58 +02:00
Francois Gouget 633ee950a1 Assorted spelling fixes. 2008-05-07 12:07:11 +02:00
Francois Gouget d2364d5d27 Add a comment warning when a table must be kept sorted for later use with bsearch(). 2008-05-06 16:11:09 +02:00
Francois Gouget 42a61d7ed7 Assorted spelling fixes. 2008-05-06 16:10:20 +02:00
James Hawkins 6d91fd8ce6 msi: Use the handle to the treeview item if the item text is not returned. 2008-05-05 13:34:05 +02:00
James Hawkins 02b531b302 msi: Fix a typo. 2008-05-05 12:54:00 +02:00
James Hawkins 33c3bdeb03 msi: A progid who is its own parent cannot have a clsid. 2008-05-02 11:33:28 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
James Hawkins bfe07d1d07 msi: Add initial implementation of MsiPublishAssemblies. 2008-04-30 13:45:23 +02:00
Alexandre Julliard ef07d83405 Include wine/port.h everywhere we use exceptions. 2008-04-29 20:18:49 +02:00
James Hawkins f2189d17b0 msi: Remove a debugging call. 2008-04-28 12:27:09 +02:00
Alexandre Julliard 8ebe988d2e Add makedep magic comments for typelibs in resource files. 2008-04-24 22:14:21 +02:00
Alexandre Julliard 06bf8ea291 msi: Avoid creating zero-length string values in the registry. 2008-04-22 17:05:05 +02:00
Andrew Talbot 68975938f6 msi: Remove unused variables. 2008-04-22 11:54:38 +02:00
James Hawkins a5d15b3b60 msi: Fix a few tests that fail in win9x. 2008-04-21 13:20:12 +02:00
Rob Shearman 4a75b8bf09 msi: Fix the value parameter of IWineMsiRemotePackage::FormatRecord to have the right level of indirection for an [out] parameter.
Remove the redundant size parameter and simplify the client code such 
that the remote function is only called once, with the value being 
automatically allocated. Add corresponding code on the server side to 
automatically allocate said value.
2008-04-17 11:39:37 +02:00
Austin English 5644f05edf msi: Spelling fixes. 2008-04-08 12:25:13 +02:00
Rok Mandeljc 04a740efc4 msi: Added Slovenian translation. 2008-04-07 21:39:59 +02:00
James Hawkins 4d9c17da02 msi: Don't execute the view again when modifying a WHERE query. 2008-04-07 11:27:39 +02:00
James Hawkins bcba82dc0c msi: Open the install properties key based on the install context. 2008-04-07 11:27:30 +02:00
James Hawkins e21a26e47b msi: Test and reimplement MsiQueryProductState. 2008-04-07 11:27:24 +02:00
James Hawkins 85866317c5 msi: Don't reorder the table when matching rows as the results are already ordered. 2008-04-07 11:27:15 +02:00
James Hawkins 82517d6d67 msi: Set the install context based on the ALLUSERS property. 2008-04-07 11:27:10 +02:00
James Hawkins 30c1b88828 msi: Reset the feature states if iInstallLevel is 0 or below. 2008-04-07 11:26:54 +02:00
Hwang YunSong(황윤성) 405b31aa96 msi: Updated Korean resource. 2008-04-04 12:02:27 +02:00
Andrew Talbot 9e85ec3bad msi: Remove tentative declaration of static array with no size specifier. 2008-04-04 11:04:20 +02:00
James Hawkins 061085fa94 msi: Fix joining a nonexistent table with another table. 2008-04-03 11:30:01 +02:00
James Hawkins c48daf93bb msi: Downgrade a few messages to WARN. 2008-04-03 11:29:58 +02:00
James Hawkins a7d02a1f08 msi: Handle the case where no files match the wildcard in MoveFiles. 2008-04-03 11:29:53 +02:00
James Hawkins bed661aef4 msi: Handle sorting an empty table. 2008-04-02 12:31:01 +02:00
James Hawkins ddfefc036f msi: Fix a typo. 2008-03-25 11:44:57 +01:00
James Hawkins fb508ff8fa msi: Implement the StopServices action. 2008-03-24 11:39:47 +01:00
James Hawkins fdd55977bc msi: Don't hardcode the root drive. 2008-03-24 11:39:29 +01:00
James Hawkins 9048ecef83 msi: INSTALLPROPERTY_AUTHORIZED_LUA_APP is only available with msi >= 3.0. 2008-03-24 11:38:36 +01:00
James Hawkins d69342cd67 msi: Initialize the size parameter. 2008-03-24 11:38:30 +01:00
James Hawkins 01316db0ce msi: Remove the dependence on compressed cabinets in the install tests. 2008-03-21 11:24:11 +01:00
James Hawkins 5bec7d4bbf msi: Don't trace the tables names on import. 2008-03-20 14:27:35 +01:00
James Hawkins efc56634fa msi: Fix the registry root indices for Installer::RegistryValue. 2008-03-20 14:27:35 +01:00
James Hawkins 05af003fc1 msi: Fix a few failing tests on win9x. 2008-03-20 14:27:35 +01:00
James Hawkins 0b98ce8ff5 msi: Clean up the db when skipping the tests. 2008-03-20 14:27:35 +01:00
James Hawkins a9ebec9849 msi: win95 returns ERROR_BAD_PATHNAME. 2008-03-20 14:27:35 +01:00
James Hawkins e94b065df3 msi: Fix the type of the ID parameter of MsiSourceListEnumMediaDisks. 2008-03-20 14:27:35 +01:00
Francois Gouget 73f0b3c39b msi/tests: Skip the tests if we are unable to identify the user SID. This fixes crashes on Win9x. 2008-03-19 11:21:23 +01:00
James Hawkins ecc948ab48 msi: Fix a few test failures on win9x. 2008-03-18 11:15:57 +01:00
James Hawkins afb575d599 msi: Fix a few test failures on win9x. 2008-03-18 11:15:53 +01:00
James Hawkins 669122fdfe msi: Fix a few test failures on win9x. 2008-03-18 11:15:49 +01:00
James Hawkins c1e3f831ec msi: Skip the Installer object tests on win9x. 2008-03-18 11:15:45 +01:00
James Hawkins 55365b77d7 msi: Fix a few tests of display IDs that don't exist on win9x. 2008-03-18 11:15:40 +01:00
James Hawkins 97f1afbd3b msi: Skip the endlines test if the table fails on import. 2008-03-18 11:15:34 +01:00
James Hawkins 5e5c4a9809 msi: Don't publish the product for the custom action test. 2008-03-15 11:02:50 +01:00
Marcus Meissner db71fb15aa msi: Initialize variables. 2008-03-14 11:21:22 +01:00
James Hawkins 65f99ed91b msi: Test and fix MsiSourceListAddSource. 2008-03-13 11:36:24 +01:00
Rob Shearman 58130dde08 msi: Passing NULL for szBuffer and NULL for pcchValueBuf into MsiGetProductInfo{A, W} shouldn't crash.
Add a test for this.
2008-03-12 19:21:27 +01:00
Rob Shearman dd31a1eac4 msi: Fix typos which caused joins of three or more tables to not work properly.
In JOIN_fetch_int and JOIN_fetch_stream, prev_rows should be multiplied 
by the rows encountered in the current table so that prev_rows contains 
all of counts of the rows encountered multiplied together, rather than 
just the count of the rows in the last table encountered.
2008-03-12 19:21:19 +01:00
James Hawkins de4cab20a8 msi: Deformat the service name and display name when installing the service. 2008-03-12 12:00:23 +01:00
James Hawkins 2d0ff97406 msi: Ignore the custom action type 51 if the source field is empty. 2008-03-11 12:12:24 +01:00
James Hawkins 776a7d7065 msi: Fix an off-by-one error when applying embedded transforms. 2008-03-11 12:12:14 +01:00
James Hawkins 5871bee8c7 msi: Optimize MsiSourceListAddSourceEx for adding to the end of the list. 2008-03-11 12:12:07 +01:00
Andrew Talbot 6661f43438 msi: Assign to structs instead of using memcpy. 2008-03-07 11:01:07 +01:00
James Hawkins d52f48fed4 msi: Fix handling of published installer properties. 2008-03-07 10:52:46 +01:00
Ove Kaaven be874f1a26 msi: Fix bug in handling of multivolume CAB files. 2008-03-07 10:52:11 +01:00
James Hawkins c8acf21e0c msi: Break out the publishing tests into their respective actions. 2008-03-06 16:24:39 +01:00
Paul Vriens 2c22e9aeb6 msi/tests: Make tests run on win9x/NT4 again. 2008-03-05 11:21:56 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
James Hawkins 4609eccd72 msi: Add tests for MsiGetProductInfoEx. 2008-03-04 11:54:21 +01:00
James Hawkins ad70693539 msi: Implement MsiGetProductInfoEx. 2008-03-04 11:54:21 +01:00
James Hawkins 0c3ecefbc3 msi: Include query.h to pull in the definition of STREAMS_CreateView. 2008-03-01 12:18:54 +01:00
James Hawkins 6febb8fda8 msi: Remove a pointless wrapper of RegCreateKey. 2008-03-01 12:18:43 +01:00
James Hawkins 4439e0b57d msi: Make local functions static. 2008-03-01 12:18:40 +01:00
James Hawkins 617eb48d5b msi: Implement the UILevel property of the Installer object. 2008-03-01 12:18:24 +01:00
James Hawkins 724c8da734 msi: Don't bail out if the row to modify is not found as not all modify commands need the row. 2008-03-01 12:17:31 +01:00
James Hawkins eedfacdfe7 janitorial: Remove links to any microsoft site. 2008-03-01 12:04:03 +01:00
Alexandre Julliard 848383ac82 msi/tests: Replace a printf() by a trace(). 2008-02-29 20:55:42 +01:00
James Hawkins 174b7b51ac msi: Update controls based on a property when that property changes. 2008-02-28 10:59:22 +01:00
James Hawkins 5e2bc5b3fe msi: If a feature's action is INSTALLSTATE_UNKNOWN, MsiEvaluateCondition should return MSICONDITION_FALSE. 2008-02-28 10:59:16 +01:00
Marcus Meissner eb836b718f msi: Initialize type (Coverity). 2008-02-28 10:50:57 +01:00
Rob Shearman 3183ad65d2 msi: Fix buffer size calculation in build_default_format. 2008-02-28 10:44:11 +01:00
Rob Shearman 03e466b837 msi: Fix the buffer size calculation in msi_build_createsql_prelude. 2008-02-28 10:44:06 +01:00
James Hawkins 9101665233 msi: Change the property variant if the types don't match. 2008-02-27 14:52:26 +01:00
Paul Vriens 1bbac341df msi/tests: Fix test that depends on the order of the files in a directory. 2008-02-27 14:52:25 +01:00
Paul Vriens 6b37543adc msi/tests: Skip tests that contain functions that are not available. 2008-02-27 14:52:24 +01:00
Paul Vriens ecf8c5af36 msi/tests: Skip tests for functions that are not available. 2008-02-27 14:52:24 +01:00
Paul Vriens e7937f3cd5 msi/tests: Make sure tests will run on Win9x and NT. 2008-02-27 14:52:24 +01:00
James Hawkins bdbb7a0348 msi: Search existing published sources if the media cannot be found. 2008-02-26 11:20:46 +01:00
James Hawkins cf84e2df5b msi: Allow setting a media disk as the last used source in the internal msi_set_last_used_source. 2008-02-26 11:20:35 +01:00
James Hawkins 7d10d1d2d0 msi: Store the media type and set the last used source type accordingly. 2008-02-26 11:20:27 +01:00
James Hawkins 6e2048bbc7 msi: Read the source list properties from the user-unmanaged context. 2008-02-26 11:20:18 +01:00
James Hawkins acfed4cfab msi: Read the disk prompt source list property from the user-unmanaged context. 2008-02-26 11:20:13 +01:00
James Hawkins d62bd166dc msi: Remove setting a source list property that's in the wrong place. 2008-02-26 11:20:07 +01:00
James Hawkins 4d2cf7a44b msi: Publish source information in the user-unmanaged context. 2008-02-26 11:20:02 +01:00
James Hawkins 7e8cd606a0 msi: Add tests for MsiSourceListEnumMediaDisks. 2008-02-26 11:19:45 +01:00
James Hawkins 1bd49bcf74 msi: Implement MsiSourceListEnumMediaDisks. 2008-02-26 11:19:40 +01:00
James Hawkins 45d7d6a4e1 msi: Fix skipping a NULL record. 2008-02-26 11:19:29 +01:00
Paul Vriens 89c8e795d8 msi/tests: Make tests run on win9x/NT4 again. 2008-02-25 19:49:54 +01:00
James Hawkins 21b4af1b46 msi: Fix and simplify handling of REG_MULTI_SZ strings in the WriteRegistryValues action. 2008-02-25 12:22:16 +01:00
James Hawkins b532c0c306 msi: Simplify MsiSourceListAddMediaDisk. 2008-02-25 12:22:09 +01:00
James Hawkins d3b3738567 msi: Remove invalid fixmes. 2008-02-25 12:22:03 +01:00
James Hawkins 08172ad1c4 msi: Return the result of the call to OpenSourceKey. 2008-02-25 12:21:58 +01:00
James Hawkins 34d50c1e3e msi: Validate the parameters of MsiSourceListAddMediaDisk. 2008-02-25 12:21:51 +01:00
James Hawkins 1fced5cc1d msi: Add tests for MsiSourceListAddMediaDisk. 2008-02-25 12:21:42 +01:00
James Hawkins 8b540d2670 msi: Fix the INSTALLPROPERTY_LASTUSEDTYPE case. 2008-02-25 12:21:19 +01:00
James Hawkins 737dedfcbb msi: Fix the INSTALLPROPERTY_LASTUSEDSOURCE case. 2008-02-25 12:20:56 +01:00
James Hawkins d41cae07d5 msi: Factorize and fix the INSTALLPROPERTY_MEDIAPACKAGEPATH case. 2008-02-25 12:20:48 +01:00
James Hawkins f178985db3 msi: Simplify the check for a valid product code. 2008-02-25 12:20:39 +01:00
James Hawkins 868de4d56b msi: Add more tests for MsiSourceListGetInfo. 2008-02-25 12:20:33 +01:00
James Hawkins 88c7c2c7a1 msi: Fix the size of the data sent in to RegSetValueExW. 2008-02-22 12:11:16 +01:00
James Hawkins e43eee8759 msi: Fix the INSTALLPROPERTY_LASTUSEDSOURCE case of MsiSourceListSetInfo. 2008-02-21 12:53:00 +01:00
James Hawkins 6c7339eea1 msi: Allow enumerating the sources without querying the source name. 2008-02-21 12:53:00 +01:00
James Hawkins 3de0014750 msi: Publish a few SourceList properties. 2008-02-21 12:53:00 +01:00
James Hawkins 2d5ba8d20d msi: Implement MsiSourceListEnumSources. 2008-02-21 12:53:00 +01:00
James Hawkins 55b470545f msi: Forward MsiSourceListEnumSourcesA to a stub implementation of MsiSourceListEnumSourcesW. 2008-02-20 12:07:10 +01:00
Gerald Pfeifer db70edfc82 msi: Remove unused parameter to msi_comp_find_prodcode(). 2008-02-19 18:08:38 +01:00
Gerald Pfeifer 6bf0f0e1f6 msi: Adjust the signedness of three variables. 2008-02-19 18:08:28 +01:00
James Hawkins 123602df78 msi: Remove invalid FIXMEs. 2008-02-19 13:39:25 +01:00
James Hawkins 7cf6be8aeb msi: Return ERROR_INVALID_PARAMETER if the context is machine and szUserSid is non-NULL. 2008-02-19 13:39:25 +01:00
James Hawkins 4ee1745e81 msi: Validate the dwOptions parameter of MsiSourceListSetInfo. 2008-02-19 13:39:25 +01:00
James Hawkins 95ef6a1fbc msi: Simplify the MEDIAPACKAGEPATH and DISKPROMPT cases. 2008-02-19 13:39:25 +01:00
James Hawkins fe987103fb msi: Return the results from OpenSourceKey. 2008-02-19 13:39:25 +01:00
James Hawkins d37ac289db msi: Return ERROR_UNKNOWN_PATCH if dwOptions contains MSICODE_PATCH. 2008-02-19 13:39:25 +01:00
James Hawkins f83d049888 msi: Validate the szProduct parameter of MsiSourceListSetInfo. 2008-02-19 13:39:25 +01:00
James Hawkins 10be16f33a msi: Add tests for MsiSourceListSetInfo. 2008-02-19 13:39:25 +01:00
Francois Gouget 4a7bedfe75 msi: Use 'HKCU\Software\Microsoft\MS Setup (ACME)' as a source for the default user and company names before falling back to the RegisteredXXX values. Fix the conformance test accordingly. 2008-02-19 13:39:24 +01:00
Rob Shearman 9b5d3677df msi: Remove some unused functions. 2008-02-19 13:39:24 +01:00
James Hawkins 9d0ae904d0 msi: Add tests for MsiSourceListEnumSources. 2008-02-18 12:41:37 +01:00
James Hawkins f177dc9f90 msi: Add tests for enumerating the source list after publishing. 2008-02-18 12:41:37 +01:00
James Hawkins 40aa7df344 msi: Implement the MSIMODIFY_REFRESH command of MsiViewModify. 2008-02-18 12:41:37 +01:00
James Hawkins 30e5321867 msi: Add tests for the MSIMODIFY_REFRESH command. 2008-02-18 12:41:37 +01:00
James Hawkins bbdf79bc8c msi: Convert REG_DWORD properties to strings in MsiGetProductInfo. 2008-02-18 12:41:37 +01:00
James Hawkins 8412a1363b msi: Set the UserLanguageID property. 2008-02-18 12:41:37 +01:00
Rob Shearman 85fbdfcc9e msi: Fix the character count passed into RegSetValueExA in test_MsiQueryFeatureState. 2008-02-18 12:41:36 +01:00
Marcus Meissner 11b25a65ac msi: Fixed error reporting of add_streams_to_table. 2008-02-16 15:15:26 +01:00
Paul Vriens 4c105b2f5c msi/tests: Services are not available on win9x. 2008-02-15 11:07:19 +01:00
Rob Shearman e35bd05082 msi: Add stub implementation of MsiIsProductElevatedA/W. 2008-02-15 09:59:59 +01:00
James Hawkins 050fa6a40c msi: Add tests for source folder resolution. 2008-02-13 16:41:14 +01:00
James Hawkins ec086f77e3 msi: Handle carriage returns in MsiDatabaseImport. 2008-02-12 22:59:53 +01:00
James Hawkins 00cfd2899b msi: Use MsiViewModify instead of building a SQL query when adding rows to the table. 2008-02-12 22:59:46 +01:00
James Hawkins 4cc569cce6 msi: Read the language info from the file. 2008-02-12 22:59:37 +01:00
James Hawkins 1f3d6a9744 msi: Reimplement MsiGetProductInfo. 2008-02-12 22:59:29 +01:00
James Hawkins f461a8d4c1 msi: Test the remaining installer properties returned by MsiGetProductInfo. 2008-02-11 20:55:03 +01:00
James Hawkins ff0dc44f2d msi: Return ERROR_INVALID_PARAMETER if szProduct is invalid. 2008-02-11 20:53:13 +01:00
James Hawkins 33c1e6ef56 msi: Add tests for MsiGetProductInfo. 2008-02-11 20:47:52 +01:00
James Hawkins 0d56df214b msi: Successfully return an empty string when requesting a record index beyond the record's size. 2008-02-11 20:45:24 +01:00
James Hawkins 2750ed167f msi: Don't check for the existence of the msi package when running a concurrent install. 2008-02-11 20:45:17 +01:00
James Hawkins a8d87a86cc msi: Handle the special table _ForceCodepage in MsiDatabaseExport. 2008-02-11 20:42:29 +01:00
James Hawkins 7d529228d3 msi: Add tests for not using quotes in SQL queries. 2008-02-11 20:42:19 +01:00
Alexandre Julliard 2e6ec39565 msi/tests: Fix test that depends on the order of the files in a directory. 2008-02-11 20:41:40 +01:00
James Hawkins d89ee5fdd6 msi: Test using carriage returns in SQL queries and imported tables. 2008-02-07 12:09:10 +01:00
Michael Stefaniuc 41848c828b msi: Fix "type of 'x' defaults to 'int'" warnings. 2008-02-06 11:36:04 +01:00
James Hawkins 2f658cb337 msi: Fix handling of the NULL separator when writing registry values. 2008-02-05 12:21:23 +01:00
James Hawkins 5a0d459cc4 msi: Reimplement MsiFormatRecord. 2008-02-05 12:19:37 +01:00
James Hawkins e618c6d115 msi: Add more tests for MsiFormatRecord. 2008-02-05 12:19:37 +01:00
James Hawkins ffc251f5dd msi: Return ERROR_MORE_DATA if the size is too small. 2008-02-05 12:19:37 +01:00
James Hawkins dc8f714ade msi: Return the string length even if the string is NULL. 2008-02-05 12:19:37 +01:00
James Hawkins 40841946f5 msi: Leave room for the NULL terminator. 2008-02-05 12:19:37 +01:00
James Hawkins d165435048 msi: Return ERROR_FILE_INVALID if the file has no version information. 2008-02-05 12:19:37 +01:00
James Hawkins 03335de8d0 msi: Return ERROR_INVALID_PARAMETER if a string pointer is non-NULL and the size pointer is NULL. 2008-02-05 12:19:37 +01:00
James Hawkins 856800c84b msi: Translate ERROR_BAD_PATHNAME into ERROR_FILE_NOT_FOUND. 2008-02-05 12:19:37 +01:00
James Hawkins 5d46eeac75 msi: Only convert output strings if the call succeeded. 2008-02-05 12:19:36 +01:00
James Hawkins 8079d9f2ab msi: Add tests for MsiGetFileVersion. 2008-02-05 12:19:36 +01:00
James Hawkins 146e34e662 msi: Implement the MSIMODIFY_ASSIGN action of MsiViewModify for the streams table. 2008-02-05 12:19:36 +01:00
James Hawkins 56574c7c6e msi: Add tests for using single quotes in an INSERT query. 2008-02-05 12:19:36 +01:00
Paul Vriens 46f1330e02 msi/tests: Only use functions if they are implemented. 2008-01-24 12:08:44 +01:00
Paul Vriens 3272fef91a msi/tests: Only use functions if they are implemented. 2008-01-24 12:08:39 +01:00
James Hawkins 1868abda89 msi: Add more MsiFormatRecord tests. 2008-01-21 11:51:20 +01:00
Marcus Meissner 943ac9795b msi: Replaced msi_free() by LocalAlloc() since ConvertSidToStringSidW uses LocalAlloc().
Spotted by Christoph von Wittich <Christoph@ApiViewer.de>.
2008-01-21 11:51:08 +01:00
Christoph von Wittich 007833f130 msi: Fix process token leak. 2008-01-21 11:39:37 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
James Hawkins ced64861f5 msi: dest_path refers to the directory prefix, not the entire file path. 2008-01-16 12:16:43 +01:00
Francois Gouget 62c59deaa1 msi/tests: Tweaked so it does not look like things are misspelled. 2008-01-11 12:25:44 +01:00
Gerald Pfeifer 388edd1086 msi: Complete initializers. 2008-01-10 13:20:15 +01:00
James Hawkins 4b75f33012 msi: Actually delete the row data instead of blanking it out. 2008-01-09 13:38:02 +01:00
James Hawkins 419a8a2426 msi: Test committing a table with a removed row. 2008-01-09 13:38:02 +01:00
James Hawkins ce8199a46e msi: Handle markers in the WHERE section of an UPDATE query, with tests. 2008-01-09 13:38:02 +01:00
Rico Schüller 63c5e152a1 msi: Fix memory leaks (found by Smatch). 2008-01-07 13:46:06 +01:00
James Hawkins 5352d099b4 msi: Create parent directories when duplicating files if they don't exist, with tests. 2008-01-07 12:16:56 +01:00
James Hawkins 837588c6a3 msi: Pad the month and day to two digits. 2008-01-07 12:16:45 +01:00
James Hawkins d316a94ecb msi: Remove an erroneous table. 2008-01-07 12:16:30 +01:00
James Hawkins c37849ad82 msi: Copy the temporary package when storing the installer. 2008-01-07 12:16:15 +01:00
James Hawkins e28cedf698 msi: Check the local package for existence when resolving the package source. 2008-01-07 12:16:04 +01:00
James Hawkins b012c3366c msi: Directly download mi->source now that SourceDir points to the URL. 2008-01-07 12:15:56 +01:00
James Hawkins 186487663a msi: OriginalDatabase can be a URL so check for a forward slash too. 2008-01-07 12:15:48 +01:00
James Hawkins 062070bfbe msi: SourceDir is formed from the path of OriginalDatabase. 2008-01-07 12:15:27 +01:00
James Hawkins 781e19aa4c msi: OriginalDatabase is the fully-expanded path to the original package if the package is local and installed from the command line. 2008-01-07 12:15:16 +01:00
James Hawkins c777d3095a msi: Factor out msi_set_sourcedir_props. 2008-01-07 12:15:10 +01:00
James Hawkins 4121c9bbc6 msi: If the package is a URL, the OriginalDatabase property should be the URL and the DATABASE property should be the path to the local temporary package. 2008-01-07 12:15:01 +01:00
James Hawkins 31c461ea5b msi: WriteEnvironmentStrings should also write to REG_EXPAND_SZ strings. 2008-01-07 12:14:52 +01:00
James Hawkins 4b4f737bfc msi: Only read an internal package if the file to install is compressed. 2008-01-07 12:14:43 +01:00
Gerald Pfeifer 2b1e487d36 msi: Adjust the types of loop variables. 2008-01-04 12:12:43 +01:00
Gerald Pfeifer bb8471beac msi: Remove an extraneous safety check and simplify generate_error_string(). 2008-01-03 11:53:45 +01:00
Gerald Pfeifer 739152ce3e msi: Remove an extraneous safety check and simplify deformat_string(). 2008-01-02 13:29:41 +01:00
Austin English 92e7fed80c msi: Fix several typos. 2008-01-02 13:20:06 +01:00
Lionel Debroux 99ad76c3c1 msi: Correctly handle return value of msi_realloc. 2008-01-02 13:17:52 +01:00
Gerald Pfeifer f7fea9e9f0 msi: Simplify condition in TABLE_fetch_stream(). 2008-01-02 12:38:42 +01:00
Michael Stefaniuc 1f26b146d1 janitorial: Remove superfluous backslashes at end of lines. 2007-12-31 19:23:45 +01:00
Gerald Pfeifer 63655bc1a1 msi: Add missing initializer for delete_ops. 2007-12-31 17:29:24 +01:00
Gerald Pfeifer 05cf0bdf81 msi: Fix error handling in encode_streamname(). 2007-12-27 13:43:56 +01:00
Rob Shearman 5b072fbbec msi: Fix several memory leaks after using IEnumSTATSTG_Next.
The pwcsName field of STATSTG must be freed, otherwise the memory will 
be leaked.
2007-12-26 14:02:01 +01:00
Andrew Talbot 15d6436295 msi: Remove unneeded cast. 2007-12-24 13:30:24 +01:00
James Hawkins f0d369ba44 msi: Allow whitespace after the property name when setting a property in the dialog. 2007-12-23 14:17:11 +01:00