You are here

.PAF.EXE creation

7 posts / 0 new
Last post
rvreugde
Offline
Last seen: 11 months 3 weeks ago
Joined: 2005-12-09 14:14
.PAF.EXE creation

Hi All,

I have searched through the forum, but I did not find the answer directly.

I manage to create a Portable App, but, I just need to create a PAF.EXE file, in order to let it "install" via the PAM.

Can anobody tell me the "secret"? Wink

Thanks a lot in advance...

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
installer.nsi

Move all the files (i.e. App folder, Data folder, WhateverPortable.exe, etc.) into a subdirectory called Files. Edit installer.nsi (available from any of the recent releases) to your specifications (usually just the names, but you'll need to comment out the !define MUI_WELCOMEFINISHPAGE_BITMAP wizard.bmp line so that it compiles (wizard.bmp is a copyrighted file and is not distributed). Then compile as you would with any NSIS file, et viola. One PAF installer.

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

rvreugde
Offline
Last seen: 11 months 3 weeks ago
Joined: 2005-12-09 14:14
Hi Ryan, Jee, thanks. I have

Hi Ryan,

Jee, thanks. I have a PAF.EXE, thanks a lot!.

I just need to fine-tune the Installer.nsi.

Be sure I'll do my contribution here!

BuddhaChu
BuddhaChu's picture
Offline
Last seen: 7 years 5 months ago
Joined: 2006-11-18 10:26
A little more info...

In case a new dev comes along and needs more info, here ya go...

wizard.bmp is the graphic you see on the left while the install wizard is running.

Here are two examples:

http://images.google.com/imgres?imgurl=http://cr.yp.to/2004-494/gaim/0.8...
http://images.google.com/imgres?imgurl=http://fresh.t-systems-sfr.com/un...

What I did for my installer wizard graphic is just grab one of the pre-built ones out of the NSIS examples files, rename it "wizard.bmp" and stick it in the same directory as the installer.nsi file (that's where the script looks for it by default).

Try looking in .\NSIS\Contrib\Graphics\Wizard\ (and don't use an "uninstall graphic by mistake).

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

rab040ma
Offline
Last seen: 4 months 3 weeks ago
Joined: 2007-08-27 13:35
Wizard BMP

It took me a while to figure out what is going on with the Wizard.BMP file. It seems that only John may compile PAF and portable apps that include the copyright images or trademark names. What this means is that other people who are working on files that follow the PA standard, even if they hope the files will eventually be included in John's PA collection, should start out using other images and phrases.

The thing about that is, when (if) John decides that they are worth adding to his collection, he will need to recreate the distributable with the copyrighted/trademarked stuff. So it is best set your paf.exe up so that is easy to do. For example, name the image you use in your paf.exe file wizard.bmp, so that when John goes to compile it, all he has to do is copy his version of the file over yours. Similarly, if you have his trademarked phrases in variables defined at the beginning of the script, then all he has to do is put his text into those variables, rather than hunt around in the source code to find them.

MC

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
No need

so that when John goes to compile it
He's got a new system worked out for the future on a way to use it without having to compile it yourself.

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

rab040ma
Offline
Last seen: 4 months 3 weeks ago
Joined: 2007-08-27 13:35
I keep hearing rumors

I figured something would be coming. I was trying to give some pointers to keep newcomers from getting too frustrated -- and hopefully with some keywords that will let search find the article. I'm glad to hear John's going to make it easier eventually.

MC

Log in or register to post comments