Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?

Help with exe!

Sircam's picture
Sircam - October 2, 2009 - 1:26pm

Hi everyone. I have a question: I've installed NetBeans portable in my flash drive. The executable file is in "K:\PortableApps\netbeans\bin" and I don't know how to configure to see the netbeans.exe in the portableApps menu. If the .exe is in "K:\PortableApps\netbeans" I can see the netbeans icon but when I execute it, it fails. How can I do to put the path on \netbeans\bin instead of \netbeans?
I hope you can help me! I need it!!


( categories: )

appinfo.ini hack?

I remember a while ago that somebody wrote a hack to put folders in the menu...
Ah, here it is. I would say that for the contents of the file, you would put:

[Format]
Type=PortableAppsFormat
Version=0.91

[Details]
Name=NetBeans Portable

[Control]
Icons=1
Start=.\bin\netbeans.exe
ExtractIcon=.\bin\netbeans.exe

Good luck!

Insert original signature here with Greasemonkey Script.

It is possible to run it from the default location

Add the following:
K:\netbeans\app\appinfo\appinfo.ini
K:\netbeans\app\appinfo\appico.ico

The appinfo.ini file is a text file that includes the following:

[Format]
Type=PortableApps.comFormat
Version=0.9.8

[Details]
Name=NetBeans
Publisher=Netbeans
Homepage=netbeans.org
Category=IDE
Description=Netbeans

[Version]
PackageVersion=6.7 
DisplayVersion=6.7 (English)

[Control]
Icons=1
Start=\bin\netbeans.exe

You can use any icon as your appico.ico, as long as you name it appicon.ico - but this method won't automatically pull the ico out of the exe, you have to provide it.

If you don't include an appico.ico, you will still see Netbeans in themenu, just with no icon.

Once you have created these two files in the location I indicated, close and re-open the Portable Apps Menu, and you should see Netbeans.

EDIT: digitxp, you beat me by a minute! But I think you don't need the . in the path...

When I find myself in times of trouble Mother Mary comes to me
Speaking words of wisdom, let it be.
And in my hour of darkness she is standing right in front of me
Speaking words of wisdom, let it be. Whisper words of wisdom, let it be.

Thanks

Thank you for the information! It works perfectly, but, how can I make the icon? I copy a image and paste in K:\netbeans\app\appinfo\appico.ico but I don't see the icon!

ExtractIcon

It said in my post *ahem* to use ExtractIcon=bin\netbeans.exe.
And ICO is a special format, so you can't really just copy and paste (I wish).

Insert original signature here with Greasemonkey Script.