You are here

Autorun.inf

48 posts / 0 new
Last post
Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
Autorun.inf

How can I make two apps to run with autorun.inf?

Let's say PAM and RoboForm at the same time...

Thanks in advance

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
You

can't.
Wink

"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: 4 years 9 months ago
Joined: 2006-08-10 16:38
Deja Vu?

I thought I had read this a few days ago. Oh well.
It is possible with a .bat file. (or compiled autoit script, like what I have)
---------------
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius

"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

Thomas.Humphries
Offline
Last seen: 16 years 10 months ago
Joined: 2006-10-17 07:29
OH I think you can, I will

OH I think you can, I will if you want.
I can get both running for you no issue.

P.S
It will be an exe too so you can have the autorun kick start it.

wsm23
Offline
Last seen: 12 years 10 months ago
Joined: 2006-01-09 22:05
Misnamed..

Actually autorun.inf is misnamed in my opinion. All it does is bring up a dialog box that asks you if you want to run a single program or open a folder.

8)
Life is about the journey not the destination!
Live today like it is your last!

Home is the place where, when you have to go there, They have to take you in. - Robert Frost

\(^.^)/

Life is about the journey not the destination!

The Kazoo Spartan

Twar3Draconis
Offline
Last seen: 17 years 8 months ago
Joined: 2006-12-29 23:45
That's because it's a USB

That's because it's a USB Drive. On a CD Drive, it should load right away.

John T. Haller
John T. Haller's picture
Online
Last seen: 21 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Unless...

Unless the user has disabled autorun (which you should for security reasons) or is running Windows Vista (which has autorun off by default, as it should).

Sometimes, the impossible can become possible, if you're awesome!

vexorian
Offline
Last seen: 17 years 6 months ago
Joined: 2007-01-27 12:45
Sure you can

Just make a launcher program that calls both applications

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
:-)

mmmm... I really want to load roboform or keepass each time I load my portable Firefox... but I'm not a programmer... I'm just a Veterinarian and don't know how to make a launcher... If I have to edit a file with a notepad, Ok, I can learn... If I have to learn how to compile and all that... mmmmm...

Is it possible that somebody have a "just edit" launcher?

thanks... Biggrin

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
easy
OutFile "Keepass + Firefox.exe"
Icon "\PortableApps\FirefoxPortable\Other\FirefoxPortableSource\FirefoxPortable.ico"
Section
Exec "$EXEDIR\PortableApps\FirefoxPortable\FirefoxPortable.exe"
Exec "$EXEDIR\PortableApps\KeePassPortable\KeePassPortable.exe"
Exec "relative_path_of_your_roboform_goes_here.exe

SectionEnd

Thats a "Launcher" with a firefox icon which launches FF + KeePass.
Where is your Roboform exe?

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

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
roboform

\PortableApps\RoboForm\portableroboform.exe

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
OK
OutFile "KP + RF + FF.exe"
Icon "\PortableApps\FirefoxPortable\Other\FirefoxPortableSource\FirefoxPortable.ico"
Section
Exec "$EXEDIR\PortableApps\FirefoxPortable\FirefoxPortable.exe"
Exec "$EXEDIR\PortableApps\KeePassPortable\KeePassPortable.exe"
Exec "$EXEDIR\PortableApps\RoboForm\portableroboform.exe"
SectionEnd

That should work Wink
I just don't know how to include the name that shows up in PAM.

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

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
Thanks, but...

hehe... you write it as if I know what are you talking... hey! I'm a "extra-dummie"

Ok, I copy that in a txt editor... then????

Thanks in advance

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Then you save it into a txt file

and replace the txt with nsi.
nsi is the ending of nsi scripts.
Copy the nsi script to the root of your usb drive.
Download PortableNSIS from here and install (extract) it. Open it and drag your nsi file over it and watch it creating an exe in the same folder your script is in (rootfolder of your drive).
Click on the created exe and hope it works...;-)
If there are any error-messages, just post them here.

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

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
Cool!

Spectacular!!!

Can I do something like:
OutFile "Portable mIRC.exe"
Icon "\PortableApps\mIRC\mIRC.ico"
Section
Exec "$EXEDIR\PortableApps\mIRC\mIRC.exe -portable"
SectionEnd

