setup

What are "Content Files" (in Visual Studio : Setup Project : File System

In the context of a Visual Studio 2008 Setup Project, what are "Content Files". In other words, when creating a setup project and defining the File System settings and choosing: Add Project Output > Content Files, what files will be added? For example, what has to be true about a file or its location for it to be considered a Content Fi...

Windows installer problem

Hi I've deveoped a windows setup applicaiton using c#. When I try to install it in one of my friend's system it is asking about windows installer is not installed and .net framework also not installed messages. How can I install those two things before I install my application. I want to integrate those values into my setup application...

how to create multi language windows installer?

Whats the best way to create the multi language installer for Office Addin Deployment Setup? Is it possible using VS.NET 2008, C# or do I need to use any 3rd party tool or like install shield 2009 ?? ...

Difference between Arguments and CustomActionData in VS CustomAction

In a Visual Studio 2008 setup project, what is the difference between the two properties: Arguments and CustomActionData? In the descriptions that I've read on MSDN, they sound about the same. When should a person use one vs the other. http://msdn.microsoft.com/en-us/library/kyd017kk%28VS.80%29.aspx Thanks, Neal ...

C# .net windows application setup

hello i have created one windows application in c# .net and its working fine. but when i create its setup and deploy on the machine it get crashed. i am not getting what is the problem when i run its .exe file it run well. please help Thanks & Regards Rajesh ...

Using cmd.exe in a VS Setup Custom Action

I set my Custom Action to cmd.exe and adding these arguments: /K XmlPreProcess.exe /x:"[SETTINGSFILE]" /i:"[TARGETDIR]web.config" [CUSTOMSETTINGS] /e:[ENVIRONMENTBUTTON] >log.txt I'm trying to either: a) stop the command screen so I can read it b) write the results to a file so I can read it. [ENVIRONMENTUTTON] should be equal...

VS 2010 Setup Project Requires .NET 4.0, but it is already installed

I have a VS 10 project using .Net 4.0 and I use lots of stuff that do require 4.0. I created a VS Setup project added the primary output from my project and built it. I then installed it and everything worked fine. A few days later I am ready to do a new build so I rebuild my project and then the setup project. Now when I run the msi it ...

With Visual Studio 2008 how can I set what file path my published setup.exe installs to?

I have a Visual Studio 2008 C# desktop app that I can publish an installer for just fine, however it installs itself into the User\AppData\ folder I can't seem to figure out how to make it go some normal place like Program Files. Also, how can I make it put a folder and shortcut in the Programs list of the Start Menu? ...

Automatic driver installation in VS2008 setup project

Is there any way how to perform automatic driver installation during my C# app is being installed? I am using standard Setup project in VS2008 (MSI file). My application is communicating with a custom USB device, so the user must install the .NET app first and then manually connect the device to his PC and let Windows install the driver....

NSIS - How do I detect silent install?

If an NullSoft Install System installer is launched with the /S switch, how can I detect it from the script? Thanks! ...

using Moq and NUnit , what is write approach / better syntax ?

I am trying to test this behavior -- BLOGTableAdapter.GetBlogsByTitle(string title) is called and for once only -- and is called with string having length greater than 1, -- and it returns BLOGDataTable Object [Test] public void GetBlogsByBlogTitleTest4() { var mockAdapter = new Mock<BLOGTableAdapter>(); ...

VS2008 Setup Project: Uninstalling the previous MSI

I have a VS2008 setup project, which creates a setup.msi which installs a WinForms application (C#). Every time I update the version number, the users first have to uninstall the previous version before they can install the new one. Otherwise we get the dreaded "Another version of this product is already installed" message. This is wha...

How to create .msi setup package for Visual Studio 2008 Add-in?

Hi, I've created an Add-In for Visual Studio 2008. The only thing remaining is to create a setup package so that others can install and use my Add-In. How can I do this in Visual Studio? I tried creating a simple setup package, inserting files into the Add-Ins folder in the user's Documents folder, and it all worked as expected, except...

Winrar sfx deletes files too early

I'm trying to build a sfx (self extracting archive) using winrar. I'm using VS2008 to build a setup.exe and a myapp.msi. If setup.exe is executed it does some checking an launches myapp.msi I'm using some sfx options to make the extraction quiet and make it extract so some temp folder: ;Der folgende Kommentar enthält SFX-Skriptbefehle...

Windows setup project - can I specify location of the application in the start menu?

I have added a setup project to my .net windows application (VS 2008), and when I install my application I get a menu item in the start menu for my application at the top level of the start menu. I would like the user to be able to select a folder for the application during installation like I've seen with most applications, but I can't...

Tool for interactive dev environment setup and tasks

I'm looking for a tool allowing to define interactive dev environment setups. I am not looking for a tool that automates downloading and installing tools such as IDEs, SDKs and the like. Nor am I looking for a '1 click' approach to setting up, replicating dev environments. Maybe it will be easier if I explain the kind of situation I am...

VS2008 Setup Project - Portability

When I add a file to my setup deployment project, Visual Studio won't allow me to edit the "SourcePath" to resolve an environment variable like $(DLL_PATH). It adds the file with the source path on my local machine and builds fine locally. When the same project is built on another machine, it won't work unless that machine also has the e...

How to setup and run Python on Wampserver?

Can anyone help me to set up Python to run on Wampserver. From what I've read so far you would need to use a combination of Wampser, Python, mod_pyhton, and adjustment to the Apache http.conf file. I've tried it but i belive i am having conflict when it comes to versions. Does anyone know of a cobination of versions that can work so that...

setup.py: installing just a pth file?

As the final step in building a custom python, I need to add a myproject.pth. Currently I'm doing this in a Makefile: install: rm -f ../../lib/python2.6/site-packages/myproject.pth cp myproject.pth ../../lib/python2.6/site-packages/myproject.pth but I would like to encapsulate this in a setup.py. Unfortunt...

Why won't my Setup Project Perform my Custom Registration Process

I am trying to write an Setup Project/Installer for a class library driver that I wrote in C# using Visual Studio 2008. The driver project has a section of code that looks like this... [ComRegisterFunction] public static void RegisterASCOM(Type t) { Trace.WriteLine("Registration Started."); DoRegistration(tru...