Loading
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:

 

66>

 

Any help would be appreciated

 

thanks in advance

  • Has same problem.

     

    My command line:

     

    devenv InstallShieldTest.sln /build "Release|Any CPU"

     

     

    Output:

     

    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:

     

    2>

     

    ========== 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.
    Expand Post

Loading
Using VS2012 devenv build from command line fails