You are here

Autorun.inf does not work

51 posts / 0 new
Last post
TNA
Offline
Last seen: 15 years 2 months ago
Joined: 2007-03-01 13:58
Autorun.inf does not work

The Autorun.inf file in my USB's root directory does not seem to have an effect on the computers I insert the USB drive into. It does not change the icon for the drive with the one of the PortableApps Menu icon, and the drive doesn't get assigned the label name.

I have tried this mainly on 3 machines and the pattern I'm seeing is that the first time you insert the USB drive into the computer everything shows up ok (meaning the settings are being read from the autorun.inf file), but on subsequent insertions the settings aren't read.

I have a 2 GB DataTraveler from Kingston that used to have the U3 app, but I removed the app because I thought it was a piece of trash (still do) compared to PAM.

Is anyone else experiencing the same problem, or may have some suggestions on how I may begin to look at what is causing this?

Thanks.

Patrick Patience
Offline
Last seen: 2 years 4 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Umm.

I have the exact same drive. That happens for me on certain computers.

Actually, just Win 2000, and Win Vista that I've noticed. Maybe it's the users settings, I dunno.

scoutconnor
scoutconnor's picture
Offline
Last seen: 13 years 6 months ago
Joined: 2006-10-26 11:50
Same Here

Same here...

ian_hulin
Offline
Last seen: 13 years 1 week ago
Joined: 2007-04-09 06:52
Same for my 1GB Kingston Data Traveller on Windows 2000 SP 4

Same for my 1GB Kingston Data Traveller on Windows 2000 SP 4.

I'll try on an XP box. Also I have lots of synchronization and Startup/Shutdown problems once I start it up manually on the Windows 2K box.

See my recent post in the Portable Apps forum.

Ian Hulin

Ian Hulin

ian_hulin
Offline
Last seen: 13 years 1 week ago
Joined: 2007-04-09 06:52
Autorun doesn't on XP SP2 either

I've just tried this on my Laptop with XP Professional.

  • The Autorun.inf is still not executed.
  • But once I've run the start program manually, the menu behaves itself as it should, including the shutdown. Looks like conflicting software is a possibility for this one. . .

Ian Hulin

Ian Hulin

Simeon
Simeon's picture
Offline
Last seen: 7 years 7 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
disabled

On some machines, autorun is simply disabled for security reasons.
Could that be the case?

"There is a computer disease that anybody who works with computers knows about. It's a very serious disease and it interferes completely with the work. The trouble with computers is that you 'play' with them!" - Richard P. Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Agnati
Offline
Last seen: 14 years 4 months ago
Joined: 2007-03-30 16:19
Autorun.inf

I'm having the same issue with my Win2k not excecuting the Autorun.inf file.

Could anyone who has a working Autorun.inf post the contents?

-----
American by birth.
Christian by choice.

American by birth.
Christian by choice.

Simeon
Simeon's picture
Offline
Last seen: 7 years 7 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Mine is working
[Autorun]
Open=PortableApps\PortableAppsMenu\PortableAppsMenu.exe
Action=Start PortableApps
Icon=PortableApps\PortableAppsMenu\PortableAppsMenu.exe
Label=PortableApps

"There is a computer disease that anybody who works with computers knows about. It's a very serious disease and it interferes completely with the work. The trouble with computers is that you 'play' with them!" - Richard P. Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

joetbd
Offline
Last seen: 15 years 3 weeks ago
Joined: 2007-04-27 16:21
Will not auto Launch

I have a Creative MP3 player.

When I plug my MP3 player into a Windows XP machine (via USB cable), I get a dialog box, asking how I want to handle the new device (its the same menu you get, when you put a CD in with mixed-media). That is the default behavior BEFORE i install PortableApps.

AFTER I install PortableApps, I get no pop up window, at all. Windows gives no visual notice that a USB device has been added. But, if I go into My computer, the USB drive is there, and I can "manually" launch the portableApps menu. And the program operates normally, and closes normally.

It just will not Launch Automatically.

I have tried on three seperate XP machines (including a fresh install of Windows - where EVERYTHING is still at its default settings).

Joble
Joble's picture
Offline
Last seen: 13 years 8 months ago
Joined: 2007-05-03 12:46
AUTORUN not AUTORUNNING

[Autorun]
UseAutoPlay=1
Icon=PortableApps\PortableAppsMenu\PortableAppsMenu.exe
Label=PortableApps
shellexecute=MyAutoRun.bat

Try UseAutoPlay=1
it worked for me

Have an Awesome Day!

consul
consul's picture
Offline
Last seen: 8 months 2 weeks ago
Joined: 2007-05-02 13:47
Your solution seems to be

Your solution seems to be referencing other things. Where is MyAutoRun.bat from?

"... respect, all good works are not done by only good folk. For here, at the end of all things, we shall do what needs to be done."
--till next time, Jameson Stalanthas Yu -x- >

Don't be an uberPr∅. They are stinky.

Joble
Joble's picture
Offline
Last seen: 13 years 8 months ago
Joined: 2007-05-03 12:46
Autorun

[Autorun]
UseAutoPlay=1
Open=PortableApps\PortableAppsMenu\PortableAppsMenu.exe
Action=Start PortableApps
Icon=PortableApps\PortableAppsMenu\PortableAppsMenu.exe
Label=PortableApps

Sorry, That was my Autorun.inf. Here's the original with
UseAutoPlay=1

This will bypass the startup menu and run the program referenced.
MyAutorun.bat simply runs the ClamWin command line memory scanner before starting the portableappsmenu.

MyAutorun.bat:

@echo off
title Portable Drive Startup Procedure
echo *******************************************************************
echo * *
echo * Please wait while ClamWin scans the host computer system. *
echo * *
echo * Checking for Viruses in the computer memory that could *
echo * infect your portable drive. *
echo * *
echo * A report will be generated, *
echo * please review the SCAN SUMMARY upon completion. *
echo * *
echo *******************************************************************

PortableApps\ClamWinPortable\App\clamwin\bin\freshclam.exe --datadir=".\PortableApps\ClamWinPortable\Data\db" --config-file="PortableApps\ClamWinPortable\App\clamwin\bin\freshclam.conf" > VirusMemoryScanResults.txt
PortableApps\ClamWinPortable\App\clamwin\bin\clamscan.exe --infected --database=".\PortableApps\ClamWinPortable\Data\db" --memory >> VirusMemoryScanResults.txt
start /max VirusMemoryScanResults.txt
start StartPortableApps.exe

Have an Awesome Day!

consul
consul's picture
Offline
Last seen: 8 months 2 weeks ago
Joined: 2007-05-02 13:47
cool, never thought of running clamwin when I ported in

That is a great idea, to run clamwin. I never thought of doing that, as all the computers I plug into usually have virus protections up to date and running, and I never take stuff in, I just port stuff out of my usb.

"... respect, all good works are not done by only good folk. For here, at the end of all things, we shall do what needs to be done."
--till next time, Jameson Stalanthas Yu -x- >

Don't be an uberPr∅. They are stinky.

shookmon
Offline
Last seen: 4 years 10 months ago
Joined: 2007-02-21 16:26
I couldn't resist adding a

I couldn't resist adding a bit to this, since it seemed like such a great idea.

Here's my Autorun.inf:

[Autorun]
Open=Autorun.bat
Icon=PortableApps\PortableAppsMenu\PortableAppsMenu.exe
Label=PortableApps
Action=Start PortableApps
Shell\Read1\Command=PortableApps\PortableAppsMenu\PortableAppsMenu.exe
Shell\Read1=&Start PortableApps
Shell\Read2\Command=PortableApps\FirefoxPortable\FirefoxPortable.exe
Shell\Read2=Start &Firefox Portable
Shell\Read3\Command=PortableApps\ThunderbirdPortable\ThunderbirdPortable.exe
Shell\Read3=Start &Thunderbird Portable

and here's the Autorun.bat that goes with it: [Line wraps marked » - RM]

