Questions tagged [windows-installer]

Windows Installer is the installation service provided with Windows, based on the creation and installation of MSI files. In practice there will be a tool you're using to generate the MSI files, and you should tag your question with Windows Installer and that tool (WiX, Visual Studio Setup Project, InstallShield, Advanced Installer etc). Your issue may be with building, designing, or installing MSI files.

From the MSDN documentation:

Microsoft Windows Installer is an installation and configuration service provided with Windows. The installer service enables customers to provide better corporate deployment and provides a standard format for component management. The installer also enables the advertisement of applications and features according to the operating system.

Installer also handles registry related changes.

8835 questions
23
votes
6 answers

Jenkins failed to start - Verify that you have sufficient privileges to start system services

When installing Jenkins (LTS) on windows 10 via the installer, after choosing the JDK folder - an error pops when the service is trying to start. The error reads: "Jenkins failed to start - Verify that you have sufficient privileges to start system…
Oron Werner
  • 1,211
  • 1
  • 7
  • 14
23
votes
5 answers

WiX overwrites config files during setup. How can I avoid this?

I'm using WiX to create a windows installer. Unfortunately my installer overwrites a config file on every update. What I really want is, that the installer only creates the file if it is not found. Thanks and regards, forki
forki23
  • 2,784
  • 1
  • 28
  • 42
23
votes
3 answers

Removing bad installs from Add/Remove programs

I've created a custom boot-strapper for my application using Wix and Burn, but in the time it took to learn I managed to install several early variants in such a way that they won't uninstall. I think I created the problem by running Engine.Apply…
23
votes
2 answers

(WiX) Program files shortcut for per-machine install

Following the example here, I added a shortcut to the ProgramMenuFolder that launches my application. (My code is actually simpler because I don't need the extra folder.)
Adrian McCarthy
  • 45,555
  • 16
  • 123
  • 175
22
votes
5 answers

What is the best way to update an MSI installation over the internet?

What is the best way to update an MSI installation over the internet? ClickOnce doesn't support MSIs. I need the update to occur automatically over the internet, in the same manner as Windows updates occur. Ideally, I would want my application to…
CJ7
  • 22,579
  • 65
  • 193
  • 321
22
votes
3 answers

How do I configure the name of a Windows service upon installation (or easily at compile time)?

I've created a Windows service in C#, installed it on a server and it is running fine. Now I want to install the same service again, but running from a different working directory, having a different config file etc. Thus, I would like to have two…
Rune
  • 8,340
  • 3
  • 34
  • 47
22
votes
1 answer

WiX - Install Prerequisites and 3rd party applications

I have a wix Windows Installer for my C# application. Things are working, I am able to install and uninstall the application. But I have few Prerequisites and other 3rd party applications that I want to install with my…
Django Anonymous
  • 2,987
  • 16
  • 58
  • 106
21
votes
5 answers

Use Orca to edit msi from command line?

I'm using Visual Studio 2008 and have created a setup project for my application. The application has a high-resolution icon (for Vista). There's a bug in Visual Studio, and the installer creates a desktop shortcut with a low resolution icon. I…
DanielR
  • 684
  • 2
  • 9
  • 20
21
votes
1 answer

Creating an MSI installer for a Windows Service

I have a Windows Service project in Visual Studio 2008. I've also added the setup and deployment project. Unfortunately, when I install it, the service does not show up in the services MMC snapin. I have already added the ProjectInstaller to the…
Joel Martinez
  • 46,929
  • 26
  • 130
  • 185
21
votes
2 answers

Can't set 64 bit target for Setup Project in Visual Studio 2017

I'm going round in circles trying to build an MSI installer for 64 bit output. I'm using visual studio 2017 with the Installer Projects add-on from the store. I just cant find a way to set the target to 64 bit. I'm getting the error: Building file…
Philip Couling
  • 13,581
  • 5
  • 53
  • 85
21
votes
1 answer

Program Files folder instead of Program Files (x86) installation path in wix

I am making a Windows installer and I am using the following directory structure for the installation path:
Amin Merati
  • 2,221
  • 4
  • 22
  • 38
21
votes
6 answers

"Unrecoverable build error" on any MSI Setup project

Some time ago I got this error when building ANY Visual Studio Deployment project. "Unrecoverable build error" I thought my VS installation was corrupted or I deleted some important files, but ...
Robin Rodricks
  • 110,798
  • 141
  • 398
  • 607
21
votes
5 answers

How do I check if Windows Installer 3.1 or higher is installed?

I need to know this since this is a pre-req for .NET 3.5 and if I'm including the .NET bootstrapper, I should also see if Windows Installer 3.1 is needed. Right now I'm checking for the registry…
Davy8
  • 30,868
  • 25
  • 115
  • 173
21
votes
3 answers

Is there an offline MinGW installer?

I am learning C and I want to install MinGW on my laptop. The MinGW installer is a web-installer, it requires the computer to have access to the internet when installing. But the problem is that my computer's not connected to the internet. So it…
user4183195
21
votes
3 answers

Click Once - All Users

How to I configure click-once to install apps for all users. On another forum I got to 'use MSI' - thanks - but how. Also, the first installing user may not be admin - which may be a problem. And I want all users to trigger an update check. No local…
Tony Trembath-Drake
  • 1,638
  • 3
  • 13
  • 14