msi

Run exe after msi installation in vista or win7

I am using the script given here http://stackoverflow.com/questions/1668274/run-exe-after-msi-installation It is working fine in xp but it is not launching exe in win7 or vista. Where should I make changes? ...

How to add .NET Framework 3.5 and other prerequisites to InstallShield project

I can create setup file in InstallShield 2009 I don't know how to add the .NET Framework 3.5 and other prerequisites to the InstallShield project. ...

How to create an MSI package that installs no files and only executes some commands using Wix

I am trying to create an MSI package that uses the AppCmd application to configure IIS7. It only has to execute some commands that call AppCmd. Some commands need to be called when installing, other commands need to be called when uninstalling. Here is what I have now: I have a property that points to AppCmd: <Property Id="APPCMD" Val...

How can I access cpu temperature readings using c#?

For a programming project I would like to access the temperature readings from my CPU and GPUs. I will be using C#. From various forums I get the impression that there is specific information and developer resources you need in order to access that information for various boards. I have a MSI NF750-G55 board. MSI's website does not hav...

Registering a COM control during installation

One of our applications needs to register a COM control during installation. If a newer version of that control is already registered, we don't want to overwrite it with the older. What are the Windows MSI install conditions I would user to control this? Or is there some other 'best-practice' method I'm not aware of? Thanks ...

application shortcut trying to reinstall application

Hi All, I have created a deployment file(msi) using VS Setup project. This msi file create a shortcut in desktop.During deployment I have added some predefined data files (.xml/text) into it.Application shortcut working fine i.e. it open the application and running fine. But once I delete some data files from installation location, and...

I have made an installer for MyProgram but the uninstall shortcut that it creates leaves behind empty folders

I have created an installer for MyProgram using the Visual Studio Installer (Visual Studio Setup Project). It is called "MyProgram Setup.msi". It installs the program fine and if it is uninstalled using the Add/Remove Programs control panel then everything gets removed as it should. The problem is that I want to add a shortcut to the "U...

Choosing an installer product that is free and will download/install the .NET Framework

I'm currently using the Visual Studio Installer (Setup Project) in Visual Studio 2010 as the installer for MyProgram. It has some quirky bugs and is not very customizable so I would like to switch to another installer product. Here are my requirements: Must be free (and licensed for commercial use) Must install the Windows Installer 3....

MSI not running the current version of the code in .NET Setup project.

I'm not sure what happened, but my installer is in a weird state--when I install my MSI, it doesn't seem to be running the current version of the code (I'm using Custom Actions). I verified it by placing some MessageBox.Shows and sure enough, they are not popping up. It's possible I may have had a few unsuccessful installs previously...

Custom setup project for "Setup and Deployment Visual Studio"- How to get the contents of the folder where the .msi file resides?

Does anyone know how to find the path of the installer while it is installing? My goal is to get either none, 1, or 2 folders that are also in the same folder with the setup, and copy them to a destination the user chooses before installing. Those folders may or may not be there. Through lots of pain I have found out how to use the cu...

How to set a check box to "unchecked" from the msiexec command line?

I have an msi (authored with WIX) that has a check box bound to a custom property (call it MY_PROPERTY). I would like to run this msi from the command line, specifying 0 (unchecked) or 1 (checked) for this property. My script will determine the appropriate value (based on the environment) and inject that value into the msiexec command ...

Setting custom property in msi file

How to set custom property in a msi file on the fly? I do not want to pass the custom property using msiexec. I want to save the value of the property in the msi file itself based on user log in. Thanks in advance. ...

How to find version of an application installed using c#

How to find version of an application installed, using c#. Is there a way to know component id of application? EDIT: I need to get version of an already installed application.This is required for generating the diagnostics report on users machine. Example:Version of Outlook 2007 installed on a user's machine ...

MSI package without UAC administrative privileges

I want to install an outlook add-in for a user who does not have administrative privileges. I used MsiInfo.exe myAddIn.msi -W 8 to author package without the UAC dialog box. It does not ask for the admin privileges but during the installation it gives error stating that one of my mycustomxyz.dll not found. When i change the word count ...

How to get the PDB (symbols) from an assembly when built into an MSI

I have a standard MSI being created using Visual Studio 2008. Is there any way that I can have it copy the symbols of the exact DLLs and EXEs that were placed into the MSI somewhere so that I can use them for remote debugging of an installation from that MSI? ...

Deploy an hta file in an exe or msi file

I've written an HTA file frontend for our web app that allows the web app to run without web browser status bars etc, and allows it to access the local system for certain tasks. I need a way to deploy this to customers. I need an installer to supply an hta file, an ico file, and add a link to them in the start menu and on the users desk...

Shortcuts and MSI updates

We have an installer for application that is compiled using WiX and each version is updated using a new setup package. The installer creates advertised shortcut in Start menu and users often copy this shortcut to desktop or other location. During an application update a major upgrade is performed and the old shortcuts are removed, which ...

Is it possible to override the behavior of a merge module.

Supposing I have a merge module that installs a file "MyFile.txt" to a certain location, and that I wish to use that merge module, however I want to supply a different copy of "MyFile.txt" from the one supplied with the merge module. Is it possible to do this? (And for bonus points how can I do this using Wix) ...

Installing Win32 shared SxS policy via WiX 3.0 MSM fails for 2nd app

I am attempting to author a merge module for use by multiple application installers to install a Win32 Shared SxS Assembly and its associated Policy. I'm using WiX 3.0 to generate the MSM and test MSIs. So far it works fine on XP-SP3/Vista-SP2/Win7 for the first app installer that runs … but on XP-SP3 the second app installer fails bec...

Msiexec REINSTALL=ALL REINSTALLMODE=vamus is not working

In my installer (created using WiX) I forcefully re install everything using msiexec REINSTALL=ALL REINSTALLMODE=vamus /qr /i setup.msi command. This was working fine but after adding a new component (an exe file) it stopped working. nw if I try this command it doesn't replaces the file in installation directory. To solve this I tried a...