Can not run a bat file that is registering some dll's on Windows vista through custom installer designed in VS 2005.
-
Hello everyone need yr help once again, sorry if wrong forum. 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
-
Hello everyone need yr help once again, sorry if wrong forum. 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
Is this batch file running elevated? If not, it won't be able to write to HKCR, which is where COM registration info usually goes.
--Mike-- Visual C++ MVP :cool: LINKS~! CP SearchBar v3.0 | C++ Forum FAQ "That's what's great about doing user interface work. No matter what you do, people will say that what you did was idiotic." -- Raymond Chen