Solved

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

Posted on 2010-08-13
4
4,506 Views
Last Modified: 2013-11-14
How to register .sys file through command line? How do i register .sys file through installshield?
0
Comment
Question by:pullarao
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 2

Expert Comment

by:georgir
ID: 33429340
In real DOS, sys files are usually loaded by a DEVICE or DEVICEHIGH line in config.sys such as
DEVICE=something.sys

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.
0
 
LVL 12

Accepted Solution

by:
Ben Personick (Previously QCubed) earned 500 total points
ID: 33435549
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"




0
 

Author Comment

by:pullarao
ID: 33698814
I need to go for another design. Any way thanks for the responses that I recieved.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question