Archive: How to change abosulte path to relative path?


How to change abosulte path to relative path?
How to change abosulte path to relative path?
___________________________________________________
For instance:
When I install the two files.The output informations on the Label are:

Extract: C:\Program Files\my application\xx.dll
Extract: C:\Program Files\my application\myfiles\file1\xxx.dll

How to remove "Extract:" string?

If the absolute path is too long,the label cannot contain it in horizontal direction.It will add another line to output the absolute path completely.

How to change the long path to:

C:\...\myfiles\file1\xxx.dll
or
C:\...\file1\xxx.dll


This function wasn't designed to work with paths but it is worth a try:
http://nsis.sourceforge.net/TrimText...fit_in_a_label

Stu