|
|
#1 |
|
Junior Member
Join Date: Oct 2007
Posts: 2
|
Hy!
I've got the following problem: I have a programm witch requires .Net-Framework. So if the user has no Framework installed, the setup of my program installs it automatically. I'm delivering my program on cd including .Net setup. The Path of the installer: \software\products\lbw\app\setup.exe From this path I want to go to the setup of .Net-Framework witch is located in this folder. \software\common\Frameworkredist\dotnetfx.exe So i have to go 3 folders up and from there 2 folders down. I tried to solve the problem like this: ExecWait '".\..\..\..\common\Frameworkredist\dotnetfx.exe" /q /c:"install /q"' But it seems like the relative path doesn't work with "ExecWait". |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
That path is relative to the working directory which changes according to Explorer and NSIS's SetOutPath. If you want it to be relative to the directory where the installer is located, use $EXEDIR\..\..
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2007
Posts: 2
|
Thank you very much!!
Now it works! |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|