PDA

View Full Version : Uninstall message doesn't interpret runtime variables in [PRODUCTNAME]



NewsArchive
06-13-2010, 04:08 AM
I'm playing with controlling the name that shows in 'Add or Remove
Programs'/'Programs and Features' for Clarion template installation(so
you can distinguish, e.g., between a template installation for Clarion
6.2 and the same template installed to Clarion 7.2. I was last playing
with this back in February. (I'm trying to put together a template that
I can pull up, put the name in [APPTITLE], put a version in
[PRODUCTVER], and set up the files, and have a ready-to-go template
installation). As Friedrich suggested, I've put a %PRODUCTNAME%
run-time variable in [PRODUCTNAME], and I play with its contents after
Clarion detection. This works as far as the name that shows up in 'Add
or Remove Programs'/'Programs and Features', but the uninstall messages
come up as 'Are you sure that you want to remove %PRODUCTNAME% and all
of its components' and 'The Wizard has successfully uninstalled
%PRODUCTNAME%'.

I assume I'm running into messages in the Text and Messages visualizer
not being able to handle runtime variables? I can change the
1033_UNINST_CONFIRM and 1033_UNINST_FINISH messages to use [APPTITLE]
instead, but it would be nice to be able to put the full name (as in
%PRODUCTNAME%) in there.

Ben
- --
Ben Coleman
CTO, Accelerated Design, Inc.
http://www.accelerateddesign.com/

NewsArchive
06-14-2010, 01:17 AM
Ben,

In this scenario, you have to set the Product Name in a custom uninstall.
Similar to this (see attached screenshot from our LSZip un-/install).

HTH,
Friedrich