How do I specify a custom directory during a silent install?
To specify a custom directory, add /D=path:
Insomnia.Core-nsis-11.6.0.exe /S /D=C:\Insomnia
How do I change the default installation path?
You can use the /D= flag if you want to change the default installation path.
If not specified, Insomnia installs to the following directories:
-
System-wide installation:
C:\Program Files\Insomnia -
Per-user installation:
C:\Users\$USERNAME\AppData\Local\Programs\Insomnia
Use /D=your_path only when you want to specify a custom installation directory.