You are here

Replace U3 with PortableApps including the launhcer

19 posts / 0 new
Last post
ipartola
Offline
Last seen: 16 years 5 months ago
Joined: 2007-10-03 10:25
Replace U3 with PortableApps including the launhcer

I've been using a U3 drive for a while and PortableApps for even longer. What I'd like to do is this:

* remove U3 completely
* install a new ISO on the U3 launch drive that would launch the PortableApps launcher from the main portion of the drive
* enjoy it: whenever I plug in my thumb drive on any Windows machine it launches the PortableApps launcher automatically, despite the fact that the drive letters change from machine to machine

Is this possible? If so, how would one go about doing this?

Thanks in advance.

wsm23
Offline
Last seen: 12 years 9 months ago
Joined: 2006-01-09 22:05
Search google..

.. for the U3 removal application. Warning this will format your drive. Backup and files or profiles you want to save.

Just install the suite: https://portableapps.com/suite

It will prompt you to launch itself every time you insert the drive.

Life is about the journey not the destination!

The Kazoo Spartan

sergentsiler
sergentsiler's picture
Offline
Last seen: 1 year 8 months ago
Joined: 2007-02-28 11:37
actualy

Actualy it doesent format your drive compleately. if you are using the uninstaller in the menu, it copies a list of all of the software and stores it in an invisable partition. then when you go to reinstall from the website, the list is submitted and all of your apps are reloaded into your drive.

Zoop

wsm23
Offline
Last seen: 12 years 9 months ago
Joined: 2006-01-09 22:05
Manually reformat

Thanks for the clarification.

Good. You should manually reformat then. I would not want hidden files left on my flash drive for space issues.

I am also trying to help a U3 victim here too. He has admitted to the problem and is willing to take the steps to change the bad behavior. We should support him and make sure we are not enabling a future relapse.

Life is about the journey not the destination!

The Kazoo Spartan

sergentsiler
sergentsiler's picture
Offline
Last seen: 1 year 8 months ago
Joined: 2007-02-28 11:37
doesent work!!

manual reformatting only reformats the avtive and visable partitions. u3 is pretty good thogh because sofar i havent been able to find anything exept the u3 reinstaller that can acsess it.

i have reformatted my drive many times and i will see later if i can still reinstall u3 but i am pretty shure that i can.

thogh there is a chance that u3 is only stored in a hidden folder because on my former u3 drive there is a hidden "system" folder that the PAM seems to have taken over and stored a couple of my apps in there. i am not shure if this is a backup folder or one left over from u3.

either way i will check it out.

Zoop

ipartola
Offline
Last seen: 16 years 5 months ago
Joined: 2007-10-03 10:25
Just install the suite:

Just install the suite: https://portableapps.com/suite

It will prompt you to launch itself every time you insert the drive.

I am aware of this functionality and this isn't quite what I'm looking for. What I would like to see ideally is that the Suite Launcher would start itself automatically because something from the U3 portion of the drive would find it (despite it being on different drive letters) and launch it. I've seen some theoretical/hackjob work on this but is there a streamlined method for doing this?

SmithTech
SmithTech's picture
Offline
Last seen: 2 years 7 months ago
Developer
Joined: 2006-11-24 18:06
No "Streamlined" way

There is no easy way to do what you want.
Probably the closest your going to get is the info on my site, Here
There are other sites with similar info, you might find easier way but gonna have to search for it.

"Because they stand on a wall and say, 'Nothing is going to hurt you tonight. Not on my watch.'" (A Few Good Men)
Coincidence is God's way of remaining anonymous.(Albert Einstein)

Aciago
Aciago's picture
Offline
Last seen: 1 year 4 weeks ago
Joined: 2007-01-24 14:23
surf

this web page http://www.smithtech.us/

After reading it you will find the information you need to know o do what you want to do... well, maybe you'll still have some questions but it will be less... 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

ipartola
Offline
Last seen: 16 years 5 months ago
Joined: 2007-10-03 10:25
Success!

