LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-30-2012, 10:08 AM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Extracting a portable apps exe file


Has anybody had success extracting the contents of a portable apps exe file?

I tried several command line utilities to no avail.

The MD5s are fine.

The files extract in Windows.

I want to avoid starting a Windows VM just to extract the file. I want to update the USB drive I use when traveling and automate the process in a shell script rather than do the pointy-clicky dance in a Windows VM.

Examples:

Firefox Portable: http://portableapps.com/apps/internet/firefox_portable

LibreOffice Portable: http://portableapps.com/apps/office/...ffice_portable

Thanks much.
 
Old 12-30-2012, 10:14 AM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
All the data you need is on the portableapps web site. The creator (John T. Haller) of many of those versions has detailed how he uses various tools to create the files and how one can create their own programs using the third party tools. He uses both a installer and a compression to help in this task. Then he creates a self extracting exe.

If you want to use windows then use universal extractor to start. If you want to use linux then use wine. Might even try 7-zip.

In some exe files there is a switch that allows just extraction. I forget what that is. Usually used for service pack extraction and other windows apps.

Last edited by jefro; 12-30-2012 at 10:18 AM.
 
Old 12-30-2012, 03:01 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
I can already extract the contents in Windows.

I tried unzip, p7zip, unrar, cabextract, unzipsfx.
 
Old 12-30-2012, 05:14 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
A "7z x -y FirefoxPortable_17.0.1_English.paf.exe" extracted all its contents without difficulty. Weird toplevel directory names though.

Eric
 
1 members found this post helpful.
Old 12-30-2012, 05:38 PM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
7z. Thanks, I missed that one.

Yeesh, yes, the extraction is a mess. Midnight commander goes haywire trying to read the results. Running ls /??/ seems to work.
 
Old 12-30-2012, 05:41 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Creating a package for innoextract now, see if that is cleaner at handling this Windows executable.

Eric

EDIT: unfortunately innoextract does not recognize the Firefox portable executable as a supported format.

Last edited by Alien Bob; 12-30-2012 at 05:44 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating portable exe using automake and autoconf chocopie1986 Programming 4 12-12-2011 04:42 AM
[SOLVED] Where do you keep portable apps? Lixt Linux - Newbie 9 10-20-2011 01:57 AM
Portable C/C++ exe golmschenk Programming 13 06-03-2011 07:13 AM
extracting a a driver from an .exe file arthurbarnhouse Linux - Wireless Networking 1 12-22-2006 12:33 AM
Extracting exe files scorpioofthewoods Ubuntu 6 10-30-2006 05:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration