Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows API
  4. Can not run a bat file that is registering some dll's on Windows vista through custom installer designed in VS 2005.

Can not run a bat file that is registering some dll's on Windows vista through custom installer designed in VS 2005.

Scheduled Pinned Locked Moved Windows API
helpcsharpvisual-studio
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dattatraya K
    wrote on last edited by
    #1

    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

    M 1 Reply Last reply
    0
    • D Dattatraya K

      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

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups