M
Marcin Domaslawski
Hi,
yes, often there is and 3rd party app between autorun and destination setup
app.
Marcin Domaslawski
yes, often there is and 3rd party app between autorun and destination setup
app.
Marcin Domaslawski
I created autorun for CD, burn it on CD with program, but it launch the
Setup without even any prompt. Just want add prompt for user before
launching setup. This depends however, how this setup designed. I my
case it just launch installation without prompt. Should I add some
third party autoplay.exe file that will show first splash screen with
prompt?
I created autorun for CD, burn it on CD with program, but it launch theReplied to [mistral]s message :
You dont need a 3rd party utility. A VBS file will do. make a VBS file with following
lines :
question="Are you sure you want to run Setup ?"
fileToRun="regedit.exe"
If msgbox(question,4132,"Autorun")=6 Then
CreateObject("WScript.Shell").Run(fileToRun)
End If
-------------Then in the autorun file :
[autorun]
shellexecute=vbSFilePath
"""Ayush wrote:
"""I created autorun for CD, burn it on CD with program, but it launch theReplied to [mistral]s message :
Setup without even any prompt. Just want add prompt for user before
launching setup. This depends however, how this setup designed. I my
case it just launch installation without prompt. Should I add some
third party autoplay.exe file that will show first splash screen with
prompt?
-----You dont need a 3rd party utility. A VBS file will do. make a VBS file with following
lines :question="Are you sure you want to run Setup ?"
fileToRun="regedit.exe"
If msgbox(question,4132,"Autorun")=6 Then
CreateObject("WScript.Shell").Run(fileToRun)
End If-------------Then in the autorun file :
[autorun]
shellexecute=vbSFilePath
Have not heard about this method still. So i should burn this
launcher.vbs on CD with other files? Should i add "Set WshShell =
Nothing" at the end of script?
""Ayush said:"""Replied to [mistral]s message :
I created autorun for CD, burn it on CD with program, but it launch the
Setup without even any prompt. Just want add prompt for user before
launching setup. This depends however, how this setup designed. I my
case it just launch installation without prompt. Should I add some
third party autoplay.exe file that will show first splash screen with
prompt?
There is no need.
→ Ayush -------------
Have not heard about this method still. So i should burn this
launcher.vbs on CD with other files? Should i add "Set WshShell =
Nothing" at the end of script? ---------------------
Yup. I just tested(on virtual drive) and all works.
Autorun.inf file :[autorun]
shellexecute=launcher.vbs
icon=icon.ico
VBs file :
-------------question="Are you sure you want to run Setup ?"
fileToRun="Folder\Setup.exe"
If msgbox(question,4132,"Autorun")=6 Then
CreateObject("WScript.Shell").Run(fileToRun)
End If
After this i created a folder named folder and placed an exe file named setup.exe.
I tried this on floppy - not work for me.. My autorun.inf file does not
cause a VBScript message. The message popup and launch application when
click on script, though..
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.