installer

How can I determine if SQL Server Management Studio Express (2005) is installed?

I need a way to determine from Wise Install Script if SQL Server Management Studio Express 2005 is installed on computer. Does someone know a Registry entry or something that will be present when SSMSE is installed? ...

Function pointers in INNO Setup

Are function pointers supported in INNO Setup? I can't find anything in the documentation. I know Delphi/Pascal supports them and as the INNO scripting engine is based on it, I'm hoping it is supported. ...

Displaying Error Message from C# AfterInstall Event

Hi Can someone please tell me how to display error message in C# during execution of AfterInstallEvent? My project uses the Microsoft set-up and deployment project and then I have created a class that is called when the AfterInstall event is fired. MessageBox.Show(); doesn't work..."The name 'MessageBox' does not appear in the curre...

VB6 P&D Installations, "The destination file is in use..."

I am maintaining an application written in VB6 and we currently use package and deployment wizard to create installations for our project. When most users try to install this software they get the error message: "C:\WINDOWS\system32\vbajet32.dll The destination file in in-use. Please ensure that all other applications are closed." Can...

How can I programatically tell Windows taskbar to open (or close) a given toolbar?

I have written a toolbar that runs on the taskbar. Unfortunately, after it is installed, the user has to enable it manually. Is there a way to tell explorer to open (or close) a given toolbar? I would like for the installer, NSIS, to turn on the toolbar when the installation is complete (I realize that a plugin would be necessary). I...

What technology do you use to build your installer?

Installshield Visual Studio NSIS other ... Why? Advantages? Disadvantages? ...

Problem deploying DLLs to the GAC in a Visual Studio Setup Project

"Assembly [AssemblyName] must have a shared name to be installed globally" I am getting this error message when I try to deploy some component DLLs for my application to the Global Assembly Cache. What is a shared name and how do i make sure my DLLs have one? ...

Web based Software Distribution

Currently at my job, we are distributing installers for our windows base software via an apache web server on a Ubuntu server using apache authentication. When we initially started doing this we only had 3 projects to distribute and as such, 3 htpasswd files to manage. Since then, we have grown and are now distributing 8 projects as we...

Register an application to a URL protocol (all browsers) via installer

I know this is possible via a simple registry change to accomplish this as long as IE/firefox is being used. However, I am wondering if there is a reliable way to do so for other browsers, I am specifically looking for a way to do this via an installer, so editing a preference inside a specific browser will not cut it. ...

How to make a simple Wine-based installer for Windows application

My Windows application runs under Wine, but the installation is a bit of a headache for laymen, and the wrappers I've seen online (PlayOnLinux, Wine Doors) require even more packages to be installed. Is there a way to make a package that will install Wine if the user needs it to be installed, install the application and shortcuts, all wi...

I require a MSI Custom action that copies a file from the MSI source directory

Hello, I'm creating a installer for a c# windows project using VS 2008. I'm trying to write a custom action that copies a settings file from the source directory of the MSI file stored on a file server (e.g. \server\fileshare\myappinstaller\mysetting.xml) to the target directory on the computer on which my application is been installed ...

Visual Studio 2008 Service Installer Project Upgrade issue

I've upgraded a [.vdproj MSI generator project built into VS2008] System.Configuration.Install.Installer with a ServiceProcessInstaller and a ServiceInstaller from Visual Studio 2005 to 2008. There are no customisations of consequence to the installer class (i.e., not trying to start or stop services or register children) RemovePrevious...

Debug Installshield pendingfilerenameoperations that cause a reboot

Hi, Starting with a already existing installscript 11.5 installer, we created a update installer (differential installer). Given: V1 (first version of the software) V2 (second version of the software) V2P (differential installer between V1 and V2 If I install V1 and deinstall it, no reboot is required If I install V2 and deinstal...

When installing my windows service, how can I programatically make it use a specific domain account

Hi, I have a windows service that runs fine, but I have to have it run under a special user account. Currently I go into services and change the logon as section, but for deployment this has to be done more professionally. Is there a way for me to have it logon as a custom user account programatically, or during the installation proce...

How-To: Copy dependent assembly in case it is not in GAC?

I am building a Setup Package using VS2008. This is a regular setup package installing a COM Add-In app for Outlook. It works Ok, so far. However I need to improve it a little... The story is that installation package copies all dependent assemblies into the installation folder of the add-in. For example, the COM Add-In depends on Mic...

The right components for an install script?

I am writing a bash script to set up a production server. The tasks at hand include compiling software, creating users and directories, copying files over, etc. I am wondering what other things I should do. Perhaps logging to a file? checking for a 0 exit status? What can I add to actually make this script great and not just "it wor...

Can't find Dotnet install optimizer, any ideas?

Back in 2005 I worked on a dotnet desktop application. At the time I was looking for installers to create the install package. During my search I cam across a neat tool that would bind your application with dotnet itself only including the parts of dotnet that were required for the application to run. It did this using dependency resolut...

Uninstalling a Windows app installed by a nonexistent user.

We have a .Net Winforms app running on XP machines that are not connected to the internet. We install and update this app by distributing a CD with a .MSI installer file. Users uninstall the old app from the Add or Remove Programs control panel and install the new app from CD. A while ago we required users to log in under individual acc...

Windows Installer database inspection?

Does anybody know of a tool that allow me to inspect what files an installer just added to a system after it ran? Its sounds like this should be something that should exist. ...

Installing a windows service from a Visual Studio Installer project

A colleague has written a Windows Application and left me to do the installers. I have created the installer project through Visual Studio and added the primary output of the service project to the new project. When I run the installer it creates the correct folders and copies the dlls, exe and config file in, but it doesn't do the act...