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
3
votes
1 answer

Is it possible to install the same application either per user or per machine?

Non-admin user should have ability to install an application. That's why I set InstallScope in the installation to "perUser" by default. But sometimes Admin should have ability to install this application per machine and all user should have access…
Volodymyr Bezuglyy
  • 16,295
  • 33
  • 103
  • 133
3
votes
1 answer

What goes on under the hood when the user chooses "Repair" on their .NET installation?

In particular, we've created an .msi installer that installs assemblies to the GAC, and has a built-in DoRegisterTypeLib operation on msxml3.dll. However (and somehow), the bad msxml3.dll version (8.70.1104.0, which Microsoft knows about) still…
branrigg
  • 31
  • 2
3
votes
0 answers

WIX MSI: copying long file names or files which has long file path

I created MSI using WIX. It contains few files which has long path (more than 248 characters) and file name (more than 260 characters, including file path + file name). while installing this MSI package into my computer it is throwing error "Error…
mgr
  • 641
  • 1
  • 8
  • 23
3
votes
2 answers

Based on CheckBox value show the WIX Dialog

I have instakllation i have to show the Dialog based on the checkbox value. I have set the checkbox property as true initially. And show the dialog based on the check box values. If it is true i have…
Velu
  • 887
  • 4
  • 14
  • 30
3
votes
4 answers

Update MSI properties programmatically

I need a solution for something that should hopefully be fairly simple - updating an MSI property. We have a number of WiX projects which are source controlled in TFS 2012 and we generate their related MSIs for deployment through TeamCity build…
hitman126
  • 699
  • 1
  • 12
  • 43
3
votes
1 answer

Enable MSI Logging with WIX by default

I am currently writing an installer for my software, and would really like to log the install. I am using Wix. However, the only ways i have seen to log the install are to change the reg (as a global setting) and add it as a command from the command…
Chris Watts
  • 822
  • 1
  • 9
  • 27
3
votes
2 answers

Create a new user and install windows service using that user

I am working on a new Wix installer. What I am trying to do is copy the .exe to a directory. Create a new user. Install the windows service using that new user.
Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449
3
votes
1 answer

Changing a property inside a WIX Bundle

My build system creates a MSI using Wix, it then uses WIX to bundle that into another EXE that acts as a bootstrapper. The bootstrapper makes sure all the dependencies are installed (.NET and so forth). I would like to change some properties inside…
Robert Wagner
  • 17,515
  • 9
  • 56
  • 72
3
votes
1 answer

UAC Patching and Digital Signatures

We have an application that performs auto-updates. Until recently, we haven't run into any issues. However, a lot of our customers are finally upgrading to Windows 7 and running into all sorts of issues. I've been tasked with updating the installer…
taylonr
  • 10,732
  • 5
  • 37
  • 66
3
votes
1 answer

how to enable logging for ManagementClass Install method

I'm using the below code to install the MSI in remote machine. Installation is succeeded, but i want to generate log file for installation steps. please help me on enabling logging. ManagementClass productClass = new…
Phani
  • 51
  • 2
3
votes
2 answers

WindowsIdentity.GetCurrent() returns SYSTEM when ran from custom action

I have an install project (running on Windows 7) that launches a custom action at commit which starts the application that was just installed. During the startup of this application I have a method that checks the current user's name to perform…
3
votes
1 answer

WiX and ARPINSTALLLOCATION

I want my MSI package to write the value InstallLocation into HKEY_LOCAL_MACHINE\SOFTWARE\\(Wow6432Node)\Microsoft\Windows\CurrentVersion\Uninstall\\(GUID). You should also see this value in the Add/Remove Programs Control Panel (column…
Johannes
  • 363
  • 3
  • 15
3
votes
2 answers

Create an msi package which installs both 32-bit and 64-bit resources on a machine

I need to create an MSI package which installs both 32-bit and 64-bit .dll files of a firebreath based plugin on a machine. What I want to achieve is have both resources installed and use the one suitable depending on the Browser (32-bit or…
KoKa
  • 797
  • 1
  • 14
  • 31
3
votes
1 answer

Understanding Before and After Attribute of Custom Element of Wix

I am having difficulty in understanding the concept of Custom Element of Wix. I read this and it says it is Used to sequence a custom action. Now if you consider the follwing piece of Wix code:
Mahadeva
  • 1,584
  • 4
  • 23
  • 56
3
votes
3 answers

Add files in program data using wix

I am developing an Outlook addin using addin express. I am using a .wxs file in my program's setup project. It helps me to install my program in roaming folder. I want to add Redemption.dll to the path C:\programData\Flow. So I modified the code as…
user4295135
1 2 3
99
100