View Full Version : How do you change the Name for Add/Remove Programs support?
NewsArchive
02-26-2010, 03:43 AM
Is it possible to change the name used for Add/Remove Programs support
at run time? From what I can tell, it uses [PRODUCTNAME] for the name.
There are times when being able to change this might be necessary.
E.g. when you're creating an installer for a Clarion Accessory, it's
quite likely that it will be installed more than once on a machine (a
lot of Clarion developers have both Clarion 6.3 and Clarion 7.1 on their
machines at the moment). If set up with Add/Remove Programs support,
then as far as I know, the last install will overwrite the previous
installs on the Add/Remove Programs List(and only the last one will be
uninstallable via Add/Remove Programs). It would be handy to be able to
change that name to, say '[PRODUCTNAME] for %DETECTEDCLARIONVERSION%',
so that all of the installs show up in a distinctive way.
Ben
- --
Ben Coleman
CTO, Accelerated Design, Inc.
http://www.accelerateddesign.com/
NewsArchive
02-26-2010, 03:43 AM
Ben,
> Is it possible to change the name used for Add/Remove Programs support
> at run time? From what I can tell, it uses [PRODUCTNAME] for the name.
> There are times when being able to change this might be necessary.
Create a variable, e.g. %MY_PRODUCTNAME%. Use this variable in the "Product
Properties" (Product Name [PRODUCTNAME] field). In your script, set the
%MY_PRODUCTNAME% variable to whatever you want.
Does this help?
Friedrich
NewsArchive
02-26-2010, 04:50 AM
Ben,
> E.g. when you're creating an installer for a Clarion Accessory, it's
> quite likely that it will be installed more than once on a machine (a
> lot of Clarion developers have both Clarion 6.3 and Clarion 7.1 on their
> machines at the moment). If set up with Add/Remove Programs support,
> then as far as I know, the last install will overwrite the previous
> installs on the Add/Remove Programs List(and only the last one will be
> uninstallable via Add/Remove Programs). It would be handy to be able to
> change that name to, say '[PRODUCTNAME] for %DETECTEDCLARIONVERSION%',
> so that all of the installs show up in a distinctive way.
BTW, and this is exactly what we are doing in our LSZip install (see
attached screenshot). The Add/Remove Programs Panel always displays the
correct product name (including a unique product specific Product GUID).
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder is Windows 7 installation -- "point. click. ship"
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
02-27-2010, 03:13 AM
> Create a variable, e.g. %MY_PRODUCTNAME%. Use this variable in the "Product
> Properties" (Product Name [PRODUCTNAME] field). In your script, set the
> %MY_PRODUCTNAME% variable to whatever you want.
>
> Does this help?
It leaves me a little confused, as the documentation says that run-time
variables are not allowed in the [PRODUCTNAME] field. Has this perhaps
changed, and the documentation wasn't updated?
Ben
- --
Ben Coleman
CTO, Accelerated Design, Inc.
http://www.accelerateddesign.com/
NewsArchive
02-27-2010, 04:28 AM
Ben,
>> Does this help?
>
> It leaves me a little confused, as the documentation says that run-time
> variables are not allowed in the [PRODUCTNAME] field. Has this perhaps
> changed, and the documentation wasn't updated?
You are correct. "Runtime variables, such %TEST%, are not permitted" in the
documentation is wrong. The latest SB7 versions allow you to use runtime
variables in "Product Name [PRODUCTNAME]" and "Product GUID [PRODUCTGUID]".
Sorry for the confusion. Changed in the latest internal documentation now.
Friedrich
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.