Commit Graph

267 Commits

Author SHA1 Message Date
James Hawkins 29a55bd512 advpack: Win64 printf format warning fixes. 2006-10-07 17:48:11 +02:00
Paul Vriens 06e0766910 advpack: Make tests run on Win98 again. 2006-10-06 12:53:25 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
James Hawkins 319cac4c1f advpack: backup should be a const string. 2006-09-21 13:01:03 +02:00
Andrew Talbot 062424b68a advpack: Remove duplicate function declaration. 2006-09-20 12:23:53 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Andrew Talbot 570aad50d2 advpack: Cast-qual warnings fix. 2006-09-08 11:02:41 +02:00
James Hawkins a39913fa11 advpack: Add the regsvr action to the SetupInstallFromInfSection call. 2006-09-07 10:48:04 +02:00
James Hawkins f5acc51f2c advpack: Get the proper working directory in install_init. 2006-09-07 10:47:58 +02:00
Andrew Talbot 2429d1b634 advpack: Cast-qual warnings fix. 2006-09-07 10:16:01 +02:00
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Saulius Krasuckas a07240142e advpack/tests: Make RunSetupCommand not popup dialogs. 2006-08-21 12:21:38 +02:00
Stefan Huehner 998e256c82 Fix some -Wstrict-prototype warnings () -> (void). 2006-08-21 12:06:26 +02:00
Andrew Talbot b3cf216d9b advpack/tests: Write-strings warnings fix. 2006-08-14 11:45:06 +02:00
Andrew Talbot c6befb3358 advpack/tests: Write-strings warnings fix. 2006-07-31 10:50:22 +02:00
Andrew Talbot 719aa10a4b advpack/tests: Write-strings warnings fix. 2006-07-29 11:51:09 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
James Hawkins ac9e421999 advpack: Add tests for different configurations of INF filenames and
working directories for install functions.
2006-07-10 13:05:26 +02:00
James Hawkins 1a0208ef61 advpack: Implement DoInfInstall on top of the install framework. 2006-06-21 11:13:58 +02:00
Mike McCormack a87ba6f445 advpack: Remove some dead code. (Coverity) 2006-06-14 12:47:05 +02:00
Michael Stefaniuc 56026299d0 Remove more redundant NULL checks before HeapFree (found by Smatch). 2006-06-07 14:20:09 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget e739ba9551 Assorted spelling fixes. 2006-05-15 15:05:05 +02:00
James Hawkins 5f875b0912 advpack: DelDirs should only remove a directory if it's empty. 2006-05-08 13:37:39 +02:00
James Hawkins 8e111502ad advpack: The only flag we don't handle is RSC_FLAG_UPDHLPDLLS. 2006-05-08 13:37:29 +02:00
James Hawkins 3e46363bfd advpack: Don't fail if the dll to register doesn't exist. 2006-05-05 20:57:29 +02:00
James Hawkins 72e279bd36 advpack: Implement the DelDirs command. 2006-05-05 17:48:54 +02:00
James Hawkins 4df237312a advpack: Implement the CheckAdminRights option. 2006-05-05 17:48:39 +02:00
James Hawkins c9cff908ce advpack: Implement the RunPreSetupCommands command. 2006-05-05 17:48:19 +02:00
James Hawkins 5524a4c574 advpack: INF install is implemented so fix the documentation. 2006-05-05 17:48:05 +02:00
James Hawkins e0aa23a168 advpack: Implement the PerUserInstall command. 2006-05-05 17:47:51 +02:00
James Hawkins b3347c49a1 advpack: Leave room for the NULL terminator in the working_dir string. 2006-05-05 17:47:08 +02:00
James Hawkins 48b55afa56 advpack: NULL-terminate the source path. 2006-05-05 17:46:53 +02:00
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