Re: [WiX-users] Registry and math

2008-06-06 Thread Bob Arnson
Christopher Painter wrote: > Any idea on why the column was formattable in the first place?   > Was it just a `we didn't think you'd want to do that` thing or is it limited > by some advertisement problem? > Shortcuts are files; MSI requires static names for files. -- sig://boB http://joyof

Re: [WiX-users] Registry and math

2008-06-06 Thread Christopher Painter
ngineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me --- On Fri, 6/6/08, Bob Arnson <[EMAIL PROTECTED]> wrote: From: Bob Arnson <[EMAIL PROTECTED]> Subject: Re: [WiX-users] Registry and math To: "General discussion for Windo

Re: [WiX-users] Registry and math

2008-06-06 Thread Bob Arnson
Christopher Painter wrote: > You know Bob, I've read that before but didn't think about how that could > solve another pain point. getting around the fact that the ShortCut > table doesn't format the shortcut name when dealing with multiple instance > installations. WiX already suppo

Re: [WiX-users] Registry and math

2008-06-04 Thread Christopher Painter
You know Bob, I've read that before but didn't think about how that could solve another pain point. getting around the fact that the ShortCut table doesn't format the shortcut name when dealing with multiple instance installations. Still, it'd be nice not to have to write any CA's.

Re: [WiX-users] Registry and math

2008-06-04 Thread Bob Arnson
Christopher Karper wrote: > No, we have a tool console that lists external tools in the registry. > > So, it'll have a value "NumExternalTools" that has a count in it, and a > value for each tool called "Tool0", "Tool1", "Tool#" where # == > NumExternalTools - 1 > I had a similar issue an

Re: [WiX-users] Registry and math

2008-06-04 Thread Christopher Karper
I think that's my solution. Thanks for the pointers! :-D Chris On Wed, Jun 4, 2008 at 3:20 PM, Christopher Painter <[EMAIL PROTECTED]> wrote: > Also if DTF is an option, check out: > > > http://blog.deploymentengineering.com/2008/05/data-driven-cas-made-easy-with-dtf.html > > > Christopher Ka

Re: [WiX-users] Registry and math

2008-06-04 Thread Christopher Painter
Also if DTF is an option, check out: http://blog.deploymentengineering.com/2008/05/data-driven-cas-made-easy-with-dtf.html Christopher Karper <[EMAIL PROTECTED]> wrote: No, we have a tool console that lists external tools in the registry. So, it'll have a value "NumExternalTools" that

Re: [WiX-users] Registry and math

2008-06-04 Thread Christopher Karper
No, we have a tool console that lists external tools in the registry. So, it'll have a value "NumExternalTools" that has a count in it, and a value for each tool called "Tool0", "Tool1", "Tool#" where # == NumExternalTools - 1 There are better ways to do it, but the fact is, I have to integ

Re: [WiX-users] Registry and math

2008-06-04 Thread Christopher Painter
This doesn't have anything to do with VSTO and Office 2007 does it? MSI has no support for math. Some hacks can be done as demonstrated in: http://99-bottles-of-beer.net/language-windows-installer-1310.html But otherwise it's custom action time. And if VSTO/Office 2007 is invo

[WiX-users] Registry and math

2008-06-04 Thread Christopher Karper
I need to know how to increment a registry value, or set it to 1 if it didn't previously exist. How would I go about doing this? I can read the current value, if it exists, then set it to one if that value is blank... But how do I do math? Do I need to write a CA for this? That seems like suc