• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5956
  • Last Modified:

How to register .sys file through command line? How do i register .sys file through installshield 2010?

How to register .sys file through command line? How do i register .sys file through installshield?
1 Solution
In real DOS, sys files are usually loaded by a DEVICE or DEVICEHIGH line in config.sys such as

If by "register" you mean to add such a line so that they will get loaded next boot, a simple "echo DEVICE=c:\something.sys >> c:\config.sys" should do the trick

Sorry but I have no clue how Installshield and MS DOS could have anything at all to do with each other. If you mean command prompt in Windows, that's quite different from MS DOS. Especially in new 64-bit versions of windows I don't think it even supports traditional sys files any more.
Ben Personick (Previously QCubed)Lead Network EngineerCommented:
You just need to use Regsvr32, so have install-shield call it, or run a batch script as part of your installation

Syntax is simple:

Regsvr32 /S "C:\Path\To\DLL\DLL-Name.dll"

If you need to pass the DLL commands when you register it you need to use the /i option so:

Regsvr32 /S /I:[Command Line Options] "C:\Path\To\DLL\DLL-Name.dll"

pullaraoAuthor Commented:
I need to go for another design. Any way thanks for the responses that I recieved.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now