You are here

Autorun half-broken?!

16 posts / 0 new
Last post
Eagle3386
Eagle3386's picture
Offline
Last seen: 16 years 6 months ago
Joined: 2008-02-08 05:32
Autorun half-broken?!

Hey guys,

got 2 identical usb flash drives (both with a 1 GB-chip from samsung)..

One launches PAM perfectly with the default Autorun.inf, the other one _only_ with this content:

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

inside the file.

Although this works great, I got _two_ context menu-entries in Windows Explore if I right-click at the drive's icon stating "AutoPlay"?!

It would be cool, if someone could explain me a) why one stick needs this and the other doesn't and b) how to get rid of one "AutoPlay"-option..

Additionally, I did run the AutoRun-Fix from Microsoft and it didn't find any problems to be fixed..

Best regards,
Martin Baranski

rab040ma
Offline
Last seen: 7 months 1 week ago
Joined: 2007-08-27 13:35
Well, to state the obvious,

Well, to state the obvious, have you rebooted?

MC

Eagle3386
Eagle3386's picture
Offline
Last seen: 16 years 6 months ago
Joined: 2008-02-08 05:32
Yep, exactly 2 times..

Yep, exactly 2 times..

Jedi Master Yoda: “Do... or do not. There is no try.”

Eagle3386
Eagle3386's picture
Offline
Last seen: 16 years 6 months ago
Joined: 2008-02-08 05:32
Well, AutoPlay itself works, but..

Well, AutoPlay itself works, but I'd like to get rid of that 2nd context menu-entry.. - Anyone knows how to fix that? Smile

Jedi Master Yoda: “Do... or do not. There is no try.”

BuddhaChu
BuddhaChu's picture
Offline
Last seen: 7 months 2 weeks ago
Joined: 2006-11-18 10:26
screenshot

Post a screenshot of these two entries you're talking about. What you posted should only give you one entry in the right-click menu.

Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!

Eagle3386
Eagle3386's picture
Offline
Last seen: 16 years 6 months ago
Joined: 2008-02-08 05:32
Here we go..

Screenshot #1: http://images.inside-irc.net/image/AutoPlay_1-7cp0j5vs.png?page

Screenshot #2: http://images.inside-irc.net/image/AutoPlay_2-iep3fhoq.png?page

The first screenshot shows the normal Autorun.inf as PAM creates it (with minor changes to the label and the action-text) - you can clearly see that XP's "chooser" is launched instead of PAM, although there's an "AutoPlay"-entry within the context-menu..

The second one shows my Autorun.inf as of right now with PAM starting correctly after inserting the stick, but with "AutoPlay" shown twice in the context-menu..

Lastly, that "hiding" of some texts within the screenshots is because of bad experiences in the past (not here, but in general), so please excuse my behavior..

Jedi Master Yoda: “Do... or do not. There is no try.”

BuddhaChu
BuddhaChu's picture
Offline
Last seen: 7 months 2 weeks ago
Joined: 2006-11-18 10:26
There is a difference

There is a difference between AutoPlay and AutoRun. Learn about all these commands here:

http://msdn2.microsoft.com/en-us/library/bb776823(VS.85).aspx

Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!

Eagle3386
Eagle3386's picture
Offline
Last seen: 16 years 6 months ago
Joined: 2008-02-08 05:32
Right, sorry for mixing this

Right, sorry for mixing this up..

Though, after removing that "UseAutoPlay=1"-line, I get no PAM launched after inserting the stick, but instead, XP's "chooser" pops up.. Sad

Is there something else I've mixed up, too?

Jedi Master Yoda: “Do... or do not. There is no try.”

Simeon
Simeon's picture
Offline
Last seen: 10 years 3 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
AFAIK

the "chooser" always comes up. Only cds have real autoplay.

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

Eagle3386
Eagle3386's picture
Offline
Last seen: 16 years 6 months ago
Joined: 2008-02-08 05:32
For real?

If that's true, then I don't have to look for a solution any further.. Wink

Though, this is totally weird, because teaching XP that the stick is a CD drive will result in AutoRun/AutoPlay as expected and teaching XP the "official" way gives me a prompt instead of PAM.. Beee

Jedi Master Yoda: “Do... or do not. There is no try.”

NeoRame
NeoRame's picture
Offline
Last seen: 4 years 2 months ago
Joined: 2007-05-11 09:12
BTW, i like the mixed Theme

BTW, i like the mixed Theme of my "ZarthWork Black" and "Neo Crystal Theme" Wink good idea.

greetz
NeoRame

Hell was full, so I came back!!!
Sorry for my lousy English!!!

Eagle3386
Eagle3386's picture
Offline
Last seen: 16 years 6 months ago
Joined: 2008-02-08 05:32
Authorization?

Would you be so kind and permit me to distribute this theme-mix? Smile

Because up to now, I use this only privately, although there are guys around which would like to have a copy.. Wink

Jedi Master Yoda: “Do... or do not. There is no try.”

NeoRame
NeoRame's picture
Offline
Last seen: 4 years 2 months ago
Joined: 2007-05-11 09:12
No Problem, all my works are

No Problem, all my works are gnu/gpl Wink .
only works that included a permission.png [like "Static Blaphsemy" or "Amora"] are free and cant edit without permission.
when you need you can host your theme on my Site.

greetz
NeoRame

Hell was full, so I came back!!!
Sorry for my lousy English!!!

Eagle3386
Eagle3386's picture
Offline
Last seen: 16 years 6 months ago
Joined: 2008-02-08 05:32
Thanks! :)

Of course! I'll do some finishing (I'd like to have the upper-left end of your Neo Crystal Theme a bit more rounded..) and then I'd like to see it hosted there.. Smile

Though, I'm still a bit confused why there's a background.JPG, but at the same time a background_top.BMP? Why not both as BMP or JPG?

Jedi Master Yoda: “Do... or do not. There is no try.”

NeoRame
NeoRame's picture
Offline
Last seen: 4 years 2 months ago
Joined: 2007-05-11 09:12
the jpg file is the

the jpg file is the background, and the bmp is the "mask" image which set the transparency area. for example look to the original theme and to a "coplex" theme like "Amora".

greetz
NeoRame

Ps: i saw you are german, for more question you can also send me a mail (look at my Site)
or write here in the german forum thread. Wink

Hell was full, so I came back!!!
Sorry for my lousy English!!!

Eagle3386
Eagle3386's picture
Offline
Last seen: 16 years 6 months ago
Joined: 2008-02-08 05:32
Alright.. Thank you for this

Alright.. Thank you for this information! Smile

Jedi Master Yoda: “Do... or do not. There is no try.”

Log in or register to post comments