Commit Graph

79 Commits

Author SHA1 Message Date
André Hentschel 06e15ee9e6 msi: Copy InstallerImpl_LastErrorRecord to use it for DatabaseImpl. 2010-02-04 13:39:26 +01:00
James Hawkins a7fe36b327 msi: Don't free str until the last instance of its use. 2009-12-14 12:19:58 +01:00
James Hawkins e38c36a1f9 msi: Refactor the Installer.RelatedProducts method into InstallerImpl_RelatedProducts. 2009-12-11 12:16:27 +01:00
James Hawkins 105933f202 msi: Refactor the Installer.Products method into InstallerImpl_Products. 2009-12-11 12:16:27 +01:00
James Hawkins 9f09d47be3 msi: Refactor the Installer.ProductInfo method into InstallerImpl_ProductInfo. 2009-12-11 12:16:27 +01:00
James Hawkins fd2884a155 msi: Refactor the Installer.ProductState method into InstallerImpl_ProductState. 2009-12-11 12:16:27 +01:00
James Hawkins 11b4fe743a msi: Refactor the Installer.RegistryValue method into InstallerImpl_RegistryValue. 2009-12-11 12:16:27 +01:00
James Hawkins 138d5f1f6c msi: Refactor the Installer.Version method into InstallerImpl_Version. 2009-12-11 12:16:27 +01:00
James Hawkins 96c480b880 msi: Refactor the Installer.InstallProduct method into InstallerImpl_InstallProduct. 2009-12-11 12:16:27 +01:00
James Hawkins 851e4779be msi: Refactor the remaining Installer object stub methods into respective functions. 2009-12-11 12:16:27 +01:00
James Hawkins dc0889752a msi: Refactor the Installer.UILevel method into InstallerImpl_UILevel. 2009-12-11 12:16:27 +01:00
James Hawkins 18ba830ff8 msi: Refactor the Installer.SummaryInformation method to InstallerImpl_SummaryInformation. 2009-12-11 12:16:27 +01:00
James Hawkins 554e1318c0 msi: Refactor Installer.OpenProduct and Installer.OpenDatabase into respective functions. 2009-12-11 12:16:27 +01:00
James Hawkins b33d47e773 msi: Refactor the Installer.OpenPackage method into InstallerImpl_OpenPackage. 2009-12-11 12:16:26 +01:00
James Hawkins b73389b6bf msi: Refactor the Installer.CreateRecord method into InstallerImpl_CreateRecord. 2009-12-11 12:16:26 +01:00
James Hawkins ae58e29e5e msi: Stub out a few more Installer object methods. 2009-12-11 12:16:26 +01:00
James Hawkins 25ab693008 msi: The second parameter to Installer.OpenPackage is optional, so set a default value of 0 if the parameter is not provided. 2009-12-07 09:49:06 +01:00
James Hawkins 1ff6c08621 msi: Verify that the first parameter to Installer.OpenPackage is a VT_BSTR.
It seems ugly to open up the parameters in pDispParams, but
DispGetParam will happily convert a VT_EMPTY to a VT_BSTR and not
return an error.
2009-12-07 09:49:06 +01:00
James Hawkins 4687604356 msi: It's possible to send in more than two parameters to Installer.OpenPackage, but sending in zero parameters should return DISP_E_TYPEMISMATCH. 2009-12-07 09:49:06 +01:00
James Hawkins 6b8b82ef13 msi: ExpandEnvironmentStringsW returns the required size in characters, so multiply the required size by sizeof(WCHAR) when allocating the buffer. 2009-12-03 10:22:40 +01:00
Michael Stefaniuc f3a1660181 msi: Remove superfluous cast of a MSIHANDLE in a TRACE(). 2009-04-20 14:12:34 +02:00
Alexandre Julliard 81ecd7041a msi: Fix pointer cast warnings on 64-bit. 2009-01-08 17:26:44 +01:00
Francois Gouget d7119f2b73 msi: Remove WINAPI on static functions where not needed. 2008-11-28 12:54:37 +01:00
Michael Stefaniuc b1a54bf7a3 msi: Remove casts of void pointers. 2008-11-25 11:55:56 +01:00
Andrew Talbot 40db5bdb16 msi: Sign-compare warnings fix. 2008-10-21 11:45:39 +02:00
Detlef Riekenberg 88a5bdb858 msi: Remove redundant NULL check before SysFreeString. 2008-09-23 12:12:35 +02:00
Jacek Caban 014b96ef15 msi: Added Session::Message implementation. 2008-07-17 11:36:22 +02:00
Dmitry Timoshkov 76d6b76737 msi: Mark some data as constant. 2008-05-26 19:46:09 +02:00
James Hawkins efc56634fa msi: Fix the registry root indices for Installer::RegistryValue. 2008-03-20 14:27:35 +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 b57a2f93a9 msi: Implement the Version property of the Installer object. 2007-12-03 14:03:06 +01:00
Misha Koshelev ac2c1b8070 msi: automation: Fix ITypeInfo leak. 2007-11-20 16:39:19 +01:00
Misha Koshelev fce6f56f93 msi: automation: Fix automation object reference counts when objects are created. 2007-11-20 16:38:42 +01:00
Misha Koshelev 03d19b5782 msi: Use SysAllocString/SysFreeString for BSTR members of EXCEPINFO structure. 2007-07-30 13:38:11 +02:00
Misha Koshelev b7233ba33f msi: automation: Implement SummaryInfo::PropertyCount. 2007-06-05 11:00:18 +02:00
Misha Koshelev dcbd8e93d5 msi: automation: Implement SummaryInfo::Property, put. 2007-06-05 10:59:38 +02:00
Misha Koshelev b489ed4485 msi: automation: SummaryInfo::Property, remove all specific instances to PIDs. 2007-06-05 10:58:30 +02:00
Misha Koshelev 0c503defcf msi: automation: Fix SummaryInfo::Property get to conform to native. 2007-06-04 13:00:24 +02:00
Misha Koshelev 68d4e65c5e msi: automation: Database::SummaryInformation is a propget, not a method. 2007-06-04 12:59:20 +02:00
Misha Koshelev 1e6bcb028d msi: automation: Remove redundant VariantClear(pVarResult). 2007-06-04 12:59:13 +02:00
Misha Koshelev 39ffa7d16f msi: automation: Add missing operand for evaluation. 2007-06-04 12:59:00 +02:00
Misha Koshelev f850364efa msi: automation: Remove duplicate error messages on unknown dispid.
DISP_E_MEMBERNOTFOUND FIXME is already handled in AutomationObject_Invoke.
2007-06-04 12:58:53 +02:00
James Hawkins f083b3c038 msi: Implement SummaryInfo::Property get. 2007-06-01 12:43:33 +02:00
James Hawkins 7a289624cf msi: Implement Installer::OpenDatabase. 2007-06-01 12:43:17 +02:00
Misha Koshelev 01460f6753 msi: automation: Implement StringList::_NewEnum. 2007-05-18 20:01:55 +02:00
Misha Koshelev 4ccdbc5845 msi: automation: Generalize list implementation.
Same structures and functions can be used for both StringList and RecordList.
2007-05-18 20:01:39 +02:00
Misha Koshelev 937b643092 msi: automation: Change all tabs to spaces to conform to msi formatting. 2007-05-18 14:43:19 +02:00
Misha Koshelev 8136bd4117 msi: automation: Implement Installer::ProductInfo. 2007-05-17 12:47:39 +02:00
Misha Koshelev 187f856e46 msi: automation: Condense a few loops. 2007-05-16 14:58:00 +02:00