windows-installer

Installer App Asp.net 4.0 Cassini SQL Express

Hi, We have built an ASP.NET application in 4.0 (we can change it to 3.5 if necessary) with a SQL Server database. I am looking to create an installation package (exe or msi) so that I can provide this file to my clients and they can install it on all of their laptops. This asp.net application will be running on laptops that don't hav...

multiple installation in one setup project

Hi: I have many solutions, each solution containing at least one project (lets supose they are only windows application projects). Then, I produced one installer (msi) solution for each windows solution. So, I have myWindowsSolution1 & myInstallerForMyWindowsSolution1 (file1.msi), myWindowsSolution2 & myInstallerForMyWindowsSolution2 (fi...

Visual Studio Office Runtime in Setup Installer Project Pre-requisite. Need help.

Hi, I am creating the installer for a application which references Microsoft Office 12.0 Object Library and Microsoft.Office.Interop.Excel I added a Pre-requisite in the installer to install Visual studio office runtime if didnt exists. But even after installation, the application throws error where it uses excel libraries.The error mes...

My deployed File (.msi) can not be Installed on another machine

I deployed a small application, i got the files you see in the image. I took the first file (.msi) and sent to a remote machine to let the end user installs it. However, the user gets an error that says file is missing or so (i can't remember the error message). Should i send the second file "setup" along with the first one? What the ...

Need advice on installing an application silently with patches

What I want to do is install program X with patches silently. Program X has an installer that is an MSI package. Program X has quite a few MSP file patches (8+)that have been released that I also want to install silently. There are two ways that I've seen to approach this: Method 1: Slip Streaming into "Network" installation msiexec.ex...

How do I allow the user to select an existing IIS website to install to using WiX?

Does anyone know of a complete, downloadable/copyable example of a WiX installer that allows the user to select an existing website when installing a web application? I'm trying to get this working and, after seeing that it seems to be a significant piece of work, I'd like to get an example running first so that I have a working project...

How do I make my installer hide the Cancel button from the ARP?

I need to be able to hide or disable the Cancel button in my installer when the user clicks on Remove in the ARP. Is there any way to go about doing that, and if so, how? (Adding the /qb! command line option into the UninstallString registry value doesn't work. I tried. No IDE-specific answers, please, unless they pertain to Wise Windows...

Specifying c:\ProgramData folder in Setup project?

I am using a Windows Installer deployment project in VS 2010 to create an installer for a small demo project. The demo needs to install a SQL Compact database file (MyData.sdf). The demo can't install the database to the application folder on the user's machine--I get an "access denied" error if I do that. So, the logical place to instal...

How do I get the user's temp folder path in an installer custom action?

In our installer, the bootstrap app sometimes needs to do stuff that involves leaving files in the temp folder for custom actions in the MSI to pick up. The problem is, when a person remote logs into the OS using Remote Desktop Connection, the bootstrap app and the MSI see the temp folder in different locations. For instance, on Windows ...

Bootstrappers that download packages over the web from Microsoft

What are the best practices for creating internet download bootstrappers that reference Microsoft packages? For example InstallShield has a Setup Prerequisite that can download vstor40_x86.exe from Microsoft.com through a go.microsoft.com/fwlink link ID that resolves to the download url for that EXE. InstallShield didn't create a PRQ...

How to add multiString registry value using WiX?

Now I use something like this: <Component Id="RegistryEntries" Guid="<guid>" KeyPath="yes"> <RegistryKey Root="HKCU" Key="<path>" Action="createAndRemoveOnUninstall"> <RegistryValue Name="myStrings" Action="append" Type="multiString">1</RegistryValue> <RegistryValue Name="myStrings" Action="append" Type="multiString">2</...

How to change the window service startup type in Wix installer

Hello all, We need to modify the Startup type of our windows service from "Automatic" to "Automatic Delayed Start". Anyone has the idea that how to do this? My code is like this: <ServiceInstall Id="WinServiceInstall" Name="ServiceManager" DisplayName="ServiceManager" Type="ownProcess...

Why does my installer always prompt for reboot

I only want to reboot when uninstalling. This is a fragment from my WiX file: <InstallExecuteSequence> ... <Custom Action="CleanRegistry" Sequence="7100">REMOVE~="ALL" AND NOT UPGRADINGPRODUCTCODE</Custom> <ScheduleReboot Sequence="7200">REMOVE~="ALL" AND NOT UPGRADINGPRODUCTCODE</ScheduleReboot> </InstallExecuteSequence> Runnin...

Error Message With Installer of C# Windows Service

Here is the error message: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869. The arguments are: ErrorDialog, I found another link related to the problem. The link here Will cleaning the registry work. I tried the tool mentioned there but it...

how to copy files to C:\temp in VS 2008 setup project?

I am learning use VS 2008 setup project to create MSI installer for our C# application. The target system is Windows 7 embedded. Did some research online and couldn't find answers. Because the application will be installed on Win7 machine. We need to put some files in C:\temp folder for read and write. how can I copy those files into C:...

Non advertised filetypes

Hello, When I create an msi using VS2010, the shortcut and filetypes are all getting created as advertised. I am able to disable advertise property for shortcuts by setting DISABLEADVTSHORTCUTS. However, the filetype is still advertised. How can i disable advertise for file types? Thanks, SAN ...

Help with ensuring a bootstrapper is used but having upgrades work

We have an MSI we have authored in WiX 3.5.2030.0 and targeting Windows Installer 4.0 (for MSIUSEREALADMINDETECTION support). We have a property that we have defined in the MSI to enforce use of a bootstrapper (I say "enforce" but it's really "very strongly encourage" of course): <Property Id="SETUPEXE" Secure="yes" /> <Condi...

Install solution for repackaging thrid party software

We have a suite of software solutions developed by a third party which are branded under our company. Using their tools we create our own XML scripts, which are used by their software, to do various things which make up the application the end user interacts with. The software consists of several directories and several hundred files (e...

What's the principle of installers in windows?

IMO a PE executable can't run on all platforms. I'm guessing that the installer packs executables for various CPU architectures, and chooses the right one after some detecting work. But is this how major companies like MS releases their products? ...

WiX: Mysterious and hard-to-diagnose ICE validation errors on build server build

I'm trying to integrate WiX into my automated build solution using Tfs2010 running on Server 2008 R2. Everything seemed very easy, and then I get this: light.exe: Error executing ICE action 'ICE01'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wix.sourceforge.net/faq.html#Er...