- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Remove Driver
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Hello I use InstallShield to install some device driver.
After executing setup.exe, I confirmed that the driver installation and removal. However, if I force the driver to be removed from Device Manager after running setup.exe, the driver will not be recovered by running installshield setup.exe. After running setup.exe again, I need to uninstall the driver and run it again to install the driver.
Do you know how to recover after deleting driver from Device Manager randomly?
Hi @daqsystem ,
Looks like the install driver actions are getting executed during the maintenance mode also.
But, a repair install is only supposed to fix a malfunctioning driver. It is not supposed to change the devices state. This can only be achieved by a reinstall, not a repair.
Somebody already raised the same query with Microsoft:
Hi @daqsystem ,
If I understood correctly, your setup is not getting uninstalled while removing the driver from the device manger.
Looks like the device driver will be unregistered/uninstalled from windows device manger while removing from the driver from the device manager. It will not uninstall the setup.
If you execute the setup, then it will run in maintenance mode and it will copy the missing files and what all configured during the maintenance.
I think if you want to install the driver during the maintenance repair, you need to handle it separately or configure to run the driver installation during the maintenance mode based on your requirement.
If I understand correctly, should I use Install Script to install drivers during maintenance repair?
Is there any way to set it in a GUI environment like the "Installation Designer" window?
Hi @daqsystem ,
See below link for how to detect maintenance mode:
https://helpnet.flexerasoftware.com/installshield21helplib/helplibrary/FAQConditionInstall.htm?
Hi @daqsystem ,
Looks like the install driver actions are getting executed during the maintenance mode also.
But, a repair install is only supposed to fix a malfunctioning driver. It is not supposed to change the devices state. This can only be achieved by a reinstall, not a repair.
Somebody already raised the same query with Microsoft:
Thank you for your quick reply.
You said that "I think if you want to install the driver during the maintenance repair, you need to handle it separately or configure to run the driver installation during the maintenance mode based on your requirement."
However, I do not know where to set it up. What should I do?