Re: [WiX-users] ComponentGroup/@Directory - components inheriting directory targeted for future release?

2012-05-24 Thread Rob Mensching
The ComponentGroup/@Directory will not jump a reference. Today,
everywhere I can think of, the inheritance only flows the actual element
parent/child relationships.

On Wed, May 23, 2012 at 2:35 PM, Nick Ramirez nickra...@hotmail.com wrote:

 The default WiX setup project template in WiX 3.6 generates a
 ComponentGroup
 element with a Directory attribute on it. An early post by Rob says that
 this attribute is meant to be inherited by any child components:

 What I was thinking about was the ability to do ComponentGroup/@Directory,
 which all the contained Components would inherit. Thoughts?


 For me, the compile complains if I try this. I still have to either enclose
 my components in a DirectoryRef or add a Directory attribute to each
 component. If I don't, I get:

 The Component/@Directory attribute was not found; it is required.

 Is the ComponentGroup/@Directory for a future release?

 Example (compiler error):

 ComponentGroup Id=ProductComponents Directory=INSTALLFOLDER
ComponentRef Id=CMP_AppToInstall.exe/
 /ComponentGroup

 Component Id=CMP_AppToInstall.exe
 Guid={063058E1-9AE4-4D7F-BC18-E33CFD46FCBC}
File  Id=FILE_AppToInstall.exe
Source=$(var.SourceFolder)AppToInstall.exe
KeyPath=yes /
 /Component

 --
 View this message in context:
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ComponentGroup-Directory-components-inheriting-directory-targeted-for-future-release-tp7574202.html
 Sent from the wix-users mailing list archive at Nabble.com.


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ComponentGroup/@Directory - components inheriting directory targeted for future release?

2012-05-24 Thread Nick Ramirez
That makes perfect sense then. To use the Directory attribute feature, I will
just have to nest the components inside of the ComponentGroup. With so many
ways to arrange these elements, I wonder which way is the cleanest or most
readable or most maintainable.

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ComponentGroup-Directory-components-inheriting-directory-targeted-for-future-release-tp7574202p7575191.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ComponentGroup/@Directory - components inheriting directory targeted for future release?

2012-05-24 Thread Rob Mensching
That decision we did not make for you. smile/

On Thu, May 24, 2012 at 8:03 AM, Nick Ramirez nickra...@hotmail.com wrote:

 That makes perfect sense then. To use the Directory attribute feature, I
 will
 just have to nest the components inside of the ComponentGroup. With so many
 ways to arrange these elements, I wonder which way is the cleanest or most
 readable or most maintainable.

 --
 View this message in context:
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ComponentGroup-Directory-components-inheriting-directory-targeted-for-future-release-tp7574202p7575191.html
 Sent from the wix-users mailing list archive at Nabble.com.


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] ComponentGroup/@Directory - components inheriting directory targeted for future release?

2012-05-23 Thread Nick Ramirez
The default WiX setup project template in WiX 3.6 generates a ComponentGroup
element with a Directory attribute on it. An early post by Rob says that
this attribute is meant to be inherited by any child components: 

What I was thinking about was the ability to do ComponentGroup/@Directory, 
which all the contained Components would inherit. Thoughts? 


For me, the compile complains if I try this. I still have to either enclose
my components in a DirectoryRef or add a Directory attribute to each
component. If I don't, I get: 

The Component/@Directory attribute was not found; it is required.

Is the ComponentGroup/@Directory for a future release? 

Example (compiler error): 

ComponentGroup Id=ProductComponents Directory=INSTALLFOLDER
ComponentRef Id=CMP_AppToInstall.exe/
/ComponentGroup

Component Id=CMP_AppToInstall.exe 
 Guid={063058E1-9AE4-4D7F-BC18-E33CFD46FCBC}
File  Id=FILE_AppToInstall.exe 
Source=$(var.SourceFolder)AppToInstall.exe 
KeyPath=yes /
/Component

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ComponentGroup-Directory-components-inheriting-directory-targeted-for-future-release-tp7574202.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users