I am surprised I could not find this question already asked, so if I simply missed it please notify promptly.
I need to write a very small, fairly simple application in .NET that will be downloaded by end-consumers and installed on their system. Silverlight's sandbox model will not work - it has to be a full-on downloaded, installed executable.
Here's what I know:
What I do not know:
I am looking for the best resources to fill in my knowledge gaps.
Related
Equivalent of a Windows Service on OSX with Mono
Running the app on a Mac Before you can run the app on your Mac, you're going to need to head back over to the . NET Core downloads page and install OpenSSL and then the SDK (or runtime) if you remember the difference from the first post.
Adding a WiX setup project In Visual Studio, open your solution, and add a WiX project to it: go to the Visual Studio main menu and click File -> Add -> New Project to open the Add New Project dialog. Choose the Setup Project item in the Windows Installer XML node, specify the project name and click OK.
There is bitrock, which handles your target platforms but costs money
For Windows, consider Windows Installer XML (WiX). For OSX, you need to generate a .app bundle. Here is an example using the nant tasks included with the Monobjc project.
Here are some of the major issues you will face:
On Windows:
On OSX:
Upgrading:
You haven't mentioned how you plan to offer upgrades. NSIS and WiX have the capability to handle upgrades. Make sure you have your build versioning scheme worked out before your deploy the initial version. On OSX, Monobjc can integrate with Sparkle.
http://www.openlina.com/
They deliver on the build once, run anywhere promise.
This may or may not be the answer you are looking for. If your application can survive in the Silverlight sand box, you may want to explore Silverlight 3.0.
Silverlight 3 allows your application to run outside of the browser on Windows and Mac.
Here's an example of setting it up: http://www.silverlightshow.net/items/Silverlight-3-as-a-Desktop-Application-Out-of-Browser-Applications.aspx
To create an installer there is:
I do not know how know about Macs
Issues: Computer does not have .Net Framework
Solution: StackOverflow - The State of Linkers for .NET apps
You could try BitRock's InstallBuilder. From their website:
BitRock InstallBuilder is a development tool for building crossplatform installers for desktop and server software. With InstallBuilder, you can quickly create professional installers for Linux, Windows, Mac OS X, Solaris and other platforms from a single project file and build environment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With