It is currently Sat May 18, 2013 4:54 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Newbie wondering about path portability
PostPosted: Sat Apr 02, 2011 5:58 am 
Offline
User avatar

Joined: Fri Jun 04, 2010 2:11 am
Posts: 283
I have just started playing around with JauntePE and I have run into an issue with file paths. I keep ending up with absolute paths, which cause the launcher to break when I try to use it anywhere except in the creation directory. I looked through the .INI files for my launchers and they do not appear to list the path. Can someone point me in the right direction to understand this? Thank you kindly. :)

_________________
"My dear Mr Gyrth, I am never more serious than when I am joking."
~Albert Campion
------------------------------------------------------------------------
Website | Demo scripts | Blog | External contact


Top
 Profile  
 
 Post subject: Re: Newbie wondering about path portability
PostPosted: Sun Apr 03, 2011 7:33 am 
Offline

Joined: Mon Jan 24, 2011 10:11 pm
Posts: 5
Hi dmg, which version of JPE are you using (v0.3, v0.5, v0.5.2 or v0.6)? And also which OS are you running it on?

AFAIK, v0.6 isn't ready yet, but it is supposed to work under Vista\Win7. v0.5.x or before works under XP but it might works partially under Vista\Win7 (I might be wrong here). So, it might be important for you to post the above information here, as well as the name of the program you are trying to portablized first, before the experts can help you. I hope crownixx will see this post soon, because he is the most qualified person(beside Redllar) to help you.


Top
 Profile  
 
 Post subject: Re: Newbie wondering about path portability
PostPosted: Sun Apr 03, 2011 1:18 pm 
Offline
User avatar

Joined: Fri Jun 04, 2010 2:11 am
Posts: 283
Thanks.

I am running the current 06 "nightly" build on XP SP2.

As far as I can tell it is making my apps stealth but not portable. Meaning the apps don't touch the registry or file system but if I try to move them to another location the launcher cannot find the exe. And yes, I am keeping all files from the app and the launcher together in the same directory structure relative to each other.

_________________
"My dear Mr Gyrth, I am never more serious than when I am joking."
~Albert Campion
------------------------------------------------------------------------
Website | Demo scripts | Blog | External contact


Top
 Profile  
 
 Post subject: Re: Newbie wondering about path portability
PostPosted: Mon Apr 04, 2011 8:38 am 
Offline

Joined: Sat May 12, 2007 6:26 am
Posts: 403
dmg wrote:
I keep ending up with absolute paths, which cause the launcher to break when I try to use it anywhere except in the creation directory.

First, how do you create your launcher? In v0.6 GUI, supposedly you should create it by click ADD > App > In-Package App > Select the executable. The GUI will handle the path and convert it automatically into the relative path. An exception for the Installer Launcher as the path is store as an absolute path.

dmg wrote:
I looked through the .INI files for my launchers and they do not appear to list the path.

In latest v0.6 JauntePE GUI, has separate the Launch settings with the runtime settings. JauntePE_jauntePE.ini inside the JPE folder is now contains the runtime settings. The Launch settings in the other hand is stored in the Launcher executable. Via JPE GUI, you can see the path value by bringing up the Launcher Tab on the right side. To edit some of the Launch settings, right-click on the launcher on the Left Panel > Settings...

Alternatively, you can also view/edit the Launch settings if you open the launcher executable using Reshacker, then drop down the RCData > 2 > 1033

ComputerIdiot wrote:
AFAIK, v0.6 isn't ready yet

IMO, it is much better than v0.5 as of now. You should give it try

_________________
JauntePE the portable maker: <<JauntePE Google Site >>


Top
 Profile  
 
 Post subject: Re: Newbie wondering about path portability
PostPosted: Mon Apr 04, 2011 12:36 pm 
Offline
User avatar

Joined: Fri Jun 04, 2010 2:11 am
Posts: 283
I can only assume I am not understanding something important. First, to answer your question, I have been using the wizard to create my launchers. I have played around with other aspects of the GUI but could not make much sense out of it.

A note: IMHO it is a design error to move the path from the .ini to the .exe. It makes more sense for the user to be able to access and modify things like that after the launcher has been created.

Thank you for your help crownixx. I will continue to work on it. 8)

_________________
"My dear Mr Gyrth, I am never more serious than when I am joking."
~Albert Campion
------------------------------------------------------------------------
Website | Demo scripts | Blog | External contact


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group