So it IS possible, just not with any of the tools that I found. What I did is I wrote my own "Universal Launcher". Something I dubbed JacKnife for now (this is a personal name - not something I'm going to release as a product). Here's the idea:

Make a universal launcher that would search for the drive letter of the main portion of the U3 drive and launch a specific application from it. Make it customizable with a config file. Make it have the ability to load a logo dynamically. Make it have the ability to display no logo at all (for evil doing/speeding up loading process). Finally make it launch StartPortableApps.exe from the drive.

To find the drive letter I used WinAPI to match a drive label to the drive letter. I then write the label and the file to run in a config file. I have it set up so that -invisible key as a parameter displays no logo. Otherwise logo.jpg is displayed.

At the time when I wrote this I only had Borland Delphi at my disposal, so it had to be done in Pascal. Re-writing it in C would probably take 2 hours.

I'll release the Delphi project files if anyone's interested. I will not release the executable file since nobody should trust anyone else's binary files anyways.

Happy hacking!

ipartola
Offline
Last seen: 16 years 5 months ago
Joined: 2007-10-03 10:25
Success!

P.S.: If you want the Pascal code post here...

SmithTech
SmithTech's picture
Offline
Last seen: 2 years 7 months ago
Developer
Joined: 2006-11-24 18:06
I would like to see the code

I would be very interested in your code.
I've been thinking about re-writing my AutoLauncher using Delphi
And adding the find drive by drive label to my Portable Menu
Would you mind me including some of your code in my projects?

"Because they stand on a wall and say, 'Nothing is going to hurt you tonight. Not on my watch.'" (A Few Good Men)
Coincidence is God's way of remaining anonymous.(Albert Einstein)

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 8 months ago
Developer
Joined: 2007-01-10 19:25
Okay, easy.

1. Uninstall U3 as seen before.
2. Format your flash drive
3. Download either the PortableApps Platform 1.1 Beta 4 or the PAM Mod R30 (PAM Mod recommended).
4. Follow the automatic autorun procedure from this thread.

Simple as that!

"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 idiots. So far, the Universe is winning." - Rick Cook

hyzteric
Offline
Last seen: 17 years 2 weeks ago
Joined: 2007-11-01 04:21
No autoloading :-(

Hi there,

I just followed your procedure but it doesn't work at all.

I changed the autorun.inf etc. but when I plug in my "old" U3 driver, the portableapps wont show.

Any clue?

Regards,
hyzt

SmithTech
SmithTech's picture
Offline
Last seen: 2 years 7 months ago
Developer
Joined: 2006-11-24 18:06
Is it a sandisk drive?

If its a Sandisk drive the easiest way would be to...
1. Reinstall U3 (this may format your drive so back it up)
2. Reinstall your Portable Apps
3. Use my Shortcut Creator to add a shortcut for the PortableApps Menu to the U3 menu and set it to autorun.

The second easiest way (again only if its a sandisk)
1. Reinstall U3
2. Download my AppLauncher ISO.
3. Follow these instructions to install the custom launcher ISO to the U3 "partition"
OR use Lurking Biohazard's instructions below.

Unfortunately if its not a sandisk AND your autorun.inf is correct, there isn't anything you can do if its not your PC, the autorun feature is disabled.

If it is your pc you can try Microsoft's Autoplay Repair Wizard

"Because they stand on a wall and say, 'Nothing is going to hurt you tonight. Not on my watch.'" (A Few Good Men)
Coincidence is God's way of remaining anonymous.(Albert Einstein)

rab040ma
Offline
Last seen: 4 months 2 weeks ago
Joined: 2007-08-27 13:35
Balancing security

Setting autorun is fine, except that there is a risk that other discs you insert might install a root kit or Trojan on your machine without your knowledge. So the trick is, if you do fix the autorun on your machine so it works consistently, be very sure you don't insert commercial audio CDs, DVDs, discs burned by your friends, or USB drives that you pick up on the street, because you never know when they might autoplay something into your machine that you won't like.

I suppose you could turn autorun off on your "real" disc drives, so it only works on the virtual disc drive created by your U3 device; that might reduce the risk a bit.

It only takes a couple of keystrokes or mouseclicks to hit WindowsStart-E to open Explorer, then click on the PortableApps drive then the StartPortableApps program.

Setting up autorun may be a convenience that saves you a few mouseclicks but gets your machine compromised.

MC

Lurking_Biohazard
Lurking_Biohazard's picture
Offline
Last seen: 6 years 2 months ago
Joined: 2006-02-18 18:06
Replace ISO

~Lurk~

Hamm46
Hamm46's picture
Offline
Last seen: 16 years 3 weeks ago
Joined: 2007-11-10 13:37
security for the portable apps

there must be an auto run and security like u3 for portetable apps

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

Cause PortableApps doesnt leave stuff on the PC u use it on but U3 does...

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

Yaara
Offline
Last seen: 10 years 11 months ago
Joined: 2008-01-03 03:47
I uninstalled my u3 lately

it removed itself completely and easily. it was the last version (4 something, can't recall)

Log in or register to post comments