Browse By Category: | Look Up Error Number: | Search: |
Glossary | Contact Us |
Rating: 131
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.
If this article did not help you to solve your problem, please use the menu at the top of the page to browse or search more articles, or to contact our support team.