Old 10th October 2007, 22:29   #1
lancerman
Junior Member
 
lancerman's Avatar
 
Join Date: Oct 2007
Posts: 2
Programs requiring CD to run

Hello! I'm trying to figure out how to make a script that would allow 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. Does anyone have any suggestions/advices?

lancerman is offline   Reply With Quote
Old 11th October 2007, 10:02   #2
CancerFace
Senior Member
 
Join Date: Apr 2006
Posts: 289
Send a message via ICQ to CancerFace
Excuse my ignorance, but what exactly is a "cd dependent program"? Does it mean that you run it from a CD and as such it requires the CD to be present?

If yes, then why not make your program copy itself, or another program, to a temporary location on the system's HDD then spawn a new process from that temporary location?
CF
CancerFace is offline   Reply With Quote
Old 12th October 2007, 17:05   #3
lancerman
Junior Member
 
lancerman's Avatar
 
Join Date: Oct 2007
Posts: 2
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 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   Reply With Quote
Old 12th October 2007, 18:30   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
The dependency is most likely to be hard-coded into the program. Hence why there are 'no-cd' cracks for applications - modified versions of the executables.

Stu
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump