Re: [WiX-users] How to install a shortcut conditionally?

2009-04-18 Thread Bob Arnson
Sebastian Brand wrote: > Thanks Bob, it works now even when just setting "1" as condition. > But then you're definitely going to run into the problem in the error message. -- sig://boB http://joyofsetup.com/ -- S

Re: [WiX-users] How to install a shortcut conditionally?

2009-04-15 Thread Sebastian Brand
9, 2009 16:18 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to install a shortcut conditionally? Sebastian Brand wrote: > I tried the same thing and it does work. But ironically it's producing an > ICE30 error now: > ICE30: The target file &#

Re: [WiX-users] How to install a shortcut conditionally?

2009-04-09 Thread Bob Arnson
Sebastian Brand wrote: > I tried the same thing and it does work. But ironically it's producing an > ICE30 error now: > ICE30: The target file 'file.exe' is installed in '[TARGETDIR]\' by two > different components on an SFN system: 'shortcut_to_file.exe1' and > 'file.exe1'. This breaks component r

Re: [WiX-users] How to install a shortcut conditionally?

2009-04-09 Thread Sebastian Brand
Hello, Bob Arnson wrote: > Advertised shortcuts require the component to include the target program. > So either include it in both components (relying on WiX smart cabbing to > not bloat the size of your .msi package) or you need to make the shortcut > non-advertised and fix the ICE43 and ICE5

Re: [WiX-users] How to install a shortcut conditionally?

2009-03-24 Thread Alan Sinclair
> -Original Message- > From: Bob Arnson > > Alan Sinclair wrote: > > I thought I'd make a new component (with condition on the component) > > and move the shortcut into that, but that was too simplistic and I > > don't know what KeyPath to use. I get "ICE50 ERROR Component > > 'GuiDes

Re: [WiX-users] How to install a shortcut conditionally?

2009-03-24 Thread Bob Arnson
Alan Sinclair wrote: > I thought I'd make a new component (with condition on the component) and move > the shortcut into that, but that was too simplistic and I don't know what > KeyPath to use. I get "ICE50 ERROR Component 'GuiDesktopIcon' has an > advertised shortcut, but a null KeyPath" and

[WiX-users] How to install a shortcut conditionally?

2009-03-23 Thread Alan Sinclair
I've got a package (written in WiX 2) that installs three shortcuts. New request is for one shortcut to be conditional on a property. How do I make it work? I thought I'd make a new component (with condition on the component) and move the shortcut into that, but that was too simplistic and I do