@ECHO OFF
TITLE Portable Drive Startup Procedure

ECHO.
ECHO.
ECHO.
ECHO       ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
ECHO       º                                                                 º
ECHO       º                    Welcome to your USB Drive.                   º
ECHO       º                                                                 º
ECHO       º                     Please enjoy your stay.                     º
ECHO       º                                                                 º
ECHO       ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
ECHO.

ECHO SET day=%%1>setday.bat
CALL setday.bat %date%
DEL setday.bat
IF [%day%]==[Sun] GOTO VirusScan

:StartChoice
CLS
ECHO.
ECHO.
ECHO.
ECHO       ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
ECHO       º                                                                 º
ECHO       º          Would you like to scan the machine memory for          º
ECHO       º       viruses before starting your portable applications?       º
ECHO       º                                                                 º
ECHO       ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
ECHO.
SET choice=
SET /p choice="Enter 'y' or 'n' "
IF NOT '%choice%'=='' SET choice=%choice:~0,1%
IF '%choice%'=='n' GOTO StartApps
IF '%choice%'=='y' GOTO VirusScan
ECHO.
ECHO "%choice%" is not valid please try again.
PING -n 4 127.0.0.1 >NUL
GOTO StartChoice

:VirusScan
CLS
ECHO.
ECHO.
ECHO.
ECHO       ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
ECHO       º                                                                 º
ECHO       º Please wait while ClamWin checks for new virus signature files. º
ECHO       º                                                                 º
ECHO       ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
PortableApps\ClamWinPortable\App\clamwin\bin\freshclam.exe
» --datadir=".\PortableApps\ClamWinPortable\Data\db"
» --config-file="PortableApps\ClamWinPortable\App\clamwin\bin\freshclam.conf" 
» > VirusMemoryScanResults.txt

CLS
ECHO.
ECHO.
ECHO.
ECHO       ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
ECHO       º                                                                 º
ECHO       º    Please wait while ClamWin scans the host computer system     º
ECHO       º    memory for viruses that could infect your portable drive.    º
ECHO       º                                                                 º
ECHO       ÇÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄĶ
ECHO       º                                                                 º
ECHO       º                 A report will be generated,                     º
ECHO       º         please review the SCAN SUMMARY upon completion.         º
ECHO       º                                                                 º
ECHO       ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
PortableApps\ClamWinPortable\App\clamwin\bin\clamscan.exe --infected
» --database=".\PortableApps\ClamWinPortable\Data\db" --memory
» >> VirusMemoryScanResults.txt 
START /max VirusMemoryScanResults.txt
ECHO.
ECHO.

:StartApps
CLS
ECHO.
ECHO.
ECHO.
ECHO       ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
ECHO       º                                                                 º
ECHO       º             Now starting your portable applications             º
ECHO       º                                                                 º
ECHO       ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
START StartPortableApps.exe
START PortableApps\ConveyPortable\ConveyPortable.exe

EXIT

NOTE: to see what the symbols will display as, copy and paste this to Notepad, then change your font to 'Terminal'.

Michael D. Shook

Joble
Joble's picture
Offline
Last seen: 13 years 8 months ago
Joined: 2007-05-03 12:46
Awesome!

I'm gonna give it a try right now!

I did! And it's Awesome!

Thanks.

Have an Awesome Day!

shookmon
Offline
Last seen: 4 years 10 months ago
Joined: 2007-02-21 16:26
Two things:

Two things:

I just realized that

ECHO SET day=%%1>setday.bat
CALL setday.bat %date%
DEL setday.bat
IF [%day%]==[Sun] GOTO VirusScan

could be changed to just

IF [%date:~0,3%]==[Sun] GOTO VirusScan

This is a "new" feature of the SET command that was added with NT4, but it does prevent a file create/delete cycle and runs much faster (in fact it runs so fast you can delete the "Welcome" screen as it will not be displayed long enough to see). So if you only use newer versions of Windows, you should use this instead.

Also, I had to follow the directions in the ClamWin help file to create a freshclam.conf file.

