tagged [windows-installer]

How to change event log properties from WiX script?

How to change event log properties from WiX script? Our WiX script currently creates an event log source using the method described [here](https://stackoverflow.com/questions/58538/how-do-you-create-a...

VS2008 Setup Project: Uninstalling the previous MSI

VS2008 Setup Project: Uninstalling the previous MSI I have a VS2008 setup project, which creates a setup.msi which installs a WinForms application (C#). Every time I update the version number, the use...

Create MSI or setup project with Visual Studio 2012

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](http://en.wikipedia.org/wiki/Microsoft_Visual_Studio#V...

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

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 w...

How can I create a windows installer MSI that does not require admin access

How can I create a windows installer MSI that does not require admin access I've created an MSI windows installer that installs a plug-in which I wrote for a piece of software used at my office. Howev...

Visual Studio Installer > How To Launch App at End of Installer

Visual Studio Installer > How To Launch App at End of Installer This is probably a stupid question and my Googling just is not functioning today. I have an application I added a Visual Studio Installe...

WIX custom action debugging doesn't work

WIX custom action debugging doesn't work I have tried to debug my custom action. I put Debugger.Break() into custom action cs. When I build custom action it creates this files: In wix project I refere...

14 Mar at 08:44

Visual Studio Setup Project Custom Dialog

Visual Studio Setup Project Custom Dialog I have created a custom dialog for Visual Studio Setup Project using the steps described [here](http://www.codeproject.com/KB/install/vsSetupCustomDialogs.asp...

Is there any definitive documentation on writing software installers?

Is there any definitive documentation on writing software installers? I've read a bunch of documentation on installers and haven't come across anything good that explains the underlying concepts. Most...

C# - windows service installer not registering service

C# - windows service installer not registering service I'm trying to use an installer for a Windows service, and would like to avoid using InstallUtil.exe. The installer appears to work correctly (the...

Tools to create installers or setup programs in Visual Studio 2015

Tools to create installers or setup programs in Visual Studio 2015 After I built a good WPF application in C# and willing to work with that technology, I knew that my software development tools with V...

How to include pdb files in MSI installer to deploy along side the rest of the app?

How to include pdb files in MSI installer to deploy along side the rest of the app? How to include pdb files in MSI installer to deploy along side the rest of the app? I want to keep the line numbers ...

WMI "installed" query different from add/remove programs list?

WMI "installed" query different from add/remove programs list? Trying to use WMI to obtain a list of installed programs for Windows XP. Using wmic, I tried: and I get a listing of many of the installe...

29 Jul at 19:38

Single MSI to install correct 32 or 64 bit c# application

Single MSI to install correct 32 or 64 bit c# application I have a C# application which is built for both x86 (32 bit) and x64 (64 bit) platforms. My build system currently outputs two MSI installers,...

How to read MSI properties in c#

How to read MSI properties in c# I want to read properties of MSI in C# in desktop application.I am using following code: ``` public static string GetMSIProperty( string msiFile, string msiProperty) {...

23 Nov at 16:14

Running msiexec from a service (Local System account)

Running msiexec from a service (Local System account) We are working on an update system for our software. The updater should run in the background as a service, and when an update is available, downl...

Mark MSI so it has to be run as elevated Administrator account

Mark MSI so it has to be run as elevated Administrator account I have a CustomAction as part of an MSI. It MUST run as a domain account that is also a member of the local Administrators account. It ca...

How to associate application with existing file types using WiX installer?

How to associate application with existing file types using WiX installer? Related to this: [How to register file types/extensions with a WiX installer?](https://stackoverflow.com/questions/138550/how...

What are the differences between MSI and EXE installers, and which should I choose?

What are the differences between MSI and EXE installers, and which should I choose? > [What are the specific differences between .msi and setup.exe file?](https://stackoverflow.com/questions/1789530/...

How do I read 64-bit Registry values from VBScript running as a an msi post-installation task?

How do I read 64-bit Registry values from VBScript running as a an msi post-installation task? I need to read the location of the Temporary ASP.NET Files folder from VBScript as part of a post-install...

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

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 ins...

Detect and require a Windows QFE/patch for during installation

Detect and require a Windows QFE/patch for during installation Our WiX installer deploys a .NET 4.0 WinForms application to Windows Vista and 7 desktops. The application includes a [Portable Class Lib...

23 May at 11:54

Custom Action - Error 1001: Could not find file myApp.InstallState

Custom Action - Error 1001: Could not find file myApp.InstallState I have tried to create a custom action for a Visual Studio Installer project to modify the permissions for a config file. The Install...

9 Nov at 10:16

Batch script to install MSI

Batch script to install MSI I am trying to write a for the first time. I am trying to install .msi using script, currently we are installing manually by double clicking on it. : `d:/installed sw/$fold...

How to give Read/Write permissions to a Folder during installation using .NET

How to give Read/Write permissions to a Folder during installation using .NET I have a Setup project that I have build using Visual Studio 2010. The installer works fine in terms of installing the app...