atramb
asked on
Use .dlls from CD
Hi ppl!!
I have a question for you... I'm making a CD with all the programs I had
downloaded in my life and I'm making a small program that is like a list of
the progs., so u can select one prog. and install it. Here is my problem... I
don't want to make a installation package for that small program, I only
want to have a .exe that will be that prog. and when you put the CD in the
CD-ROM a autorun.ini file will load that .exe, but here is the problem, is
there some way that the file use the .dll it need directly from the CD? Or I
have to make something to copy that .dlls to the HD? Any suggestion or
idea??
THANKS for your time!
I have a question for you... I'm making a CD with all the programs I had
downloaded in my life and I'm making a small program that is like a list of
the progs., so u can select one prog. and install it. Here is my problem... I
don't want to make a installation package for that small program, I only
want to have a .exe that will be that prog. and when you put the CD in the
CD-ROM a autorun.ini file will load that .exe, but here is the problem, is
there some way that the file use the .dll it need directly from the CD? Or I
have to make something to copy that .dlls to the HD? Any suggestion or
idea??
THANKS for your time!
ASKER
I don't want to use web pages...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
To be honest I liked.. Cheryldon's solution.. kewl idea.. <smile>.
Anyhow.. long story short.. you have to use Setup with VB or find another language to get your interface written in.. <sigh>.
Anyhow.. long story short.. you have to use Setup with VB or find another language to get your interface written in.. <sigh>.
if u want to running your small! program without a setup , your program must be a stand-alone exe file.
if you write program with a language that make stand-alone exe ( like Delphi) you can do it , otherwise (like Visual Basic) you must make setup and use it.
The Proposed Answer (TheMask's Answer)
will not work because while you run your program , CD Drive Letter may be D:
, E:, G: ,....
i had same problem. i wrote an autorun program with VB then i write it with Delphi again and it work fine now.
Atramb.. wish I could tell you that there is a VB solution to your dilemna.. but I can't.. <sigh>. Your only way to do this efficiently is via another programming language, such as C++ or Delphi. One other solution would be to search the 3rd party market. Very possibly there is a freeware / shareware solution already available that you could employ without any programming.. <smile>.
I did just that on my companys repair cd and it seems to work fine for us.
I just added the file name to autorun and also changed the icon to the store icon.