Votive references work just fine from a build using MSBuild on the command 
line.  I test this scenario dozens of times a day.

--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com



-----Original Message-----
From: Phill Hogland [mailto:phogl...@rimage.com] 
Sent: Monday, July 21, 2014 8:33 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] bootstrapperApplicationData' attribute is not declared.

So if you have a Visual Studio Solution file, and each project that you want to 
reference has been added to that VS Solution file, then you add the reference 
to your project and use the variables as documented here:
http://wixtoolset.org/documentation/manual/v3/votive/votive_project_references.html

Personally I avoid that approach for several reasons.  My main reason is that I 
want to be able to build my projects on the command line using MSBuild 
commands, (in addition to building my projects within VS IDE) VS Project 
References are only resolve when the VS IDE is using the Solution file.

There are several other approaches to defining the your source paths. with some 
infor here:
http://wixtoolset.org/documentation/manual/v3/howtos/general/specifying_source_files.html

The approach I use most of the time is:
1) I define an environment variable to root of all of my projects (to harvest 
MSI, etc.)
2) In the bootstrapper project file (I unload it and edit it directly), I 
modify the LinkerAdditionalOptions to include:
-b $(EnvVariableName to root of all projects)\Project\bin\$(Configuration)

In the bootstrapper the MsiPackage/@SourceFile="(local or 
platform)\Project.msi"  (For projects that do not have multiple locales or 
platforms, just specify the package name.)

There are other approaches that make use of binding or preprocessor variables.




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/bootstrapperApplicationData-attribute-is-not-declared-tp7595444p7596016.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and search 
up to 200,000 lines of code with a free copy of Black Duck Code Sight - the 
same software that powers the world's largest code search on Ohloh, the Black 
Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to