Windows Installer Package - How to specify custom install folder?
#1
Hi folks, I'm trying to install Kodi into a specific folder on my PC along with other apps as part of a windows image, I have figured out the /S parameter for silent install (I use MDT to install my image on my home computers).

Example:

kodi-Leia-x64.exe /S /INSTALLDIR="C:\Kodi"

But no matter which option I try I can't get it to install anywhere but its default location?   /S will install silently which is great.  I was trying things like:

/DIR="path"
/INSTALLDIR="path"
/AUTO="path"
/FOLDER="path"
/PATH="path"

Is there some type of command line switch for this?  Really hoping there is an option as I'm trying to avoid manually copying with scripts if I can help it...
Reply
#2
Try using the Kodi installer from this web page top left you can specify the folder location.  I suspect using 'portable mode' with the -p switch; you should be able to keep everything in whatever folder you want.
Reply
#3
The Kodi installer is built using NSIS so for the command line options see https://nsis.sourceforge.io/Docs/Chapter...allerusage

From a quick test kodi-Leia-x64.exe /S /D=C:\Kodi seems to work.
Reply
#4
(2020-08-30, 13:49)jjd-uk Wrote: The Kodi installer is built using NSIS so for the command line options see https://nsis.sourceforge.io/Docs/Chapter...allerusage

From a quick test kodi-Leia-x64.exe /S /D=C:\Kodi seems to work.

Thank you!
Reply
#5
(2020-08-30, 05:33)PatK Wrote: Try using the Kodi installer from this web page top left you can specify the folder location.  I suspect using 'portable mode' with the -p switch; you should be able to keep everything in whatever folder you want.

Thanks I will set it up in portable mode as that will work for what I need as well.
Reply

Logout Mark Read Team Forum Stats Members Help
Windows Installer Package - How to specify custom install folder?0