installer

How to build a dmg Mac OS X file (on a non-Mac platform)?

Is it possible to build a .dmg file (for distributing apps) from a non-Mac platform? And if yes, how? ...

How to modify .NET config files during installation ?

I use the app.config file to store some values (path to a mapping database, data connection selections). These settings differ on the user machines and I would like the installer to set them right. Is there an installer that can work with .NET config files during setup and allow me to create some dialogs that would help me fill in these ...

Does .NET 3.5 installer include 3.0 SP2?

We're trying to track down some .Net assembly dependency problems. On Windows XP, does the .Net 3.5 installer include 3.0 SP2 automatically? ...

File Security on Windows Vista with .NET Installer

I am trying to write an installer (by creating a .vdproj) that will work on both Windows Vista and XP. The only thing I am finding is that when I try to run it on Vista, the files that I include in the installer are installed with Read-only permissions for the Users groups. This is a problem because the application needs to read/write ...

How to include SQL Compact and .NET Framework in my Installer

I need to have my installer include the .NET Framework 3.5 SP1 as well as SQL Compact 3.5. I remember seeing a place somewhere in the Visual Studio IDE where these could be included in the install, but I can't find them. Does anyone know how to do this? Thanks! ...

Visual Studio Installer does not include satellite resource assembly

I have a VS2008 installer project which installs a .NET Windows Service. One of the service's dependencies is a .NET assembly which has localized resources in the form of a satellite assembly. The installer is not packaging or installing the satellite assembly for some reason and the service will consequently not start. Any ideas? ...

Creating an answers file for a 3rd party software (Non OS install)

Ok guys any idea how i may go about creating an answers file for an unattended install for say WinAmp? So far all my research points to is doing an unattended install for windows or some other OS. What I want to do is create an unattended install for a 3rd party software. Are there tools to do this? Or is unattended install for 3rd part...

In an ASP.NET Web Setup Project, can I disable anonymous access in IIS?

I have a really simple ASP.NET web application and a web setup project that deploys the project output and content files to a virtual directory in IIS. What I want is for the MSI to automatically disable Anonymouse Access for that virtual folder in IIS. I suspect it can probably be done by writing some code in a custom action DLL, tha...

Including all dependencies

I'm just starting out with WiX as I need to be able to automate building an MSI on our CI server. Is there anyway to automatically include all the dependencies of a project? ...

Wix Custom Actions with WixUI_Minimal

So, I'm trying to, after an application finishes installing (though in truth, it really doesn't matter when the secondary application is run, since it doesn't interact with the installed files during installation), run another program which is bundled with the application. Pertinent code (with various stuff replaced with "...": <direct...

Is there a way to have a click-free install of .NET 3.5 SP1?

Basically I want to have our installer also install the .NET framework and any other pre-reqs as neccessary will minimal user interaction, so ideally, just run, accept license agreement and everything else is taken care of automatically. Is this possible? Using WiX most likely with a bootstrapper or some sort. ...

Installing Capicom without SelfReg: Wix Custom Actions Not Found (Err 2721)

After following the advice in this question successfully, I added a couple additional lines of code for another custom action. This one is intended to call regsvr32 on the copy of capicom which I've tried to put in the user's system folder. However, I'm getting error 2721, which seems to be a custom action not found error, from what I'...

How do I encrypt app.config file sections during install with WiX?

I have found an example for encrypting a web.config during installation here, but my app is a windows service. The aspnetreg_iis method works only for web.config files. I know how to programatically encrypt the config file, but I don't think I can do that using WiX. Am I wrong? Any ideas? ...

Rename a directory in installer

I am working on a Windows application which needs to be able to update itself. When a button is pressed it starts the installer and then the parent application exits. At some point during the installer, the installer attempts to rename the directory that the parent application was running from and fails with "Access Denied" If you run th...

VDPROJ auto upgrading vs. uninstall/reinstall

I've seen a confusing behavior regarding the MSI files generated by a VDPROJ file. If I build my MSI in Visual Studio and then right-click and pick "Install" from within Visual Studio, it will automagically uninstall any version that is already installed and then install the new MSI. However, if take the generated MSI and run it direct...

Adding License information to NSIS installer

We distribute the software created by my group via Windows installers generated via NSIS. We generate our NSIS configuration files from a python script written by a developer who no longer works with us, so we currently do not have anyone on staff who knows how to write NSIS config files. I have been tasked with modifying this script t...

Can I automate creating a .NET web application in IIS?

I need to deploy a web application on several laptops (although it is a web application, it is intended to run via localhost only - thus the need to deploy on several different machines). Normally I would go to IIS and right click a directory to create a web application, but I would very much like to automate this leg of the installatio...

Reading Values from Textboxes in a .Net Deployment Project

I have a custom installer class that fires OnAfterInstall, how can I read values that were entered by the user in the pervious installation screens? The values are entered in textboxes. Also how can I force the installation to fail in my custom installer class and display an appropriate message to the user regarding the failure? ...

Privilege elevation on MSI uninstall with Installshield and user dialog

I need to achieve the following: The uninstallation of an MSI should present a user dialog based on which Windows Installer knows how exactly to remove the software (in this case: The user must choose whether or not to remove databases as well). While running, the uninstall process will also trigger custom actions. All of these actions ...

Problem building a Setup project

I'm working on a tool to simplify an application's deployment. Hence I'm aiming to automate the build of the setup project. The Situation: When I use Visual Studio to build the setup project this, creates the msi and exe files and concludes successfully. The problem occurs when I run a command in the command prompt, I keep getting this ...