mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #31028 from twangboy/fix_installer
Fix config overwrite by windows installer
This commit is contained in:
commit
a0454ffb00
2 changed files with 3 additions and 1 deletions
|
@ -44,6 +44,8 @@ python "%CurrDir%\portable.py" -f "%BinDir%\Scripts\pip2.exe"
|
|||
del /S /Q "%BinDir%\*.pyc"
|
||||
:: Remove all Compiled HTML Help (.chm)
|
||||
del /S /Q "%BinDir%\*.chm"
|
||||
:: Remove all empty text files (they are placeholders for git)
|
||||
del /S /Q "%BinDir%\..\empty.*"
|
||||
|
||||
:: Delete Unused Docs and Modules
|
||||
If Exist "%BinDir%\Doc" rd /S /Q "%BinDir%\Doc"
|
||||
|
|
|
@ -222,7 +222,7 @@ ShowUnInstDetails show
|
|||
Section "MainSection" SEC01
|
||||
|
||||
SetOutPath "$INSTDIR\"
|
||||
SetOverwrite try
|
||||
SetOverwrite off
|
||||
CreateDirectory $INSTDIR\conf\pki\minion
|
||||
File /r "..\buildenv\"
|
||||
Exec 'icacls c:\salt /inheritance:r /grant:r "BUILTIN\Administrators":(OI)(CI)F /grant:r "NT AUTHORITY\SYSTEM":(OI)(CI)F'
|
||||
|
|
Loading…
Add table
Reference in a new issue