Portable apps folder arrangement

XnConvert Multi Platform - Windows, MacOSX, Linux
Post Reply
User avatar
budz45
XnThusiast
Posts: 1597
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Portable apps folder arrangement

Post by budz45 » Tue May 24, 2011 9:56 pm

Hi,

I would like if the 'ZIP' downloads of XnConvert came arranged with an executable that's a shortcut linker and then all the main program files in a sub-folder in the exact same way as portables from portableapps.com do it.

I took this screenshot of what it would look like
Image

the XnConvertApp.exe - is just a shortcut .exe that looks for [relative Path]\App\[the files]

All the files inside the App folder could still be used with or without all this.

I am requesting this for current XnConvert 'ZIP' downloads
http://www.xnconvert.com/downloads
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only

User avatar
xnview
Author of XnView
Posts: 31793
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Portable apps folder arrangement (Please)

Post by xnview » Wed May 25, 2011 8:02 am

On portableapps.com, the download files are not EXE??
Pierre.

User avatar
budz45
XnThusiast
Posts: 1597
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Portable apps folder arrangement (Please)

Post by budz45 » Wed May 25, 2011 12:03 pm

xnview wrote:On portableapps.com, the download files are not EXE??
Yes I know that.

I was talking about after the app (of portableapps.com) is installed and the arrangement of the folder there (shortcut exe and sub-folder with app's files).

The one's from portableapps.com (after portable is installed) has the shortcut exe, the 'app' folder and a 'data' folder, but in our case of XnConvert, the 'data' folder is not needed.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only

User avatar
xnview
Author of XnView
Posts: 31793
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Portable apps folder arrangement (Please)

Post by xnview » Thu May 26, 2011 2:16 pm

I can add a zip with this arrangement...
Pierre.

User avatar
budz45
XnThusiast
Posts: 1597
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Portable apps folder arrangement (Please)

Post by budz45 » Fri May 27, 2011 1:25 pm

xnview wrote:I can add a zip with this arrangement...
Yes please :) But don't post it on the XnConvert website as yet, post it here first on this topic, so that I and others can take a look at it first before you make it public on the website.

--
Remember to include that shortcut EXE that links to the real xnconvert.exe within a sub-folder.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only

User avatar
xnview
Author of XnView
Posts: 31793
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Portable apps folder arrangement (Please)

Post by xnview » Mon May 30, 2011 7:25 pm

I've tried to create shortcut, but the shortcut has not a relative path, but absolute.... :(
Pierre.

User avatar
budz45
XnThusiast
Posts: 1597
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Portable apps folder arrangement (Please)

Post by budz45 » Tue May 31, 2011 12:19 pm

xnview wrote:I've tried to create shortcut, but the shortcut has not a relative path, but absolute.... :(
There must be a way. How does portableapps.com do it? They use relative I'm sure??
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only

User avatar
budz45
XnThusiast
Posts: 1597
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Portable apps folder arrangement (Please)

Post by budz45 » Sun Jul 17, 2011 12:11 pm

So:

.\App\xnconvert.exe

Basic relative path method still not work?

How do apps like Pstart manage to do use relative paths so well on Windows?
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only

User avatar
budz45
XnThusiast
Posts: 1597
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Portable apps folder arrangement (Please)

Post by budz45 » Sun Sep 29, 2013 10:50 pm

Hi, I a dev friend told me this:
is to create a windows shortcut and put the following command in the "Target" :

%windir%\system32\cmd.exe /c start .\XnConvert\xnconvert.exe

This runs cmd.exe under Windows/system32, and passes it the local
filename of the process to start.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only

Post Reply