NSIS extracting in wrong folder instead of overwrite/skip
Hi, i need a little help, im doing an install for a oracle runtime, it mess with registries and reg diles and another setups extracted to a temp file.
in that there is no problem i did everything reading the forums but now in the UAT.
i found the next problem.
When i install the first time it creates the folders as i told it. ie.
C:\oracle\forms
This is mis $INSTdir
and inside it it have several folders like BIN
C:\oracle\forms\bin
but after it finish i decide to reinstall it without uninstall it to see what it doest and i realize that the installations was not skipping or overwriting so i decide to dig a little and i found the next.
in the 2nd. install i found inside the BIN folder a identical structure as it was the instdir
so in exemple
inside C:\oracle\forms\bin
i found another bin
C:\oracle\forms\bin\bin
and in here i find all the files of the installation.
i checked and i dont find where to look to fix this error.
could it be when in compiled ? or a bad directory that i wrote.
here are some parts of my code.
OutFile "Setup.exe"
InstallDir "c:\oracle\forms"
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show
ShowUnInstDetails show
Section "Runtime" SEC02if someone could help me with some tip to fix this it would be really appreciated.
SetOutPath "$INSTDIR\BIN"
SetOverwrite try
File "C:\oracle\Forms\BIN\CA60.DLL"
File "C:\oracle\Forms\BIN\CORE40.DLL"
File "C:\oracle\Forms\BIN\D2SC60.DLL"
File "C:\oracle\Forms\BIN\D2SCV60.EXE"
File "C:\oracle\Forms\BIN\DE60.DLL"
File "C:\oracle\Forms\BIN\DEB60.DLL"
....
Thanks.
ps. i attached a composed image of 2 explorer windows so you can see what im talking.