msi

Adding Custom prerequsites to visual studio setup project

I have a setup project that I need to install a redistributable that is not available in the default prerequisite list. Is it possible to add this redistributable to the bootstrapper that the setup project creates? ...

Web setup MSI fails on Windows Server 2008

I have built a web setup project in VS2008 which installs my ASP.NET/Silverlight app into IIS. This works fine everywhere except on Windows Server 2008. I get this error message in the MSI installer log file: MSI (c) (C8:D8) [15:02:21:067]: Invoking remote custom action. DLL: C:\Users\ADMINI~1\AppData\Local\Temp\1\MSIB7DD.tmp, Entrypoi...

WiX VC++ Redist SourceFile [CommonFilesFolder]

I'm trying to add the Microsoft_VC90_CRT_x86 merge module to my WiX installer but am having an issue specifying SourceFile. Rather than copying the .msm file within the scope of my build in my make script I would like to access the .msm where it lives on the build system (C:\Program Files\Common Files\Merge Modules). Despite [CommonFiles...

MSI Installer, 64 bit OS, write to \windows\system32\inetsrv folder

On Windows Server 2008 64-bit, I need an .msi installer file to write some files to \windows\system32\inetsrv folder. (The files are some XML Schema validation files, that C# XmlReaderSettings.Schema.Add() expects to be in that folder). When the installer runs, the files end up in \windows\SysWOW64\inetsrv folder, not where they need to...

Should a Windows Installer MSI include the .NET framework?

I'm creating an installer for my Windows client application. Currently I create an MSI (Windows Installer) file that contains the .NET 3.5 SP1 redistributable. My application is less than 10MB, but including the .NET framework will make the installer more than 100MB. That's a lot of extra bits to download. The .NET Framework keeps inc...

How can I write an installer for terminal server

I am writing an installer( msi file) which needs to be run on a terminal server It must be multi use in other words all logged in users should be able to run that program when the installer is run it writes a set of registry entries to HKLM it also drops an activate.exe in the prog files directory Each user needs to run activate.exe so...

MSIEXEC Silent Mode Installation

How to install to a non default web site with a silent MSIEXEC installation? Thank You ...

Suppress the reboot prompt for the .NET 3.5 SP1 redist

I have an InstallShield 2009 Basic MSI project that I've modified to load the 3.5 SP1 redistributable for the .NET framework. It loads fine but as soon as it finishes it displays a prompt saying the system has to reboot, and you can either say yes and it will reboot, or no and it will stop the install. I then went in and edited the .NET...

Custom Action defined as script - can I make this a "Binary Table Stream"?

I have sevevral custom actions as part of an MSI project, defined in vS2008. The actions are defined as short Javascripts. There are two that run on install, and one that runs on uninstall. Everything works fine. These scripts gets installed as regular files in the Application Folder. The scripts that run during installation, dele...

Add a file to an MSI

How can I add a file to a precompiled msi and configure it such that when I run the msi the file is put into the program's application directory? I can add a file as a stream to the msi using msidb.exe /a but when I run the installer the file doesn't show up anywhere. ...

.NET simple app update mechanism

Environment: .NET c# VS2005 and some 3rd party components .vdproj files (setup projects inside VS 2005) for .msi building - not "one click deployment" Problem I am in a project phase where there are several updates to the project during a day. Since every change is small (two assemblies at most), it would be convenient for the u...

How to install msi on remote machine in msbuild without using psexec?

I have searched all the custom tasks in Extension Pack and Community Tasks and finally found a task called Msi.Istall in SDC Tasks. But the documentation is bad and causes problems. I get errors regarding the properties passed to the installer. Below is my Install target : `<Target Name="Install"> <!-- Copy the MSI package into ...

MSP and Custom Actions

Suppose that MSI has custom action as part of the installation and custom action for the uninstall. What should happen if I build MSP for that MSI - if I instal the MSP, will it re-run the custom action? What happen if the custom action itself is changed? ...

Installing a certificate in a .MSI Custom Action doesn't work properly.

I'm trying to install a certificate in the Local Machine Store in a custom action. The certificate is installed, but when I use it to query AWS, I get this error: Object contains only the public half of a key pair. A private key must also be provided. The installer is running elevated, the target is Windows Vista. If I use a s...

How to install msi on remote machine from msbuild using Psexec?

I have searched all the custom tasks in Extension Pack and Community Tasks and finally found a task called Msi.Istall in SDC Tasks. But the documentation is bad and causes problems. I get errors regarding the properties passed to the installer. So I wrote a custom task that calls PsExec.exe from Msbuild but it hangs... Below is my Inst...

Web Installer for an ASP.NET application failing on machines running IIS7

I have a relatively simple ASP.NET application that I am trying to create an installer for. I am currently using Visual Studio 2008's "Web Setup Project" which, though I'm told is not ideal, has proved no problems when installing on Windows Server 2003 & IIS6. IIS7 on Server 2008 and Vista has proved substantially more difficult. The in...

System environment variable created during install not available to current user until reboot

I have a msi package generated by wix that creates a system environment variable by populating the Environment table. <Environment Id="CreateEnvVar" Name="DATADIR" Action="set" System="yes" Part="all" Value="[DATA_DIR]" /> The install successfully creates the environment variable at the system level. This was verified by view...

Custom Installer class , rollback method never called.

Hi guys. I am having an installer class , Here is a snippet: [RunInstaller(true)] public partial class ServerWrapInstaller : Installer { public override void Install(IDictionary stateSaver) { EventLog.WriteEntry("Installer", "Install", EventLogEntryType.Information); base.Install(stateSaver); } public o...

How can I upgrade Windows Installer from inside an MSI (using WiX)? Is it possible?

I've currently got an .exe that bootstraps a bunch of prerequisites (NET3.5, hotfixes, ...), including upgrades to Windows Installer (I need 3.1), and then finally runs my msi. I'd like switch this to have an .msi that does everything, and calls an embedded binary for each prereq. Hopefully this'll be less error-prone plus I can integr...

How to prevent msi error 2335 when modifying installed product?

I'm creating a msi based installer (using InstallShield) that has a custom action to start a nested install. The custom action is of type 23, the Source field refers to the second msi that is located on the source media, and the Target field contains "ALLUSERS=[ALLUSERS] ADDLOCAL=ALL". The custom action is started in InstallExecuteSequen...