msi

Why does Vista SP1 UAC prompt show a different file name for my MSI installer?

For my MSI installer, Vista SP1 UAC prompt shows me "5eab7.msi" for my MSI name which is clearly not my MSI file name. However the company name is correct. How to make the UAC prompt show the real name of my installer? I am using WiX, by the way. Thank you in advance! ...

How do I upgrade without adding files with WiX?

I'm making MSI's with WiX for our product. The product loads some optional assemblies as modules. This allows us to just drop a dll into the directory and charge a bit more! Now I want to make a common major upgrade MSI that includes all the possile module assemblies but only upgrades files that exist, and doesnt install missing ones. H...

how to install dotnet framework+Windows installer 3.0 using VS2005 setup project?

i have included DotnetFramework, Windows installer in VS Setup Project through Setup Project ->properties but while run setup.msi it ask me to download dotnet framework from online i would like to eliminate the process, it should be run from local folder ...

Visual Studio 2005 Setup Wizard - creating desktop shortcuts for all users

I'm using the setup wizard project to create an msi installer for a Windows Forms application. I've configured it to install a desktop shortcut, but unfortunately it only puts a shortcut on the desktop of user running the installer. Is there any way to configure it to put shortcuts on the desktops of all users? ...

WiX: Installing Service as LocalService

Hey there, I am trying to get my application an installer via WiX 3.0. The exact code is: <File Id="ServiceComponentMain" Name="$(var.myProgramService.TargetFileName)" Source="$(var.myProgramService.TargetPath)" DiskId="1" Vital="yes"/> <!-- service will need to be installed under Local Service --> <ServiceInstall Id="MyProgra...

Can I set a custom license using WiX?

The default license for an MSI generated by WiX is the common public license. How do I change this to GPLv2? ...

Why do my MSI images look corrupted when using WiX?

I'm setting a custom banner and dialog image for my WiX generated MSI. <WixVariable Id="WixUIBannerBmp" Value="./build/msi/InstallerBanner.jpg" /> <WixVariable Id="WixUIDialogBmp" Value="./build/msi/InstallerDialog.jpg" /> For some reason, the image becomes corrupted when built into the MSI. I've added the two images to my question fo...

InstallShield: copy sources locally

How can I copy the installation sources to the local drive so that the original media is not required for a repair installation? This is a Basic MSI project. ...

Do I need one MSI for each OS?

I have a client who is requesting that we give them an MSI file instead of our normal EXE file for installation of our software. The client has users on multiple Windows operating systems (2K, XP, Vista). As stated in the title of the question, do I need to create a MSI specific to each OS or are MSIs generic enough to work on all of the...

Patch Error 2229 for non-default languages in Windows Vista/7

I'm having a problem with a patch. The patch supports English by default, as well as a few other languages. When a non-English language is chosen while installing the patch in Windows Vista/7 error 2229 occurs referring to a failed SQL query to the CONTROL table. Any suggestions? ...

How to execute a command from with in MSI?

Hi, I have a installation setup with works like this: /exec.exe /some-command This whole setup is located on a shared disk to which my target machine have access to. All i want is to create a small MSI wrapper that basically executes the above command. I don't need to any other fancy things? I looked up on the web; there are tools tha...

Force GAC installation before running .NET custom action?

Hi, I'm using a VS 2008 Setup and Deployment project to deploy a mixed managed / unmanaged application. I've had trouble registering mixed-mode DLL's using the built-in registration property ("vsdraCOM" enumerated value of the "Register" property.) As a workaround, I've added a .NET custom install assembly (with a class that derives f...

Folder created by MSM not being removed on uninstall.

Hi I have an .MSI file created using VS2008. This .MSI is composed of a collection of merge modules, each of which basically installs one component of our application to its own folder. When I try and uninstall the .MSI one of the subfolders created by a particular merge module is not removed, even if the application has not been run. ...

Set InstallPath registry key using Visual Studio Setup project

I am deploying my application using an msi installer designed with a Visual Studio Setup Project. How do I set a registry key to the application's install path? ...

Setup Project RemovePreviousVersions timing issue

I have an application that is installed on the clients v.8.0. I have made a new version 9.0 and want to use RemovePreviousVersions to remove the old version and install the new one. I have custom actions setup up in the v.8.0 to clear out all of the directories that were created while the app was being used. In my v.9.0 I have a custom a...

Force Reboot from Custom Action in Msi in C#

How can we prompt for a computer restart after install from within a C# custom action? We are using VS 2005's setup project for our setup, and we need to programmatically decide to prompt for a restart (so it will not happen on every install, just on some). UPDATE: We're looking for something that is already built into the MSI custom a...

MSI - Uninstall gives "Unidentified Publisher"

I have created an MSI installer using Visual Studio 2008. I then sign this with signtool.exe and my authenticode certificate. On a Vista x64 test PC, when the MSI is run the expected dialog appears identifying my company as the publisher. However, when the program is uninstalled from Add/Remove Programs, the yellow "Unidentified Publis...

Accessing msi filename from within msi file

Is it possible to obtain the filename of an msi file from inside the msi file (when using either install shield or wix)? I am looking for an easy solution to a problem I am trying to solve and was going to key off of the msi filename not being "x". I have an existing msi file that I need to run silently and only accepts one command lin...

How to change app.config from the MSI installer, designed on Visual Studio?

I have this .NET application which use Settings.settings and app.conf as configuration repositories instead of the Windows Registry. It seems pretty easy to ask questions to the user during the installation and write the responses to the Windows Registry, but I have not found yet a way to write the responses to the app.config file. Does ...

Customizing Repair option in MSI

I have a Visual Studio Setup Project that is very basic except for one modification. I have two different libraries that I would like installed based on the user's selection. I added a checkbox screen and conditions to the files. They can install either component or both components. This all works fine. Now for my requirement. Let'...