Click here to Skip to main content
15,884,099 members
Everything / Installer

Installer

installer

Great Reads

by Graeme_Grant
This article comprehensively covers the Microsoft ClickOnce Installer with a bare bones WinForm/WPF C#/VB Silent Updater framework plus covers how to implement, troubleshoot, test locally, to release.
by Graeme_Grant
.NET compliant Silent ClickOnce Update Background Worker Service for Winform, WPF & Console in C# & VB
by Grasshopper.iics
How to build and publish Ultrabook desktop Apps in Intel AppUP store
by RickZeeland
Make installations simpler with Inno Setup [Tasks]

Latest Articles

by RickZeeland
Make installations simpler with Inno Setup [Tasks]
by Graeme_Grant
.NET compliant Silent ClickOnce Update Background Worker Service for Winform, WPF & Console in C# & VB
by Graeme_Grant
This article comprehensively covers the Microsoft ClickOnce Installer with a bare bones WinForm/WPF C#/VB Silent Updater framework plus covers how to implement, troubleshoot, test locally, to release.
by CodingCoyote
Learn to use Custom Actions to be more flexible with Wix#.

All Articles

Sort by Score

Installer 

9 Jan 2023 by Graeme_Grant
This article comprehensively covers the Microsoft ClickOnce Installer with a bare bones WinForm/WPF C#/VB Silent Updater framework plus covers how to implement, troubleshoot, test locally, to release.
12 Oct 2023 by Graeme_Grant
.NET compliant Silent ClickOnce Update Background Worker Service for Winform, WPF & Console in C# & VB
13 Jan 2013 by Grasshopper.iics
How to build and publish Ultrabook desktop Apps in Intel AppUP store
18 Oct 2023 by RickZeeland
Make installations simpler with Inno Setup [Tasks]
8 Apr 2014 by Fabrizio Stellato
Run ngen to optimize your application during the installation process
18 Oct 2014 by Marco Bertschi
A brief step-by-step guide on what is needed to get Qt and the Qt Creator installed on your Linux environment
25 Feb 2017 by RickZeeland
Create an Installer which allows to change the Forms application settings in a custom Inno Setup page
10 Mar 2011 by OriginalGriff
Rule one: There is no guarantee that your software cannot be pirated. Look at the people who can afford to put major protection into their software, and how little affect it has on dedicated pirates. Whatever you do, you have to be sure that there is sufficient of a problem to make it worth...
8 May 2014 by Dave Kreskowiak
Pete's answer is probably better as you have greater flexibility in creating an installer than using InterDev.But, another option is to build an XP virtual machine (VMware has a "Player" version that's free) or Microsoft's VirutalPC, or VirtualBox, or any other) and just install your DEV...
31 Mar 2011 by ZeeroC00l
Using a Custom Action On Database during installation[^]Custom Action[^]The above methods explain as to how you can go about creating a new database during the installation. I think the same with some modification can be used to insert the details into Database.
25 Apr 2011 by thatraja
This bunch may help youDeploy SQL Server databases easily with an Installer class[^]Extending Visual Studio Setup Project[^]dotNetInstaller - Setup Bootstrapper for .NET Application[^]A Setup and Deployment project that passes parameters to the configuration file[^]Restoring...
19 Jun 2012 by Manas Bhardwaj
I don't think that this is unfortunate. It's just that you haven't handled it.You have to use Custom Actions for that: 1.Add a new library ("CustomActions") to the setup project2.Add => New Item => Installer class3.Switch to code view and override the Uninstall methodpublic...
24 Jun 2013 by Sergey Alexandrovich Kryukov
Now I'm giving the promised answer on the processor instruction-set architecture and the implication of different architectures on installation. First of all, it's good to know the available architectures and their names, as their naming is confusing. To best of my knowledge, Windows...
25 Oct 2013 by Sergey Alexandrovich Kryukov
As far as I was able to figure out, more or less recently, in this year, the Windows Installer itself is not capable of targeting Any CPU model. It's looks like it is not designed to cover this feature specific to .NET. So, in practice, you need to provide two or three MSIs for two or three...
8 May 2014 by Pete O'Hanlon
Do you have a MSI file from the old machine? If you do, you can use the AdvancedInstaller repackager[^] to capture the changes that the VB6 installer makes, and create your new MSI from that.
1 Oct 2010 by Rhuros
Try this out:1. In you VS Deployment Project Select 'Launch Conditions Editor'2. Right Click on the 'Search Target Machine' and select 'Add Registry Search'3. This will add a new reg search item, selecting the properties of this item will expose :- Property : this is where you...
3 Dec 2010 by Mark_Wallace
You do it by first creating/amending the [Languages] section, using the appropriate ISL files:[Languages]Name: en; MessagesFile: "compiler:Default.isl"Name: nl; MessagesFile: "compiler:Languages\Dutch.isl"Then all you have to do is add a "Languages" parameter to the items in the...
9 Feb 2011 by JF2015
You need to check the registry for the following key:"HKEY_CLASSES_ROOT\Access.Application\CurVer"The key will give you the following values:Access.Application.8: means: "Access 97"Access.Application.9: means: "Access 2000"Access.Application.10 means: "Access...
8 Mar 2011 by Amit Kumar Tiwari
Please try code below:/// /// Gets the Visual Studio 2008 installation directory path. /// /// Visual Studio 2008 installation directory path public static string GetVS9InstallDirectory() { ...
8 Mar 2011 by Ryan Zahra
May I add to Amit Kumar Tiwari solution:First you need to check if you're running in x86 or x64. This could be achieved by:System.Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE")Please note that this only works if the variable isn't manipulated!!If the architecture is x86...
26 May 2011 by Wonde Tadesse
Well, I am assuming that you are using Visual Studio Set Up application. So here are the steps how to include additional files and folder in you set up package.How to create a Setup package by using Visual Studio .NET[^][EDITED]In addition to this, you have to make sure that how your...
5 Nov 2011 by Orcun Iyigun
Yes you can add a database install to your installer. Check the links in order to do it how:Hod do I do it in C#(Deployment)[^]Using a custom action add DB to your installer[^]Deploy your Application and Database[^]Good luck.
8 May 2012 by Dave Kreskowiak
The normal place to put this is in a subfolder of the CommonApplicationData folder. You then change the permissions on that subfolder to give the Users group appropriate permissions depending on your requirements.
18 May 2012 by Frank R. Haugen
Buy the game legally!And the next time ask the question at "Yahoo answers" or a gaming forum, NOT a hardcore development community site ;)-frank
3 Jul 2012 by Ganesan Senthilvel
Refer InstallAware's discussion thread at http://www.installaware.com/forum/viewtopic.php?f=2&t=6618[^]
22 Oct 2012 by Sandeep Mewara
AFAIR, when you install VS, you get an option to select the languages you want to work on in VS. Thus, it should be possible.
21 Apr 2013 by OriginalGriff
Copy protection generally comes in two varieties: 1) Annoying to legitimate usersand 2) Completely useless.You have to work out how long it will take you to implement copy protection, and balance the cost of that against the savings against piracy you think you will make. If you are...
21 Jun 2013 by Sergey Alexandrovich Kryukov
Let me first answer to the first of the two question mentioned in the comments to the question. (Please see all the discussion.)I recommend using Microsoft open-source WiX because this is a really legitimate product. It meets the requirements for Visual Studio add-on; and its own installer...
1 Dec 2013 by RickZeeland
Inno Setup script to install SQL Server 2008 R2 with Tools, creating an instance with special rights and displaying the log.
27 Dec 2013 by OriginalGriff
If your setup file is correct, then it should install all the files your application needs, except external applications. The latter includes SQL Server itself, for a number of reasons:0) You can only distribute SQL Server Express for copyright reasons - not SQL Server full version.1) They...
24 Jan 2014 by Sergey Alexandrovich Kryukov
Yes, VS 2013 does not provide any installation framework, and I think this is good; the one which was supplied with VS 2008/2010 wasn't good enough. I would highly recommend open-source WiX toolset:http://en.wikipedia.org/wiki/WiX[^],http://wixtoolset.org[^].Unlike former Visual Studio...
26 Feb 2014 by lukeer
Hi experts,the installation of my Windows Forms application wreaks havoc on the USB subsystem. Any USB device plugged in the machine won't function unless it has already been plugged into that very USB port at a time before my software was installed.Has anyone had such behaviour before?...
14 May 2014 by Sergey Alexandrovich Kryukov
Please see my question in my comment to the question. In brief: there is no a way to circumvent the permission system. (Just think about it: it it was possible to create some software which ignores permission limitations, it would be equivalent to not having the permission system at all; who...
8 Oct 2015 by Sergey Alexandrovich Kryukov
Either install PowerPacks on the client machine (see https://msdn.microsoft.com/en-US/vstudio/bb735936[^]) or develop your software product without using PowerPacks. :-)—SA
29 Jan 2016 by Dave Kreskowiak
You could put the SQL scripts in string resources in your .EXE. They then cannot be modified.
1 Dec 2009 by ErikEJ
I have the 3.5 SP1 bootstrapper installed, assume it came with VS 2008 SP1.
17 Apr 2010 by dan!sh
You can ship it as a prerequisite with the set up. This[^] might help.
17 Apr 2010 by Abhinav S
Have a look at this post[^]. It may be of some assistance to you.
31 May 2010 by Chris Meech
You can probably create a .DMP file using the Oracle export utility. Then include the .DMP file with your installer, and have the installer run an Oracle import operation. I'm not sure that it will be able to create the database and table spaces, but everything else should be handled.
8 Jun 2010 by usmanbinasif
Hello All,I am facing problem in Windows Installer Rollback functionality using C#.net2.0. I have created an installer class and it launches custom action[installer type] to create database and take user inputs for applicationsettings, If user wants to rollback I use InstallerException...
7 Aug 2010 by Jörgen Sigvardsson
It will not load, because it is not signed. You will have to make Vista/Windows 7 boot up in so called 'test mode'. Google on it, and you will find plenty of articles showing you how to do this.
12 Aug 2010 by Sandeep Mewara
Have a look at this stepwise explanation:Tutorial: Adding Setup Prerequisites to InstallShield package[^]
13 Aug 2010 by pconno3
Hi,I need to open my program after it has been installed. I do this in the AfterInstall method. By starting a new process. Process p = new Process(); p.StartInfo.FileName = "filepath"; p.Start();The issue is that the program...
14 Aug 2010 by Not Active
You may have it locally but will the users who are installing your application? The preferred process is to detect if the .net framework is present (and the correct version) and allow the user the opportunity to download it. This keeps your install package smaller by not having to include the...
9 Sep 2010 by Dylan Morley
The trial period has expired. You either purchase the software, or don't use it anymoreSimply uninstalling & reinstalling won't get rid of the nag screens, they have thought of that!
22 Oct 2010 by Jslw
I have a windows service which is written in C++ using VS2005. I also use the VS2005 to create the installer. The installer is working fine with Win XP but I run into UAC(User Account Control) Windows 7. My windows service does not register into Services database. In my installer, there are...
23 Nov 2010 by Versile
Add an InstallerClass to your main project, then Custom Actions of your Setup file will call it. On the properties of the InstallerClass you can execute AfterInstall, BeforeInstall, etc. You can pop up a form here (though this is bad form and SEPERATE from your installation, i.e. very difficult...
29 Nov 2010 by Sandeep Mewara
There are different ways to achieve this1) encrypted license files that contains the expiry dates etc.2) encrypted license keys held in the registry3) challenge/response mechanism which require an internet connection4) probably others.......Try: License Key Generation[^] or: How...
31 Jan 2011 by Umair Feroze
I am breaking your question into two parts:1. Custom SQL Dialog into install shield. To answer this part please clarify it.2. Want to change config files and sql connection at run time. To do this you need to create forms on which you will get the inputs from user at installation...
4 Mar 2011 by John Whitmire
[XP, VS 2008, C#] The VS documentation on custom install actions has me more confused than I was before I knew it even existed! :mad:I am installing a Windows service. During the installation process, I need to query the user for some information that has to be put in the service's...
2 Aug 2011 by KenBonny
My boss said to use the Visual Studio deployment projects (because he knows they exist) and wants me to make an installer that can be run from any PC in the network to install to a server (if an admin is logged in to give the app the rights to the server).To give you an example: you're...
10 Aug 2011 by DannyStaten
I have a new product that I have recently launched. I haven't figured out what I need to do to get my installer digitally signed. I am just using an installer project in visual studio. I had tried other installer tools, but nothing seemed significantly better than the built in installer...
10 Aug 2011 by JOAT-MON
This MSDN page should get you started: http://msdn.microsoft.com/en-us/library/0k50fs3b.aspx[^]
11 Aug 2011 by gaurav003
Hello All, I am working on the package creation using Install-shield 2009.I need to call a method at the time of Uninstall. And inside that method i need to call a confirmation box "Are you really want to uninstall product?" if user click Yes the uninstall continue otherwise it cancel...
23 Aug 2011 by XTAL256
Basically, what the title says.When the uninstaller is run, i want the UI to have a checkbox somewhere which says:[X] Keep existing settingsOr something like that.I have seen a similar question asked on stackoverflow.com. The "optional task" answer was sort of what i am looking for,...
17 Sep 2011 by Pradeep Shukla
There are issues reported related to WMI after installing SP3 on XP machines. http://social.technet.microsoft.com/Forums/en-US/itproxpsp/thread/7c00d810-0ecd-48b9-862e-69efa29beace/[^]You may want to revert and use SP2 or use WIN 7 as still no definite solution available yet.
11 Nov 2011 by nicoleta.cristian
I build an installer with Basic MSI Project in InstallShield 2010.My setup has custom dialogs with inputs like textBoxes. Each TextBox has associated a variable with a default value. The package kit contain also an .xml file wich is generated by installer and has in it the values setted in...
15 Nov 2011 by Anurag Gandhi
Hi,There are many third party install creator. Just google "Install Creator" and you will get a lot of result. click Paid and Freeware. click here[^] for one of them.InstallSchield is the most common.
12 Jan 2012 by Member 7684075
Hi,I am calling custom action window form during MSI installer. How to identify user clicked "Cancel" button in window form. If user clicks "Cancel" I should rollback the installation. So how to acheive?Thanks.
16 Jan 2012 by Kschuler
What have you tried so far? I suggest you start researching here.[^] When you have a more specific question come back and ask it with details about what isn't working and what code or settings you are using.
25 Jan 2012 by YKK Reddy
Hi,I placed the question and solved it myself immediately so that if any other person who is facing the same problem can find it.i have done lot of research and finally found the solution which iam going to share with you. Here it goes,When "SaveasPdfandXPS.exe" addin is installed on...
21 Feb 2012 by Sergey Alexandrovich Kryukov
This is not really related to your installation. The problem is: your application itself needs elevated privileges. You either do something wrong, or the changes to the system incurred from the execution of your application really required administration privileges.This "something wrong"...
22 Mar 2012 by dharshanamax
Hi,Can anyone let me know if there is a way to modify a .NET Setup Project to allow multiple installations in one machine.Thanks and RegardsDharshana
6 Apr 2012 by Reza Ahmadi
Hi,One powerful solution is to use Installer class which is in System.Configuration. Using this class you can run various codes during different phases of the installation. Take a look at this for more...
12 Apr 2012 by Member 8045950
I have a c# exe that is supposed to unistall another app. the code is as follows:private void removeApp(){ ustAssembly = @"c:\path\tosome\file.exe" Assembly ustAsm = Assembly.LoadFrom(ustAssembly); string appGUID = "{" + ustAsm.GetType().GUID.ToString() + "}"; string...
22 Jun 2012 by Maciej Los
Use InnoSetup Complier[^] ;) It's simple to use.
26 Aug 2012 by D-Kishore
This link helps youhttp://balanagaraj.wordpress.com/2007/05/29/create-exe-or-setup-file-in-net-windows-application/[^]
31 Aug 2012 by Mehdi Gholam
Most installers are painful when trying to do more than the usual things.Personally I use NSIS installer with my own .net application installer which I can control completely, the NSIS script just checks for .net availability and installs the .net runtime needed then unpacks the files and...
3 Sep 2012 by Sandeep Mewara
Following articles should help:Gantt Chart[^]Using Gantt Chart Components[^]Try!
20 Sep 2012 by Rene Bustos
Try installing the Latest VMWare, in my Case it was VMWare 9.0 and it's working right now, the Backtrack is working !!Thanks .
30 Oct 2012 by Purushotham Agaraharam
Framing Conection String for WCF and Providing service url to Web App for Communication
4 Nov 2012 by vision2fly
I want to install sql server 2008R2 express edition and visual studio 2010 on windows 2007. There are some questions related to SQL server 2008R2 installation in my mind.1) Shall i install visual studio 2010 first and then sql server 2008R2 or vice versa? Coz I hv read that sql server...
5 Nov 2012 by njammy
I had this issue as well, so my final working installation process was:SQL server first,then Visual Studio (without sql component)and .Net if necessary(this is available to install seperately via Windows Update or hotfix.)
15 Feb 2013 by Marco Bertschi
Yes, you can deploy it with VS 2010 Pro. Just add a new project, select "Other project types" and then select an installer project. You might need to setup a Install Shield Express version but it should be no problem because this is free.cheers,Marco Bertschi
28 Mar 2013 by IPI Paul
Use iPhone to install Windows software.
10 Apr 2013 by Sergey Alexandrovich Kryukov
Please check up that all your modules are compiled to the target instruction-set architecture "AnyCPU" and you don't have any native (non-managed) modules. If you do have some, you would need to provide a mechanism for loading alternative implementations for different instruction-set...
6 Jun 2013 by Surendra Adhikari SA
This Error is due to static file path given on the code reportDocument.Load("FBCReport.rpt");you can change your declaretion //creating an object of Report Document class ReportDocument reportDocument = new ReportDocument();to //creating a new Report...
8 Sep 2013 by PIEBALDconsult
Personally, I wouldn't; just as I don't include a .net or SQL Server redistributable. I'd just include a statement in the documentation/release notes of what else it requires and where to get them. Consider someone installing your product some years down the line when a new version of the...
13 Sep 2013 by ridoy
Check:How to Deploy VB.Net application[^]VB.NET application publish with MySQL database?[^]
17 Sep 2013 by Maciej Los
As far as i know it's not possible to install windows service from drop-down menu in MS Visual Studio Express and Standard version.
25 Oct 2013 by Ian A Davidson
The problem is a known issue in Visual Studio:The setup project, even if you set it to be x64 only(!), always inserts the 32 bit version of InstallUtilLib.dll into the msi (we had the problem even when building the setup project on x64 machines!)InstallUtilLib.dll is used to run the C#...
3 Dec 2013 by Maciej Los
Have you tried using Google?Sample links:How to: Publish Data Files in a ClickOnce Installer[^]Walkthrough: Creating a Custom Installer for a ClickOnce Application[^]How to: Specify Which Files Are Published by ClickOnce[^]
19 Dec 2013 by Sergey Alexandrovich Kryukov
By XML schema rules, it is specifically stated that the schema file does not have to be present on the Web. (However, I think this is highly desirable, to guarantee uniqueness of schema and hence the document format.) So, don't worry about it. The schema is known by the WiX code; this is all...
6 Jan 2017 by tasinsahin
Hi,I am trying to create an installer that checks for .net framework and Access Database Engine, if not exist, install them. Here is my bundle.wxs;
23 Feb 2014 by Kornfeld Eliyahu Peter
You may check this - http://www.jrsoftware.org/isinfo.php[^]
25 Feb 2014 by Herbisaurus
Can I create a custom form on Inno Setup installer, to show a custom logo, additional text info, ask a custom question etc. Tnx, H
25 Feb 2014 by Kornfeld Eliyahu Peter
Read here - http://www.jrsoftware.org/ishelp/index.php?topic=scriptpages[^]
27 Feb 2014 by S Houghtelin
You may find this useful, I did when I needed to do silent install for our USB connected device.Driver Package Installer (DPInst)[^]I suggested reading through the documentation though. But it works.Good luck.
27 Feb 2014 by lukeer
Stupid me!To write my changes to the registry, I use this method [DllImport("advapi32.dll", SetLastError = true)] static extern uint RegSetValueEx( int hKey, [MarshalAs(UnmanagedType.LPStr)] String lpValueName, int...
3 Apr 2014 by Fabrizio Stellato
Launch ngen.exe to optimize your application during installation
8 May 2014 by Slow Eddie
I have been going crazy looking for a solution to the following problem.I am a developer who has worked happily on my windows XP machine for the past 10 years or so. I use Visual Studio6 and VB6.0. I create an ".MSI" installer for my software using Visual InterDev 6I am trying to move my...
8 May 2014 by Maciej Los
I've heard about ExeToMsi converter[^]. If you are able create setup (*.exe) file, you can try to convert it to *.msi.
16 May 2014 by fred edison
First question the Copy Custom action you have made is it deferred and impersonate = false ?If no, on google you will find that only Custom Action deffered can have full right natively (because it's assume only deffered action can change your PC state/transaction and not Immediate action)....
11 Jun 2014 by Sen Jacob
This is an alternative for "A Task Scheduler Library for .NET Applications"
25 Aug 2014 by Amogh Natu
This post explains all the steps required to do a factory reset to a Mac running OS X 10.9 (Mavericks). These steps can also be used on other lower mac versions.
9 Oct 2014 by Sergey Alexandrovich Kryukov
Mac OS X has its very own installation system with its own format of installation packages and metadata required for packaging of your products. You need to learn...
5 Nov 2014 by Sergey Alexandrovich Kryukov
Why? This version of windows comes with .NET 4.5. To enable some other versions for compatibility, please read...
11 Nov 2014 by punitsingh
I have solved using this link.I have created two project, on e class library for UDF(Excel Add-in) and second for Com Add-in(Ribbon UI). And then using MergeModule Project.http://support.microsoft.com/kb/827025[^]
9 Dec 2014 by barneyman
you CAN - i've done it - but it's poorly documented - our msicreator has probably taken a couple of man-years to get to its current stateMSI Database sdk[^]Some direction :)1. understand WHAT an MSI is - a bunch of tables (accessed thru sql'ish commands) and some compressed file...