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'
NSIS doesnt get installed in specified target location
5 posts
Why are you hardcoding paths like that?
It should probably look something like this:
It should probably look something like this:
Sectionand 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...
InitPluginsDir
File '/oname=$pluginsdir\silk.msi' "c:\myLocalFiles\SlikSubversion.msi"
ExecWait '"$sysdir\msiExec.exe" /i "$pluginsdir\silk.msi' " INSTALLDIR="$programfiles32\Slik" /passive'
SectionEnd
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...Originally Posted by prishra View PostI 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
I took a look inside that msi - using INSTALLLOCATION instead of INSTALLDIR will work.