You are here

WinPT Portable

24 posts / 0 new
Last post
mstinaff
Offline
Last seen: 12 years 11 months ago
Joined: 2006-10-01 10:58
WinPT Portable

Due to a significant change in methodology a new thread was started here

Sorry for any confusion.

If a mod could lock this thread I would appreciate it. Thank you.

John T. Haller
John T. Haller's picture
Online
Last seen: 43 min 21 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
About Right

I'm posting the updated GPG installer next week. It'll default to use CommonFiles now. You don't need the SF project. I was planning on doing WinPT as part of PortableApps.com. But if you'd like to, you're welcome to.

Sometimes, the impossible can become possible, if you're awesome!

mstinaff
Offline
Last seen: 12 years 11 months ago
Joined: 2006-10-01 10:58
Thank you

Happy to hear about the updated GPG installer. I would be glad to take care of the WinPT Launcher. The one I have now works pretty well and after I make sure it works with the new GPG installer I can post it up.

Speaking of which you mention that I don't need to use sourceforge on this. Please pardon my ignorance but what is the preferred method for handling this? After combing the forums I am a bit confused as I have read different paths such as:
sourceforge page
just a link in the forums
post it to Ryan's site
etc

Thank you for your time and attention and I look forward to giving back to the PA community.

Key ID: 0xDAE3095F
Fingerprint: 5D98 65D2 1844 21A5 76C1 F0F6 4BE6 D689 DAE3 095F

ZachHudock
ZachHudock's picture
Offline
Last seen: 3 weeks 6 days ago
Developer
Joined: 2006-12-06 18:07
He meant you don't need your

He meant you don't need your own sourceforge project for it. It could possibly become an official PortableApps.com application, in which case it would be included on the PortableApps.com project page.

The developer formerly known as ZGitRDun8705

rab040ma
Offline
Last seen: 6 months 1 day ago
Joined: 2007-08-27 13:35
For initial testing, you can

For initial testing, you can upload it anywhere that allows downloading. There probably won't be a huge amount of traffic. At some point as it becomes closer to release, it might get included in the PA sourceforge site.

MC

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 13 years 4 months ago
Joined: 2006-01-06 21:27
Easy.

You can use SourceForge for hosting or, for a much better experience, contact me and you can email the .PAF.EXE files to that address and I'll upload them for you.

Then, make a new post on the forums telling us about the release and link to the file (I'll give you that once I upload it).

"If you're not part of the solution, you're part of the precipitate."

mstinaff
Offline
Last seen: 12 years 11 months ago
Joined: 2006-10-01 10:58
D'OH

So I followed your contact link and ran into this error

Method Not Allowed
The requested method POST is not allowed for the URL /blog/wp-content/cache/supercache/cubegames.net/blog/contact/index.html.gz.

SuperCache getting in the way maybe?

Key ID: 0xDAE3095F
Fingerprint: 5D98 65D2 1844 21A5 76C1 F0F6 4BE6 D689 DAE3 095F

rab040ma
Offline
Last seen: 6 months 1 day ago
Joined: 2007-08-27 13:35
Ryan (or the rmccue sn on

Ryan (or the rmccue sn on IRC) has been muttering about his server being under the weather. Maybe you'll just have to come on IRC and wait for him to show up.

MC

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 13 years 4 months ago
Joined: 2006-01-06 21:27
Yep.

It's working now AFAICS.

"If you're not part of the solution, you're part of the precipitate."

saulchristie
Offline
Last seen: 6 years 4 months ago
Joined: 2006-07-25 06:01
Any update?

Any update on Portable GnuPG and WinPT becoming available on this site? I can't wait!

I've been after this for years so I can have one set of keys for all my encryption needs that I can carry with me and use everywhere and anywhere.

Having this available to the community in general will prob greatly speed up it's adoption, esp as you will then be able to use encryption not just within clients such as Thunderbird but also within webmail such as gmail (albiet with FirePGP addon) wherever you are.

mstinaff
Offline
Last seen: 12 years 11 months ago
Joined: 2006-10-01 10:58
Soon

Mr Haller I'm sure is very busy and so I will be putting together my own gpg installer to pair with WinPTPortable. Thank you very much for your interest and I am just as eager to get some beta results.

Key ID: 0xDAE3095F
Fingerprint: 5D98 65D2 1844 21A5 76C1 F0F6 4BE6 D689 DAE3 095F

mstinaff
Offline
Last seen: 12 years 11 months ago
Joined: 2006-10-01 10:58
Just about ready

I've polished off my first shot on a GnuPGPortable setup and a matching WinPTPortable. However it is very late here so I will wait till tomorrow when I am a little more coherent to do a last error check before posting it.

rab040ma, you are more brilliant than I realized. In this thread you mentioned "I suppose we should think about a standard way of letting any programs know where the keyfiles are located." Well after my ThunderbirdPortable.ini mysteriously not working properly I found that as long as the GnuPG registry keys were correct that enigmail worked properly.

soo..... I have made GnuPGPortable.exe that serves the sole purpose of setting up the portable gpg environment for other apps.

So in FooPortable.nsi insert this in place of the Exec $EXECSTRING statement

InitGPG:
	;=== Call GnuPGPortable to create environment.
	${GetRoot} $EXEDIR $0
	StrCpy $1 "$0${GNUPGPORTABLEPATH} ${NAME}.exe"
	Exec $1
LoopUntilInitialized:
	Sleep 100
	${registry::KeyExists} "HKEY_CURRENT_USER\Software\GnuPGPortable" $R0
	StrCmp $R0 "-1" LoopUntilInitialized

	Exec $EXECSTRING

and don't forget

!define GNUPGPORTABLEPATH "\PortableApps\GnuPGPortable\GnuPGPortable.exe"

in your !define section

GnuPortable.exe will set up the reg keys and wait for FooPortable.exe to exit before removing them.

But what if two or more apps want to set up the GnuPGPortable environment you say. That's fine! GnuPGPortable keeps an app count running and only removes the reg keys when the count goes down to zero.

Again, it is late here so I will clean up and reiterate this in tomorrow's post.

Key ID: 0xDAE3095F
Fingerprint: 5D98 65D2 1844 21A5 76C1 F0F6 4BE6 D689 DAE3 095F

rab040ma
Offline
Last seen: 6 months 1 day ago
Joined: 2007-08-27 13:35
I'd still like to see us

I'd still like to see us investigate whether the GNUPGHOME environment variable will take care of things. It would be a lot simpler than twiddling with the registry.

Maybe I should work on a version using that technique, and you can do the registry version, and we can compare notes and see which is easier to implement. I doubt either of us has run into all the issues yet.

I think what I propose has merit, but of course I haven't fleshed it out completely. At present I at least think it could prove to be a better way to go. Or perhaps by having two people work on it from different approaches but with a common goal, the eventual release might be better than what either of us did by ourselves.

MC

digitxp
digitxp's picture
Offline
Last seen: 11 years 4 months ago
Joined: 2007-11-03 18:33
I'm not following you...

What's GnuPG? Pardon

Insert original signature here with Greasemonkey Script.

Patrick Patience
Offline
Last seen: 3 years 1 month ago
DeveloperModerator
Joined: 2007-02-20 19:26
Google

Go Search It, or Wikipedia.

digitxp
digitxp's picture
Offline
Last seen: 11 years 4 months ago
Joined: 2007-11-03 18:33
I

already searched there, Google, and here (was I supposed to?).

Insert original signature here with Greasemonkey Script.

Lurking_Biohazard
Lurking_Biohazard's picture
Offline
Last seen: 4 years 5 months ago
Joined: 2006-02-18 18:06
How?

Are you signing into Google before searching? If so, don't. First item on my search results...
http://gnupg.org/

~Lurk~

digitxp
digitxp's picture
Offline
Last seen: 11 years 4 months ago
Joined: 2007-11-03 18:33
Oh,

I thought that was something else... Blum

Insert original signature here with Greasemonkey Script.

rab040ma
Offline
Last seen: 6 months 1 day ago
Joined: 2007-08-27 13:35
You searched Google and

You searched Google and didn't find it? Outrageous.

MC

mstinaff
Offline
Last seen: 12 years 11 months ago
Joined: 2006-10-01 10:58
A little late

I have added a link to the first dev test on the main post. Let me know what you think. Please be gentle, it is my first time.

Key ID: 0xDAE3095F
Fingerprint: 5D98 65D2 1844 21A5 76C1 F0F6 4BE6 D689 DAE3 095F

BuddhaChu
BuddhaChu's picture
Offline
Last seen: 6 years 3 months ago
Joined: 2006-11-18 10:26
Downloaded filename and the

Downloaded filename and the installer need to be renamed to the correct format from this thread. These standards *should* be published soon so there's less of a mystery about them.

No need to put a .sig file within a .zip. Users should download the application installer .exe directly and then verify with an MD5 sum which you should put in the first post. Making the .sig file available as a separate download would work.

Missing help.html file from the root of the portable application and the files used in that webpage in the \Source\Help\images directory. See one of the recent official apps for a framework to build from.

Contents of \Data\settings\WinPT.reg turns into upper-ASCII control characters which aren't usable in the registry AFAIK.

WinPT.exe is compressed with UPX using some compression method other than the recommended one which is the most compatible with the most systems (it "plays nice"). Recommend you decompress all files and then recompress all .exe and .dll files with UPX using the "official" command line option. Some of the included .dlls aren't compressed at all. Use my PortableApps Developer Toolbox to help you out by reading this page and downloading the file on the last link on that webpage.

WinPTPortable launches, runs, and then sits there. Now what? How is it used? WinPT.exe isn't running. Should it be? Do I need to install GnuPG somewhere? I didn't read this whole thread and new users won't read a lot of stuff either. Time to spoon-feed. This is where the help file would....help. Smile

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

rab040ma
Offline
Last seen: 6 months 1 day ago
Joined: 2007-08-27 13:35
I've raised a false alarm a

I've raised a false alarm a few times, so be skeptical ...

But the link to your developer toolbox appears to point to a domain squatter page.

Maybe it needs javascript or something? Or maybe the link is bad?

MC

BuddhaChu
BuddhaChu's picture
Offline
Last seen: 6 years 3 months ago
Joined: 2006-11-18 10:26
Thanx for the heads up

Ah yeah, thanx for the heads up. I own the domain and my VPS provider is SUPPOSED to renew the domain every year, but they dropped the ball the last two years and I'm contemplating moving the domain to godaddy where I have more control. The page you see is probably the registrar or your DNS provider sending you to that page.

I changed the link to the actual IP of my server which fixed the issue so go ahead and download! Wink

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

mstinaff
Offline
Last seen: 12 years 11 months ago
Joined: 2006-10-01 10:58
Thank you!

Expect a version 2 soon. I will recompress and take a crack at the help file. But to answer your question, yes WinPTPortable requires GnuPGPortable. Currently WinPTPortable will blindly execute GnuPGPortable and wait for a certain registry key to appear to signal that GnuPGPortable was successful. The big d'oh here is that if GnuPGPortable is not there or fails, then WinPTPortable waits forever. Well that is what Dev Test is all about right? I'll add a timeout and a check for GnuPGPortable existence.

Open Question, Should WinPTPortable be able to use a local installation of GnuPG or is that missing the point?

Thanks for the feedback!

Key ID: 0xDAE3095F
Fingerprint: 5D98 65D2 1844 21A5 76C1 F0F6 4BE6 D689 DAE3 095F

Log in or register to post comments