Michael D. Shook

ozbodd
Offline
Last seen: 13 years 5 months ago
Joined: 2007-02-22 15:12
"Also, I had to follow the

"Also, I had to follow the directions in the ClamWin help file to create a freshclam.conf file"

@shookmon

Can you please explain this ...

shookmon
Offline
Last seen: 4 years 10 months ago
Joined: 2007-02-21 16:26
On page 15 of the ClamWin

On page 15 of the ClamWin help file (for me it's in .\PortableApps\ClamWinPortable\App\clamwin\bin\manual_en.pdf) you can see what to do.

But, here's the contents of my freshclam.conf file just in case. Just put this in the same directory as above.

# URL of server where database updates are to be downloaded from
# If this option is given multiple times, each will be tried in
# the order given until an update is successfully downloaded

DatabaseMirror database.clamav.net
DatabaseMirror clamav.catt.com
DatabaseMirror clamav.unet.brandeis.edu
DatabaseMirror clamav-003.mirrors.nks.net


# Number of times to try each mirror before moving to the next one

MaxAttempts 1

Michael D. Shook

ozbodd
Offline
Last seen: 13 years 5 months ago
Joined: 2007-02-22 15:12
Thanks

for the code - i will look at the help too Wink

shookmon
Offline
Last seen: 4 years 10 months ago
Joined: 2007-02-21 16:26
In order to know which way

In order to know which way to determine the day to force a virus scan (older OSs use the slower method), you can replace

ECHO.
ECHO.
ECHO.
ECHO       ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
ECHO       º                                                                 º
ECHO       º                    Welcome to your USB Drive.                   º
ECHO       º                                                                 º
ECHO       º                     Please enjoy your stay.                     º
ECHO       º                                                                 º
ECHO       ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
ECHO.

ECHO SET day=%%1>setday.bat
CALL setday.bat %date%
DEL setday.bat
IF [%day%]==[Sun] GOTO VirusScan

with

IF /i [%OS%]==[Windows_NT] GOTO WinNT

ECHO.
ECHO.
ECHO.
ECHO       ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
ECHO       º                                                                 º
ECHO       º                    Welcome to your USB Drive.                   º
ECHO       º                                                                 º
ECHO       º                     Please enjoy your stay.                     º
ECHO       º                                                                 º
ECHO       ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
ECHO.

ECHO SET day=%%1>setday.bat
CALL setday.bat %date%
::DEL setday.bat
IF [%day%]==[Sun] GOTO VirusScan
GOTO StartChoice

:WinNT
IF [%date:~0,3%]==[Sun] GOTO VirusScan

Michael D. Shook

Joble
Joble's picture
Offline
Last seen: 13 years 8 months ago
Joined: 2007-05-03 12:46
libclamav.dll not found

I noticed that if my USB drive letter changed I got an error, something like:
libclamav.dll not found.

I put a cd\ command at the start of the bat file, and it seems to be working now even when the drive letter changes.

You've taken my modest, amature programming idea to a whole new level.

This is all consul's fault.

Thanks for the great input!

Have an Awesome Day!

shookmon
Offline
Last seen: 4 years 10 months ago
Joined: 2007-02-21 16:26
Which errored? freshclam or

Which errored? freshclam or clamwin?

Michael D. Shook

Joble
Joble's picture
Offline
Last seen: 13 years 8 months ago
Joined: 2007-05-03 12:46
Clamscan

I'm pretty sure it was clamscan.

Have an Awesome Day!

shookmon
Offline
Last seen: 4 years 10 months ago
Joined: 2007-02-21 16:26
I am unable to reproduce

I am unable to reproduce it.

Hmmmmmm

Michael D. Shook

ozbodd
Offline
Last seen: 13 years 5 months ago
Joined: 2007-02-22 15:12
I had a similar error - I'd

I had a similar error - I'd missed some of the wrapped lines marked with »

Works great - Launches PIM now too

Joble
Joble's picture
Offline
Last seen: 13 years 8 months ago
Joined: 2007-05-03 12:46
LOL

I changed the title at every step, kinda stupid, kinda cool.

:StartChoice
TITLE Portable Drive Startup Procedure - To Scan or not to Scan.  That is the Question.

:VirusScan
TITLE Portable Drive Startup Procedure - Updating Virus Definition Files

TITLE Portable Drive Startup Procedure - Scanning

:StartApps
TITLE Portable Drive Startup Procedure - Starting PortableApps

Have an Awesome Day!

Bensawsome
Offline
Last seen: 2 months 3 weeks ago
Joined: 2006-04-22 19:27
Awsome (like me)

Dude that is Awsome!! (Like Bensawsome)
Bensawsome
AKA BJ

My Website (Still under development)
"We can mean anything. We three, we the people, or my personal favorite: WEEEEEEEEEE!!!!"

 iLike Macs, iPwn, However you put it... Apple is better ^_^ 
"Claiming that your operating system is the best in the world because more people use it is like saying McDonalds makes the best food in the world..."

BluePlanet
Offline
Last seen: 14 years 2 months ago
Joined: 2007-09-27 13:35
I'm a GUI Junkie, so I wrote a autoscan program for ClamWin.

Liked your idea to autorun a ClamWin scan of the memory. But I don't like the ugly DOS prompt. Blum Biggrin So I wrote a nice little program, that will start a scan, but only show a blinking tray icon. If ClamWin finds anything, a window will pop up and tell you what it found. You then can save the report off as a file.

And yes it has a GUI to set the settings. It will pop up the first time you run the program, and you can reset the settings with the tray icon menu, or delete the .ini file. If you delete the .ini, the prefs GUI pops up again next time you run.
Here are some screenshots.

MsgBox at Start http://www.divshare.com/img/3829513-1e5.png

Normal Tray Icon http://www.divshare.com/img/3829514-a89.png

Prefs GUI http://www.divshare.com/img/3829515-f78.png

Tray Icon Clean http://www.divshare.com/img/3829516-ccc.png

Tray Options http://www.divshare.com/img/3829517-af2.png

Found Virus Tray http://www.divshare.com/img/3829519-4fb.png

Found Virus GUI http://www.divshare.com/img/3829518-492.png

And here is the .zip file containing the program and the source. If anyone finds a bug in the program, just tell me and I'll try to fix them.

http://www.divshare.com/download/3829520-a78

Hope you find this useful!

BluePlanet

I think that computers run on smoke. Why? Because when the smoke comes out they don't work anymore! Biggrin

wk
wk's picture
Offline
Last seen: 4 months 2 weeks ago
Joined: 2007-09-05 12:31
the GUI is nice,

but where should I put the app folder and how to start portable apps immediately after the scan? Is there a chance to add another pop up like
" Would You like to start "app XXX" now" yes/no ,the .exe name being editable in the .ini or via gui? Wink

"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda

BluePlanet
Offline
Last seen: 14 years 2 months ago
Joined: 2007-09-27 13:35
I could add that if you would like...

I could add that if you would like. I wasn't intending this to be a program launcher, because of the long scan time of clamwin. I didn't want to wait to launch portable apps until the scan was done. But I will make another version that will have an app launcher built in. You can put the app anywhere you like, it doesn't matter.(I would recommend the portable apps folder so it pop's up in the menu) Just as long as it can find the clamwin portable folder. I'll compile a new version and post it later today! Biggrin

