Solved

exe file thru CD path

Posted on 2002-07-28
6
161 Views
Last Modified: 2012-05-05
If I a application in CD-ROM with a setup to install
app should be in such a way it requires CD to execute exe file
0
Comment
Question by:manjunath_msr
6 Comments
 
LVL 5

Expert Comment

by:jayeshshah
ID: 7183176
could you please explain your question properly in detail.
0
 

Author Comment

by:manjunath_msr
ID: 7183204
Suppose i have CD I will install in a system if they click  microsoft word.exe file it should not run without ms-office CD i.e, it should not install microsoft word.exe file into the system only it soule have the path
this is only eg
0
 
LVL 4

Accepted Solution

by:
mcoop earned 20 total points
ID: 7183269
Within your program - you can test for the presence of a specific file (or series of files) on 'another' drive...

This drive in turn should validate as a) a CDR drive, and b) with the correct media label.

(obviously you can't assume that D: is always a CD!)

Of course you can also start doing other things as well - like uniques hardware serial etc - but the above will answer your initial question.
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 45

Expert Comment

by:aikimark
ID: 7183686
You will need to use some Window API to inspect the type of media.  I don't think that the FileSystemObject will give you enough detail for this.  You can only control your own application.  Your Word example can't be enforced, since it isn't your program.

Your user might have copied the CD to a mapped directory on the LAN.
===============================================
What will you do if the user has duplicated their CD?
What is the purpose of such a configuration?
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8049037
Hi manjunath_msr,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept mcoop's comment(s) as an answer.

manjunath_msr, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 8095833
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

743 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

13 Experts available now in Live!

Get 1:1 Help Now