Is there a Installer-Tool that does require any tool to be installed?
I do not have admin privileges on my build-agent (vsts hosted agent) but still want a normal installer.
I am currently using ClickOnce but that needs so many workarounds that I don't really like it.
I know of Installers like WIX or VS Setup Projects but those don't work without WIX Toolkit or Visual Studio.
I hope anyone has an idea or I will have to do it manually.
You may want to look into Squirrel. It's an open-source (free) installation and update framework for Windows desktop apps.
Advanced Installer is another solution for application packaging and deployment on Windows.
WiX can be pulled into a build server without requiring admin privs. It has a nuget package just for this purpose.
https://www.nuget.org/packages/WiX/
That will require you to not run MSI validation though so be careful.
Also note that WiX does not need VS. VS Setup does though.
Related
Currently, i'm using the following installer: Microsoft Visual Studio Installer Projects 2022. I've also seen the wix installer (WIX TOOLSET). But none of the installers i've seen has the option (at least I couldn't find in the documentation) to download the full App after you run the installer. I'm developing a self-contained WPF Desktop App that is too big, so I would like the installer to be a smaller size, and then after the user downloads the installer and runs it, then it will download all the files of my WPF App. Does anyone knows a installer for that?
We call that a web installer. You can probably create it with the support for Bundles in Wix, but I don't have a complete example on this so you will need to dig more if you want to use Wix Toolset. I don't know if this is supported with the Microsoft VS Installer Project.
I work on the team building Advanced Installer (disclaimer). In this article we explain how you can create a web installer with just a few clicks. First, you need a create a Professional project (this feature is not available in the Free edition) and add your files in the project.
You can skip most of the steps from the Professional tutorial linked above if you don't need them. TO test your web installer you basically need to add the files and make the configurations described in the first article, in Builds page.
If you're application is split in multiple features, it is highly recommend you enable the option "One CAB per feature" from Builds page, so the installer will only download the binaries corespondent to the features selected by the user, thus reducing the download size and speeding up the installation.
I have database,images and text files in my project and i would like to make instalation..
Also I would like to put prerequirements so that people who install this must install version of .net framework i used in my project
What is the best way to achieve that?
UPDATE:
I wanted to use microsoft visual studio installer but it doesnt work .. it doenst create exe file and i cant open app
I've personally used NSIS for making installers. It has an extensible scripting bit to put whatever prerequisites you need(TOS, EULA, ect.) and it can easily create a professional looking installer.
Try using Inno Setup. It has a good scripting language along with a wizard if you don't want to script. It's also free (unless you are deploying commercial applications).
My C# application needs to run with admin privileges however, I cannot publish it due to ClickOnce restrictions.
I have been searching for a resolution to this, however, I have yet to find one that works.
The most common suggestion is to add an installer to the project, however, I don't have seem to have in either my version of Visual Studio 2008 or Visual Studio 2012.
Can anyone offer me any suggestions of how I can publish a C# project with admin privileges?
The following article describes how to have a ClickOnce application launch itself with admin privilieges - maybe this helps? http://antscode.blogspot.de/2011/02/running-clickonce-application-as.html
WiX is a (free) tool for creating installation packages. I do not have any experience with it myself but it seems that you can use WiX for UAC elevation when running the installation.
I did a search for WiX and UAC and it seems that lots of people are using WiX when UAC is required - e.g. this article:
http://blogs.msdn.com/b/astebner/archive/2006/12/13/some-useful-things-i-have-learned-about-windows-installer-and-uac.aspx.
Please, Is there any book or tutorial for deploying .Net Windows Application/Assemblies.
I required In-Depth tutorial for .Net Application Deployment.
If you are looking to produce an MSI redistributable installer for your clients, or Group Policy deployment then I'd recommend learning the WiX system.
The Visual Studio Setup Project is no longer supported in VS11 (VS2012) and the free InstallShield alternative has less features than the VS10 setup project.
Go here http://wixtoolset.org/ and here: http://wix.tramontana.co.hu/tutorial/getting-started/the-software-package to learn how the XML file is constructed, then start adding your files into the WiX package.
The toolset http://wixtoolset.org/releases/v3.6/stable download includes a VS11 project template which integrates nicely with VS and whatever source control you're using.
Hope this helps a bit!
Follow this. You will be able to deploy with Setup Projects
http://documentation.devexpress.com/#xaf/CustomDocument3235
I'm on a mobile phone so I cannot provide you with a link but all you need to do is copy the executable out of the bin folder in your project.
Deploying A C# Application (Visual Studio Setup Project)
I have found a lot of programs to make an installation package for .net application but non of them meet my requirements.
I'm looking for a free application which is able to create installation and uninstallation package and is able to check if net framework and sql 2008 Redistributable is installed if not application should be able to install them first and then start application installation process
Take a look at Wix.
It is free, but the initial learning curve may be a little bit harder then other programms. The output of WiX is a *.msi package.
I recommend Inno Setup - I compared it once with NSIS and found it more usable. It suports scripting, and you will find example scripts for installation of .NET and other redistributables through the search engine of your choice.
Did you try installer, that is shipped with visual studio? If it is very simple, try Wix. Aslo, consider NSIS.
Or Windows Installer?
If you have Visual Studio installed then you can simply create a setup project within your solution. If not, then download from the above link (or fine the appropriate version to download) and utilise the set creation application manually.