InstallAware for Windows Installer
 

Extract Path

This command manipulates a path string to extract the requested drive, folder, file name, or file extension information, OR it replaces double occurences of a backslash character with a single occurence.

Variable

This variable holds the path to convert. It will be replaced with the updated path after the conversion.

Operation

Choose the type of operation to perform. The table below lists the result of each of the available operations against a sample path value of C:\Program Files\My Company\\application.exe.

Operation Resulting Value
application.exe
application
exe
C:\Program Files\My Company\
C:\Program Files\
C:\
C:\Program Files\My Company\application.exe