LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-10-2011, 06:22 AM   #1
mailkamlesh
LQ Newbie
 
Registered: Apr 2010
Posts: 10

Rep: Reputation: 0
How to convert windows (msi , exe) to linux rpm files


Hi
I need to port a framework , the framework is currently in windows msi and exe format
how can i convert the above formats in linux rpm packages
 
Old 02-10-2011, 06:27 AM   #2
X.Cyclop
Member
 
Registered: Jun 2006
Location: Tlv
Distribution: Arch!
Posts: 120

Rep: Reputation: 21
Did you try running it with Wine?

Last edited by X.Cyclop; 02-10-2011 at 06:28 AM.
 
Old 02-11-2011, 06:18 AM   #3
bsat
Member
 
Registered: Feb 2009
Posts: 347

Rep: Reputation: 72
You can run the exe's in wine but as far as i know you can not directly convert an .exe to .rpm, if you have the source may be you can try compiling it in linux.
 
Old 02-11-2011, 05:41 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
You can't.

As suggested above one may be able to run some apps with wine. Exe files may be run but msi would need msiexe program with options.

The usual way is to see if one can expand the sources somehow. Some installers have a command line switch to simply expand the files. Some apps like universal extractor or even 7-zip may be able to help decode the program. When that is finished then you'd need to port the app if possible to windows. One normally needs to have access to the source code for the programs to fully port them. It is possible to reverse engineer a simple program either by using machine code steps but it takes a very long time.
 
Old 02-11-2011, 05:55 PM   #5
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Rep: Reputation: 50
i wish that had been true...
 
Old 02-11-2011, 11:42 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
Quote:
I need to port a framework , the framework is currently in windows msi and exe format
how can i convert the above formats in linux rpm packages
as stated above
You can not !!!

now there might be a "sort of" way
you MUST have ALL the source code to built that "unnamed.exe" program
if it is a tiny program then porting to unix might not be too hard .

this would require a FULL rewrite of the source code so it will build on multiple platforms
like this example
"Celestia - 3d space sym" ( Google it )
now celestia is a big and somewhat large program

mailkamlesh if you would tell us the NAME of this "UNNAMED program " we might be able to help ???? maybe .

------------------------

Last edited by John VV; 02-11-2011 at 11:43 PM.
 
Old 02-12-2011, 08:55 AM   #7
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
sidenote on the question:
RPM is not an executable filetype.. it's an archive (like .zip) + meta data. Inside this rpm file, sits the real program.
What you really want: to converting a windows based application to a Gnu/linux based application.
(porting to Gnu/Linux in short)
 
  


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
how to execute windows .exe files in linux man_msc Linux - Software 2 08-05-2006 08:07 AM
How do you open Windows files--.exe, etc.--in Red Hat Linux Fedora Core 1? jlowe799 Linux - Software 6 04-29-2006 04:39 AM
rpm and exe files on Fedora Linux tpuur Linux - Newbie 5 09-14-2004 07:28 AM


All times are GMT -5. The time now is 04:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration