Dongle Knowledge Base
Lookup Error Number:    
Search:     Advanced search
Browse by category:
Glossary | Contact Us

Executing setupdrv from a Microsoft Installer package (.msi) fails under Vista

Views: 2208
Votes: 0

Description: If you execute setupdrv as a custom action from an msi install package then it will fail to run correctly under Windows Vista. The error Vista gives is: "There is a problem with this Windows Installer package. A program required for this install to complete could not be run...".

Solution:  The custom action should run setupdrv.exe with any arguments that you specify (e.g. /q). The custom action should be sequenced after InstallInitialize and before InstallFinalize. The custom action should execute the file (type 2), run it as deferred (type 0x400) and also as noImpersonate (0x800). Add these values together (3074) along with any other flags you may need. Note that Visual Studio setup does all these things automatically except for the noImpersonate flag.

For notes on how to do this with Visual Studio please refer to the notes in the samples\Installers subfolder of the Dinkey installation directory.

Others in this Category
document My USB dongle is not being detected by the software.
document I run Setupdrv but it crashes.
document There seems to be a conflict with the Keylok dongle drivers.