Re: [WiX-users] Setting attribute based on Condition

2006-06-22 Thread Bob Arnson
rchiodo wrote: > I think I can get around this by having two versions of the same component, > and then for the 64 bit one, rename (CopyFile) it to the original name > during the install. Something like so: > CopyFile is dangerous because you can't service the files that are copied/moved/rename

Re: [WiX-users] Setting attribute based on Condition

2006-06-22 Thread Bob Arnson
Albert van Peppen wrote: > > So basically you say you need a separate installer for 64 bits (no > Almost always. You can't mark a package as supporting both Intel (x86) and x64, for example. And while a 64-bit package can also install 32-bit components, a 32-bit package isn't allowed to inst

Re: [WiX-users] Setting attribute based on Condition

2006-06-22 Thread rchiodo
Well no not really. I just need to install a component differently on 64 than on 32. Specifically I want the component to be permanent on 32, but not on 64. I think I can get around this by having two versions of the same component, and then for the 64 bit one, rename (CopyFile) it to the origin

Re: [WiX-users] Setting attribute based on Condition

2006-06-22 Thread Albert van Peppen
@lists.sourceforge.net Onderwerp: Re: [WiX-users] Setting attribute based on Condition rchiodo wrote: > Is it possible to set a generic attribute based on a condition? > Only if the attribute accepts formatted text. Most don't. Permanent, for example, turns into a bit in the Componen

Re: [WiX-users] Setting attribute based on Condition

2006-06-20 Thread Bob Arnson
rchiodo wrote: > Is it possible to set a generic attribute based on a condition? > Only if the attribute accepts formatted text. Most don't. Permanent, for example, turns into a bit in the Component table and therefore has to be set at compile time, not install time. -- sig://boB http://bobs

[WiX-users] Setting attribute based on Condition

2006-06-20 Thread rchiodo
Is it possible to set a generic attribute based on a condition? For example, I'd like to set the Permanent attribute for a Component to "yes" if running under x86, and "no" if running under IA64,AMD64. I've tried creating two components with separate conditions, but this keeps giving me duplicat