0
votes

I'm having some path problems in the default installation. My code below:

http://pastebin.com/7vrCuLiZ

And my problem is that the default path to install is "C:\Program Files (x86)\Advanlab\DISK1\Common\Borland Shared\BDE\" instead of "C:\Program Files (x86)\Advanlab"

https://www.dropbox.com/s/vfoxytj1sbvqs5a/helpnsis.png

Thanks for your help :)

EDIT: It only happens if the folder Advanlab already exist :s

2

2 Answers

0
votes

Have you set the default installation directory in your NSIS script?

; The default installation directory
InstallDir $PROGRAMFILES\xxx
0
votes

The InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "" command is probably picking up this directory, try InstallDirRegKey HKLM "${PRODUCT_UNINST_KEY}" "UninstallString"