Getting parent folder
Posted: Mon Nov 21, 2011 5:56 am
Hi guys,
I can't figure out how to get path to the parent folder using InstallAware.
E.g.
I have
What I want is just a
So I wrote line:
But during installation wizard says that it does not understand ".." symbol
Using Set Variable FOLDER_1 to C:\FolderA first, and then adding FolderB is not an option.
I can't figure out how to get path to the parent folder using InstallAware.
E.g.
I have
Code: Select all
Set Variable FOLDER_1 to C:\FolderA\FolderBCode: Select all
Set Variable FOLDER_2 to C:\FolderA\tmp, using FOLDER_1Code: Select all
Set Variable FOLDER_2 to $FOLDER_1$\..\tmpUsing Set Variable FOLDER_1 to C:\FolderA first, and then adding FolderB is not an option.