Commit Graph

83 Commits

Author SHA1 Message Date
Hans Leidekker
0c25649d3e msi: Add support for comparing TrueType font versions. 2011-01-11 16:05:46 +01:00
Hans Leidekker
eaa57c5b7b msi: Compare strings without depending on thread locale. 2010-10-19 13:49:54 +02:00
Hans Leidekker
5d85497a15 msi: Handle signature filenames in short|long notation. 2010-08-18 15:31:18 +02:00
Hans Leidekker
bb5ab26720 msi: Fix a memory leak. 2010-07-23 11:45:35 +02:00
Hans Leidekker
15f5b9dca3 msi: Compare file versions as numbers instead of strings. 2010-06-11 15:54:24 +02:00
Hans Leidekker
c35856dd09 msi: End the search for a directory signature if the parent cannot be found. 2010-05-25 13:29:56 +02:00
Hans Leidekker
e31ee69f37 msi: Rename MSI_GetPropertyW and MSI_SetPropertyW.
For consistency with related functions msi_dup_property and msi_get_property_int
and because there is no ANSI version of these functions.
2010-04-21 11:57:33 +02:00
Hans Leidekker
44b7983913 msi: Make MSI_SetPropertyW take a pointer to a database instead of a package. 2010-04-21 11:57:33 +02:00
Hans Leidekker
8722d0c44a msi: The AppSearch and CCPSearch actions must be run only once. 2010-03-23 13:24:26 +01:00
Hans Leidekker
868e6f2bc8 msi: Update the UI in the AppSearch action. 2010-03-05 13:13:42 +01:00
Juan Lang
aafcf1a536 msi: Remove function name from fixme. 2010-02-04 13:39:28 +01:00
James Hawkins
8ed06175a0 msi: Free the temp buffer if we haven't assigned it to *appValue. 2009-12-16 12:42:39 +01:00
Hans Leidekker
2eb33f5bcb msi: Avoid accessing uninitialized memory in ACTION_AppSearchReg.
Found by valgrind.
2009-10-27 10:53:56 +01:00
Hans Leidekker
843382f284 msi: Define common strings only once. 2009-10-15 14:16:50 +02:00
Nicolas Le Cam
b91fc465ff msi: Fix ACTION_AppSearchDr on empty path. 2009-04-23 18:14:25 +02:00
Nicolas Le Cam
03afdb0217 msi: Enfore use of GetFileAttributes return value. 2009-04-23 18:14:25 +02:00
Michael Stefaniuc
5f3ac30b3c msi: Remove superfluous pointer casts. 2009-01-15 12:43:03 +01:00
James Hawkins
f18c6ba28d msi: Only compare the file version if a version was specified. 2008-10-22 13:54:53 +02:00
Andrew Talbot
40db5bdb16 msi: Sign-compare warnings fix. 2008-10-21 11:45:39 +02:00
James Hawkins
03282df13d msi: Use the quoted part of the registry value when searching for a file or directory. 2008-10-20 13:16:24 +02:00
James Hawkins
6df69c6aaa msi: Fix a copy and paste error. 2008-10-20 13:16:09 +02:00
James Hawkins
7eba78dc7e msi: Strip the file off the parent path if it's not a directory. 2008-10-20 13:16:04 +02:00
James Hawkins
0ed516908b msi: Only check the file signature if the candidate file is not a directory. 2008-10-20 13:15:36 +02:00
James Hawkins
1fb22654e4 msi: Append the next directory to search to the current directory when recursing. 2008-10-20 13:11:14 +02:00
James Hawkins
4aca381ff7 msi: Only append a backslash to directories. 2008-10-20 13:10:59 +02:00
James Hawkins
7497f1ab5c msi: Don't get rid of the file signature when searching the DrLocator table. 2008-10-20 13:10:54 +02:00
James Hawkins
2e17638dc4 msi: Simplify and clean up ACTION_RecurseSearchDirectory. 2008-10-20 13:10:50 +02:00
James Hawkins
29c0836fcc msi: Handle searching for directories in the IniLocator part of the AppSearch action. 2008-10-20 13:10:44 +02:00
James Hawkins
c48497d0e6 msi: Handle searching for a file with no signature. 2008-10-20 13:10:39 +02:00
James Hawkins
859bd01b5e msi: Check the file version when a version is provided in the signature. 2008-10-20 13:10:28 +02:00
James Hawkins
642cddf180 msi: Return the requested ini field. 2008-10-20 13:10:08 +02:00
James Hawkins
7620bb367f msi: Append a backslash to the AppSearch registry path. 2008-10-16 11:22:43 +02:00
James Hawkins
3adf1e4e0e msi: Append a backslash to the AppSearch directory path. 2008-10-16 11:22:40 +02:00
James Hawkins
47ac325f82 msi: Fix the returned format of REG_BINARY data. 2008-10-13 13:04:30 +02:00
James Hawkins
6d02194a46 msi: Expand REG_EXPAND_SZ registry values in the RegLocator table. 2008-10-13 13:00:47 +02:00
James Hawkins
65915af1ae msi: Append the file signature to the component's directory when searching for the component's key path. 2008-10-13 13:00:42 +02:00
James Hawkins
eedfacdfe7 janitorial: Remove links to any microsoft site. 2008-03-01 12:04:03 +01:00
James Hawkins
4777a3a33b msi: Simplify ExpandAnyPath. 2007-12-17 11:47:49 +01:00
James Hawkins
e6431cd06e msi: Handle the CompLocator table in the AppSearch action. 2007-12-08 19:53:49 +01:00
James Hawkins
32d3ffc5c5 msi: Make sure attr is valid before checking for the directory bit. 2007-11-29 13:37:07 +01:00
James Hawkins
474fca1eec msi: Fix the condition for checking a drive. 2007-11-13 13:35:50 +01:00
James Hawkins
bee95916f7 msi: Set the file to NULL when running the directory search. 2007-11-13 13:35:41 +01:00
James Hawkins
1a0b23cd7d msi: Implement the CCPSearch standard action. 2007-11-05 14:55:24 +01:00
Francois Gouget
c4b1195c0c Assorted spelling fixes. 2007-10-23 18:20:27 +02:00
Andrew Talbot
1486d851da msi: Constify some variables. 2007-06-01 12:51:14 +02:00
James Hawkins
0de574b258 msi: Deformat the key path before opening the key. 2007-05-10 14:12:57 +02:00
Andrew Talbot
5346ba392d msi: Constify some variables. 2007-02-19 12:04:12 +01:00
Mike McCormack
77b514fe24 msi: Use MSI_IterateRecords in ACTION_AppSearch. 2006-11-28 12:14:58 +01:00
Mike McCormack
63afb3f840 msi: Use MSI_QueryGetRecord in ACTION_AppSearchIni. 2006-11-28 12:14:53 +01:00
Mike McCormack
a0d0453501 msi: Use MSI_QueryGetRecord in ACTION_AppSearchDr. 2006-11-28 12:14:46 +01:00