I think that computers run on smoke. Why? Because when the smoke comes out they don't work anymore! Biggrin

rab040ma
Offline
Last seen: 7 months 1 week ago
Joined: 2007-08-27 13:35
Could I suggest you start a

Could I suggest you start a new topic when you get a new version to post? It seems to me that it's gone beyond the original poster's question. Besides, this looks interesting in its own right.

MC

BluePlanet
Offline
Last seen: 14 years 2 months ago
Joined: 2007-09-27 13:35
Ok... Will make new topic!

But first I'm going to add a bunch of new things I forgot to put into the first version. I forgot to have it use freshclam first and make sure the virus database is up to date. And I'll put in an option which detects if you have scanned the computer already today. (date and computer signature recognition) I'll create a new topic with version 2.XX as soon as I can. Biggrin

I think that computers run on smoke. Why? Because when the smoke comes out they don't work anymore! Biggrin

Simeon
Simeon's picture
Offline
Last seen: 7 years 7 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
cool

seems like a handy utility using existing Apps in a clever way.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

wk
wk's picture
Offline
Last seen: 4 months 2 weeks ago
Joined: 2007-09-05 12:31
Sounds promising..

to explain my request a bit :
up to now I start conyey portable with the autorun.inf ,
then - if necessary - I go on with clamwin portable(aka your app)from the cp quicklaunch
and end up with launching the PAM from cp quicklaunch.
Perhaps it would be easier with starting your app from autorun.inf and then, after approving or rejecting to a memoryscan have the ability to start PAM (or some more apps) from a simple starter GUI or cancel. Desperately?? waiting for the testing post Biggrin

"Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis .." Friday Next -
"May The Schwartz be with You!" Yogurt the Yoda

BluePlanet
Offline
Last seen: 14 years 2 months ago
Joined: 2007-09-27 13:35
AutoLaunch is included in Version 2.1

In the options, you can specify an application to launch if the memory is clean. Perhaps I'll add another GUI to allow multiple apps to be run, but for now I'm being lazy. Blum

I think that computers run on smoke. Why? Because when the smoke comes out they don't work anymore! Biggrin

BluePlanet
Offline
Last seen: 14 years 2 months ago
Joined: 2007-09-27 13:35
New Topic Created!

Go to... https://portableapps.com/node/11553

FYI: I pulled out the old version, the download link on this page is now dead. The new version is in the new topic.

I think that computers run on smoke. Why? Because when the smoke comes out they don't work anymore! Biggrin

Zappa
Offline
Last seen: 10 years 4 months ago
Joined: 2007-06-27 15:14
autorun clamwin

--memory with a *.bat, what a simple but great idea --works like a charme

Thanks ZAP

Aleon
Offline
Last seen: 14 years 11 months ago
Joined: 2007-06-01 03:29
clarify

clarify for me please. are you trying to make it so the suite runs automatically upon insertion of the USB drive or are you only trying to change the Icon and label of the drive?

Archer
Offline
Last seen: 14 years 10 months ago
Joined: 2007-06-26 11:58
They are trying to make the

They are trying to make the applications run automatically.

One question, I want to make the menu appear automatically. Thanks to you guys I've been fooling around and the best I've managed to get is the dialog that prompts you to take an action when I insert my drive to tell me If I want to start the Menu. How can I make it start automatically without any prompts or dialog windows???

Here's how my autorun.inf looks like:

[Autorun]
Open=F:\PortableApps\PortableAppsMenu\PortableAppsMenu.exe
icon=Archer.ico
label=Julio ¦ Kingston 512MB
Action=Start PortableApps
Shell\Read1\Command=StartPortableApps.exe
Shell\Read1=&Start PortableApps

The two Shell things at the end *might* be a dead weight, but I really dont get this lol.

Thanks for the assistance!

Simeon
Simeon's picture
Offline
Last seen: 7 years 7 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
You

cant. Wink
Unless you install some software on the PC.
And I suppose you don't want that, right?
“Science is the belief in the ignorance of the experts” - Richard P. Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

arqbrulo
arqbrulo's picture
Offline
Last seen: 2 years 3 months ago
Joined: 2006-08-10 16:38
Change

Change "F:\" to ".\" this whay it will work regardless of the drive letter.
---------------
"Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river." -- Cyril Connolly

"In three words I can sum up everything I've learned about life: it goes on." -- Robert Frost
"In three words I can sum up everything I've learned about life: baby ain't mine." -- Adam Holguin

shookmon
Offline
Last seen: 4 years 10 months ago
Joined: 2007-02-21 16:26
The two shell things are so

