vdproj

Automated release script and Visual Studio Setup projects

I think most people here understand the importance of fully automated builds. The problem is one of our project is now using an integrated Visual Studio Setup project (vdproj) and has recently been ported to Visual Studio 2008. Unfortunatly, those won't build in MSBuild and calling devenv.exe /build on 2008 just crashes, apparently it do...

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...

Reboot as last step in vdproj, how can I add it?

How can I add the reboot action to a vdproj? I need an MSI which restart the pc at the end of the installation. Thank you. ...

Unwanted MSI appearance after installation

I used windows installer (msi project) and actually I have the msi file after installation it throws a shortcuts to the desktop. My problem is when i double-click on the shortcut for my application, it displays somthing like the installation then it runs my application. I don't want the installtion windows to appear where my application...

Is a separate Visual Studio license required for a build machine?

I know that some companies allow you to install their products on build machines as required without requiring a separate license (DevExpress is one that comes to mind). However I was wondering if Microsoft had the same allowances on licenses. MSBuild does not support vdproj directly and require you to run Visual Studio from the command...

Can we instruct Visual Studio Setup to keep existing files for re-install?

I have a Windows Forms application with an installer (.msi) already created with Visual Studio. I am now creating a new installer for version 2.0 with the property RemovePreviousVersions set to true. Now, when I install 2.0 over 1.0 it removes 1.0 and installs 2.0 completely. Is there a way that I can tell the installer if you find som...

How to convert vdproj file to WiX format?

Hi all, I need to convert a vdproj file to WiX format so that I can get it building using msbuild. One solution was to call the devenv executable from msbuild and build the vdproj file from there but that's just nasty. I thought that I would try manually converting the file to WiX format but looking at its contents scared me quite a bit...

I have a error building a .vdproj on msbuild with nant

I'm getting used to using nant for build releases. But I have started to use asp.net MVC, and i choice make the setup for installation with a .vdproj . But, when I call the: < exec program="${dotnet.dir}/msbuild.exe" commandline='"./Wum.sln" /v:q /nologo /p:Configuration=Release' /> in nant, my result is: [exec] D:\My Document...

Build merge module without Devenv from .vdproj

I read quit a few Stackoverflow Questions about building mergemodules via commandline but all of them were accepted when either somebody suggested to use devenv for compilation or use Dark to create wix-files from existing msi files. Considering the following: VisualStudio isn't installed on the buildserver I have to use. I am using n...

Visual Studio Setup Projects: Cleartype

I use a Visual Studio Setup project to create an installer for some assemblies. However, the fonts the installer uses are always aliased, and don't appear to be the Windows standard. (Note that the installer text uses aliased text rendering, but the window title uses ClearType) Is there any way to update the MSI to use ClearType? ...

MSI removes required assembly on upgrade install, but replaces it on Repair

I'm experiencing some weirdness related to an MSI installation upgrade, perhaps someone out there can help me: I have two MSIs, an original and an upgrade: MSI version 1.0 Contains a .NET assembly, foo.dll, to be installed to the GAC foo.dll is of type "Assembly" (not "Output") within the MSI file system gui. MSI version 2.0 Also c...

Automate Builds in .net

Hi all, I have a solution sln, with 50 projects (vbproj, csproj, and setup project). I need automatize Build of all solution, and projects (set of projects of solution folder), and setup project (vdproj). My vdproj (setup project) has Post Build Event.. First, how can I automatize build for vdproj ?? I only can execute a command for ...

Passing REINSTALLMODE to an MSI file

Hello: I am using VisualStudio2005 and a vdproj to create a simple MSI file. I need to pass in the REINSTALLMODE property when I launch it. I know this can be done via command line, like so: msiexec.exe /i foo.msi REINSTALLMODE=amus However, if a user chooses to click the msi directly (launching the wizard), the property is not pas...

.net .vdproj - application shortcut

I'm create a .vdproj setup for a simple windows form. I have added a shortcut to the user's program menu (in a folder), but when I click the shortcut, it just opens the install folder. How do I set it up to run the .exe program? I just tried putting the .exe name in the "Argument" for the shortcut - no luck yet. I thought it might b...

Deployment projects not supported by msbuild: what are my options ?

I'm using TeamCity to automatically build my solution with msbuild and it seems that .vdproj are not supported. What are my options to build an msi/installer ? Install Visual Studio on the build server Use another installer (WiX, nullsoft, innosetup ?) ?! I already have TeamCity running and building a .zip and I'm looking for the fa...

Install different version of merge module depending on processor architecture

I have a Windows .net solution that is deployed with a Visual Studio Deployment project. My exe is a win32 app that runs fine on either a x86 or x64 windows. However I included a merge module (*.msm) from a third party vendor which is available in a x86 and x64 version. Now I could copy my whole deploy project and just change the msm, ...

Must visual studio setup projects satisfy project output dependencies from obj directory?

My Visual Studio 2005 setup project (vdproj) is satisfying it's Project Output dependency using files in the obj directory. I expected it to pull from the bin directory. This is a problem because I have a post build step that modifies the project output (it ILMerges all dlls into a single exe, if it matters) and updates the bin copy on...

.vdproj parser wanted!

Guys, I'm looking for some c# sample code or a tool that could parse .vdproj file (Visual 2010 Studio Setup and Deployment Project). Please, help me. ...

Writing to AppData from a Setup & Deployment Project

I am updating an existing application that is installed via a Setup and Deployment Project. The old application copied a config and a database file into the application's folder in Program Files during installation. This worked fine on Win 2000 and Win Xp (under a local admin account). In Windows 7, however, not only is this frowned u...

How to move a ProjectName.vdproj to a different directory?

Hi, I have a setup project which I would like to move to a different directory. I have found a way to change where the MSI files will go to, but I'm struggling to find a way to move vdproj files. Thank you ...