quadrac
05-02-2002, 01:57 PM
hi all:
i made a small program that uses windows media-player
to create a play-list....
any-way, i want to compile it in a way that when you
execute the compiled file, it will automaticly install&run the program.
all i have now is this "package&deployment wizard" that creates an install program ("setup.exe") which i really don't want...
thank you
quadrac
BillSoo
05-02-2002, 02:08 PM
The executable REQUIRES some supporting files (eg. VBRUN60.DLL) that may or may not be on the target computer. That is why you need an installation program.
If those files are not on the system, any VB program you compile will NOT run.
The closest thing I can think of that might suit your requirements is a program from Bit-Arts called fusion. It puts all the dependent files into a single exe. It still has to install them, but it is somewhat less obvious about it....
quadrac
05-02-2002, 02:16 PM
first of all thanks!
can i take all the files that need to be installed (vbrun.dll, etc..)
and make my program install it?
it will be much better because you can't see the installation...
BillSoo
05-02-2002, 02:31 PM
As I said before, you can't make your program install VBRUN because it needs VBRUN to be installed first. You could install VBRun yourself, then run your program that would install vbrun, but that kind of defeats the purpose.....
What I have done, which is similar, is put a simple program plus all dependent files on a CD and then run the program off the CD. This is not really an optimal solution though.
Your best bet is to just make a setup program. People expect to see setup programs. Not having a setup program is just plain rude.
After all, a lot of people might take exception if your program just runs and installs anything it wants without asking for permission or even telling you it was doing so. Some people might even call it a virus....
quadrac
05-02-2002, 02:44 PM
no, not a virus!
the people who will get this program are not very into computers...
actually, they know how to turn it on and hopefuly insert a cd-rom...
thats why i need it so simple...
any-way,
thanks (sorry about the spelling.... i'm not from the us/uk)
Squirm
05-02-2002, 03:57 PM
If you don't like the P&DW (I hated it, but its better in VB6), you can use INNO setup, http://www.innosetup.com which will create a neat and professional-looking install package and can then execute your program once it has installed.
Its also free. :)
quadrac
05-03-2002, 12:36 AM
I am downloading it (inno) as i write these words.
it looks good!
by the way, the "Bit-Arts fusion" had a virus!!! so i never tried it.