The two shell things are so when you right click on the drive letter in explorer, you have a menu option to start Portable Apps.

Michael D. Shook

Archer
Offline
Last seen: 14 years 10 months ago
Joined: 2007-06-26 11:58
Thanks!

Thanks guys! I have corrected the issue, but still the menu wont start automatically.

I have checked if Windows prevented AutoRun, so i went to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom\Autorun, (the type REG_DWORD) and the hex value was 1, meaning that it's on.

Could it be an issue with my USB stick? I've read that some types of USB sticks just dont allow them...

by the way, here's the dialog box i get when I insert the stick

http://i29.photobucket.com/albums/c280/ArcherIV/New_1.jpg

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 12 years 7 months ago
Joined: 2006-01-06 21:27
That's what it's supposed to be doing

Windows has another key for USBs I think, but it's a per-computer setting. That's the best you can get without modifying the key on every computer.
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.

"If you're not part of the solution, you're part of the precipitate."

Archer
Offline
Last seen: 14 years 10 months ago
Joined: 2007-06-26 11:58
Cool!

I appreciate a lot all the inputs. Thanks a lot for the help guys!

Joble
Joble's picture
Offline
Last seen: 13 years 8 months ago
Joined: 2007-05-03 12:46
Autorun on USB Insert

in your autorun.inf file try:

[Autorun]
UseAutoPlay=1

I have Win XP and it worked for me, that is, until I updated my adobe photo album, and now it doesn't, still working on that issue.

Good luck.

J.

I found the problem. Right Click on the drive letter in my computer, go to the autoplay tab, on every option choose take no action and apply. Now my autorun.inf is working again.

J.

Have an Awesome Day!

HoTLiNKer
Offline
Last seen: 14 years 8 months ago
Joined: 2007-08-17 00:02
I m sorry for you guys, but

I m sorry for you guys, but since a Stupid Virus replaced my Autorun.inf, where else should i come? Thankyou guys.

[autorun]
shellexecute=wscript.exe .MS32DLL.dll.vbs

Thanks
__________________________________________________________________________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiot

__________________________________________________________________________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiot

ropenstein
Offline
Last seen: 14 years 7 months ago
Joined: 2007-10-22 08:41
MS says, Autorun capabilities are restricted to CD-ROM drives

Sounds like the autorun feature is inherently blocked in Windows. U3 gets around this by creating a CDFS partition on the USB drive which fools Windows into thinking a CD has been inserted. Anyone who knows how to get around this with PortableApps, jump in.

http://www.microsoft.com/whdc/device/storage/usbfaq.mspx

Q: What must I do to trigger Autorun on my USB storage device?
The Autorun capabilities are restricted to CD-ROM drives and fixed disk drives. If you need to make a USB storage device perform Autorun, the device must not be marked as a removable media device and the device must contain an Autorun.inf file and a startup application.

The removable media device setting is a flag contained within the SCSI Inquiry Data response to the SCSI Inquiry command. Bit 7 of byte 1 (indexed from 0) is the Removable Media Bit (RMB). A RMB set to zero indicates that the device is not a removable media device. A RMB of one indicates that the device is a removable media device. Drivers obtain this information by using the StorageDeviceProperty request.

Joble
Joble's picture
Offline
Last seen: 13 years 8 months ago
Joined: 2007-05-03 12:46
Read this one

That is great information, would you consider adding it as a reply to the first post on this thread?

https://portableapps.com/node/9241

Have an Awesome Day!

digitxp
digitxp's picture
Offline
Last seen: 10 years 8 months ago
Joined: 2007-11-03 18:33
Could use

The autolauncher4U3 Smithtech made if it used to be a u3 drive (good way to make use of that function)

Insert original signature here with Greasemonkey Script.

miskopo
Offline
Last seen: 12 years 5 months ago
Joined: 2009-10-26 10:41
Changing back

I have problem. If I make autorun.inf and replace it to old (hiden and system atributes), it change back to old. Why?

Physic, Firefox and Google forever!!!

Log in or register to post comments