0kermit0
7th October 2003, 07:29
1. Problem
How can i check if there are spaces in the $Instdir ?
i.e. i only want to allow $Instdir without any spaces in it. (test is allowed, te st is not allowed)
How can i do this ?
2. Problem
I have two sections, and i want to allow only one section to be installed. And i want another $Instdir for each section.
i.e:
InstallDir "$PROGRAMFILES\${MUI_PRODUCT}"
...
Section "Update" ; should have $Instdir
...
Section "Demo-Update" ; should have $Instdir2
I know about SetOutPath. but i want the $Instdir(2) to appear in the dest.-dir dialog.
How can i check if there are spaces in the $Instdir ?
i.e. i only want to allow $Instdir without any spaces in it. (test is allowed, te st is not allowed)
How can i do this ?
2. Problem
I have two sections, and i want to allow only one section to be installed. And i want another $Instdir for each section.
i.e:
InstallDir "$PROGRAMFILES\${MUI_PRODUCT}"
...
Section "Update" ; should have $Instdir
...
Section "Demo-Update" ; should have $Instdir2
I know about SetOutPath. but i want the $Instdir(2) to appear in the dest.-dir dialog.