Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 10-12-2007, 04:26 PM   #1 (permalink)
lancerman's Avatar
 
Newb Techie

Join Date: Oct 2007

Posts: 2

lancerman is on a distinguished road

Default CD Rom Virtualization

I'm trying to figure out how to make a certain program be CD independent(CD ROM Virtualization?). I'm making installer scripts for cd dependent programs and I can't seem to remove that dependency.

What I mean with CD Dependent Programs is that you install a certain program (like a game) and when you run the program from the HD installation, it requires you to have the CD in your CD ROM drive.

This happens mostly for games, and it could either be that the installation does not include huge files (videos, movies, etc) or that the EXE file still links to the CD ROM drive even if all the files from the CD were installed in the HD (a registry issue perhaps).

So I'm just wondering if anyone has a solution (preferably in NSIS) to eliminate this CD dependency (CD ROM Virtualization). I understand that you could "fool" the CD dependent program by copying the CD contents to the HD and saying that the CD is "in the hard drive". I hope to do that together with my NSIS scripts.


lancerman is offline  
Old 10-12-2007, 10:35 PM   #2 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default Re: CD Rom Virtualization

You'd probably have to manually modify the executable or dll file that is calling the cdrom. If you're adept at Windbg and api hooking, you might be able to pull it off.
jaeusm is offline  
Old 10-19-2007, 06:25 PM   #3 (permalink)
lancerman's Avatar
 
Newb Techie

Join Date: Oct 2007

Posts: 2

lancerman is on a distinguished road

Default Re: CD Rom Virtualization

I downloaded Windbg but I don't really understand how to use it. Would you be kind enough to give me some tips on how to view the "API hooks" my EXE file have?


lancerman is offline  
Old 10-20-2007, 02:59 AM   #4 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default Re: CD Rom Virtualization

Windbg and api hooking are not things you can pick up in a few days. However, if you want to pursue it, read the documentation (the large help file) that comes with Windbg to start. If you don't have much programming experience, you may have better luck looking for another alternative, as these topics are advanced and difficult for even experienced professional programmers.
jaeusm is offline  
 
Closed Thread

« C++ in Flash | C++ »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On