Commit Graph

14 Commits

Author SHA1 Message Date
James Hawkins 790f4523d2 advpack: Factor out the API loading of advpack tests. 2006-02-28 12:02:53 +01:00
James Hawkins dd5ae20dc1 advpack: Load the LDIDs of an install section in TranslateInfString. 2006-02-21 11:18:25 +01:00
Detlef Riekenberg c824e8bc5b advpack/tests: Fixed failure when "ProgramFilesDir" is != "C:\Program Files". 2006-01-23 17:29:41 +01:00
James Hawkins a37bb2a033 Returned versions are always initialized to zero, even on failure.
Function always returns S_OK, even on failure.
Copy the file to the temp directory if the file exists but isn't found
by GetFileVersionInfoSize.
If bVersion is FALSE, return the language and code page identifiers of
the file, not the system.
2005-11-29 11:25:51 +01:00
Francois Gouget bcac03453a Add trailing '\n' to trace() call. 2005-11-23 19:44:20 +01:00
Saulius Krasuckas 426cc7fe3f Exit test after first TranslateInfString() failure, which seems to be
NT3.51 specific.
2005-11-22 11:58:25 +00:00
Saulius Krasuckas 22a314e751 Get the version and language ID of ADVPACK.DLL too. 2005-11-14 12:27:39 +00:00
Saulius Krasuckas 39e11022e8 WinME fixes:
- don't fail on WriteFile(),
- add valid error codes,
- empty buffer to avoid printing garbage,
- remove bogus inf-file which TranslateInfString() creates here.
2005-11-10 11:37:03 +00:00
James Hawkins e2b8b43b7f Implement TranslateInfString with tests. 2005-11-08 12:43:35 +00:00
Saulius Krasuckas 7284e6d419 Remove trailing backslash. 2005-08-15 10:47:31 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Sami Aario c7bd5fb16d Added initial version of Delnode plus some tests. 2005-04-27 09:37:25 +00:00
Francois Gouget fe2b31a569 Load advpack.dll at runtime to avoid link problems with the platform
sdk.
2005-02-14 11:02:46 +00:00
Robert Reif 97199823bf Added stubs for NeedRebootInit and NeedReboot.
Added implementations for GetVersionFromFile and
GetVersionFromFileEx.
Added test for GetVersionFromFile.
2005-01-20 20:03:13 +00:00