JLM wrote:
> Without knowing which version of TCL the user has installed, how can I get 
> the value of this registry key? 

MSI's RegLocator functionality doesn't support recursive searches. If 
the ActiveTCL installer wrote a "current version" value, you might be 
able to use it. The only way I can think of to make it work is by 
searching for the explicit versions you support. Otherwise, you'd need 
to write a custom action to search the registry.

> The C:\Tcl portion would be 
> obtained from the registry search above. How do I set this value using the 
> Shortcut tag?
>   

The Shortcut/@Target attribute supports formatting properties, so you 
could use something "[PATH_TO_TCL] [#IdOfFile]".

> Final question. I know that the executable is in bin, but I do not know its 
> exact name. For Tcl 8.5.5.0, it is called wish85.exe, for 8.4.4.0, it is 
> probably called 
> wish84.exe. I know it is wish*.exe. How do I get the exact value of this 
> executable, to use in creating the shortcut?
>   

You'll have to use a custom action for that too; MSI's file search 
functionality doesn't support looking for wildcard patterns.

-- 
sig://boB
http://joyofsetup.com/



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to