You are here

Help with exe!

7 posts / 0 new
Last post
Sircam
Sircam's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2009-10-02 14:15
Help with exe!

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

digitxp
digitxp's picture
Offline
Last seen: 12 years 6 months ago
Joined: 2007-11-03 18:33
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.

solanus
solanus's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2006-01-21 19:12
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...

I made this half-pony, half-monkey monster to please you.

Sircam
Sircam's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2009-10-02 14:15
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!

digitxp
digitxp's picture
Offline
Last seen: 12 years 6 months ago
Joined: 2007-11-03 18:33
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.

sehlat
Offline
Last seen: 9 years 5 months ago
Joined: 2008-07-15 16:45
Thank you.

This and some other posts led me to set up a pseudo-portable Quicken 98 I can carry from work to home and back. Once I made the appropriate changes to the example appinfo.ini and moved the contents of "quicken" into the top-level directory for the app, clicking on the launcher's index brought everything right up.

Here's the appinfo.ini I ended up with.

[Format]
Type=PortableApps.comFormat
Version=2.0

[Details]
Name=Quicken Start
AppId=Quicken Start
Publisher=Geoff
Homepage=PortableApps.com/node/21757
Category=Office
Description=Start Quicken on the Local Portable Drive
Language=English

[License]
Shareable=true
OpenSource=true
Freeware=false
CommercialUse=true

[Version]
PackageVersion=1.0.0.1
DisplayVersion=1.0 Release 1

[Control]
Icons=1
Start=qw.exe

Ed_P
Offline
Last seen: 5 years 5 months ago
Joined: 2007-02-19 09:09
Hard drive files

I like having my Quicken files with me also but are you sure QW 98 isn't writing files to the Windows folder and Program Files folders on the pc's in which it is run? Quicken.ini, qfnol.ini, intuit.ini, qw.cfg, qw.rmd, qwremind.ini, wpr.ini, wpr.dat. Quicken 2001 does.

Ed

Log in or register to post comments