المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Can not run a bat file that is registering some dll's on Windows vista through custom



C# Programming
05-05-2009, 11:53 AM
Hello everyone need yr help once again,

I need to deploy an Application but along with that i need to register few dll's. I have a C# process in install method of custom installer that runs a bat file containing commands to register dll's like

regsvr32 /s "First.dll"
regsvr32 /s "Second.dll"
.
.
.
regsvr32 /s "nTh.dll".


the installer is running successfully on Xp but failed to do it on Windows vista.

giving following exception..

“The Installer has encountered an unexpected error installing this package.
This may indicate a problem with this package” Error Code :2869."

I checked the root cause and it is with the running C# process.
But as i have n't know anything about Windows Xp , i am unable to rectify the issue.

It will be great if you help me in this Issue.

Thanks & Regards
Dattatraya