|
-
Mar 30th, 2000, 12:02 AM
#1
Thread Starter
New Member
I am distributing a program on CD can someone
tell me the code I need to write to auto start the
install CD?
Thanks
-
Mar 30th, 2000, 12:22 AM
#2
New Member
Autorun CD
You need to put a text file named autorun.inf at the root level of the CD. Check any CD that has this feature and you can copy the code in the autorun.inf file and then change it for your needs. It simply names the name of the file to run and optionally an icon file for the cd.
-
Mar 30th, 2000, 11:10 PM
#3
Thread Starter
New Member
I am distributing a program on CD can someone
tell me the code I need to write to auto start the
install CD?
Thanks
Thanks it worked great
Kornel
-
Dec 7th, 2002, 02:55 AM
#4
New Member
I have a slightly different problem :-
I have some software supplied on CD where the CD needs to be in the drive to run the software. I set up a program (using VB) to run in the autorun.inf called autorun.exe, which checks to see if the software is already installed. If so, it does not not run the setup.exe installer.
This works fine except on machines where VB is not previously present, in these cases autorun.exe fails because it requires the VB dll's etc.
I am sure this is simple for someone with more knowledge than me, but how can I get the autorun.exe program to run before the VB dll's are installed
Thanks in advance
Vindaloo
ps - i use inno for my setup.exe installer
-
Dec 7th, 2002, 08:25 AM
#5
New Member
You need to install a small program supplied by microsoft called
VBrun60.exe (or vbrun6sp5.exe depending on your version). I think the file can be downloaded from the microsoft website or
search google.
I put the following into the autorun.inf file
[autorun]
OPEN=start.bat
icon=myicon.ico
Created a file called start.bat in the root directory of the CD which
had.
@echo off
vbrun60
myinstall
Try this.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|