LinuxQuestions.org
Visit Jeremy's Blog.
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, 11:08 AM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
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, 11:14 AM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 12,073

Rep: Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518
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 11:18 AM.
 
Old 12-30-2012, 04:01 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

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

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

Rep: Reputation: Disabled
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, 06:38 PM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
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, 06:41 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,379

Rep: Reputation: Disabled
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 06:44 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:42 AM
[SOLVED] Where do you keep portable apps? Lixt Linux - Newbie 9 10-20-2011 02:57 AM
Portable C/C++ exe golmschenk Programming 13 06-03-2011 08:13 AM
extracting a a driver from an .exe file arthurbarnhouse Linux - Wireless Networking 1 12-22-2006 01:33 AM
Extracting exe files scorpioofthewoods Ubuntu 6 10-30-2006 06:01 AM


All times are GMT -5. The time now is 02:41 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration