vdproj

Running devenv against a .vdproj at the command line doesn't produce an MSI

二次信任 提交于 2019-12-06 03:51:02
问题 I want to generate MSI files from a .vdproj file using the devenv command in a command prompt. This command is running well but no MSI file is generated. What is wrong? What should I set in environment variables, or is there any other way to generate an MSI from a .vdproj file? 回答1: This is usually (in my experience!) caused by not targeting the correct build configuration. Within Visual Studio, at the solution level you can go to the Build menu and choose Configuration Manager . Ensure that

Build merge module without Devenv from .vdproj

五迷三道 提交于 2019-12-05 08:34:16
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 nant + msbuild to compile the solutions I would like to compile mergemodules from .vdproj (because Visual Studio detects dependencies automatically) and create a msi setup from multiple mergemodules ... how can I build the merge modules from commandline without

Compile Setup project with devenv.com - “ERROR: Unable to update the dependencies of the project”

岁酱吖の 提交于 2019-12-04 08:52:00
问题 I have a Setup deployment project in VS 2010. The project compiles perfectly with the GUI interface of VS 2010, but any time I trying to compile it via vs cmd (devenv.com) it comes up with this error: ERROR: Unable to update the dependencies of the project. Notice that there is NO dll that mentioned in the error (e.g. the error does NOT contain "The dependencies for the object ‘xxx’ cannot be determined"). Please do not tell me to clean all the files in this setup and start from ground up -

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

﹥>﹥吖頭↗ 提交于 2019-12-04 07:57:15
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 some files already installed (like .xml files used for data) then don't override them? I am trying to have my 2.0 installer serve the 2 purposes: Install from scratch for new users Existing users will upgrade but not lose their customizations The deployment project

Running devenv against a .vdproj at the command line doesn't produce an MSI

偶尔善良 提交于 2019-12-04 07:08:59
I want to generate MSI files from a .vdproj file using the devenv command in a command prompt. This command is running well but no MSI file is generated. What is wrong? What should I set in environment variables, or is there any other way to generate an MSI from a .vdproj file? This is usually (in my experience!) caused by not targeting the correct build configuration. Within Visual Studio, at the solution level you can go to the Build menu and choose Configuration Manager . Ensure that for all applicable configurations (chosen via the Active Solution Configuration drop-down) the installer

How to convert vdproj file to WiX format?

拈花ヽ惹草 提交于 2019-12-03 04:46:23
问题 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. Are there any tools or elegant solutions that could possibly help with this conversion? 回答1: You can try work with Dark which converts any MSI into Wix. You will

Visual Studio 2012 Windows service .vdproj project migration

♀尐吖头ヾ 提交于 2019-12-03 02:46:26
问题 I'm trying to move a solution I have over to Visual Studio 2012 and one of the project types is .vdproj. According to this link this project type is not supported in Visual Studio 2012: MSDN says they recommend that you use InstallShield Limited Edition for Visual Studio. The problem is, when I open up my solution in VS2012 and try to add a new "Enable InstallShield Limited Edition" project to my solution, I get an error message saying: Creating project 'test'...project creation failed. Why

Compile Setup project with devenv.com - “ERROR: Unable to update the dependencies of the project”

允我心安 提交于 2019-12-03 01:12:43
I have a Setup deployment project in VS 2010. The project compiles perfectly with the GUI interface of VS 2010, but any time I trying to compile it via vs cmd (devenv.com) it comes up with this error: ERROR: Unable to update the dependencies of the project. Notice that there is NO dll that mentioned in the error (e.g. the error does NOT contain "The dependencies for the object ‘xxx’ cannot be determined"). Please do not tell me to clean all the files in this setup and start from ground up - this is not a real solution! I have 5 projects with this exact error, and I don't want to re-arrange

Visual Studio 2012 Windows service .vdproj project migration

て烟熏妆下的殇ゞ 提交于 2019-12-02 16:38:24
I'm trying to move a solution I have over to Visual Studio 2012 and one of the project types is .vdproj. According to this link this project type is not supported in Visual Studio 2012: MSDN says they recommend that you use InstallShield Limited Edition for Visual Studio. The problem is, when I open up my solution in VS2012 and try to add a new "Enable InstallShield Limited Edition" project to my solution, I get an error message saying: Creating project 'test'...project creation failed. Why might I not be able to add a project of this type to my solution? If I make a new empty solution I can't

Writing to AppData from a Setup & Deployment Project

喜夏-厌秋 提交于 2019-12-01 06:10:16
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 upon, but it essentially doesn't work due to UAC. So I want to update the application to write its config/data in CommonApplicationData. In the existing Setup and Deployment project, you can easily select some locations as targets for copying files. i.e.