msi

Trying to use EnsureTable in Wix to fix Validation Errors

I hit numerous errors in Wix 3.0 when I tried to use the msvbvm60.msm merge module: C:\[...]: error LGHT0204 : ICE03: Table: Registry Column: Registry Missing specifications in _Validation Table (or Old Database) C:\[...]: error LGHT0204 : ICE03: Table: Registry Column: Root Missing specifications in _Validation Table (or Old Database) ...

Hide the uninstaller in Add/Remove Programs?

I am creating windows installer project using Visual Studio 2005. Is there an option make it so that my project does NOT have an uninstall option in Add/Remove programs? One of my customers has asked me to do this.. Here's Why: Because the installer is a patch to an existing program. After uninstalling, the program no longer works beca...

How to get Application Data folder/Word template folder in Vista?

Using WiX (Windows Installer XML) I have created an MSI installer which installs Word templates into the users Application Data folder, e.g. on Windows XP C:\Documents and Settings\<user>\Application Data\Microsoft\Templates I'm retrieving the path to this folder from the registry: <Property Id="APPDIR" Secure="yes"> <RegistrySe...

msi file size

Dear all i found that the size of msi file is 69.0 MB although the size my main application is 1.5 MB, so where all this size goes for ?!? thnx in advance ...

MSI Error Code 2869 on Vista

I have an MSI for a .NET application that I created using Visual Studio 2005 that includes a custom action to write some registry keys at the end of the install. I found that the installer works fine on Windows XP SP2 and SP3. However, when I try to run the installer on a Vista PC, the installer seems to get almost all the way to the e...

Creating a future proof .NET 3.5 SP1 installer prerequisite for setup.exe AND the .MSI

I've demanded .NET 3.5 SP1 a la http://stackoverflow.com/questions/88136/will-a-vs2008-setup-project-update-net-3-5-sp1. This makes the setup.exe check correctly. I've also added a "SP1" launch condition to my MSI so it doesn't let the user install my .NET 3.5SP1 app via launching the MSI (and replaced the [VSDNETMSG] in the Framework ...

How to create a multi-level subfolder in Start menu using Wix

Hi guys. How do I create sub folders (several levels deep) in the Windows Start menu, using Wix? Currently I am able to put my shortcut in the Start menu, but only in a folder immediately under Programs (Start / Programs / MyFolder), but I want to nest my shortcut deeper (Start / Programs / MyPlatform / MyProduct / etc). I tried differen...

Wix major upgrade

How do I use WIX to prevent overwriting a config file during a 'Major Upgrade'? I want the file to be installed on the initial install, removed on uninstall, and left unchanged on a 'Major Upgrade'. Thanks ...

comctl32.msm (Merge module) Fails on Vista

I stuck comctl32.msm in an installer (comctl32.ocx merge module). On XP, comctl32.ocx appears in system32 and everything is happy. On vista, it does not work. Any guesses what I am doing wrong? I also tried replacing the merge module with a <file> and a lot of registry changes, in a component, but the file didn't move and the registr...

How to access information entered during setup? (VS2008 setup project)

I added a simple dialog window to the install's UI with textboxes. How do I find out what the user entered? @Mitch Wheat: Thank you. I managed to solve the problem with your help. But I think you failed to mention that I need to use the CustomActionData property of the Custom Action. ...

Wix: Change arguments depending on OS

Following the advice of wcoenen, I've decided to try using registration-free COM. This works perfectly, excepting on pre-XP machines, of course. One idea which I thought would be kind of neat would be to add to some files, SelfRegCost='[var]'. It is quite likely that this is not The Right Thing™ but I still want to know how to do it, ...

Wise Installation Studio: What is WiseCustomCall

I am upgrading an old Wise for Windows installation to a newer version of Wise Installation Studio, and the WiseCustomCall resource is now marked as <unspecified>. The .wsi compiles into a .msi without issue, but then fails during runtime, not being able to locate "location: WiseCustomCall, command: g0". Can anyone provide some informa...

How do I persuade a VS2005 msi to upgrade?

I have a Windows service written in C# using VS2005. The installation is via a wizard that calls msiexec to install the msi file also created using VS2005. I am having trouble generating an msi file that will upgrade from one version of the service to another. The wizard program handles detection of the currently installed version, sto...

MSI, UAC and Unidentified Publisher. How do I change the Unidentified Publisher?

I am currently working on a MSI package for one of my application. It works well; however, before the installation starts, I get the expected UAC window asking me if I trust or not this program from the Unidentified Publisher. I am not concerned by UAC itself, but by the Unidentified Publisher. How do I change that? I've heard that I nee...

How do I run nGen at the end of the installation (MSI)?

I would like to execute nGen at the end of my installation simply to improve the perceived performance of the first startup of my application. How could I do that? Is there are some best practices? Can I be sure that nGen is always installed with .NET Framework? Thanks! ...

How can I uninstall Win32 assemblies and cleanup WinSxS?

After a lot of trial and error (mostly due to lack of documentation and examples) I have managed to create MSI installers that install custom DLLs to WinSxS as side-by-side assembly. There is only one problem: Uninstalling leaves all files (DLLs, manifests and catalogs) in the WinSxS directory. How can or should I best clean that up? I k...

Major vs. Minor upgrade in windows installer

Is there any reason not to set up the install so that major upgrade is always done and productcode changed? I find that supporting different kinds of installs needs more code, and "repair" install seems to work easier with major upgrade. Also the application that needs to be installed is not very big, thus there is no need for "service ...

Google and Microsoft install applications in the AppData Folder, why not me?

Is it acceptable to install an application in the AppData folder? Both Google Talk & Chrome are not installed in the default Program Files folder. They get installed in user's AppData folder. Microsoft does the same thing with ClickOnce... I would like to my application to self-update, but when installed in Program Files folder, it fai...

VisualStudio MSI Bootstrap Loader Bug and Replacement.

Right now, I am creating an msi and a setup.exe using the Visual Studio. It works quite well... till recently. I recently added a new dialog box with a Combo Box Control to the msi. Now when I install the app directly using the msi, everything is works just fine. But when I run the Setup.exe, the ComboBox is not displayed correctly. It o...

ASP.NET app MSI installer multiple instances

I want to be able to produce a single MSI from VS08 which can be used to install e.g. demo, staging and production versions of the same app on the same website in the same IIS. In other words, the user needs to be in control of how many instances they want - I'm not in a position to pre-generate them by varying the product code (though ...