Virtual Text
Previous Topic  Next Topic 

The Virtual Text panel allows you to see what virtual text and virtual directory definitions are defined in InstallJammer as well as add your own virtual text to your project.  Adding your own virtual text lets you customize your installer by using common strings throughout instead of using constant values.


To learn more about virtual text, please read What is Virtual Text?


Adding New Virtual Text

You can add your own virtual text by clicking the "Add New Virtual Text" button located on the toolbar in the panel.  A new line will be added to the bottom of the virtual text table with values that are left blank for you to fill in.  The first field is the index value for the virtual text field you are adding.  The second field is the text that will be used for your new virtual text within the installer.


Now that you've added your new virtual text, you can use it throughout your install in place of constants.  Here's an example:


Let's say you add a virtual text definition called "MyVirtualText" with a value of "This is my virtual text."  Anywhere you use <%MyVirtualText%> within InstallJammer, it will be substituted with the text "This is my virtual text."  And, since virtual text can be embedded within other virtual text, you could set your virtual text to something like, "Today's date is <%Date%>" and InstallJammer will do the substitution of <%Date%> inside your text whenever you use it.


Deleting Virtual Text

You can only delete virtual text that you have added to your project.  Virtual text that is defined by InstallJammer cannot be deleted.  To delete a virtual text definition that you have added, click on the row for the text and then click the "Delete Virtual Text" button on the toolbar in the panel.


You can select multiple rows to delete at once.