Portable apps folder arrangement

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: XnTriq, helmut, xnview

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

Portable apps folder arrangement

Post by budz45 »

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: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Portable apps folder arrangement (Please)

Post by xnview »

On portableapps.com, the download files are not EXE??
Pierre.
User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Portable apps folder arrangement (Please)

Post by budz45 »

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: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Portable apps folder arrangement (Please)

Post by xnview »

I can add a zip with this arrangement...
Pierre.
User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Portable apps folder arrangement (Please)

Post by budz45 »

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: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Portable apps folder arrangement (Please)

Post by xnview »

I've tried to create shortcut, but the shortcut has not a relative path, but absolute.... :(
Pierre.
User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Portable apps folder arrangement (Please)

Post by budz45 »

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: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Portable apps folder arrangement (Please)

Post by budz45 »

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: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Portable apps folder arrangement (Please)

Post by budz45 »

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