Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

properties in string for Verb table


4 replies to this topic

lavocat

lavocat
  • Full Members
  • 158 posts

Posted 04 October 2010 - 15:14

Hello,

I use Verb table to add a line in contextual menu for BMP files.

The string to diplay in this menu is "Open with [ProductName]". It is stored in the string table.

But when installed, the line in contextual menu is "Open with [ProductName]"
where [ProductName] is never translated to the product name.
I've tried with a custom property using a constant value but the problem is the same.

Any idea?

Chris

Edited by lavocat, 04 October 2010 - 15:19.


akerl

akerl
  • Full Members
  • 104 posts

Posted 04 October 2010 - 16:30

Chris, the data type for the verb column is Text and not Formatted, so the property wasn't translated to the value. Use a custom action (type 51) instead.

HTH
LG
Andreas

Andreas Kerl

Inside Windows Installer 4.5
ISBN 3-86645-431-7


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 04 October 2010 - 16:38

Since the Command column in the Verb table is of type Formatted, it should resolve properties. Please look in Direct Editor and/or open the built msi file in DirectEdit mode to see what content InstallSHield puts in this field.

lavocat

lavocat
  • Full Members
  • 158 posts

Posted 05 October 2010 - 07:45

ISM file
=====
Direct Editor :
In table « Verb », « Command » = Open with [ProductName]

Orca :
In table « Verb », « Command » = ##_application_name_ctxmenu##

Table « ISString » : _application_name_ctxmenu 1033 Open with [ProductName] 0

MSI file
=====
Orca :
In table « Verb », « Command » = Open [ProductName]

Edited by lavocat, 05 October 2010 - 07:47.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 05 October 2010 - 09:23

QUOTE
MSI file
=====
Orca :
In table « Verb », « Command » = Open [ProductName]

Looks good to me. I don't know why this doesn't resolve the ProductName property. Does the log file give any clues? And did you double check to make sure there are no blanks or other funny characters or typos in [ProductName]?