msi

How To Deploy From An Asp.Net Website

Is it possible to run an msi installation file remotely from an Asp.Net web server? I'd like to have a button labeled "download" where a visitor who browses to the web page and clicks the button can run an msi file to install a seperate windows application (in this case, a wpf application) onto their computer. In the event that the ins...

Custom header in iis 6.0

How to add custom header by the msi. I wanna add custom header in IIS6.0 at the time of deployment. How to add custom header automatically? Thanx in advance ...

How do I set the selected item in an MSI combo box that has been filled from a custom action?

I'm creating an web site MSI using WiX. I have a custom action (written in C#) that fills a combo box with the descriptions of the web sites in IIS so the user can select an existing web site to install to. Works fine - apart from the fact that there's no item selected when the dialog page is first shown. I'd like the first site in the ...

How do I set an MSI installation folder dynamically.

I'm creating a web application installer using WiX. I want to allow the user to select the web site from a list of sites on the IIS server, and then install the app in a sub-directory of that web site's root folder. I've finished the "select web site" portion. I have a custom action that sets a bunch of properties based on the selected ...

Best way to install .NET Service in MSI so that it is updatable?

I have a MSI install built with InstallShield 2009 which installs a .NET service by setting the ".NET Installer Class" to Yes on the component which contains the service exe. This base install which contains files and the exe installs OK. I created a small update MSP which is updating the service exe file in the original install. When I ...

Single MSI to install correct 32 or 64 bit c# application

I have a C# application which is built for both x86 (32 bit) and x64 (64 bit) platforms. My build system currently outputs two MSI installers, one for each platform. In case it makes a difference, my C# application includes a windows taskbar toolbar which means that the installed DLL must be loaded by the explorer.exe process. Is it pos...

Using OnInstalling feature event in Installshield installscript

I am new to Installshield and having some problems. My Questions are : How Can I use OnIstalling Event of a specific feature to reset the progress bar for the installation of this feature (In this feature SQL scripts will be install)? and How reset the progress bar for the installation of a feature ( I need to run SQL Scripts and i w...

Read EXE, MSI, and ZIP file metadata in Python in Linux

I am writing a Python script to index a large set of Windows installers into a DB. I would like top know how to read the metadata information (Company, Product Name, Version, etc) from EXE, MSI and ZIP files using Python running on Linux. Software I am using Python 2.6.5 on Ubuntu 10.04 64-bit with Django 1.2.1. Found so far: Window...

msi.h for mingw

I have a C++/Qt/mingw app and would like to use msi.h (Microsoft Installer interface), but mingw does not seem to provide this header. How can I do this? ...

WiX: MSI Deinstallation via system panel looks for installation source.

I wrote an installer using WiX. When I try to deinstall from the windows system panel the installer framework occasionally wants to access the original installer source (msi-file). However, in this case the product was installed from a network drive that is no longer available (see screenshot - sorry in German). I always thought windo...

Jboss returns no content-type for MSI

I have placed a .MSI-file in the folder C:\JBoss\server\default\deploy\install.war on my web server which is running Jboss. The idea is that web page visitors should be able to download the file by visiting http://example.com/install/file.msi. Now, if a user goes to to this URL with his web browser, instead of getting a "Do you want to ...

Deploy Web Setup Project without downtime

When it's time to deploy, we build our Web Setup Project which creates a new .msi that we install on our server. Currently this involves: uninstalling the existing installation installing the new msi copying in a server specific web.config This presents us with the following problems: site goes down between uninstall and reinstall...

File is being removed even if condition is not met

Hi! I develop a merge module which then will be send to customers to be incorporated in their installers. I also make my own installer. In my merge module I have a component to remove log files not copied by installer. I want to remove the log files only when uninstalling the product, not when is being upgraded. That's why I've placed...

how to copy a file and then conditionally remove it

Hi! (I'm newbe in Installer world so I'm still not sure what is right what is wrong. Anyway.) I make a installer for service which uses desktop database. The database file should somehow be copied during first installation, be intact during upgrades and finally removed during uninstall. As far I know, I can't add the database file as ...

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...

Install VC++ Runtime 64-bit if system is 64-bit

I am creating a Visual Studio 2010 Setup project for installing my application. My application works by having multiple executable for different system bitness, and detects if you are running on a 32-bit or 64-bit system. I'd like to have the Visual C++ 2010 x64 Runtime installed by the installer if it is a 64-bit system. Setting this a...

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...

GetDirectories call in msi CustomAction throws security exception ONLY when All Users

I have a custom action that I'm using to deploy some files that sit next to the msi in the handoff package. My custom action is passed the msi path via the OriginalDatabase parameter and I'm checking to see if there is a folder next to it. Nothing too crazy but was a pain in the butt to figure out. Installing single or multiple users fr...

Operating System Version Prerequisite

I have an application that requires at least Windows XP SP3. How can I go about checking for it either in the application itself, or in the MSI, and automating the installation? ...

MSP doesn't install all updated files

If i have two MSI packages: package A) 2.0.1234 (initial_product.msi) packacge B) 2.0.2300 (updated_product.msi) I can create a patch in installshield that generates an MSP from the two to upgrade 2.0.1234 to 2.0.2300. What's strange is, the new files from updated_product.msi aren't getting installed. Files that are being updated get ...