Commit Graph

230 Commits

Author SHA1 Message Date
James Hawkins 9c6e762e6d advpack: Return the hresult in ExecuteCabW. 2006-05-05 17:46:41 +02:00
James Hawkins 05c23edaef advpack: Clean up the formatting of RegInstall to match the rest of the file. 2006-05-05 17:45:54 +02:00
James Hawkins d049c37af2 advpack: Perform an Advanced INF-level install in RegInstall. 2006-05-05 17:45:39 +02:00
James Hawkins f1631103aa advpack: Factor out writing predefined strings into write_predefined_strings. 2006-05-05 17:45:16 +02:00
James Hawkins 4b9311b5b2 advpack: Ignore the return value from the OCX registration. 2006-05-05 17:45:04 +02:00
James Hawkins 924d91ca05 advpack: Implement LaunchINFSectionW. 2006-04-20 19:39:29 +02:00
James Hawkins c14fe5a6be advpack: Implement ExecuteCabW. 2006-04-20 19:39:01 +02:00
James Hawkins 401becab3e advpack: Implement the RunPostSetupCommands callback. 2006-04-20 19:38:22 +02:00
James Hawkins c4ca63418f advpack: Implement the RegisterOCXs callback. 2006-04-20 19:38:03 +02:00
James Hawkins aabb5d0443 advpack: Set the ldids of the install section in install_init. 2006-04-20 15:34:00 +02:00
James Hawkins 704e70ff7c advpack: Add stub handling for the RegisterOCXs command. 2006-04-20 15:33:13 +02:00
James Hawkins 92f979b005 advpack: Don't TRACE the internals of the setup pointer as it can be NULL. 2006-04-20 15:30:50 +02:00
James Hawkins 49a29a1878 advpack: LaunchINFSectionExA is no longer a stub. 2006-04-20 15:30:34 +02:00
James Hawkins b9fc3f8eb1 advpack: Set the destination directory to the working directory if key equals SourceDir. 2006-04-19 12:43:14 +02:00
James Hawkins fc52a8483c advpack: Add the ability to set multiple keys on one line in set_ldid. 2006-04-19 12:42:14 +02:00
James Hawkins b2a3ffd893 advpack: Put function declarations in advpack_private.h. 2006-04-19 12:00:59 +02:00
James Hawkins eb602fa8f0 advpack: Add install_init/release to perform install initialization. 2006-04-17 12:17:20 +02:00
James Hawkins 3f784a7339 advpack: Factor out OCX registering into do_ocx_reg. 2006-04-17 12:14:53 +02:00
James Hawkins 1bc69125af advpack: Use get_parameter to read the three parameters of RegisterOCX.
Use get_parameter to read the three parameters to RegisterOCX.
Remove the ERRs and TRACEs now that we return the HRESULT.
2006-04-17 12:14:42 +02:00
James Hawkins 39c0682bff advpack: The fallback directory is the fifth field index, not the sixth. 2006-04-17 12:03:01 +02:00
James Hawkins b70d65b227 advpack: Use the default queue callback when calling SetupInstallFromInfSection. 2006-04-17 12:02:42 +02:00
James Hawkins ab68238af7 advpack: Fix the documentation for RegisterOCX. 2006-04-17 12:02:25 +02:00
James Hawkins 940af1b41c advpack: Fix the return type of RegisterOCX. 2006-04-17 12:02:16 +02:00
James Hawkins 640b7761eb advpack: Document RegisterOCX. 2006-04-14 19:35:48 +02:00
Alexandre Julliard 5c2a980c86 advpack: Fixed a couple of typos in Unicode conversion. 2006-04-13 12:10:56 +02:00
James Hawkins fadf610065 advpack: Implement UserInstStubWrapper. 2006-04-11 14:22:09 +02:00
James Hawkins 698ee36c85 advpack: Perform a setupapi-level install of the INF file in RunSetupCommand. 2006-04-11 11:25:23 +02:00
James Hawkins 46fe944832 advpack: Implement LaunchINFSectionEx. 2006-04-11 11:24:59 +02:00
James Hawkins 65b50022d5 advpack: Standardize the format of advpack traces.
Display all strings in advpack traces.
Use debugstr_a/w for TRACE strings.
2006-04-11 11:24:14 +02:00
James Hawkins cc6685f089 advpack: Standardize the format of advpack parameter lists. 2006-04-11 11:23:57 +02:00
James Hawkins 6053d265bc advpack: Add initial implementation of SetPerUserSecValues. 2006-04-10 15:43:53 +02:00
James Hawkins d7199a4836 advpack: Add a few more tests for SetPerUserSecValues. 2006-04-07 20:01:04 +02:00
James Hawkins 12a9ed0ade advpack: Forward DelNodeRunDLL32A to its Unicode counterpart. 2006-04-07 12:56:49 +02:00
James Hawkins cc4b01a0f1 advpack: Rewrite get_parameter to be able to handle an empty parameter. 2006-04-07 12:56:36 +02:00
James Hawkins a7e055e0bd advpack: Add initial tests for SetPerUserSecValues. 2006-04-06 22:22:15 +02:00
James Hawkins 148a481266 advpack: Factor out advpack error handling into ADV_HRESULT. 2006-04-05 11:38:57 +02:00
James Hawkins e475634799 advpack: Forward RegInstallA to its Unicode counterpart. 2006-04-04 12:20:24 +02:00
James Hawkins 39cedf0bed advpack: Forward LaunchINFSectionA to its Unicode counterpart. 2006-04-04 12:18:56 +02:00
James Hawkins 844eebd0e7 advpack: Forward RegSaveRestoreOnINFA to its Unicode counterpart. 2006-04-04 12:18:22 +02:00
James Hawkins 96a428066a advpack: Forward RegSaveRestoreA to its Unicode counterpart. 2006-04-04 12:18:04 +02:00
James Hawkins 063a36b66f advpack: Forward RegRestoreAllA to its Unicode counterpart. 2006-04-04 12:09:08 +02:00
James Hawkins d04606b583 advpack: LaunchINFSectionExW is available, so mark it so in the spec file. 2006-03-31 11:33:33 +02:00
James Hawkins 017d1b0b56 advpack: Forward ExecuteCabA to its Unicode counterpart. 2006-03-31 11:33:25 +02:00
James Hawkins c26245077d advpack: Open the INF file if the RSC_FLAG_INF flag is specified. 2006-03-30 13:22:17 +02:00
James Hawkins 724a4b36c2 advpack: Forward LaunchINFSectionExA to its Unicode counterpart. 2006-03-30 12:46:59 +02:00
James Hawkins 93fc6d450a advpack: Fix the documentation for the cmdline parameter of LaunchInfSection/Ex. 2006-03-30 12:46:42 +02:00
James Hawkins 480b64950b advpack: Implement the launching of executables in RunSetupCommand. 2006-03-27 12:17:30 +02:00
James Hawkins e4b31800ab advpack: Define S_ASYNCHRONOUS in advpub.h. 2006-03-27 12:16:55 +02:00
James Hawkins 2fb1ac8611 advpack: Set hexe to a non-NULL value to test that the handle is NULL on return. 2006-03-27 11:30:50 +02:00
James Hawkins df9a465b50 advpack: Add initial tests for RunSetupCommand. 2006-03-24 12:54:20 +01:00
James Hawkins e28d541757 advpack: Forward DelNodeA to its Unicode counterpart. 2006-03-24 12:54:20 +01:00
James Hawkins 478712a27d advpack: Forward RunSetupCommandA to its Unicode counterpart. 2006-03-24 12:54:20 +01:00
James Hawkins 9ec3341445 advpack: Forward the FileSaveRestore API to their Unicode counterparts. 2006-03-24 12:54:20 +01:00
James Hawkins 7eaaa93a57 advpack: Forward GetVersionFromFileA/ExA to their Unicode counterparts. 2006-03-24 12:54:20 +01:00
James Hawkins 5018d3202a advpack: Forward SetPerUserSecValuesA to its Unicode counterpart. 2006-03-24 12:54:19 +01:00
James Hawkins bed3d4d3eb advpack: Implement FileSaveMarkNotExistW. 2006-03-23 20:19:55 +01:00
James Hawkins cfbc26f3e6 advpack: Forward AdvInstallFileA to its Unicode counterpart. 2006-03-23 20:19:41 +01:00
James Hawkins 72581bd2d7 advpack: Forward the ansi user stub APIs to their Unicode counterparts. 2006-03-23 20:19:09 +01:00
James Hawkins ca3ad7d6dc advpack: Forward AddDelBackupEntryA to its unicode counterpart. 2006-03-23 20:18:45 +01:00
James Hawkins 15a2169ec0 advpack: Forward RebootCheckOnInstallA to its Unicode counterpart. 2006-03-22 21:36:46 +01:00
James Hawkins b877d84af0 advpack: Forward TranslateInfStringExA to its unicode counterpart. 2006-03-22 11:21:10 +01:00
James Hawkins 396242faa7 advpack: Add second null for double null terminated lists. 2006-03-22 11:20:28 +01:00
James Hawkins 8efe95e70a advpack: Forward OpenINFEngineA and TranslateInfStringA to their
unicode counterparts.
2006-03-15 11:30:03 +01:00
James Hawkins 1f3028563d advpack: Factor out loading the program files directory. 2006-02-28 12:03:53 +01:00
James Hawkins 7787ca6134 advpack: Add tests for the TranslateInfStringEx trio of functions and
fix the errors.
2006-02-28 12:03:26 +01:00
James Hawkins 790f4523d2 advpack: Factor out the API loading of advpack tests. 2006-02-28 12:02:53 +01:00
Francois Gouget be6d891f0d advpack: Prepare the unicodification of advpack.dll.
All functions that manipulate strings should have an Ansi and a
Unicode variant.
Forward the unqualified dll entry points to the Ansi variant for
backward compatibility.
We're not allowed to use unqualified entry points in Wine, so change
RegInstall() calls to RegInstallA().
Update win32.api.
2006-02-27 15:57:33 +01:00
James Hawkins 2aa6e2ebd9 advpack: Implement AddDelBackupEntry. 2006-02-21 11:27:34 +01:00
James Hawkins bc7cb836f2 advpack: Add tests for AddDelBackupEntry. 2006-02-21 11:26:41 +01:00
James Hawkins 7d8f9de837 advpack: Make AddDelBackupEntry always return S_OK. 2006-02-21 11:26:32 +01:00
James Hawkins 60de11c084 advpack: Branch off the advpack install functions into install.c. 2006-02-21 11:26:07 +01:00
James Hawkins b88b480851 advpack: Implement the Open/CloseINFEngine and TranslateINFStringEx
trio of functions.
2006-02-21 11:23:28 +01:00
James Hawkins dd5ae20dc1 advpack: Load the LDIDs of an install section in TranslateInfString. 2006-02-21 11:18:25 +01:00
Eric Pouech e66e227dbe Fixes for missing prototypes warnings. 2006-02-06 13:13:28 +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 7e45839823 advpack: Add a stub for RebootCheckOnInstall. 2006-01-21 19:22:17 +01:00
James Hawkins cac3bf8471 advpack: Fix the documentation for AddDelBackupEntry. 2006-01-21 19:21:51 +01:00
James Hawkins bf1a56efc3 advpack: Complete the documentation for CloseINFEngine. 2006-01-21 19:21:45 +01:00
James Hawkins 70566c0331 advpack: Add a stub for SetPerUserSecValues. 2006-01-21 19:21:22 +01:00
James Hawkins 1142a1f2af advpack: Fix the documentation for FileSaveMarkNotExist. 2006-01-21 19:21:07 +01:00
James Hawkins c664353452 advpack: Forward FileSaveMarkNotExist to AddDelBackupEntry. 2006-01-21 19:19:41 +01:00
James Hawkins 0584b9de80 advpack: Add stubs for the user stub wrapper functions. 2006-01-21 19:19:31 +01:00
James Hawkins 5fa132c616 advpack: Implement DelNodeRunDLL32. 2006-01-21 19:18:40 +01:00
James Hawkins 93cb78f37a advpack: Implement IsNTAdmin. 2006-01-21 19:18:32 +01:00
James Hawkins d582fdd39e advpack: Remove stub status from implemented functions. 2006-01-14 17:10:31 +01:00
James Hawkins 461904cb6e advpack: Add stubs for CloseINFEngine, OpenINFEngine, and
TranslateInfStringEx.
2006-01-14 17:10:16 +01:00
James Hawkins 9e9fe39774 advpack: Add a stub for AddDelBackupEntry. 2006-01-14 17:09:02 +01:00
James Hawkins 05d079a325 advpack: Move file related functions to files.c. 2006-01-13 14:16:29 +01:00
James Hawkins a56e256323 advpack: Add stubs for the file save/restore functions. 2006-01-13 14:16:02 +01:00
James Hawkins 0b2d3f17b3 advpack: Only output a FIXME if flags are set. 2006-01-13 14:15:29 +01:00
James Hawkins d6bfc17ba3 advpack: Add initial tests for AdvInstallFile. 2006-01-13 13:54:30 +01:00
James Hawkins 3e8b588d3a advpack: Implement AdvInstallFile. 2006-01-13 13:54:23 +01:00
James Hawkins 92797c7b21 advpack: Add documentation for ExecuteCab. 2006-01-12 13:31:23 +01:00
James Hawkins ee3194bee2 advpack: Add stubs for the remaining registry functions. 2006-01-12 13:31:12 +01:00
James Hawkins 1ca3a4afe3 advpack: Implement ExtractFiles. 2006-01-11 12:13:03 +01:00
James Hawkins 4e31bf6863 advpack: Add initial tests for ExtractFiles.
- Use FCI to create a test cabinet file.
- Add initial tests for ExtractFiles.
2006-01-10 20:41:22 +01:00
James Hawkins 325c19cfc5 advpack: Add documentation for ExtractFiles. 2006-01-09 20:26:10 +01:00
Markus Amsler 30086feb44 advpack: Make DoInfInstall return an HRESULT. 2006-01-03 17:33:02 +01:00
Markus Amsler b286e7f503 advpack: Fix LaunchInfSection[Ex] documentation. 2006-01-03 15:12:29 +01:00
James Hawkins ba525fab7f Document many of the advpack functions. 2005-12-02 11:25:05 +01:00
James Hawkins bdfa506e40 Add a stub for AdvInstallFile. 2005-12-01 11:36:37 +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
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +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
Vincent Béron 8bbde0c4d4 Add/correct prototypes for some already defined functions in advpack. 2005-11-21 13:33:52 +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
Steven Edwards 20ea04f976 Add a real stub for Advpack.extract. 2005-11-03 09:54:56 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Markus Amsler 6b11280607 Add a stub for IsNtAdmin. 2005-09-06 09:25:25 +00:00
Saulius Krasuckas 7284e6d419 Remove trailing backslash. 2005-08-15 10:47:31 +00:00
Alexandre Julliard a152470a68 Mark DllMain and similar exports as private. 2005-08-09 10:31:35 +00:00
Stefan Leichter e3a4f9b450 Added stubs for ExecuteCab and TranslateInfString. 2005-07-11 18:01:48 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Sami Aario c7bd5fb16d Added initial version of Delnode plus some tests. 2005-04-27 09:37:25 +00:00
Troy Rollo 1af0651b17 Prevent SEGV in RegInstall when pstTable is NULL. 2005-04-19 10:24:50 +00:00
Sami Aario 9b90532c68 Added stubs for RunSetupCommand and DelNode. 2005-04-18 09:51:53 +00:00
Matthew Mastracci c53d554b72 Implement RegisterOCX.
Stub for DelNodeRunDLL32.
2005-03-14 17:16:03 +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
Alexandre Julliard 81e0fffba2 It makes no sense to export the dll entry point as stub. 2004-12-15 10:52:57 +00:00
Eric Kohl faa7df1e08 Implement SetupDiBuildClassInfoList(ExW),
SetupDiClassGuidsFromName(W/ExW), SetupDiClassNameFromGuid(W/ExW),
SetupDiGetActualSectionToInstallW, SetupDiGetClassDescription(W/ExW),
SetupDiInstallClassW partially, SetupDiOpenClassRegKey(ExW),
SetupOpenMasterInf.
2004-12-02 18:09:53 +00:00
Dmitry Timoshkov 5656ca0d6c Add simple implementation of advpack.DoInfInstall. 2004-11-01 21:07:53 +00:00
Mike McCormack c9148373e5 Add stub implementations for LaunchINFSection(Ex). 2004-10-27 21:15:34 +00:00
Vincent Béron 4f78e2ed4f Use the proper #include file delimiter in advpack. 2004-10-07 04:20:24 +00:00
Huw Davies 20313b8306 Partial implementation of advpack.RegInstall. 2004-09-27 20:39:40 +00:00