I have a few questions on getting my first WiX installer working.

I am making a package for a Tcl script and its support files. I would like to 
be able to read the registry to determine where TCL is installed. ActiveState 
TCL uses a 
version number in their key (e.g. HKLM\SOFTWARE\ActiveState\ActiveTcl\8.5.5.0). 
Without knowing which version of TCL the user has installed, how can I get the 
value of this 
registry key? Possibly another problem here is that when you uninstall a 
version of ActiveState TCL, the keys are not removed, just unset. So on one 
computer I also have a 
key named 8.4.4.0, but its value is unset. So, I really need the value of the 
latest version of ActiveState TCL that is set.

Hopefully this is doable within WiX, as I am not a Windows developer and don't 
have VisualStudio.

Once I get that value, I need to use it in setting up a shortcut. Right now, I 
can manually set up what I need. I take my TcCLscript (which does not end in 
.tcl), and 
create a shortcut. Then I open the shortcut's properties window. I set the 
"Target" field to, e.g. "C:\Tcl\bin\wish85.exe" "path_to_my_script". The C:\Tcl 
portion would be 
obtained from the registry search above. How do I set this value using the 
Shortcut tag?

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?

Thanks for any help you can provide.

-------------------------------------------------------------------------
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