Solved

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

Posted on 2010-08-13
4
3,802 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
4 Comments
 
LVL 2

Expert Comment

by:georgir
Comment Utility
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 11

Accepted Solution

by:
Ben Personick earned 500 total points
Comment Utility
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
Comment Utility
I need to go for another design. Any way thanks for the responses that I recieved.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
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…
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now