RunDll32 failing
Updated: 21 May 2010 | 4 comments
Hello all,
Im confused. I have a field problem that I dont know how it happened. Im installing a device driver in the Execute Deferred section.
Its an Execute Program from Destination task and my commend line is
[SystemFolder]rundll32.exe setupapi,InstallHinfSection DefaultInstall.NTx86 128 .\SoxAudit.inf
The working directory is the installation directory.
Since the driver doesnt get installed, Im assuming that this call is failing.
So my question is 2 fold:
1. Any ideas why it would fail? Its worked countless times before.
2. How do I test for a return value from this and recover?....actually I dont think I can recover so Im going to have to abort the install altogether.
Thank you in advance.
Gene
Discussion Filed Under:
Comments
Look in the System and Application event logs to see if there is anything related. Run the install again with verbose logging and see if that shows anything.
What operating system? What security settings in the antivirus? Some installs are blocked by security software, or your operating system may need a signed install in order to perform it silently.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
It's a 2003 machine and the driver and the msi are both signed. I didn't sign the inf though...think that could cause a problem?
Our central console deploys to the "workstation" and it appears to fail only on this one. (they all basically the same) so I'm trying to figure what could be different enough to make it fail.
Check that the workstation doesn't already have an instance of the file you are trying to install, present in one of the folders on the machine. There may also be existing registry entries applicable to the file if it is present.
Sometimes, this type of issue can be very difficult to track down, so if you are working with a corporate operating system image, then perhaps it would be sensible to rebuild the machine rather than waste too much time on this one.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Would you like to reply?
Login or Register to post your comment.