Skip to content
⌘ NSIS Forum Archive

NSIS doesnt get installed in specified target location

5 posts

prishra#

NSIS doesnt get installed in specified target location

I am using the below statement and subversion doesnt get installed in E:\programfiles\slik
what am I missing here
ExecWait 'msiExec /i "E:\Binaries\SlikSubversion.msi" INSTALLDIR="E:\ProgramFiles\Slik" /passive'
Anders#
Why are you hardcoding paths like that?

It should probably look something like this:
Section
InitPluginsDir
File '/oname=$pluginsdir\silk.msi' "c:\myLocalFiles\SlikSubversion.msi"
ExecWait '"$sysdir\msiExec.exe" /i "$pluginsdir\silk.msi' " INSTALLDIR="$programfiles32\Slik" /passive'
SectionEnd
and if that still fails then you can try Process Monitor and see if the file is not found or if the process cannot be started...
prishra#
I tried whatever you mentioned, I see that Slik subversion is getting installed but in c:\programfiles and not in the INSTALLDIR specified. Am I missing anything
Anders#
Originally Posted by prishra View Post
I tried whatever you mentioned, I see that Slik subversion is getting installed but in c:\programfiles and not in the INSTALLDIR specified. Am I missing anything
That is not a NSIS issue, if ExecWait is able to start the process correctly then it is out of our control. You have to ask the SilkSvn people...