-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Options for silent installer to install specific features #177
Comments
Silent installer uses |
I know how silent install works. But the feature "create .bat files" is not included in the typical install set so it won't get installed with the /S switch. How to install optional features with the gvim installer in silent mode? |
well good, that was not obvious. I don't know the nullsoft installer very well, so I simply don't know. perhaps @k-takata knows. |
Unfortunately, current installer doesn't support selecting the features with a silent install. |
I would also like to see this, to turn off desktop icons. |
Actually, this is the implementation detail and might be changed in the future, but the selected features will be stored in the registry and they will be loaded at the next time of the installation. REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Vim 8.2]
"vim_compat"="all"
"vim_keyremap"="default"
"vim_mouse"="default"
"select_console"=dword:00000001
"select_batch"=dword:00000000
"select_desktop"=dword:00000001
"select_startmenu"=dword:00000001
"select_editwith"=dword:00000001
"select_vimrc"=dword:00000001
"select_pluginhome"=dword:00000001
"select_pluginvim"=dword:00000000
"select_nls"=dword:00000001 This is the default selection. |
@k-takata should that be put into the wiki here? |
Hmm, I actually hesitate to do it, because this is the implementation detail as I wrote in the previous comment. I think vim-installer-mui2 had a command line option to select the features. Porting it might be an option, but it needs some work. (BTW, I found that the silent installation does not correctly select the default _vimrc settings.) |
okay understood |
I created a PR to fix this: vim/vim#6451.
It seems that we can use GetParameters macro and GetOptions macro to get command line options. |
From the other comments, I know that you don't want the reg import to be done, but it works, and until there's proper command line arguments, that's what I'll use. |
I would like to install the feature "create .bat files" as well with a silent install.
But I cannot find any installer parameter to do this.
The text was updated successfully, but these errors were encountered: