how can i make programs portable

Ask other users about problems encountered with portable apps or help by posting solutions to existing problems.
Post Reply
Message
Author
tito
Posts: 4
Joined: Thu Jan 17, 2008 4:54 pm

how can i make programs portable

#1 Post by tito »

hi

i want to know how can i make programs portable ?

please answer my question quicly and help me



thanks

User avatar
PhrkOnLsh
Posts: 12
Joined: Sun Oct 14, 2007 4:23 pm
Location: Phoenix Arizona
Contact:

#2 Post by PhrkOnLsh »


tito
Posts: 4
Joined: Thu Jan 17, 2008 4:54 pm

#3 Post by tito »

PhrkOnLsh wrote:QUickly Quickly folks, he neeeeeds US!!!!
http://www.google.com/search?hl=en&rlz= ... tnG=Search

http://portableapps.com/development
http://www.portablefreeware.com/forums/ ... pe+develop

and more... google is your friend ole chap.
first i want to thanks u

its very hard to usw this
http://portableapps.com/node/6709?page=1#comment-59145

please i want to use program to be eazer from this ..... please
thanks

User avatar
PhrkOnLsh
Posts: 12
Joined: Sun Oct 14, 2007 4:23 pm
Location: Phoenix Arizona
Contact:

#4 Post by PhrkOnLsh »

That's about as simple as it gets right there, man :)
It's just fill in the !defines at the top of the file... :)

tito
Posts: 4
Joined: Thu Jan 17, 2008 4:54 pm

#5 Post by tito »

PhrkOnLsh wrote:That's about as simple as it gets right there, man :)
It's just fill in the !defines at the top of the file... :)
do u mean this

http://portableapps.com/node/6709?page=1#comment-59145

ok where i put that code in the link ? in notebad ? or auto it ? or where ?

User avatar
PhrkOnLsh
Posts: 12
Joined: Sun Oct 14, 2007 4:23 pm
Location: Phoenix Arizona
Contact:

#6 Post by PhrkOnLsh »

You'll need NSIS from nsis.sf.net

open it up in notepad, or any text editor you wish (I use SciTE because it has syntax highlighting)

near the top is stuff like:

Code: Select all

!define AUTHOR 		""		; your name
!define APP 		""		; insert application name, e.g. "TestApp"
!define VER 		"0.0.0.0"	; insert version of launcher,first two digits are version numbers, last digit is packet revision
!define EXE 		""		; insert program exe name, e.g. "testapp.exe"
!define EXEPARMS 	""		; insert some default Parameters 
You can fill these in as expected, and that's fairly simple...
But the important parts are

Code: Select all

; ----- Application specific stuff
; insert regkeys to use separated by "||", comment out, when not used, 
; e.g. HKCU\Software
	!define REGKEYS 			""
; If a file "Registry.reg" within the data directory is found then it is read
; and all child registry keys are processed as if they'd have been set within
; REGKEYS
	!define USEREGKEYSFILE		"TRUE"
; delete alle defined registry keys before own ones are applied (during Init)
	!define DELETEREGKEYS		"TRUE"
...
These are found by seeing what parts of the system the application you wish to portabilize writes its settings to. USe tools like RegShot and SilentNight Inspector (both in TPFC) to find where the application writes its settings to and add these to your nsi...

tito
Posts: 4
Joined: Thu Jan 17, 2008 4:54 pm

#7 Post by tito »

first i want to thank u ,,,

and please comlete with me to do that ,,,

and i want to till u im not good in English ,,,

and please change this link nsis.sf.net because it is not working


the first quote :


what the mmeaning of (insert application name, e.g. "TestApp) ???
please give me example of that in any program .

and what this meaning (insert some default Parameters)
please give me example of that in any program too.

thanks .

Post Reply