Eusebiu
Posts: 4964
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installer with two driver files

Hi Vijay,

To achieve this, you can go in the "Files and Folders" page of your project and configure a "File removal" operation that will removed your INF file during the uninstallation of your package.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vijay
Posts: 26
Joined: Wed Feb 22, 2017 1:28 pm

Re: Installer with two driver files

Hi Eusebiu,
Thanks for your reply. "File removal" will remove the files created by the installer.But we are using "Devcon.exe" tool for installing root enumerated device.So I am using "Devcon.exe remove root\netlan"(in bat file) command for uninstall the driver, but this command won't remove the files related to the driver.That is while installation, under "C:\Windows\INF\" path oemXX.inf and oemXX.pnf will be generated.Here 'XX' is some random number.
By using "File Removal" operation shall we remove these files?



Thanks,
Vijay.
Eusebiu
Posts: 4964
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installer with two driver files

Hi Vijay,

Yes, you can remove those files using the "File Removal" operation. In order to achieve this you can create a property-based folder that points to that location or you can simply create that path under the "Windows Volume -> Windows" folder and create your "File Removal" operations there.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”