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
61
votes
8 answers

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 Installer > Setup Wizard project to. I am wondering how to add a button or check box that would launch the application…
ThaKidd KG5ORD
  • 1,535
  • 3
  • 24
  • 38
61
votes
7 answers

How do I bundle a Python application including dependencies into a Windows Installer package for distribution?

I need to package my Python application, its dependencies, and Python itself into a single MSI installer for distribution to users. The end result should desirably be: Python is installed in the standard location the package and its dependencies…
Florian Bösch
  • 27,420
  • 11
  • 48
  • 53
56
votes
7 answers

Uninstall without an MSI file

I often get a problem with Windows Installer trying to uninstall a package, but it complains that: The feature you are trying to use is on a network resource that is unavailable. Is there a known means of uninstalling such packages when the…
ProfK
  • 49,207
  • 121
  • 399
  • 775
56
votes
8 answers

Run exe after msi installation?

Using Visual Studio 2008 to create an msi to deploy my program with a setup project. I need to know how to make the msi run the exe it just installed. A custom action? If so please explain where/how. Thanks.
54
votes
7 answers

RemoveError: 'setuptools' is a dependency of conda and cannot be removed from conda's operating environment

I have Win 10 When running: conda update conda I encountered this error: RemoveError: 'setuptools' is a dependency of conda and cannot be removed from conda's operating environment. Nothing seems to help I tried to uninstall anaconda and got a…
Toly
  • 2,981
  • 8
  • 25
  • 35
51
votes
2 answers

Create an MSI log file

I have been trying to create a log file for an issue with our installer with the following commands: msiexec /i "installer.msi" /l*v "log.log" msiexec /i "installer.msi" /l*v msiexec /l*v /i "installer.msi" msiexec /l*v "log.log" /i…
codewario
  • 19,553
  • 20
  • 90
  • 159
51
votes
5 answers

Using InstallUtil and silently setting a windows service logon username/password

I need to use InstallUtil to install a C# windows service. I need to set the service logon credentials (username and password). All of this needs to be done silently. Is there are way to do something like this: installutil.exe myservice.exe…
Dean Hill
  • 4,369
  • 6
  • 31
  • 35
50
votes
6 answers

How to prevent "This program might not have installed correctly" messages on Vista

I have a product setup executable that copies some files to the user's hard drive. It's not a typical installer in the normal sense (it doesn't add anything to the Start Menu or Program Files folders). Each time the setup program is run on Vista,…
Jason
  • 28,040
  • 10
  • 64
  • 64
50
votes
2 answers

Why does my WiX installer need an empty CreateFolder to conditionally update an Xml file?

TL;DR: Why do I need an empty element in this conditional component in order to make it work? I'm putting together a simple WiX based installer for an in-house application. This installer needs to deploy a standard configuration file…
Bevan
  • 43,618
  • 10
  • 81
  • 133
49
votes
13 answers

How do you install an MSI with msiexec into a specific directory?

I want to install an MSI file with msiexec into a specific directory. I am using: msiexec /i "msi path" INSTALLDIR="C:\myfolder" /qb Using "INSTALLDIR" is not working properly because the MSI is installed into the default path and not into the…
Cataldo
  • 515
  • 1
  • 4
  • 7
48
votes
14 answers

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: wmic /output:c:\ProgramList.txt product get name,version and I get a listing of many of the installed programs, but after scrubbing this list against what…
romandas
  • 4,086
  • 7
  • 29
  • 33
46
votes
13 answers

What are good InstallAnywhere replacements for installing a Java EE application?

Which (commercial or free) installer tool would you recommend to replace InstallAnywhere as the installer for a Java EE application? What do you specifically like about it, and what are its downsides? Some requirements: Must support running custom…
Jonik
  • 80,077
  • 70
  • 264
  • 372
45
votes
1 answer

Image size for BannerBitmap property in Windows Installer

I'm working on a quick setup program in Visual Studio and wanted to change the banner bitmap. Anyone know off-hand what the ideal (or the required) dimensions are for the new banner image? Thanks.
Scott Marlowe
  • 7,915
  • 10
  • 45
  • 51
45
votes
6 answers

Target Version of the .NET Framework does not match Launch Condition

I have a c# project that I am building in VS 2010. It references a C++ project through COM, which is also a part of the solution. Last Friday, I made a successful build, changed a single line of code, made another build, and I started getting an…
Tim
  • 2,731
  • 9
  • 35
  • 72
44
votes
11 answers

How to find the UpgradeCode and ProductCode of an installed application in Windows 7

I have an application installed on my machine. I also have its source code but somehow the ProductCode and UpgradeCode of this application were changed. Now I want to get the UpgradeCode and ProductCode of this installed application. I feel there…
codeLover
  • 3,720
  • 10
  • 65
  • 121