954,224 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Creating .dmg

I have an application in C#, .Net 2.0.
I want it to run on Mac. The application has .cs files, .exe etc. What of the file should I put in the .dmg file?

Srcee
Junior Poster in Training
59 posts since May 2010
Reputation Points: 10
Solved Threads: 0
 

Is the application big if yes you might want to add an installer in the dmg file. What do you when you said what you should put in the dmg file.A dmg file basically has nothing inside, only the software installer. The rest like the resources ( see image below ) should be in the app package contents.

Attachments Screen_shot_2011-10-03_at_PM_06.13_.49_.png 29.07KB
jingda
Industrious Poster
4,698 posts since Mar 2011
Reputation Points: 182
Solved Threads: 142
 
Is the application big if yes you might want to add an installer in the dmg file. What do you when you said what you should put in the dmg file.A dmg file basically has nothing inside, only the software installer. The rest like the resources ( see image below ) should be in the app package contents.

But how to make the software installer? Can I get it somehow from the .exe?

Srcee
Junior Poster in Training
59 posts since May 2010
Reputation Points: 10
Solved Threads: 0
 

Have you seen an example of a software using installer before, if no then i do not encourage you to use an installer, You can just drag the app inside the dmg and if people want to install it on their computer, they can simply drag it to their applications folder.

What is you app filename extension. .app or what?

jingda
Industrious Poster
4,698 posts since Mar 2011
Reputation Points: 182
Solved Threads: 142
 

Have you seen an example of a software using installer before, if no then i do not encourage you to use an installer, You can just drag the app inside the dmg and if people want to install it on their computer, they can simply drag it to their applications folder.

What is you app filename extension. .app or what?

My app is made in .Net. The solution's is .sln, and the program is .exe.

Srcee
Junior Poster in Training
59 posts since May 2010
Reputation Points: 10
Solved Threads: 0
 

Have you tested it and see whether it run perfectly fine on a Mac OSX Snow Leopard or Lion. If no, try taking a look at this first

http://www.mono-project.com/Main_Page

You app must be able to work in Mac OSX to continue the rest of the steps.

jingda
Industrious Poster
4,698 posts since Mar 2011
Reputation Points: 182
Solved Threads: 142
 

Have you tested it and see whether it run perfectly fine on a Mac OSX Snow Leopard or Lion. If no, try taking a look at this first

http://www.mono-project.com/Main_Page

You app must be able to work in Mac OSX to continue the rest of the steps.

I installed Mono on the Mac. I tried writing "mono myExe.exe" in cmd, but it says that the CIL image is invalid.

Srcee
Junior Poster in Training
59 posts since May 2010
Reputation Points: 10
Solved Threads: 0
 

Does you applications works perfectly if yes try this last resort. If that does not work, I am afriad I can no longer help you.
http://davidbaumgold.com/tutorials/wine-mac/

jingda
Industrious Poster
4,698 posts since Mar 2011
Reputation Points: 182
Solved Threads: 142
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You