You are here

Portable App Development

Discuss portable app development and modification of existing apps.

NSDialogs in PortableApps.comInstallerCustom.nsh

Submitted by mstinaff on June 26, 2009 - 1:23am

I am trying to add a custom page to a PA.c generated installer (0.91.5) but when I get to the custom page the Back, Next and Cancel buttons are inactive and I have to use task manager to kill the install. Here is the code that I am trying this out with which is almost a direct copy from one of the example files included with NSISPortable.


!include LogicLib.nsh
!include nsDialogs.nsh

XPStyle on

Page license
Page custom nsDialogsPage

Var BUTTON
Var EDIT
Var CHECKBOX

!macro CustomCodePostInstall

	Call nsDialogsPage
	
	CustomCodePostInstallEnd:	
!macroend

Windows-on-Stick

morphh's picture
Submitted by morphh on June 25, 2009 - 2:57pm

I can guess what you're thinking.

1) Illegal to do a portable Windows OS
2) A Virtual Machine of Windows would be too big and slow
3) A Virtual Machine can't be portable due to kernel drivers

I think we can get around these issues, read on...

This is my first post and I'm very new to portableapps.com so don't drill me too hard if this is way off. I'll lay out my idea and you can let me know. I'm not putting this in requested apps, as I actually plan on developing this if it sounds feasible.

ThinApp: Creating self-contained apps with no mess!

Submitted by iheijoushin on June 23, 2009 - 8:07pm

This may be a stupid question, but how can one create a truly self-contained portable executable using ThinApp?

Each time I try to create a ThinApp version of a game (Fallout 1-2, if you must ask), it creates a single .EXE. When you open said EXE it generates a mess of files: Registry.tvr.backup, Registry.rw.tvr.lck, Registry.rw.tvr, and a directory called "%ProgramFilesDir%".

Am I missing something? How do I make a portable version of an app that doesn't need to generate these files outside of itself when opened?

Thanks in advance! Love the site!

How do I extract multivolume 7-Zip archive using Nsis7z plug-in?

Submitted by GrzegorzJZD on June 21, 2009 - 4:34am

NSISPortable 2.44
Nsis7z plug-in

Single volumne 7-Zip archive could be extract by this code:
File "ArchiveName.7z"
Nsis7z::ExtractWithDetails "ArchiveName.7z" "Installing package %s..."
Delete "$OUTDIR/ArchiveName.7z"

How do I extract multivolume 7-Zip archive using Nsis7z plug-in in NSIS Installer? File name is file.7z.001, file.7z.002, file.7z.003.

PostBox Licensing questions

Gizmokid2005's picture
Submitted by Gizmokid2005 on June 17, 2009 - 8:00pm

This question is mainly for John.

I was looking at PostBox today, and it looks quite promising, and it's based off of mozilla, which brings me to my questions. I know you work with Mozilla with FF and T-bird, and the licensing is similar.

Here's PostBox's Licensing. Can I make this portable, or do I have to get permission from them first?

Thanks,

-Gizmokid2005

Adding Categories

Submitted by GreekX on June 14, 2009 - 7:28am

Hi there im new and i just would like to ask if its possible to make customizable categories for the applications

for exable a category Media where u can put all ur players etc...
or graffics for gimp etc
office applications etc...

Ty and keep up the good work

Unable to compile with Eclipse PHP version.

gluxon's picture
Submitted by gluxon on June 13, 2009 - 10:15pm

I'm unable to compile the PHP version of Eclipse Portable.

I get this error.

MakeNSIS v2.45 - Copyright 1995-2009 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

Processing config: 
Processing plugin dlls: "C:\Users\Brandon\Desktop\EclipsePortableVersions\Other\PortableApps.comInstaller\App\nsis\Plugins\*.dll"
 - ExecDos::exec
 - ExecDos::isdone
 - ExecDos::wait
 - FindProcDLL::FindProc
 - InstallOptions::dialog
 - InstallOptions::initDialog
 - InstallOptions::show
 - LangDLL::LangDialog
 - MoreInfo::GetComments

Registry Question

Submitted by DerekMaciel on June 13, 2009 - 8:14pm

Okay so I was thinking of making AIM Lite portable.* I thought of making it for PortableApps because using Package Factory (or something like that) I got the program to run on my U3 Powered flash drive. The program runs perfectly, but the only "problem" I encountered is that if you click "Remember Me" or "Save Password", it will write to the Registry. Besides that, it doesn't use the Registry at all. Anyone know how to get around this** or if I don't need to bother with it at all?

*Yes, I know Pidgen can sign onto AIM.

Pages