msi

Anyone got a copy of MSIINV.EXE?

Does anyone have a copy of MSIINV.EXE (The MSI Inventory tool)? The site where it used to be available is down(http://www.huydao.net/). I'm trying to uninstall some components in order to force the Visual Studio Setup to reinstall them. I apologize as this is not strictly a programming question but I figured anyone that has installed som...

What is the meaning of CHECKDB=FALSE in MSI?

When running an MSI through the command line what does passing the arguement "CHECKDB=FALSE" really do? The MSI of course can be anything from Microsoft, to Compuware DevPartner, to a programmer compiled MSI from .NET. ...

Why MSI CustomAction that sets a reg key needs to be deffered on Vista with UAC?

We have a CustomAction that sets some registry key HKEY LOCAL_MACHINE. This wasn't working on Vista with UAC, until we made the action "deferred". The installer worked in other cases. Anyone knows why? We are using WIX to create the installer. ...

How to stop a running process during an MSI based un-install?

Hey all, I'm using Wise Package Studio 7.0 SP2 on Windows XP. I've got an MSI Wrapped EXE installation that goes about happily installing some files and then running one of the files from the installation which we can refer to as app.exe. So on the "Execute Deferred" tab of the MSI Editor, I had to add the lines: If Not Installed the...

Make UAC optional in Windows Installer on Vista

I'm have written an msi file that offers a choice of "per-user" or "for all" installation in the UI phase, and now find that the installer fails on Vista: if I just reuse the installer that works for XP, Vista will trigger a UAC prompt even for the "per-user" installation, making that installation pointless if I turn off UAC in bit 3 o...

MSI Bootstrapping: External URLs

Much searching has lead me to find several descriptions of how to create a bootstrapping msi, but these solutions all assume the msi is local or a standard Windows component. Is there a way to make an msi that downloads an installer (which is also an msi) with normal MSI or Wix code rather than by having the bootstrapper execute some no...

How to get the installation directory?

The MSI stores the installation directory for the future uninstall tasks. Using the INSTALLPROPERTY_INSTALLLOCATION property (that is "InstallLocation") works only the installer has set the ARPINSTALLLOCATION property during the installation. But this property is optional and almost nobody uses it. How could I retrieve the installation...

MSI Installation Issues

I've got an MSI based install that I've wrapped in an EXE file as per my installation packaging software (which is Wise Package Studio 7.0 SP2). I've made many changes to the install, and every time I've tested them, they've worked just fine... up until now. I changed some text on a dialog box for when the installation finishes and now...

Reading files in a .NET project

I have a C# .NET web project that I'm currently working on. What I'm trying to do is read some files that I dropped into a dir which is at the same level as fileReader.cs which is attempting to read them. On a normal desktop app the following would work: DirectoryInfo di = new DirectoryInfo(./myDir); However because it's a web proje...

Any pointers on making a downloader application? Preferably a Wix/MSI ?

We've got an application we'd like our users to download. Currently they click a link and download the EXE. What we'd like to do is have a launchpad/downloader application that would be small and fast to download, which would then download and install the main application. In a perfect world the downloader would be a MSI (so we could ...

How to generate WiX XML from a .reg file?

Is there a tool to generate WiX XML given a .reg file? In 2.0, you were supposed to be able to run tallow to generate registry XML: tallow -r my.reg For what it's worth, the version of tallow I have is producing empty XML. In 3.0, tallow has been replaced with heat, but I can't figure out how to get it to produce output from a .re...

Why do I get a 1720 error when my InstallShield setup tries to run my VBS custom action?

The Custom Action is configured as follows: Custom Action Name: MyCustomAction VBScript Filename: <PathVar01>\MyFolder\MyVBSfile.vbs ScriptFunction: MyFunction Return Processing: Synchronous (Check exit code) In-Script Execution: Immediate Execution It is being executed via the following InstallScript code: res...

Increment version number in advanced installer

I read a little of the help for my advanced installer 6.5.1 and couldn't find a way to change the version string except by hand. ...

MSI packaging guidance

We're in the process of packaging combinations of our products/modules. Some of them are stand-alone some are interdependent. All versions must be deployable side-by-side. As it is we're considering two choices: One MSI per package and version One MSI per product/module and version The first alternative would mean that combinations o...

Is there a way to Deploy a .Net application without using an MSI?

I have a .Net program that I want to install on a terminal server. In the past I've created installer projects and generated an MSI. However, terminal servers require all users be bumped off before running an MSI and I want to avoid that. Is there a way to do an install without a MSI? Sometimes for some user accounts I can simply cop...

chained msi's/Bootstrapper/prerequisite?

I have a few component msi packages that need to installed together to form the end application. The problem is: the components that make up the package can be updated and the component relaunched on the http file server.What approach should i take? The installer that i am writing is the 'master' installer. Which needs to be able to r...

How to deploy multiple projects in a single MSI?

I have 3 projects in my solution that I want to deploy. Is there a nice and quick way of using Visual Studio's setup projects to deploy all three apps using one MSI and letting the user decide which apps he wants to install during the install process? I have setup projects for the 3 individual apps, I also have an overarching setup pro...

msi file reading

is there any way to read the properties inside the msi file. for example given a msi file name Testpackage.msi i need to find productName PackageCode version this i am going to use it with WMI uninstall string objPath = string.Format("Win32_Product.IdentifyingNumber='{0}',Name='{1}',Version='{2}'", "{AC9C1263-2BA8-4863-BE18-01232375CE...

MSI produces question for installers

Hi there, I have created a windows installer for a windows forms app as an MSI. I have published this and put it in a zip file and sent it to the client. When they try to run the installer they get the message 'The publisher could not be verified. Are you sure you want to run this software?’ Is there a setting or something i need to do...

Including all dependencies

I'm just starting out with WiX as I need to be able to automate building an MSI on our CI server. Is there anyway to automatically include all the dependencies of a project? ...