rajeshang
2nd January 2009 19:08 UTC
autorun is not working
hi
i created an exe using NSIS . I created a autorun.inf file and burnt it along with the exe.
The autorun.inf format i created is
[autorun]
open=Project.exe
icon=Image\Project.ico
When i inserted the cd into the drive, the exe file didnt execute automatically, instead the windows loaded the content of the cd as a folder.
The autorun.inf file is saved in ANSI format.
I am using Windows Vista Home Premium.
What mistake am i making in the autorun.inf file creation.
kindly provide me a solution.
Yathosho
2nd January 2009 22:34 UTC
this might not be the place to solve your problem in the first place, but your autorun.ini looks alright to me. did you turn off autorun or specify a default behaviour? i'd also recommend to test your autorun first (you could use a cd image instead) - saves you money and the environment some toxic waste.
i don't know how to access the settings for autorun, but the in registry it's in "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer". "NoDriveTypeAutoRun" is the setting that enables/disables autorun, not sure about the default behaviour (-> check registry guide).
rajeshang
4th January 2009 18:05 UTC
Thanks for the reply
hi
Thanks for the reply,
i am sorry for posting the topic in a wrong place, i posted it here since i created the installer exe using NSIS, the autorun functionality is working fine now .
Once again thanks for spending some time for me.