You are here

Autoplay for PAM

5 posts / 0 new
Last post
alanh
Offline
Last seen: 15 years 5 months ago
Joined: 2007-06-21 14:57
Autoplay for PAM

Is it possible to get Windows to autoplay the PAM menu without running through every file on the portable drive? At present my PAM menu won't 'autostart" until Windows has scanned the entire drive. For my current set-up I've used TweakUI to set Portable Apps as a handler and then made that the default for mixed content for my ThumbDrive.

Cheers

Aciago
Aciago's picture
Offline
Last seen: 5 months 2 weeks ago
Joined: 2007-01-24 14:23
I think not

But probably you have to search in this forum and in google for autorun.inf

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

adambot
Offline
Last seen: 15 years 4 months ago
Joined: 2007-06-22 12:38
Actually... it is :)

Greetings,

I recently had the same problem and then i found this post which did not work for me, but did start me down the right path.

I used the Universal Customizer utility to create a very small iso file. In the U3Custom directory i put 2 files. Autorun.inf and palaunch.vbs

autorun.inf:

[Autorun]
Open=wscript.exe launchpa.vbs
Action=Run PAM

palaunch.vbs

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set colDisks = objWMIService.ExecQuery("Select * from Win32_LogicalDisk")

For Each objDisk in colDisks
if instr (lcase(objDisk.VolumeName),"titanium") then
strDrive = objDisk.DeviceID
Set objShell = CreateObject("Wscript.Shell")
objShell.Run(strDrive & "\StartPortableApps.exe"), 1, True
end if
Next

From there the only change i made to the universal Customizer was to ISOCreate.cmd

Here is the modified script i used:

@ECHO OFF
echo This program will create an ISO Image from the files in the "U3CUSTOM" folder.
echo Author: Tyrone Davis (U3Hacker)
echo Modified: Adam Scheblein (adambot)
echo The label Of The ISO will be PALauncher and will be placed in the same folder as this script.
echo The label Of The U3 CD-ROM will be "U3".
goto createiso

:createiso
cd BIN
ISOIMAGE -lPALauncher -nt -h ..\U3CUSTOM ..\cruzer-autorun.iso
pause
goto exitcmd

:exitcmd
exit

I then ran ISOCreate.cmd

Because i had a cruzer, it was easy to replace the cd partition by following the directions here However, if you don't have a Cruzer, you can run the Universal_Customizer.exe and that will also install the iso to a cd partition. I don't know if this will work on non-U3 drives.

Now that my autorun cd partition was installed, i renamed my usb volume to "titanium" (without the quotes) so that my visual basic script would find the correct volume. You can name your drive whatever you want, just make sure to change the visual basic script and keep the name you put in the visual basic script all lowercase.

Once that was all taken care of I then installed PAM onto my USB volume and made sure that the visual basic script worked (go into the cd partition and double click the vbs - it should launch PAM)

All that was left after that was to install any other applications i wanted :)

Let me know if you have any questions/problems.

Adam(bot)

Aciago
Aciago's picture
Offline
Last seen: 5 months 2 weeks ago
Joined: 2007-01-24 14:23
nop

Thanks for the info adambot, but alanh is askign for PAM (Portable Apps Menu) and that's not U3... not yet... 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

adambot
Offline
Last seen: 15 years 4 months ago
Joined: 2007-06-22 12:38
These directions for for u3 devices but do run PAM

All I am doing is using the same way U3 starts to start PAM, so, you are right, it does require a u3 device, however, it is not using the U3 menu system.

Log in or register to post comments