LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to convert windows (msi , exe) to linux rpm files (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-convert-windows-msi-exe-to-linux-rpm-files-861788/)

mailkamlesh 02-10-2011 05:22 AM

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

X.Cyclop 02-10-2011 05:27 AM

Did you try running it with Wine?

bsat 02-11-2011 05:18 AM

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.

jefro 02-11-2011 04:41 PM

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.

silvyus_06 02-11-2011 04:55 PM

i wish that had been true...

John VV 02-11-2011 10:42 PM

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 .

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

teebones 02-12-2011 07:55 AM

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)


All times are GMT -5. The time now is 08:22 PM.