Archive: Path outside installer path


Path outside installer path
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

    SetOutPath $EXEDIR
SetOutPath ..\src
MessageBox MB_OK $OUTDIR

GetFullPathName


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


Originally posted by Anders
GetFullPathName
This didn't fix the issue, it gives me the path only! I just want to change current path over the installer one.

Originally posted by Afrow UK
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
Your note is absolutely right but I'm using two installers so I'm sure there will not be any problem in paths.