This is the wix code I am using for the driver install: <difx:driver addremoveprograms=“no” deletefiles=“yes” sequence=“1” plugandplayprompt=“no” forceinstall=“yes”></difx:driver>
Nik Twerdochlib
Software Developer
+1.601.607.8309 O
+1.866.522.8678 F
BOMGAR | The Box That’s Revolutionizing Remote Support™
One of the Fastest-Growing Technology Companies in America | Technology Fast 500™
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Nik Twerdochlib
Sent: Monday, September 17, 2012 5:31 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] [nik] instance id management within a bus driver
No, relying on the uninstall processing within the MSI created by Wix. We do run the MSI from a boot strapper that requests admin elevation.
I have not yet tried installation and removal using something like dpinst… but it and the wix difxapi library use pretty much the same calls right? I mean there are not so many SetupDi calls that they get ambiguous.
Nik Twerdochlib
Software Developer
+1.601.607.8309 O
+1.866.522.8678 F
BOMGAR | The Box That’s Revolutionizing Remote Support™
One of the Fastest-Growing Technology Companies in America | Technology Fast 500™
From: xxxxx@lists.osr.commailto:xxxxx [mailto:xxxxx@lists.osr.com]mailto: On Behalf Of Doron Holan
Sent: Monday, September 17, 2012 5:27 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] [nik] instance id management within a bus driver
Are you explicitly calling delete service?
From: xxxxx@lists.osr.commailto:xxxxx [mailto:xxxxx@lists.osr.com]mailto: On Behalf Of Nik Twerdochlib
Sent: Monday, September 17, 2012 2:12 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] [nik] instance id management within a bus driver
Msi (via WIX)
Nik Twerdochlib
Software Developer
+1.601.607.8309 O
+1.866.522.8678 F
BOMGAR | The Box That’s Revolutionizing Remote Support™
One of the Fastest-Growing Technology Companies in America | Technology Fast 500™
From: xxxxx@lists.osr.commailto:xxxxx [mailto:xxxxx@lists.osr.com]mailto: On Behalf Of Doron Holan
Sent: Monday, September 17, 2012 5:10 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] [nik] instance id management within a bus driver
Is your uninstall dpinst? Msi? Via device manager?
From: xxxxx@lists.osr.commailto:xxxxx [mailto:xxxxx@lists.osr.com]mailto: On Behalf Of Nik Twerdochlib
Sent: Monday, September 17, 2012 8:38 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] [nik] instance id management within a bus driver
Doron,
Thank you. If I may ask a quick follow up question. When I uninstall a driver, the registry entry in HKLK\CurrentControlSet\Services remains behind. We renamed one of our drivers, and this creates problems at times since the Description’s match. Is there a way to get around this? Or is our uninstall not quite working?
Thanks,
Nik Twerdochlib
Software Developer
+1.601.607.8309 O
+1.866.522.8678 F
BOMGAR | The Box That’s Revolutionizing Remote Support™
One of the Fastest-Growing Technology Companies in America | Technology Fast 500™
From: xxxxx@lists.osr.commailto:xxxxx [mailto:xxxxx@lists.osr.com]mailto: On Behalf Of Doron Holan
Sent: Monday, September 17, 2012 11:33 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] [nik] instance id management within a bus driver
Not an issue really if they are all unique
d
debt from my phone
________________________________
From: Nik Twerdochlib
Sent: 9/17/2012 8:10 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] [nik] instance id management within a bus driver
Are there any “best practices” for managing the values of the instance id’s one would use when a bus driver creates a PDO for a device it supports? It does not seem right to just let these values increment on and on. Or, is that just not really an issue and I am making it into one?
Nik Twerdochlib
Software Developer
+1.601.607.8309 O
+1.866.522.8678 F
BOMGAR | The Box That’s Revolutionizing Remote Support™
One of the Fastest-Growing Technology Companies in America | Technology Fast 500™
—
NTDEV is sponsored by OSR
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
—
NTDEV is sponsored by OSR
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
—
NTDEV is sponsored by OSR
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
—
NTDEV is sponsored by OSR
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
—
NTDEV is sponsored by OSR
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
—
NTDEV is sponsored by OSR
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
—
NTDEV is sponsored by OSR
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:></mailto:xxxxx></mailto:></mailto:xxxxx></mailto:></mailto:xxxxx></mailto:></mailto:xxxxx></mailto:></mailto:xxxxx>