![]() |
#1 |
Junior Member
Join Date: Aug 2008
Posts: 7
|
![]()
Hi guys,
I just want to know how can I change $OUTDIR var to path outside installer path? I tried to use this dummy code but it didn't work! it gave me "..\src" where is should be c:\src where the installer sited in c:\bin code: |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,352
|
GetFullPathName
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Don't use relative paths, i.e. use $EXEDIR\..\src. If someone runs your installer from a different working/current directory you will have problems.
Stu |
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Aug 2008
Posts: 7
|
|
![]() |
![]() |
![]() |
#5 |
Junior Member
Join Date: Aug 2008
Posts: 7
|
Your note is absolutely right but I'm using two installers so I'm sure there will not be any problem in paths.
|
![]() |
![]() |
![]() |
|
Tags |
$outdir, nsis, path |
Thread Tools | Search this Thread |
Display Modes | |
|
|