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
19
votes
2 answers

How can I make the installer Run as admin

My application has an installer built in installshield. But for proper working of installation process in vista Win 7 etc. the installer should be run as administrator. (Even though the user has admin previlege he should select the 'Run as…
JijeshKV
  • 670
  • 2
  • 7
  • 26
19
votes
2 answers

msi version numbers

I'm really confused about msi version numbers. Here the Version number as used for the ProductVersion in the Property table and in the Update table is restricted to having major and minor parts of 256 or less. Here the Version number as used in…
Mike D
  • 2,753
  • 8
  • 44
  • 77
19
votes
2 answers

How to add an MSI file to my installer

I have WiX 3.6 (Oct 2011) installer for my application. My application requires another service to be installed in the system. I added an MSI file to my installer this way:
ZedZip
  • 5,794
  • 15
  • 66
  • 119
19
votes
1 answer

WiX install error 2762 while invoking a CustomAction from dialog

I am a beginner, started learning WiX. I want to capture and validate and register user details during the installation process. I have created a dialog to capture user registration and invoking a custom action once user clicks on 'Next'. But here I…
user961330
  • 193
  • 1
  • 1
  • 4
19
votes
4 answers

How to add .Net framework prerequisite to setup install

I have a C# WinForms project in MS Visual Studio 2017. I have added a Visual Studio Installer Setup Wizard Project to create an installer for my application. This is my first time using an installer project. The installer correctly has a…
Toby
  • 9,696
  • 16
  • 68
  • 132
19
votes
4 answers

WiX: Prevent 32-bit installer from running on 64-bit Windows

Due to user confusion, our app requires separate installers for 32-bit and 64-bit versions of Windows. While the 32-bit installer runs fine on win64, it has the potential to create support headaches and we would like to prevent this from…
Tom Corelis
  • 4,990
  • 11
  • 35
  • 48
19
votes
8 answers

How to read the assemblyversion from assemblyInfo.cs?

Hii, there are many others had already post so many question about this..But here the scenario is different. I need to extract the first three digits ie. $(major).$(Minor).$(Build) from version number. how can i do this??..i tried AssemblyInfo…
Divya mohan Singh
  • 485
  • 2
  • 7
  • 18
19
votes
2 answers

How can I perform a custom action in WiX that only executes on install or uninstall?

I have two custom actions, one of which I'd like to execute when my product is installed and the other when it is uninstalled. My custom action is currently called from a merge module after the "InstallFinalize", but this happens for both install…
19
votes
2 answers

Set AssemblyInfo Version numbers with MSI setup version

I am using a setup project to publish my projects. I want the version of each project to be the same as the setup version. I want to change my setup version property in Visual Studio and after building, for all project versions to be updated from…
santBart
  • 2,466
  • 9
  • 43
  • 66
19
votes
4 answers

Set InstallPath registry key using Visual Studio Setup project

I am deploying my application using an msi installer designed with a Visual Studio Setup Project. How do I set a registry key to the application's install path?
kjv
  • 11,047
  • 34
  • 101
  • 140
19
votes
2 answers

How to use conditions in features in WiX?

I am trying to make simple Windows intaller, and I don't know how to deal with this. I have two features - feature1 and feature2. I want feature2 to be installed only if the user selected feature1 to be installed. So I tried:
Tamara
19
votes
7 answers

How to debug custom bootstrap application?

I am using Burn for MSIs package. I am using Votive (Visual Studio) & my own custom BA instead of WiXBA. I tried to debug custom BA using Debugger.Launch(). But when I start debugging, error messages occur. No symbols are loaded for any call stack…
user1356862
  • 201
  • 2
  • 5
18
votes
2 answers

WiX project allowing side-by-side installation

I am in the process of creating an MSI for our product. I would like the product to be able to install side-by-side. So that I can install 1.0.0 first and later can add 1.0.1 so that the two versions are both installed. I am using WiX to create the…
Gluip
  • 2,917
  • 4
  • 37
  • 46
18
votes
2 answers

MSI, UAC and Unidentified Publisher. How do I change the Unidentified Publisher?

I am currently working on a MSI package for one of my application. It works well; however, before the installation starts, I get the expected UAC window asking me if I trust or not this program from the Unidentified Publisher. I am not concerned by…
Martin
  • 39,309
  • 62
  • 192
  • 278
18
votes
6 answers

How to create windows installer

Basically we are releasing our changes/fixes in the form of manual installer (Windows powershell script). It will install specified .dll and SQL script files at particular locations by reading config file values (We will configure .dll & Sql script…
Ramesh
  • 199
  • 1
  • 1
  • 6