Hi,
Can anyone let me know how to search a key value in registry using WIX?
I have to delete older driver in the registry using VID.I am writing
installer to do that.
So can anyone let me know how to use WIX to do that.
Thanks,
Shruthi
Hi,
Can anyone let me know how to search a key value in registry using WIX?
I have to delete older driver in the registry using VID.I am writing
installer to do that.
So can anyone let me know how to use WIX to do that.
Thanks,
Shruthi
shruthi kl wrote:
Can anyone let me know how to search a key value in registry using WIX?
I have to delete older driver in the registry using VID. I am writing
installer to do that.
So can anyone let me know how to use WIX to do that.
You don’t have that much flexibility in WiX. Is this a standalone
utility? If so, you’ll have to write code to do it. Which parts of the
registry are you trying to delete, and why do you believe you need to do so?
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
More specifically, do not touch anything under the enum key in your installer. That is private to the os
d
Bent by my phone
From: Tim Robertsmailto:xxxxx
Sent: ?10/?3/?2013 11:05 AM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: Re: [ntdev] Registry Search Using WIX
shruthi kl wrote:
>
>
> Can anyone let me know how to search a key value in registry using WIX?
> I have to delete older driver in the registry using VID. I am writing
> installer to do that.
> So can anyone let me know how to use WIX to do that.
You don’t have that much flexibility in WiX. Is this a standalone
utility? If so, you’ll have to write code to do it. Which parts of the
registry are you trying to delete, and why do you believe you need to do so?
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
—
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</mailto:xxxxx></mailto:xxxxx>
I have to remove the registry entries which contain VID and PID of the
device that was already installed earlier.This is required as the device is
not getting enumerated in the device manager.Once I manually deleted the
registry entries, the devcies(
USB CDCACM) got enumerated.Hence I would like to know if there is a way to
write code to cleanup registry entries.
Regards,
Shruthi
On Thu, Oct 3, 2013 at 11:35 PM, Tim Roberts wrote:
> shruthi kl wrote:
> >
> >
> > Can anyone let me know how to search a key value in registry using WIX?
> > I have to delete older driver in the registry using VID. I am writing
> > installer to do that.
> > So can anyone let me know how to use WIX to do that.
>
> You don’t have that much flexibility in WiX. Is this a standalone
> utility? If so, you’ll have to write code to do it. Which parts of the
> registry are you trying to delete, and why do you believe you need to do
> so?
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
> —
> NTDEV is sponsored by OSR
>
> Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
>
> OSR is HIRING!! See http://www.osr.com/careers
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
Can it be enumerated by SetupAPI?
“shruthi kl” wrote in message news:xxxxx@ntdev…
I have to remove the registry entries which contain VID and PID of the device that was already installed earlier.This is required as the device is not getting enumerated in the device manager.Once I manually deleted the registry entries, the devcies(
USB CDCACM) got enumerated.Hence I would like to know if there is a way to write code to cleanup registry entries.
Regards,
Shruthi
On Thu, Oct 3, 2013 at 11:35 PM, Tim Roberts wrote:
shruthi kl wrote:
>
>
> Can anyone let me know how to search a key value in registry using WIX?
> I have to delete older driver in the registry using VID. I am writing
> installer to do that.
> So can anyone let me know how to use WIX to do that.
You don’t have that much flexibility in WiX. Is this a standalone
utility? If so, you’ll have to write code to do it. Which parts of the
registry are you trying to delete, and why do you believe you need to do so?
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
—
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
On 10/3/2013 6:00 AM, shruthi kl wrote:
Can anyone let me know how to search a key value in registry using WIX?
I have to delete older driver in the registry using VID.I am writing
installer to do that.
So can anyone let me know how to use WIX to do that.
You might be better asking over at xxxxx@lists.sourceforge.net.
Have you looked at the RegistrySearch and util:RegistrySearch elements
to see if they’d work? If not then you might need to write a custom
action DLL.
–
Bruce Cran
shruthi kl wrote:
I have to remove the registry entries which contain VID and PID of the
device that was already installed earlier.This is required as the
device is not getting enumerated in the device manager.Once I manually
deleted the registry entries, the devcies(USB CDCACM) got
enumerated.Hence I would like to know if there is a way to write code
to cleanup registry entries.
So, you are installing a driver for a device that already has a previous
driver? You should be able to handle that by calling
UpdateDriverForPlugAndPlayDevices. Heed Doron: deleting in the Enum
tree is bad.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
On 04-Oct-2013 07:36, shruthi kl wrote:
I have to remove the registry entries which contain VID and PID of the
device that was already installed earlier.This is required as the device
is not getting enumerated in the device manager.Once I manually deleted
the registry entries, the devcies(
USB CDCACM) got enumerated.Hence I would like to know if there is a way
to write code to cleanup registry entries.
What you can do is: set DEVMGR_SHOW_NONPRESENT_DEVICES=1
then open the device manager, view hidden devices,
find and uninstall your devices.
The code equivalent of this is SetupDiGetClassDevs() without
DIGCF_PRESENT in flags.
It this won’t help… ask Mr. Roberts to share his registry cleaning tool?
– pa