66 Commits

Author SHA1 Message Date
Alexandre Julliard
aa76bec241 setupapi: Support a WineSourceDirs section to copy files from the Wine build or data dir.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 09:00:43 +01:00
Alexandre Julliard
32a2cde6c1 setupapi: Use wide character string literals.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 09:00:21 +01:00
Zebediah Figura
e75d5b8dc7 setupapi: Initialize COM if necessary when registering DLLs.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 08:44:04 +01:00
Alexandre Julliard
b2b3975f46 setupapi: Define .inf section names for ARM platforms.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-31 00:33:46 +01:00
Alexandre Julliard
72d6759f3a setupapi: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-05 11:38:15 +02:00
Zebediah Figura
6b2b6cde8b setupapi: Fix error handling in SetupInstallServicesFromInfSection().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 11:25:35 +02:00
Zebediah Figura
9ccf1dd88b setupapi: Avoid passing a NULL source filename to SetupQueueDefaultCopy().
Fixes a regression introduced by 705d3eed86f3ff96ee1190dbc694148c21c4939c.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47138
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-08 08:31:20 -05:00
Zebediah Figura
cedbdf4387 setupapi: Avoid passing a NULL source root path to SetupQueueDefaultCopy() and SetupQueueCopySection().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Alex Henrie
837b4aa429 setupapi: Turn several constants and variables into static constants.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Huw Davies
a6d89db615 setupapi: For consistency use __x86_64__ instead of __x86_64.
Spotted by Ken Thomases.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 12:34:57 +02:00
Michael Stefaniuc
d33f067460 setupapi: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 15:40:32 +02:00
Austin English
d45e6814d6 setupapi: Set LastError on success in SetupInstallFromInfSectionW.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45167
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 10:49:07 +02:00
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