Commit Graph

50 Commits

Author SHA1 Message Date
Michael Stefaniuc
6bd893a960 msi: Change MSIHANDLE to ULONG for Win64 compatibility.
Also fix the compiler warnings produced by this change.
2009-01-05 12:34:12 +01: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
Rob Shearman
3183ad65d2 msi: Fix buffer size calculation in build_default_format. 2008-02-28 10:44:11 +01:00
James Hawkins
45d7d6a4e1 msi: Fix skipping a NULL record. 2008-02-26 11:19:29 +01:00
Michael Stefaniuc
41848c828b msi: Fix "type of 'x' defaults to 'int'" warnings. 2008-02-06 11:36:04 +01:00
James Hawkins
5a0d459cc4 msi: Reimplement MsiFormatRecord. 2008-02-05 12:19:37 +01:00
Andrew Talbot
15d6436295 msi: Remove unneeded cast. 2007-12-24 13:30:24 +01:00
James Hawkins
0a05a87436 msi: Downgrade an ERR to a WARN. 2007-11-26 12:28:37 +01:00
Juan Lang
a3331c6f22 msi: Initialize nested. 2007-09-18 10:42:14 +02:00
Juan Lang
71a78c4478 msi: Make sure nested is initialized. 2007-09-18 10:42:05 +02:00
Juan Lang
c2d66da665 msi: Don't crash if record has no fields. 2007-09-18 10:41:58 +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
ba4919912c msi: Forward MsiFormatRecordA to MsiFormatRecordW. 2007-07-06 18:12:05 +02:00
James Hawkins
cba1b1e1f4 msi: Handle remote calls to MsiFormatRecordW. 2007-07-06 18:12:00 +02:00
Andrew Talbot
58c55881be msi: Constify a variable. 2007-06-12 11:18:39 +02:00
James Hawkins
ea2c96c5df msi: Add the ability to deformat the component's source. 2007-05-25 19:30:50 +02:00
James Hawkins
f5c2806ca1 msi: Remove a misleading ERR, as this fails if a file doesn't exist, which is common. 2007-05-25 19:30:42 +02:00
James Hawkins
8cedb218c3 msi: Load the folder property if available and requested. 2007-03-29 21:01:42 +02:00
Mike McCormack
80affb3c2d msi: Merge action.h into msipriv.h. 2006-10-10 16:12:12 +02:00
Mike McCormack
f1d4646a49 msi: Win64 printf format warning fixes. 2006-10-05 11:32:32 +02:00
James Hawkins
ff6fe41df7 msi: Use the TargetPath of a file if the file doesn't exist in MsiFormatRecord. 2006-09-07 13:57:35 +02:00
James Hawkins
a248cc8f62 msi: Fix creation of the default format in MsiFormatRecord. 2006-09-07 13:57:24 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Bill Medland
b56ed22277 msi: Prevent array underflow in MsiFormat when measuring with zero-length buffer. 2005-12-21 21:19:47 +01:00
Magnus Olsen
a06aa5e996 msi: Fixed deformat_environment to not cut off string. 2005-12-19 18:17:28 +01:00
Francois Gouget
0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Mike McCormack
51c6618d8d 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.
2005-10-27 12:36:12 +00:00
Mike McCormack
6dc309187c Fix some simple memory leaks. 2005-09-21 09:43:29 +00:00
Mike McCormack
ee034ba4c2 Added memory allocation inline functions (part 2). 2005-09-20 11:59:14 +00:00
Mike McCormack
062ad50510 Rename load_dynamic_property and remove its unused 3rd argument. 2005-09-15 15:04:08 +00:00
Mike McCormack
b3b5ab8977 Improve a fixme message a little. 2005-09-08 11:04:03 +00:00
Mike McCormack
e18f8abee1 - build a standard Wine list of files instead of using an array
- use file pointers instead of array indexes
2005-08-23 10:03:17 +00:00
Mike McCormack
38d67a4537 - build a standard Wine list of components instead of using an array
- use component pointers instead of array indexes
2005-08-22 09:15:23 +00:00
Aric Stewart
cb72f7fb0a Make sure the TRACE statements do not spew garbage by using
debugstr_wn.
2005-06-04 09:36:44 +00:00
Mike McCormack
9ca5717a2f Clean up headers and make some functions static. 2005-06-01 11:02:48 +00:00
Mike McCormack
b58a098a11 -Wmissing-declarations and -Wwrite-strings warning fixes. 2005-05-29 20:08:12 +00:00
Aric Stewart
aa95731d6f Restrict deformating of nested index keys [[1]].
Introduce the beginning of group deformating {}.
2005-05-27 19:23:29 +00:00
Aric Stewart
825920a090 Implement the [!file] format to produce the short filename. 2005-05-25 17:49:49 +00:00
Peter Berg Larsen
407409f27f Remove 2 identicals calls to strlenW. 2005-04-18 15:36:59 +00:00
Juan Lang
c33d2621eb Log missing environment vars for easier debugging. 2005-04-12 10:15:09 +00:00
Steven Edwards
98efef18d4 Avoid using ver.h in favor of winver.h. 2005-04-11 16:10:33 +00:00
Peter Berg Larsen
e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Mike McCormack
95dea4969a - Rename dupstrW to strdupW, and remove duplicate definition.
- Move definition of string manipulation functions to msipriv.h.
2005-03-16 11:31:35 +00:00
Juan Lang
5ebd4e938e - make sure msihandle2msiinfo is correctly matched with msiobj_release
- don't do redundant NULL checks
2005-03-10 11:15:40 +00:00
Aric Stewart
713dc8f60c Make sure formats like [\\]] and [\\[] work properly. 2005-02-23 12:44:25 +00:00
Ulrich Czekalla
3440035341 Handle 0 length buffers in MSI_FormatRecordW.
Remove unused buffer in deformat_string.
2005-02-09 22:22:25 +00:00
Aric Stewart
3b38dc6864 Cleanup processing a bit more.
Allow for nested keys to work properly.
2005-02-02 09:30:22 +00:00
Aric Stewart
4590c7ddee A reworking of format.c to remove the recursion, clean things up and
stabilize behavior to match windows.
2005-01-31 20:41:11 +00:00
Francois Gouget
da8b3dd7f2 Assorted spelling fixes. 2005-01-26 21:09:04 +00:00
Aric Stewart
54c67dd1b1 - 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.
2005-01-25 20:17:09 +00:00