Page 1 of 1
Portable apps folder arrangement
Posted: Tue May 24, 2011 9:56 pm
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
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
Re: Portable apps folder arrangement (Please)
Posted: Wed May 25, 2011 8:02 am
by xnview
On portableapps.com, the download files are not EXE??
Re: Portable apps folder arrangement (Please)
Posted: Wed May 25, 2011 12:03 pm
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.
Re: Portable apps folder arrangement (Please)
Posted: Thu May 26, 2011 2:16 pm
by xnview
I can add a zip with this arrangement...
Re: Portable apps folder arrangement (Please)
Posted: Fri May 27, 2011 1:25 pm
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.
Re: Portable apps folder arrangement (Please)
Posted: Mon May 30, 2011 7:25 pm
by xnview
I've tried to create shortcut, but the shortcut has not a relative path, but absolute....

Re: Portable apps folder arrangement (Please)
Posted: Tue May 31, 2011 12:19 pm
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??
Re: Portable apps folder arrangement (Please)
Posted: Sun Jul 17, 2011 12:11 pm
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?
Re: Portable apps folder arrangement (Please)
Posted: Sun Sep 29, 2013 10:50 pm
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.