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
249
votes
12 answers

How to implement WiX installer upgrade?

At work we use WiX for building installation packages. We want that installation of product X would result in uninstall of the previous version of that product on that machine. I've read on several places on the Internet about a major upgrade but…
Dror Helper
  • 30,292
  • 15
  • 80
  • 129
236
votes
4 answers

What are the specific differences between .msi and setup.exe file?

I searched a lot, but all are guessed answers. Help me to find the exact answer.
Babu
  • 2,539
  • 3
  • 20
  • 13
184
votes
7 answers

How to add a WiX custom action that happens only on uninstall (via MSI)?

I would like to modify an MSI installer (created through WiX) to delete an entire directory on uninstall. I understand the RemoveFile and RemoveFolder options in WiX, but these are not robust enough to recursively delete an entire folder that has…
Zack
180
votes
4 answers

Wix: single MSI instead of msi + cab

My Wix project creates install.msi and cab1.cab. How can I have it bundle everything into the msi? I will likely use 7-zip SFX to work around this but I have seen other apps with only a single msi.
wtjones
  • 4,090
  • 4
  • 34
  • 41
172
votes
5 answers

How to create an installer for a .net Windows Service using Visual Studio

How do I create an installer for a Windows Service that I have created using Visual Studio?
Kelsey
  • 47,246
  • 16
  • 124
  • 162
146
votes
15 answers

How can I uninstall an application using PowerShell?

Is there a simple way to hook into the standard 'Add or Remove Programs' functionality using PowerShell to uninstall an existing application? Or to check if the application is installed?
Rob Paterson
  • 2,493
  • 3
  • 21
  • 21
143
votes
1 answer

What is the WiX 'KeyPath' attribute?

What is the WiX 'KeyPath' attribute? In particular, how does it apply to the following:
Seth
  • 8,213
  • 14
  • 71
  • 103
130
votes
8 answers

Create MSI or setup project with Visual Studio 2012

I create a small application and I would like to create one MSI file. In Visual Studio 2010 you have this project type under: Other Project Types -> Setup and Deployment -> Visual studio Installer -> Setup Project But the only thing you got in…
129
votes
4 answers

How to avoid the "Windows Defender SmartScreen prevented an unrecognized app from starting warning"

My company distributes an installer to customers via our website. Recently when I download via the website and try to run the installer I get the warning message: Windows protected your PC Windows Defender SmartScreen prevented an unrecognized app…
Andy
  • 3,251
  • 4
  • 32
  • 53
116
votes
19 answers

An error occurred while validating. HRESULT = '8000000A'

I have been receiving this error for a while when using devenv on an automatic build. I have gone through every website I can find, and the usual answers mention refreshing dependencies (Which I believe fixes it for manual deployment, but not for…
Chris C.
  • 1,217
  • 2
  • 10
  • 6
112
votes
2 answers

Silent installation of a MSI package

I have a MSI package that I need to install if the package is not already installed. Also I need to install it silently. The package prompts user for: Installation location (C:\Program Files\Foobar) Install type: minimal and full (minimal) I need…
Salman A
  • 262,204
  • 82
  • 430
  • 521
104
votes
10 answers

Installing multiple instances of the same windows service on a server

So we've produced a windows service to feed data to our client application and everything is going great. The client has come up with a fun configuration request that requires two instances of this service running on the same server and configured…
Switters
  • 1,553
  • 2
  • 12
  • 13
96
votes
5 answers

How can I find the product GUID of an installed MSI setup?

I need to find the product GUID for an installed MSI file in order to perform maintenance such as patching, uninstall (how-to uninstall) and also for auditing purposes.
Stein Åsmul
  • 39,960
  • 25
  • 91
  • 164
91
votes
6 answers

Removing files when uninstalling WiX

When uninstalling my application, I'd like to configure the Wix setup to remove all the files that were added after the original installation. It seems like the uninstaller removes only the directories and files that were originally installed from…
pribeiro
  • 1,211
  • 2
  • 12
  • 13
90
votes
7 answers

Create an application setup in visual studio 2013

I already have a project which is ready to build. Currently, I am using visual studio 2013. But, I don't know how to create an MSI setup in visual studio 2013, but for visual studio 2010 there are plenty of tutorials out there discussing how to…
Kaoru
  • 2,853
  • 14
  • 34
  • 68
1
2 3
99 100