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,382 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
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 11

Accepted Solution

by:
Ben Personick 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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

One of the frequent problems with the installations is when some file or registry entry is not removed from the system upon un-installation of the product. Clean removal is always highly desirable. One major reason for that is badly authored inst…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

685 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