setup

Setup project not registering in registry

I have a VS Web setup project. I want to register the physical path of the application. In the setup project, I created a new key in HKLM, named Software, then I created a new key named "MyCompany", then in the mycompany key, I add the key Installation Folder with value [TARGETDIR]. But when I try my installer, and go to regedit after...

Config file (App.config) does not update on new installation

I am creating setup of my project using Visula Studio 2008. I am facing problem in setup installation. If I uninstall old setup (application) and install the new one then config file (App.config) updates the attributes (surely it is new file) of config file but if I install new setup without uninstalling the old one then config file do...

Why is the size of .NET Framework 4.0 installer smaller than 3.0/3.5?

As I can see, beta2 of .Net Framework 4.0 installation program is only 55MB, and it was 200+MB for .Net 3.5, What's happening? ...

Creating small setups to deploy dll?

Hi, I've been using Inno Setup for deploying and registering a dll, but all the setups generated with InnoSetup have a min size of 500kb while my dll is only like 40kb. I don't want to use a packer such as UPX because I don't like the way they work. Is there another free app to create smaller setups for deploying dlls? ...

How can I have my auto-updater replace program files?

We have developed a program which checks our web site to see whether or not a new version is available. When a new version is available, a download program starts and retrieves the files, then copies that whole folder on top of the source and restarts the program with the new version. The problem is that when we run the program that se...

Getting started with SQL Server Reporting Services

I'd like to set up SQL Server Reporting Services but I don't know where to start. The books out there are okay but don't seem to fit what I need to do. That is, I want to set up my ASP.NET 3.5 application to be able to view reports I create, both in a web report viewer and downloadable as PDF/Excel. What are the basic steps to do this?...

Set Relative path in file SetUp and Deployment

How can the relative file path be set in setup and deployment project. So that if I take the poject to another machine it will build ...

Visual Studio Setup Projects Compiler Options

I've currently got a C# code base that is compiled into a library. I have two clients each requiring only a selected sub set of the methods available and management are concerned that they may share files to get access to other methods they have not paid for (paranoid). To reduce complicating the project I've created two Setup projects ...

A solution to embed affiliate data (id/logo) into an installer

Hello! I think about a solution (I guess, server based solution), which inserts affiliate ids/logos into an windows installer (setup.exe, set's up a video converter program, nothing fancy) on the fly. I see the process like this: 1) User clicks on the link with affiliate ID, link requests server for a download file, system on the fly ...

Empty setup project in Visual Studio 2008

I have a ClickOnce installation I want to distribute. Some system administrators prefer a MSI installation package which, when run, installs the ClickOnce application. I've created a Visual Studio 2008 Setup project which references a single assembly where I've implemented a custom action. The custom action can install the ClickOnce ap...

Moq - verifying a method was called

Using Moq, I have a very odd issue where the setup on a mock only seems to work if the method I am setting up is public. I don't know if this is a Moq bug or if I just have this wrong (newbie to Moq). Here is the test case: public class TestClass { public string Say() { return Hello(); } inte...

Setting expectations on MoQ

Hi! I´m using MoQ to test some controllers I have but i'm not being able to set the expectations. This is the code I have: var rep = new Mock<IUserRepository>(); rep.Setup(r => r.Save()); The problem is that, my Save() method expects a User object which I cannot set in the expectation because a instance of it will be ...

Issues with .MSI install package created for IIS WCF Web Service - default dir and app pools?

I followed these instructions, and it worked well. http://blogs.cardwells.org/gis/2008/10/08/creating-installer-for-a-web-service-in-visual-studio-2008/ However, the default virtual IIS Diretory name is the same as my projet name. For example, my web service is called MyCompany.RCT.WCFWebServices, and my setup project is called MyCo...

Wix: Add a sequential registry key

I am writing an installer using Wix 3 which installs a plugin to a 3rd party application. The application uses a group of registry keys to detect installed plugins. Each plugin is required to add a new subkey with a numerical name from 0-9 to the HKEY_LOCAL_MACHINE\SOFTWARE\Vendor\App\Plugins. The key contains a single string value whi...

Visual Studio Build Fails on Configuring SQL Server 2005

I'm trying to build a setup project in Visual Studio 2005, and it is failing every time, after opening a dialog box labeled Microsoft SQL Server 2005 Tools and configuring for a few minutes. The Microsoft SQL Server 2005 Tools dialog then launches a dialog with the text Failure creating local group SQLServer2005NotificationServices$COMP...

How to debug failure of a custom action in an MSI/Setup project

For a custom action, I'm setting to Name to XmlPreprocess.exe (a CodePlex utility) and arguments to: /x:"[SETTINGSFILE]" /i:"[TARGETDIR]web.config" /e:[ENVIRONMENTBUTTON] [CUSTOMSETTINGS] >[TARGETDIR]XmlPreProcess.log SETTINGSFILE is supposed to be coming from a custom form page I added, and ENVIRONMENTBUTTON is the value of one of my...

how to put radio buttons in windows installer - deployment project?

I've a deployment project of windows installer, with some of prerequisites. I want to perform some operations while installing the product, for that I need to put 2 radio buttons on installer setup project, do anyone tell me how can I alter setup screens with new controls provided on canvas ? ...

Making sense out on .MSI verbose trace - running a CustomAction

Making sense out of an .MSI verbose trace. I created the .MSI using VisualStudio 2008. Here's the background on what I'm trying to do: http://xmlpreprocess.codeplex.com/Thread/View.aspx?ThreadId=79454 The goal is to run a program called XmlPreprocess.exe similar to this: xmlpreprocess.exe /x:"SettingsFileGenerator.xml" /i:"web.config"...

Setup DLL doesnt run when CAB installs under CE6

Hi I have a CAB file that installs our program to Windows CE. I have a CAB (and platform configuration) for Windows CE 5 and 6. Both CABs have their CE Setup DLL property pointing to the Primary Output of a Setup project. Both CABs contain the exact same code (C++). When installing the CE5 CAB it works perfectly and the custom setup a...

Neo4j Documentation

I've been looking into setting up and trying out Neo4j on Amazon EC2 however I seem to have hit a road block with finding documentation that I can use. For example, this page mentions "Clustering, High Availability and Online Backup are add-on components that manage distribution and consistency over several live or offline node spaces."...