Commit Graph

199 Commits

Author SHA1 Message Date
Gerald Pfeifer db70edfc82 msi: Remove unused parameter to msi_comp_find_prodcode(). 2008-02-19 18:08:38 +01:00
James Hawkins bbdf79bc8c msi: Convert REG_DWORD properties to strings in MsiGetProductInfo. 2008-02-18 12:41:37 +01:00
Rob Shearman e35bd05082 msi: Add stub implementation of MsiIsProductElevatedA/W. 2008-02-15 09:59:59 +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 ff0dc44f2d msi: Return ERROR_INVALID_PARAMETER if szProduct is invalid. 2008-02-11 20:53:13 +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 44349af11a msi: Reimplement MsiGetProductCode. 2007-12-08 19:53:43 +01:00
James Hawkins 383a8a5b92 msi: Reimplement MsiGetComponentPath. 2007-12-05 12:08:04 +01:00
James Hawkins c77d200f27 msi: Add a stub implementation of MsiEnumComponentCostsW. 2007-12-03 14:03:11 +01:00
James Hawkins e100288934 msi: Verify the szFilePath parameter of MsiGetFileHash. 2007-11-26 12:27:53 +01: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 0713c32869 msi: Implement the remaining contexts for MsiQueryComponentState. 2007-08-08 15:32:00 +02:00
James Hawkins ca55c7a330 msi: Implement the MSIINSTALLCONTEXT_MACHINE context for MsiQueryComponentState. 2007-08-07 12:39:48 +02:00
James Hawkins 5f442207d5 msi: Forward MsiQueryComponentStateA to MsiQueryComponentStateW. 2007-08-07 12:39:36 +02:00
Francois Gouget 4deb14a3b6 msi: Fix the MsiEnumProductsEx*(), MsiQueryComponentState*() and MsiProvideQualifiedComponentEx*() prototypes. 2007-08-06 13:57:53 +02:00
James Hawkins 39a5638268 msi: Read the components state directly from the registry. 2007-07-03 14:05:41 +02:00
James Hawkins 34f6af95b4 msi: Return INSTALLSTATE_BADCONFIG if we can't decode the first component. 2007-07-03 14:05:36 +02:00
James Hawkins 73e0a87477 msi: Return INSTALLSTATE_ADVERTISED if the component list is empty. 2007-07-03 14:05:29 +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 24ede2f9e6 msi: If the UserData product key exists, but the user product key doesn't, the product is absent. 2007-06-27 12:32:44 +02:00
James Hawkins 3bf32f2700 msi: Any value of WindowsInstaller besides 0 means the product is installed. 2007-06-27 12:32:44 +02:00
James Hawkins 7da89f48fd msi: Use the correct registry key when detecting a published product. 2007-06-27 12:32:44 +02:00
James Hawkins 15823e1acf msi: If the user product key exists, the product's state is advertised. 2007-06-27 12:32:43 +02:00
James Hawkins e92f66558a msi: Validate MsiQueryProductCode parameters. 2007-06-27 12:32:43 +02:00
James Hawkins ee89cfca53 msi: Add a stub implementation of MsiQueryComponentStateA. 2007-06-26 12:11:47 +02:00
Rob Shearman 8a94f7aad3 msi: Implement MsiGetMode for MSIRUNMODE_SCHEDULED, MSIRUNMODE_COMMIT and MSIRUNMODE_ROLLBACK. 2007-06-26 11:56:33 +02:00
James Hawkins d8860d34e4 msi: Implement MsiApplyPatchW. 2007-06-18 12:14:53 +02:00
James Hawkins 974e76fe79 msi: Forward MsiApplyPatchA to MsiApplyPatchW. 2007-06-18 12:14:38 +02:00
Jeff Latimer 8521cb8677 msi: Use the langbuff len rather than the versionbuff len when allocating the langbuff. 2007-06-11 13:49:45 +02:00
Andrew Talbot a0ae69a8d1 msi: Constify some variables. 2007-06-06 14:07:22 +02:00
Misha Koshelev d800a082a8 msi: Return appropriate values for empty MsiProductInfo parameters. 2007-05-17 12:47:20 +02:00
Aric Stewart b46ab0b8cb msi: Do not crash in MsiGetUserInfo if org, user or serial are not present, instead return USERINFOSTATE_ABSENT. 2007-04-12 16:19:24 +02:00
Andrew Talbot 5346ba392d msi: Constify some variables. 2007-02-19 12:04:12 +01:00
Mike McCormack 80affb3c2d msi: Merge action.h into msipriv.h. 2006-10-10 16:12:12 +02:00
James Hawkins 563a50ab35 msi: Make internal functions static. 2006-10-09 14:40:08 +02:00
Mike McCormack f1d4646a49 msi: Win64 printf format warning fixes. 2006-10-05 11:32:32 +02:00
Dan Kegel 337e1e202f msi: Callers of alloc_msihandle should handle failure. 2006-08-29 12:21:54 +02:00
Francois Gouget ce9b4baad8 Assorted spelling fixes. 2006-08-07 13:52:55 +02:00
Mike McCormack 525ceb7085 msi: Fix some memory leaks. 2006-07-28 12:32:14 +02:00
Mike McCormack f3dae17cbb msi: Use msi_alloc/free, not HeapAlloc/Free. 2006-07-27 11:56:51 +02:00
Mike McCormack bc673bff01 msi: Make MsiConfigureFeature a bit more robust. 2006-07-24 19:55:50 +02:00
Mike McCormack 0bfb9c3e3d msi: Move COM server implementation to a separate file. 2006-07-24 19:55:41 +02:00