abosalh
asked on
auto run
dear sear:
please can you help me how can I make my project auto run ,no need to go to start then run ect.. I need it auto run for installation
thank you .
please can you help me how can I make my project auto run ,no need to go to start then run ect.. I need it auto run for installation
thank you .
If you mean autorun a CD installation then you can only do this if the host machine already has the VB runtime files on it.
Otherwise you will need an installer for the installer program!!
Otherwise you will need an installer for the installer program!!
ASKER
no I mean autorun a CD installation then
the user no need to go to start and run
elc.. I want if the user put the cd automatacly well go to my application
the user no need to go to start and run
elc.. I want if the user put the cd automatacly well go to my application
when you say "my application"..is it the application already written in VB or is it a packed application...like when you put your Win98 CD in, you get that screen....the installation screen? if that's what you want...you just need to burn one extra file onto the CD and when you put the cd in, it will run the application you have pointed in the file (provided the CD-ROM has autorun feature enabled).
The name of the file is autorun.inf
if you want the syntax of the file, let me know...
The name of the file is autorun.inf
if you want the syntax of the file, let me know...
Did you read the article I gave you??? You need to write a little "switcher program". That is what you put in your auto-run file.
When the CD is put in the drive, the auto-run software reads the autorun.ini and runs the "switcher program". It looks to see if your real app has been installed (by looking in the registry or whatever method you want). If the real app has been installed, it launches the app... If not, then SETUP.EXE is run...
Cheers!
When the CD is put in the drive, the auto-run software reads the autorun.ini and runs the "switcher program". It looks to see if your real app has been installed (by looking in the registry or whatever method you want). If the real app has been installed, it launches the app... If not, then SETUP.EXE is run...
Cheers!
By the way, use this autorun.ini to start your program on all platforms... Replace all of the "readme.exe" with the name of your program:
[AutoRun]
open=readme.exe
Shell\OpenCD\ = Start Master Setup
Shell\OpenCD\Command = readme.exe
icon = readme.exe,1
[AutoRun.PPC]
open=readme.exe
Shell\OpenCD\ = Start Master Setup
Shell\OpenCD\Command = readme.exe
icon = readme.exe,1
[AutoRun.Alpha]
open=readme.exe
Shell\OpenCD\ = Start Master Setup
Shell\OpenCD\Command = readme.exe
icon = readme.exe,1
Cheers!
[AutoRun]
open=readme.exe
Shell\OpenCD\ = Start Master Setup
Shell\OpenCD\Command = readme.exe
icon = readme.exe,1
[AutoRun.PPC]
open=readme.exe
Shell\OpenCD\ = Start Master Setup
Shell\OpenCD\Command = readme.exe
icon = readme.exe,1
[AutoRun.Alpha]
open=readme.exe
Shell\OpenCD\ = Start Master Setup
Shell\OpenCD\Command = readme.exe
icon = readme.exe,1
Cheers!
ASKER
yes : st_steve
I mean a packed application...like put Win98 CD in, I get that screen....the installation screen .
sory becuse I did not explean my problem
in right way .
thanks a lot
abdullh
I mean a packed application...like put Win98 CD in, I get that screen....the installation screen .
sory becuse I did not explean my problem
in right way .
thanks a lot
abdullh
ASKER
to : mcrider
I am doing what you tell me but not yet finish.
thank you very much
I am doing what you tell me but not yet finish.
thank you very much
I think you got the solution already....right/?
I think you got the solution already, right??
ASKER
yes I got the olution.
thanks
thanks
ASKER
yes I have got the solution.
thanks a lot
thanks a lot
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the points! Glad I could help!
Cheers!
Cheers!
ASKER
see you in next problem
abosalh
abosalh
HKEY_LOCAL_MCHINE\SOftware
make a new string entry and name it whatever you want it to appear on Windows Tasklist, and in the value pane, put the path to your application. MS recommends short path names, but I found long path names also work as well..