Community Forums
Results 1 to 5 of 5

Thread: Using VS2012 devenv build from command line fails

  1. #1
    Join Date
    Sep 2010

    Using VS2012 devenv build from command line fails

    Hi Guys

    I'm trying to build my installshield project from the command line and it is failing.

    I can build it from inside visual studio but when I use the command line to do an automated build in a separate directory by retrieving the source etc it fails.

    This is the command I am using:

    "%VSCOMPILER%" /build "Release" /project "iSM.Installer\iSM.Installer.isproj" /projectconfig Release /out "%RELEASEDIR%\ism_Build.txt" "%RELEASEDIR%\iSM\iSM.sln"

    The solution appears to build fine with no errors but it doesn't appear to build the msi properly and falls over at the first project:

    66>------ Build started: Project: iSM.Installer, Configuration: Release ------
    66>Created release folders
    66>AdminExecuteSequence table successfully built
    66>AdminUISequence table successfully built
    66>AdvtExecuteSequence table successfully built
    66>AdvtUISequence table successfully built
    66>InstallExecuteSequence table successfully built
    66>InstallUISequence table successfully built
    66>Directory table successfully built
    66>Feature table successfully built
    66>FeatureComponents table successfully built
    66>Component table successfully built
    66>Loading File table
    66>ISDEV : error : -6225: Resolving Visual Studio .NET project output "ClassLibrary\ClassLibrary.csproj\|ContentFiles"
    66>Default Configuration\Release - 1 error(s), 0 warning(s)
    66>Log file has been created: <file:\Build\iSM\iSM.Installer\iSM.Installer\Default Configuration\Release\LogFiles\12-7-2012 11-24-14 AM.txt>

    Any help would be appreciated

    thanks in advance

  2. #2
    Join Date
    Mar 2013

    There still no answer?

    Has same problem.

    My command line:
    devenv InstallShieldTest.sln /build "Release|Any CPU"


    Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.51106.1.
    Copyright (C) Microsoft Corp. All rights reserved.
    1>------ Build started: Project: Sample, Configuration: Release Any CPU ------
    1> Sample -> D:\Projects\Onixs\InstallShieldTest\Sample\bin\Release\Sample.exe
    2>------ Build started: Project: Setup, Configuration: SingleImage ------
    2>Created release folders
    2>ISEXP : warning : -7235: InstallShield could not create the software identification tag because the Tag Creator ID setting in the General Information view is empty.
    2>AdminExecuteSequence table successfully built
    2>AdminUISequence table successfully built
    2>AdvtExecuteSequence table successfully built
    2>AdvtUISequence table successfully built
    2>InstallExecuteSequence table successfully built
    2>InstallUISequence table successfully built
    2>Directory table successfully built
    2>Feature table successfully built
    2>FeatureComponents table successfully built
    2>Component table successfully built
    2>Loading File table
    2>ISEXP : error : -6225: Resolving Visual Studio .NET project output "Sample\Sample.csproj\|ContentFiles"
    2>Express\SingleImage - 1 error(s), 1 warning(s)
    2>Log file has been created: <file:D:\Projects\Onixs\InstallShieldTest\Setup\Setup\Express\SingleImage\LogFiles\3-28-2013 04-14-18.txt>
    ========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    From Visual Studio project was build without errors.

    My test project was attached:

    Please let me know if there any way to build installshield project from command line.

    Thanks in advance.

  3. #3
    Join Date
    Apr 2013


    I have the same problem. Can someone please help us out here?

  4. #4
    Join Date
    Apr 2013

    use msbuild instead

    Hi, looks like it works if built with msbuild.


  5. #5
    Join Date
    Jan 2002



    try to use:


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts