Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-08-13
4
Medium Priority
?
5,453 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
3 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 14

Accepted Solution

by:
Ben Personick (Previously QCubed) earned 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

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