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

Property String manipulation


1 reply to this topic

Amarjeet

Amarjeet
  • Full Members
  • 77 posts

Posted 20 May 2011 - 10:13

Hi,

I am working on basic msi project. I am detecteting a product from registry.

I get current version information of product in form of

Application.CurrentVersion.7.11

I save this information in form a property through System Search

I would like to truncate Application.CurrentVersion and show only 7.11 in one of the dialog.

Is there any function available which can enable me to truncate property value.

Thanks in advance.

Regards,

Amarjeet

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 May 2011 - 17:59

Windows Installer has no built in string processing functionality, so you will need a custom action. This could be a DLL or an InstallScript function for instance.