PC Review


Reply
Thread Tools Rate Thread

Autorun issue

 
 
Marcin Domaslawski
Guest
Posts: n/a
 
      3rd Jan 2007
Hi,

yes, often there is and 3rd party app between autorun and destination setup
app.

Marcin Domaslawski


Uzytkownik "mistral" <(E-Mail Removed)> napisal w wiadomosci
news:(E-Mail Removed)...
>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?
>
> [autorun]
> open=Folder\Setup.exe
> icon=icon.ico
>



 
Reply With Quote
 
 
 
 
mistral
Guest
Posts: n/a
 
      4th Jan 2007
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?

[autorun]
open=Folder\Setup.exe
icon=icon.ico

 
Reply With Quote
 
Ayush
Guest
Posts: n/a
 
      4th Jan 2007
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?


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
-------------
Search - www.Google.com | Wikipedia - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------
 
Reply With Quote
 
mistral
Guest
Posts: n/a
 
      5th Jan 2007
"""Ayush wrote:
"""
> 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?
-----
> 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

-------------

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?

fileToRun="Folder\Setup.exe"


and Autorun.inf will be

[autorun]
shellexecute=launcher.vbs
icon=icon.ico

M.

 
Reply With Quote
 
Ayush
Guest
Posts: n/a
 
      5th Jan 2007
Replied to [mistral]s message :
> """Ayush wrote:
> """
>> 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.


> -----
>> 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

> -------------
>
> 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.

--
→ Ayush
-------------
Search - www.Google.com | Wikipedia - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------
 
Reply With Quote
 
mistral
Guest
Posts: n/a
 
      5th Jan 2007
> """Ayush wrote:
> """
>> 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.



> -----
> 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

-------------

> 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.


--
> → Ayush

-------------

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..

m.

 
Reply With Quote
 
Ayush
Guest
Posts: n/a
 
      5th Jan 2007
Replied to [mistral]s message :

> 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..
>


I dont think autorun.inf files work on floppies !

--
→ Ayush
-------------
Search - www.Google.com | Wikipedia - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CD issue with autorun.ini file SteveH Windows XP Hardware 1 19th Sep 2008 02:52 AM
Autorun issue on CD driver TEAC Stefano \Dr. Tofu\ Gigante Windows XP Hardware 1 18th Feb 2008 12:32 AM
Autorun issue on CD driver TEAC Stefano \Dr. Tofu\ Gigante Windows XP Help 4 16th Feb 2008 05:54 PM
Autorun issue on CD driver TEAC Stefano \Dr. Tofu\ Gigante Windows XP Performance 0 15th Feb 2008 03:14 PM
Autorun CD Issue with Vista RussellS Windows Vista General Discussion 0 12th Sep 2006 08:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:49 AM.