• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 366
  • Last Modified:

autorun problem

i would like to create an autorun on a cd rom for a software which will automatically install the software

i have created a setup for this software but now i want to run this setup as soon as i place the cd on the drive

i have tried out this code but without results

file name : autorun.ini
***********************************
[autorun]
open=CDstart.exe /AUTORUN
***********************************
i also tried to copy this file as the file on the cd then also it did not help

is there anybody who can help??
0
ari_roy
Asked:
ari_roy
  • 5
  • 2
1 Solution
 
fracheCommented:
It's not a ini file ... it must be a inf file!
-> autorun.inf

[autorun]
open=setup.exe
ICON=setup.ico




0
 
fracheCommented:
Another example :

[autorun]
open=setup\setup.exe
ICON=setup\setup.ico

directorie setup contain setup.exe and icon for your application.
0
 
ari_royAuthor Commented:
frache,

sorry , i typed it wrong it is a inf file

and it giving an error "installation failed"

ari_roy
0
Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

 
fracheCommented:
Reject my answer ...

did you try my syntax without /autorun ?)

Your setup file : Visual Basic ,Visual C..
0
 
fracheCommented:
no news ?
0
 
ari_royAuthor Commented:
yes i had tried out with as well as w/o /autorun
but the result being the same
0
 
fracheCommented:
Please reject my answer if you want more feedback ...

Did you try with another file ?
Did you use relative path in your setup.exe file ?
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now