Uninstall and inf file. - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

vitalya
Posts: 5
Joined: Wed Jan 14, 2009 3:42 pm

Uninstall and inf file.

Hi,
I have some strange problem during uninstall process with inf file.
My installer package contains inf file for driver installation.
Inf file contains instruction, which deletes driver during uninstallation process:

[DefaultUninstall]
DelFiles = MiniFilter.DriverFiles

When I run it standalone(only inf, without install package) it's work fine and deletes driver files from directory.
But when I add inf file to installer package and don't select "On uninstall remove the binary files that where copied to the system when installed" option on the driver settings screen - driver file doesn't deleted.
Is this means that that advanced installer in some way disables inf [DefaultUninstall] instruction?

If I select "On uninstall remove the binary files that where copied to the system when installed" file is deleted but I have another problem with it.

Thanks in advance, Vitaly
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Uninstall and inf file.

Hi Vitaly,
If I select "On uninstall remove the binary files that where copied to the system when installed" file is deleted but I have another problem with it.
What exactly is the issue you are encountering when using this?

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
vitalya
Posts: 5
Joined: Wed Jan 14, 2009 3:42 pm

Re: Uninstall and inf file.

The problem happens when the user delete driver file manually.
Then uninstallation failed with following error: "DIFXAPP: ERROR - at least one of the driver packages failed to uninstall cleanly."
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Uninstall and inf file.

Hi,

If the user deltes the file manually you could ask him to try running a repair of the installation process and then run the uninstall. The repair should put the file in the correct place and the
uninstall should run correctly this time.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”