View Full Version : Does MSBuild work with with installshield from the command line

09-26-2014, 04:00 AM

I am having problems getting msbuild to work from the command line, the command line i am using is:

msbuild ..\..\..\Tools\Installer\IS-QuickDesign\IS-QuickDesign.sln /noconsolelogger /t:build /p:Configuration=SINGLE_EXE_IMAGE /p:BuildVersion=%BuildVersion% /l:FileLogger,Microsoft.Build.Engine;Logfile=Logs\isquickdesign.log

the error that i am receiving is:

C:\Program Files (x86)\MSBuild\InstallShield\2014\InstallShield.targets(72,4): error MSB4067: The element <_VSSolutionFolderDefined> beneath element <ItemGroup> is unrecognized.

VSSolutionFolder is defined in the project!

What is going wrong?

What i would really like to do is use msbuild to build the project and pass the buildversion number and the prerequisite path on the command line, I would also like to know how to do that, but would really like to be able to get a simple build to work first!!

All help would be greatly appreciated!


12-19-2014, 03:27 PM
Hi David,

Yes, you would use MSBuild to build a visual studio solution that has an Installshield project.

Using MSBuild to Build a Release from the Command Line

Try removing the Installshield project from your solution and then additing it back in again. Maybe it just needs to reinitialized.