|
|
#1 |
|
Senior Member
Join Date: Oct 2007
Location: Shanghai, China
Posts: 207
|
How to get the parent directory
For example the script:
!include "MUI.nsh" SetCompressor /SOLID lzma InstallDir "$PROGRAMFILES\MYPROGRM" ...... Section Client ${GetParent} $INSTDIR $R0 ...... SetOutDir "$R0\TEST" ...... When compiling,it said: Invalid command: ${GetParent} How to use the function "${GetParent}"?Help me! The help give the follow code: Section ${GetParent} "C:\Program Files\Winamp\uninstwa.exe" $R0 ;$R0="C:\Program Files\Winamp" SectionEnd But I test it,it can't be compiled! |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|