Commit Graph

54 Commits

Author SHA1 Message Date
Hugh McMaster c9308b8d6b setupapi: Recursively remove any subkeys before calling NtDeleteKey().
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-12 10:24:47 +02:00
Frédéric Delanoy 7102459c60 setupapi: Constify a character string. 2013-12-18 11:39:58 +01:00
Alexandre Julliard 4b7085fdd4 setupapi: Fix total size when appending multi-string values. 2012-11-26 13:27:50 +01:00
André Hentschel 4d796458d0 setupapi: Avoid memory leaks (coverity). 2012-10-29 10:40:14 +01:00
Hans Leidekker da922769c5 setupapi: SetupInstallServicesFromInfSection doesn't fail if there are no AddService or DelService directives in the section. 2012-07-09 15:06:26 -04:00
Alexandre Julliard 9a6a1126b9 setupapi: Add support for a WinePreInstall section for registry keys that need to be created before anything else. 2012-05-30 20:25:37 +02:00
Frédéric Delanoy edd9066d5b setupapi: Correctly handle errors in fake_dlls_callback (Coverity). 2012-01-19 21:08:54 +01:00
Alexandre Julliard f9c8afd320 setupapi: Specify the correct binary file name when registering an executable. 2011-12-14 19:35:10 +01:00
Alexandre Julliard 721e73543e setupapi: Add a trace for the install mode value. 2011-11-08 09:51:31 +01:00
Alexandre Julliard a192b707f2 setupapi: Delay freeing registered dlls until they have all been processed. 2011-08-26 13:12:26 +02:00
Austin English a326c9ee67 setupapi: Avoid shadowing a parameter. 2011-03-09 15:54:20 +01:00
Stefan Leichter 05a308a80b setupapi: Implement SetupGetInfFileListA. 2010-04-06 11:48:21 +02:00
Alexandre Julliard 6836990e0b setupapi: Only cleanup fake dlls once the whole section has been executed. 2010-03-27 11:50:01 +01:00
Alexandre Julliard f6b3dba7a0 setupapi: Add support for creating registry symlinks from a .inf file. 2010-02-16 12:26:56 +01:00
Stefan Leichter 9db754fe10 setupapi: Implement SetupGetInfFileListW. 2009-12-14 16:14:37 +01:00
Stefan Leichter 381221de66 setupapi: Add stub and some tests for SetupGetInfFileListW. 2009-11-11 10:53:39 +01:00
Alexandre Julliard 4ae262df8e setupapi: Create fake dlls before performing dll registration. 2009-10-27 11:26:20 +01:00
Alexandre Julliard 11d66a8788 setupapi: Use a global buffer to read fake dll files and free it only once we are done with all the fake dlls. 2009-10-15 13:58:19 +02:00
Michael Stefaniuc 8b3f3ef821 setupapi: Use FAILED instead of !SUCCEEDED. 2009-09-10 11:08:35 +02:00
Vincent Povirk b7fe5e0aa5 setupapi: Implement FLG_PROFITEM_GROUP. 2008-11-24 15:07:11 +01:00
Vincent Povirk 23f54c939b setupapi: Add a matching CoUninitialize call.
Spotted by Rob Shearman.
2008-11-07 10:56:30 +01:00
Vincent Povirk 6c380468d9 setupapi: Implement ProfileItems directive. 2008-11-05 15:55:09 +01:00
Alexandre Julliard c7e661b8e5 setupapi: Install services in InstallHinfSection. 2008-04-16 12:36:18 +02:00
Alexandre Julliard cf78e6c38c setupapi: Implemented SetupInstallServicesFromInfSectionW. 2008-04-16 12:36:08 +02:00
Paul Vriens f14eecded8 setupapi: Forward SetupInstallServicesFromInfSectionA to W-function. 2008-03-26 13:46:16 +01:00
Chris Robinson 4d721de4d2 setupapi: Add stub for SetupInstallServicesFromInfSectionW. 2007-11-02 12:36:03 +01:00
Louis Lenders 1c7891f86e setupapi: Add stub for SetupInstallServicesFromInfSectionA. 2007-10-22 12:36:08 +02:00
Damjan Jovanovic 28025d64ef setupapi: Use NtDeleteKey instead of an invalid RegDeleteKeyW. 2007-08-21 21:38:27 +02:00
Misha Koshelev 0e369586df setupapi: Simplify code as native setupapi does not handle quoted paths. 2007-06-25 11:44:09 +02:00
Misha Koshelev 41fd380005 setupapi: Handle unquoted paths in InstallHinfSection as native. 2007-06-15 13:24:01 +02:00
Rob Shearman 66d5cb2967 setupapi: The inf file containing the SourceDisksFiles and SourceDisksNames sections is the same as hinf if there is no layout file specified.
So pass the correct inf handle to SetupQueueDefaultCopyW and SetupQueueCopySectionW.
2007-05-04 12:40:00 +02:00
Francois Gouget 8cfd025164 setupapi: Fix handling of 'CopyFiles=@file'. 2006-12-21 14:48:15 +01:00
Hans Leidekker 709735e294 setupapi: The inf section suffix that corresponds to __x86_64 is .ntamd64. 2006-11-14 11:34:24 +01:00
Dmitry Timoshkov ab83183c03 setupapi: Fix a typo. 2006-10-16 17:05:47 +02:00
Michael Stefaniuc 79ecfaf52f setupapi: Win64 printf format warning fixes. 2006-10-14 20:17:25 +02:00
Francois Gouget 3b7fb551ce setupapi: Fix handling of inf paths that are quoted (due to spaces, typically). 2006-08-10 11:28:02 +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
Alexandre Julliard 8b478a70ec setupapi: Added support for creating fake dlls at install time.
This should satisfy applications that access a dll file directly. For
apps that check the dll version in the file, the version resource is
copied from the builtin dll.
2006-03-21 11:30:48 +01:00
Alexandre Julliard c67728f7c6 setupapi: Added support for calling executables in a RegisterDlls section. 2006-03-18 18:43:13 +01:00
Alexandre Julliard 4f128fa874 Added support for optional section.ntx86 and section.nt in
InstallHinfSection when current version is set to NT.
2005-11-03 19:34:03 +00:00
Ge van Geldorp 748d23a7d4 Base of REG_DWORD entries must be auto-detected. 2005-09-14 11:15:58 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Alexandre Julliard 8887d74bbf SPINST_UNREGSVR must use the UnregisterDlls section, not the
RegisterDlls one.
2004-02-27 06:06:38 +00:00
Alexandre Julliard 5a157628c7 Implemented InstallHinfSection (based on a patch by Chris Morgan). 2004-02-27 04:43:32 +00:00
Alexandre Julliard cb283489ad Added support for the RegisterDlls section (partly based on a patch by
Chris Morgan).
2004-02-27 00:47:10 +00:00
Steven Edwards b2b7262815 Porting fixes. 2003-09-11 02:58:46 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Huw Davies 0704955ca4 Use strtoulW instead of strtolW for DWORD conversion. 2003-05-13 22:16:11 +00:00
Alexandre Julliard b34fb35b31 Fixed warnings caused by conversion to -DSTRICT. 2002-10-18 23:48:57 +00:00