setup

Rhino mocks ordered reply, throw exception problem

I'm trying to implement some retry logic if there is an exception in my code. I've written the code and now I'm trying to get Rhino Mocks to simulate the scenario. The jist of the code is the following: class Program { static void Main(string[] args) { MockRepository repo = new MockRepository(); ...

Visual Studio setup problem - 'A problem has been encountered while loading the setup components. Canceling setup.'

Hi All, I've had a serious issue with my Visual Studio 2008 setup. I receive the ever-so-useful error 'A problem has been encountered while loading the setup components. Canceling setup.' whenever I try to uninstall, reinstall or repair Visual Studio 2008 (team system version). If I can't resolve this issue I have no choice but to compl...

Running Trac on Windows?

Looking for a guide/tutorial that easily explains how to setup and run trac with subversion on windows. ...

Visual Studio ClickOnce deployment - certificate expiration

I have a problem with a Clickonce deplyment of a Winforms app. When i built the new setup, and tried to export it overwriting as usual the previous setup, Visual Studio came up stating that my certificate is expired. This behaviour is described here and there is a workaround here. But these solutions are not applicable in my situation. ...

UI During Custom Installer Action

What is the correct way to display UI during a custom installer action? I would like my UI to be modal on the install dialog, or alternatively, I'd like a way to display text/progress from my custom action in the installer dislog. The installer is a VS2005 setup project and the custom action is a C# Installer-derived class. ...

Can't select Primary Output as target of shortcut in Visual Studio 2005 setup project

I've Added a setup project to my solution (didn't use the wizard) I then added the primary output of the Windows Application I have coded to the Applcation Folder node (Right click the setup project in Solution-Explorer and select View -> File System). I Right clicked the User's Desktop node and selected 'Create Shortcut to user's Deskto...

How to setup non-admin development in Visual Studio 2005 and 2003

We have been given the directive to make sure that when we develop we are running out of the administrator and poweruser groups to prevent security holes. What are the steps to take to make this possible, but still be able to debug, code, and install when needed? We develop ASP.NET as well as VB.NET applications. Thanks! Brooke Jac...

How do I create an installer for a .Net website, Windows Service, and more???

I need to create an installer program that will do install the following: ASP.Net Website Windows Service SQL Express if it isn't installed and the user doesn't have a SQL Server Dundas Charts ASP.Net AJAX v.1.0 ReportViewer control (for 2.0 Framework) Check Framework prerequisites (2.0) Configure IIS and app.config (data connection s...

Windows Installer - upgrade resuming after reboot

I have a Windows Installer MSI package that installs drivers which sometimes require a restart before they can be upgraded; the drivers are installed by a deferred custom action after WriteRegistryValues. When a reboot IS needed there's a rollback and the user is told to reboot and run the install again. In the InstallExecuteSequence ...

Setting up our new Dev server What is the easiest way to assign multiple IP addresses

I'm setting up our new Dev server, what is the easiest way to assign multiple IP addresses to Windows 2008 Server Network Adapter? I'm setting up our development machine, running IIS 7 and want to have the range between 192.168.1.200 - .254 available when I'm setting up a new website in IIS 7. ...

What is the difference between the Project and SVN workingDirectory config Blocks in CruiseControl.NET

What is the difference between the Project and SVN workingDirectory Config Blocks in CruiseControl.NET? I setup Subversion and now I'm working on CruiseControl.NET and noticed there are two workingDirectory blocks in the config files. I've looked through their google groups and documentation and maybe I missed something but I did not se...

Any reason to have SQL Server 2005 and 2008 installed on same machine?

I'm setting up a new development server and want to install the latest version of SQL Server 2008 Express. Will our existing sql2005 databases work with 2008 without modification? If so is there any reason to install both versions on the same server? ...

How do I embed a File Version in an MSI file with Visual Studio?

I have a setup project for my C# program, and this setup project has a Version in its properties. I'd like for the MSI file that is generated to have this Version embedded in it, so I can mouse over it in explorer and see what version the file is. I'm using VS2008. How can I do this? ...

What is a good free utility to create a self-extracting executable with an embedded file version?

According to the answers to this question, I cannot embed a file version in my .msi file. The installer that I give the client needs to have a file version. So, what I want to do is create a self-extracting executable containing the msi file and the setup.exe generated by Visual Studio, and put the file version on this self-extractin...

Adding Combo Box to setup using Orca

I am trying to display a combo box in a dialog during setup of a component. Currently, we have a Radio Button Group. I figured that replacing it with the combo box should be as simple as adding proper entries in the "ComboBox" table in the MSI and in the "Control" table, replacing the references to the radio button group with combobox in...

COM Registration and the GAC

I have a web project, a C# library project, and a web setup project in Visual Studio 2005. The web project needs the C# library needs to be registered in the GAC. This is simple, just add the GAC folder to the setup project and drop the primary output of the C# library in there. The C# library also needs to be registered for COM interop....

How is your Development Environment Set up?

Curious to know how people set up their personal and/or work development environment, in terms of: Do you just have all of your developer tools (for example Visual Studio, SSMS, etc.) installed on your main operating system; Do you use Virtual Machines to have a separate "clean" dev environment that consists only of the OS and one compi...

Setup Python enviroment on windows

How do I setup a Python enviroment on windows computer so I can start writing and running Python scripts, is there an install bundle? Also which database should i use? Thanks Sorry I should of mentioned that I am using this for web based applications. Does it require apache? or does it use another http server? What is the standard s...

Good Alternatives to Visual Studio Setup Projects

Most developers and engineers that have experience writing software and deploying with the packaged Visual Studio Setup Project know about it's many shortcomings. Usually in regards to installation customization, upgrade paths, etc. What are some good alternatives for software deployment? In particular I'm interested in features, .NET in...

Visual Studio 2005 Setup project application folder default location on potentially non-existent volume

I have a VS2005 solution that includes a setup project. The setup project specifies "d:\somefolder" as the Application Folder DefaultLocation property. When installing on a machine without any partitions mapped to "d:", the resulting installer craps out with the message "The volume d:\ is currently unavailable. Please select another."....