Commit Graph

57 Commits

Author SHA1 Message Date
James Hawkins 1f3d6a9744 msi: Reimplement MsiGetProductInfo. 2008-02-12 22:59:29 +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
James Hawkins 4295ce4fb6 msi: Return ERROR_INVALID_PARAMETER if the product list is empty and index is not zero. 2007-12-17 11:48:30 +01:00
James Hawkins 88d51ad122 msi: Return ERROR_UNKNOWN_COMPONENT if no products exist. 2007-12-17 11:48:26 +01:00
James Hawkins 3edd258fcd msi: Also check the local system component key for the clients. 2007-12-17 11:48:21 +01:00
James Hawkins fced2fee2f msi: Check the user component key for the clients. 2007-12-17 11:48:13 +01:00
James Hawkins 5f7b95dadd msi: Validate the parameters of MsiEnumClients. 2007-12-17 11:48:03 +01:00
James Hawkins 64c75d1e02 msi: Add tests for MsiEnumClients. 2007-12-17 11:47:58 +01:00
James Hawkins e62b8c9b99 msi: Free the user sid string. 2007-12-12 13:48:42 +01:00
James Hawkins f6b27673b0 msi: Delete the uninstall key when the product is removed. 2007-11-13 13:35:01 +01:00
James Hawkins fc6b9dd4e4 msi: Properly register and unregister components. 2007-11-01 12:43:06 +01:00
James Hawkins 6ac0816109 msi: Implement the UnpublishFeatures standard action. 2007-08-10 12:58:17 +02:00
Francois Gouget 5771700019 msi: Better match the PSDK types, remove some now unused types from win32.api, and update it to fix the winapi_check warnings. 2007-08-09 14:12:44 +02:00
James Hawkins 511bdd9de8 msi: Simplify MsiQueryComponentState, with more tests. 2007-08-09 13:53:36 +02:00
James Hawkins ca55c7a330 msi: Implement the MSIINSTALLCONTEXT_MACHINE context for MsiQueryComponentState. 2007-08-07 12:39:48 +02:00
Francois Gouget 4deb14a3b6 msi: Fix the MsiEnumProductsEx*(), MsiQueryComponentState*() and MsiProvideQualifiedComponentEx*() prototypes. 2007-08-06 13:57:53 +02:00
Paul Vriens 5e7b31b51d msi/registry: Use the return value of squash_guid. 2007-07-30 23:37:58 +02:00
James Hawkins 39a5638268 msi: Read the components state directly from the registry. 2007-07-03 14:05:41 +02:00
James Hawkins 1130d5909b msi: Open the correct key and return INSTALLSTATE_ADVERTISED if it's missing. 2007-07-03 14:05:21 +02:00
James Hawkins 0e44e090c5 msi: Set the WindowsInstaller value in RegisterProduct instead of PublishProduct. 2007-07-03 13:49:44 +02:00
James Hawkins 624bbbe78a msi: Unpublish the product when it is entirely removed. 2007-07-03 13:49:18 +02:00
James Hawkins 04c67c2a1c msi: Add support for the MSICODE_PATCH option. 2007-07-03 13:42:42 +02:00
James Hawkins 7da89f48fd msi: Use the correct registry key when detecting a published product. 2007-06-27 12:32:44 +02:00
Misha Koshelev 74de3e1754 msi: Make MsiEnumProducts enumerate products, not features. 2007-05-21 12:38:55 +02:00
Misha Koshelev 536b49905b msi: Make MsiEnumRelatedProducts enumerate registry value names, not subkeys. 2007-05-15 14:11:37 +02:00
Hans Leidekker 9eefc04f6b msi: Add a stub implementation for MsiEnumProductsEx{A, W}. 2007-04-26 14:24:18 +02:00
Andrew Talbot e5938d6fbb msi: Remove unused variables. 2007-01-12 20:41:45 +01:00
Eric Pouech f2ee10aed7 msi: Fixed bogus A -> W conversion. 2006-11-09 16:20:30 +01:00
James Hawkins 563a50ab35 msi: Make internal functions static. 2006-10-09 14:40:08 +02:00
Mike McCormack f1d4646a49 msi: Win64 printf format warning fixes. 2006-10-05 11:32:32 +02:00
Andrew Talbot 2e372c08b5 msi: Cast-qual warnings fix. 2006-09-20 20:02:48 +02:00
Mike McCormack 525ceb7085 msi: Fix some memory leaks. 2006-07-28 12:32:14 +02:00
Mike McCormack 9f89427291 msi: Use CLSIDFromString to make squash_guid a bit more robust. 2006-07-24 19:55:53 +02:00
Mike McCormack dc4d5b0f0e msi: MoveMsiEnumPatches to registry.c 2006-07-24 12:57:33 +02:00
Mike McCormack a3c03fea58 msi: Add some registry reading macro functions. 2006-07-14 13:32:39 +02:00
Mike McCormack 230af9d21f msi: Move version string conversions to registry.c. 2006-07-14 13:32:39 +02:00
Mike McCormack 9917250863 msi: Move some registry helper functions to registry.c. 2006-07-14 13:32:39 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack a92fe55cce msi: Fix some possible NULL pointer dereferences (Coverity). 2006-04-17 12:38:36 +02:00
Robert Shearman 2d5dc32f35 The buffer sizes in the documentation for MsiDecomposeDescriptorW don't
include the NULL terminator, so fix this.
2005-11-30 12:02:06 +01:00
Mike McCormack 77da201e8f Loop around calling RegQueryValue until we have a big enough string
for both the name and the value.
2005-11-21 11:59:54 +00:00
Mike McCormack 26a6d598bb Convert MsiEnumComponentQualifiers to use msi_strcpy_to_awstring. 2005-11-15 18:12:21 +00:00
Mike McCormack d78dce709e Fix function prototype and spec file entry for
MsiEnumComponentQualifiers.
2005-11-15 16:55:04 +00:00
Mike McCormack 5c63332b4f Fix passing of NULL pointers to MsiDecomposeDescriptor and add a
test.
2005-11-09 10:59:20 +00:00
Mike McCormack 8dc28d5306 Added memory allocation inline functions (part 1). 2005-09-20 11:57:19 +00:00
Aric Stewart 9170cc8225 Properly resize the buffer based on ERROR_MORE_DATA.
Also remember to free the allocated buffer.
2005-07-11 20:36:58 +00:00
Aric Stewart 19ba432b2b Add functions to add the User UpgradeCodes. 2005-06-07 20:02:27 +00:00
Francois Gouget 63b596d7ea Tweak the documentation to make winapi_check happy. 2005-05-06 14:33:02 +00:00
Aric Stewart 2b8bf597b5 Correct user component publication.
Implement MsiEnumComponentQualifiers.
2005-04-28 18:28:11 +00:00