???

I mean... giving the option -portable

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
I think so

but I'm not sure.
Maybe Ryan, Steve, John himself or another NSIS geek can clarify it.
I'm glad it works. Wink

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

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 2 months ago
Joined: 2006-01-06 21:27
Yep

Using backticks is preferred (the key above Tab).
Exec `"$EXEDIR\whatever" -portable`
Also, the "PortableApps Menu name stuff" is like this:

VIProductVersion "1.0"
VIAddVersionKey FileDescription "Whatever name you want displayed"
VIAddVersionKey CompanyName "PortableApps.com"

----
Ryan McCue
Cube Games
There are only two states in Australia: Queensland and Drunk

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

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
Thank you.-

Thank You Ryan... I'm going to try it...

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Maybe you wanna add a
SilentInstall silent

before the section line so it doesn't open a window.

"Physics is like sex. Sure, it may give some practical results, but that's not why we do it." - Richard P. Feynman

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

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Hehe

Ryan, you should know that:
VIProductVersion expects a X.X.X.X number, so it's

VIProductVersion "1.0.0.0"

instead of

VIProductVersion "1.0"

Otherwise you get5 anerror message...

"Physics is like sex. Sure, it may give some practical results, but that's not why we do it." - Richard P. Feynman

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

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
Confused.-

Now with the last posts... I'm getting confused... Sad

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
That wasnt my intent

THe silentinstall prevents a standard NSIS window from appearing so it just launches whatever you want it to.
And the version string isn't really necessary. Its just that it has to be 4 numbers but Ryan only posted it with 2 so I wanted to correct that and save whoever wants to use it an error.
What exactly makes you confused?

"Physics is like sex. Sure, it may give some practical results, but that's not why we do it." - Richard P. Feynman

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

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
Answering.-

ProductVersion
CompanyName
Silence Install

... I just want to run mIRC.exe -portable ... Sad

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Try this
OutFile "Portable mIRC.exe"
Icon "\PortableApps\mIRC\mIRC.ico"
VIProductVersion "1.0,0,0"
VIAddVersionKey FileDescription "mIRC Portable"
VIAddVersionKey CompanyName "PortableApps.com"
SilentInstall silent
Section
Exec "$EXEDIR\PortableApps\mIRC\mIRC.exe -portable"
SectionEnd

This one has to be placed in the root folder of your drive.

If you want to access it from your menu, chose this one:

OutFile "Portable mIRC.exe"
Icon "\PortableApps\mIRC\mIRC.ico"
VIProductVersion "1.0,0,0"
VIAddVersionKey FileDescription "mIRC Portable"
VIAddVersionKey CompanyName "PortableApps.com"
SilentInstall silent
Section
Exec "$EXEDIR\mIRC\mIRC.exe -portable"
SectionEnd

Place this exe into D:/PortableApps/mIRC
with the actual program (mIRC.exe) at
D:/PortableApps/mIRC/mIRC/

Hope it helps.

"Physics is like sex. Sure, it may give some practical results, but that's not why we do it." - Richard P. Feynman

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

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
Thanks.-

Well that...

Thanks, thanks, thanks, thanks...

Biggrin

When I did it, it gave me an error...

VIProductVersion "1.0,0,0" should be VIProductVersion "1.0.0.0"

But is working very very good now...

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

pfeerick
pfeerick's picture
Offline
Last seen: 8 years 6 months ago
Joined: 2005-12-13 19:21
Change the VIProductVersion line

To get rid of that error message, just change the

VIProductVersion "1.0,0,0"

line to

VIProductVersion "1.0.0.0"

Specifically, just change the two commas to full stops (periods), and that'll get rid of the warning/error message.

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
yes

Yes, that is what I did when I wrote the post...

Thanks.-

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
Do you...

Think the replys can get any smaller? Blum

_____________________________
I felt so different without a signature.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 2 months ago
Joined: 2006-01-06 21:27
Nope

I'm fairly sure if they get too small, it just widens the page.
----
Ryan McCue
Cube Games
There are only two states in Australia: Queensland and Drunk

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

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

Okay. Well maybe we'll see that.

