installer

Saving Install Path to registry

I'm creating an installer and I want it to set a registry value with the location of were the user installs the program at. How can I do that? ...

Creating an installer for updated WinForms app

I released an app and I've implemented a user-requested feature and would like to release a new version. I'm not sure how this is typically done - is there some setting in the .NET setup project that I can use to tell it to just overwrite certain files if the application is already installed, or do I have to generate a patch somehow? I...

In Wix,When upgrading a product,how to decide the files overwriting and preservation for the machine which has installed an older version?

For example, I don't want to overwrite the config file and some other files,What should I do using WiX? ...

Installing a SQL Compact-based .NET app

Is there a way to have an application access a SQL Compact database file without having to install the SQL Compact installer as well? I don't want to have a separate installer run when the user installs my program. Can I get by with just some well placed DLL's in my application's folder? ...

Where should I deploy my application?

Under Windows Vista (2008 and Seven), an application cannot write in Program Files Folder. I understand that UAC is the responsible, but it prevents my application to self-update. Is there a folder somewhere (available in Windows XP, Vista (and all other version)) which would allow me to deploy my application and let it self-update witho...

How do I have a function in NSIS called just while compiling the script?

I want to call a function (which calculates my version number) when my NSIS script is compiling, but not while it's executing. Is this possible? It uses nsExec and basic string manipulation functions. ...

What should Linux/Unix 'make install' consist of?

I've written a C++ program (command line, portable code) and I'm trying to release a Linux version at the same time as the Windows version. I've written a makefile as follows: ayane: *.cpp *.h g++ -Wno-write-strings -oayane *.cpp Straightforward enough so far; but I'm given to understand it's customary to have a second step, make...

What is the best way to embed Firebird Installation in the Installer for my app?

My app has its own installer but I have to guide my users to install Firebird on their own. I'd like to install it automatically. Thanks. ...

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

How to execute custom action only in install (not uninstall)

I'm sure this is fairly easy, but I've kind of had a hard time with it. I've got a custom action that executes a different (non-msi) installer on installation. Unfortunately, I've noticed that it also executes the installer on UNinstallation! I've looked through the options but I cant' seem to find out how to stop this. If anybody could...

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

Problems with Windows Installer Package

I have a client that is having problems with our the .msi installer for our application. Wix was used to create this installer. The application has installed just fine on dozens of other machines, but on his machine it displays the message: This installation package could not be opened. Contact the application vendor to verify ...

Calling Directory.Exists("\\SERVER\SHARE\") in Setup Project

I have a .NET Setup Project to which I've added a custom installer action. During the setup process, the user has to provide a path (which often is a UNC path) to a share on their file server. I attempt to do some validation before proceeding to make sure the directory exists, as such: if (!Directory.Exists(serverDirectory)) { th...

Are two programs installed by the same Setup package still an aggregate under GPL?

Let's say I have two applications: one is the "server" application and licensed under GPLv3 and the other is the "client" application and is licensed under a non-GPL compatible license. The server runs as a Windows service, and the client is a normal windows application, and they communicate only via TCP/IP and XML (no linking at all). ...

Managed DirectX as prerequisites

I am packaging an vb.net application which uses managed DirectX and I am not using vs deployment project etc. Now, I want to check managed directX 9 C is installed on the client or not. If not download the directX managed from the web. What is the prefered way to do this? I found the following Microsoft Component Installer Software Devel...

Custom property for RemoveExistingProducts action

When the RemoveExistingProducts action is executed, the MSI sets two properties UPGRADINGPRODUCTCODE={...} REMOVE=ALL How to add a custom property for this action? ...

Custom "Repair" and "Uninstall" funtions for MSI installers (when called from the Control Panel)

The Add/Remove Programs (or Programs and Features) Control Panel applet usually allows to uninstall or repair a program. For a non-MSI installation it's easy to define what should happen, when a user clicks the "Change" or "Uninstall" button. Just set the appropriate keys in the Registry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Cu...

Installation

i want to run a service patch for encoder silently.patch name:WindowsMedia9-KB954156-x86-ENU.exe .what are the switches to be used ...

VS2008, Windows Mobile Installer project

I'm using Visual Studio 2008 Professional Edition. I wrote an application for Windows Mobile and I would like to create the installer for this application. How does it do? ...

Obfuscating assemblies before they get integrated to the MSI

I have a VS.NET 2008 solution which contains a Setup Project. This Setup Project takes output of my other project (in the same solution) and produces a MSI. So far, so good... I would like the assemblies included in the MSI to be obfuscated. This obfuscation itself is simple, but how can I introduce this pre-step (obfuscation) to the MSI...