_____________________________
I felt so different without a signature.

learn2laugh
Offline
Last seen: 10 months 1 week ago
Joined: 2007-01-30 20:26
Maybe not...

By the way, is there anyway to get 2 autorun.inf type files in the same directory that will both show up in the Autoplay menu? Just curious.
----
Jeffrey Wiggs
Loving God and Learning Laughter

---
Jeffrey Wiggs
Loving God and Learning Laughter

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
hehe

That question was the beginning of this post...

BTW, I'm just adding a post to see how the screen shrinks... Blum

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

arqbrulo
arqbrulo's picture
Offline
Last seen: 4 years 9 months ago
Joined: 2006-08-10 16:38
Nop

No, I don't think it's possible to add 2 entries to the autorin.inf but I have

open=appname1.exe
icon=icon.ico
label=label

shell=app2
shell\app2=Run App2
shell\app2\command=appname2.exe

and that way, when I plug in my usb drive, it runs "open" and when I double click on the drive (via my computer), it runs "shell\app2"
---------------
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
"Sometimes I worry about being a success in a mediocre world." -- Lily Tomlin

"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

Patrick Patience
Offline
Last seen: 4 years 11 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
I thought.

Five replys up was small, until I saw this.

_____________________________
I felt so different without a signature.

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Yes

It's getting better with every post here Wink
Maybe I should post a long wikipedia article (something like the USA) here just to see how Drupal (or Ryan) reacts. Would be fun but somehow I don't do it anyway.

"Physics is like sex. Sure, it may give some practical results, but that's not why we do it." - Richard P. Feynman

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

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 2 months ago
Joined: 2006-01-06 21:27
You wouldn't

do that to me, would you Pardon */me is scared* (ah, IRC format, how I love thee).
Anyway, you know I'd just edit your post Blum
----
Ryan McCue
Cube Games
There are only two states in Australia: Queensland and Drunk
If you have any questions about the comment above, or anything, please don't hesitate to ask.

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

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

To see how Drupal (Or Ryan) reacts. Lmao.
_____________________________
I felt so different without a signature.

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
????

What's the meaning of LMAO? I see a lot on IRC and here...

------------------
I don't have a signature
Should I have a signature?

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
LMAO means Laughing My @$$

LMAO means Laughing My @$$ OFF

The developer formerly known as ZGitRDun8705

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
Thanks.-

OK...

BTW... is this page going to finish some day??? Blum

------------------
I don't have a signature
Should I have a signature?

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
No

You know why?
We want to be in the Guinnss World Record Book 2008.
Wink
"Physics is like sex. Sure, it may give some practical results, but that's not why we do it." - Richard P. Feynman

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

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
:D

Guinness World Record Book 2008.

or?

G
u
i
n
n
e
s
s

W
o
r
l
d

R
e
c
o
r
d

B
o
o
k

2
0
0
8
.

lol

------------------
I don't have a signature
Should I have a signature?

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
You definitely

should have a
s
i
g
n
a
t
u
r
e
Wink
"Physics is like sex. Sure, it may give some practical results, but that's not why we do it." - Richard P. Feynman

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

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-12-06 18:07
this constant shrinking of

this constant shrinking of post
size is getting
a
n
n
o
y
i
n
g

The developer formerly known as ZGitRDun8705

Aciago
Aciago's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2007-01-24 14:23
Yes.-

It is really

a
n
n
o
y
i
n
g
.
.
.

Biggrin

------------------
I don't have a signature
Should I have a signature?

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

strider_mt2k
strider_mt2k's picture
Offline
Last seen: 14 years 1 month ago
Joined: 2006-02-15 12:35
Oh

my!

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 2 years 1 month ago
Developer
Joined: 2006-05-26 12:08
I guess

I guess this is

T
h
e

I
n
c
r
e
d
i
b
l
e

S
h
r
i
n
k
i
n
g

P
o
s
t

your friendly neighbourhood moderator Zach Thibeau

John T. Haller
John T. Haller's picture
Online
Last seen: 21 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Locking Thread

I'm locking this thread, since it's taking up space in the new posts tracker and it's gotten more than a tad silly. Blum

Sometimes, the impossible can become possible, if you're awesome!

Topic locked