- Windows Installer Version 2017
- Windows Installer Version 2.0
- Windows Installer Version 2013
- Check Windows Installer Version
- Download Windows Installer For Windows 10
Microsoft introduced the second version of the Linux Subsystem in the latest version 2004 of Windows 10. The WSL 2 allows Linux to run natively using a lightweight Virtual Machine on top of Windows 10 and is a significant step up from the OG WSL, which didn't include the Linux kernel. Microsoft Windows Installer 3.1: KB893803 version 1.0 (April 11, 2005) Microsoft Windows Installer 3.1: KB893803 version 2.0 (May 12, 2005) Windows Installer 3.1 (v2) addresses the issue that is described in the following Microsoft Knowledge Base article. For users running previous version of Windows such as Windows 7, Windows 8.0 or Windows 8.1, you will need to purchase a license for the Windows 10, if you did not take advantage of the free upgrade offer (you might still be able to get it for free).
Your download is starting.
You are downloading the latest (2.30.0) 32-bit version of Git for Windows. This is the most recent maintained build. It was released 1 day ago, on 2020-12-28.
Click here to download manually, if your download hasn't started.
Other Git for Windows downloads
Git for Windows Setup
32-bit Git for Windows Setup.
64-bit Git for Windows Setup.
Git for Windows Portable ('thumbdrive edition')
32-bit Git for Windows Portable.
64-bit Git for Windows Portable.
The current source code release is version 2.30.0. If you want the newer version, you can build it from the source code.
Now What?
Now that you have downloaded Git, it's time to start using it.
Salt has full support for running the Salt minion on Windows. You must connectWindows Salt minions to a Salt master on a supported operating system tocontrol your Salt Minions.
Many of the standard Salt modules have been ported to work on Windows and manyof the Salt States currently work on Windows as well.
Windows Installer Version 2017
Installation from the Official SaltStack Repository¶
Skyblock mac. Latest stable build from the selected branch:
Python3 x86: Salt-Minion-3002.2-x86-Setup.exe | md5
Python3 AMD64: Salt-Minion-3002.2-AMD64-Setup.exe | md5
The output of md5summinionexe>
should match the contents of thecorresponding md5 file.
There are installers available for Python 3. Starting with Salt 3001, onlyPython 3 builds of the Windows Salt Minion will be built. Python 2 buildsexist for earlier Salt Minion versions.
Note
Archived builds from unsupported branches:
Note
The installation executable installs dependencies that the Salt minionrequires.
The 64bit and 32bit installers have been tested on Windows 8.1, Windows Server2012 R2, Windows 10, Windows Server 2016, and Windows Server 2019. 32bitinstallers have only been tested on 64bit systems. Please file a bug report onour GitHub repo if issues for other platforms are found.
The installer will detect previous installations of Salt and ask if you wouldlike to remove them. Clicking OK will remove the Salt binaries and related filesbut leave any existing config, cache, and PKI information. Adobe acrobat alternative mac.
Salt Minion Installation¶
If the system is missing the appropriate version of the Visual C++Redistributable (vcredist) the user will be prompted to install it. Click OK
to install the vcredist. Click Cancel
to abort the installation withoutmaking modifications to the system.
If Salt is already installed on the system the user will be prompted to removethe previous installation. Click OK
to uninstall Salt without removing theconfiguration, PKI information, or cached files. Click Cancel
to abort theinstallation before making any modifications to the system.
After the Welcome and the License Agreement, the installer asks for two bits ofinformation to configure the minion; the master hostname and the minion name.The installer will update the minion config with these options.
If the installer finds an existing minion config file, these fields will bepopulated with values from the existing config, but they will be grayed out.There will also be a checkbox to use the existing config. If you continue, theexisting config will be used. If the checkbox is unchecked, default values aredisplayed and can be changed. If you continue, the existing config file inc:saltconf
will be removed along with the c:saltconfminion.d
directory. The values entered will be used with the default config.
The final page allows you to start the minion service and optionally change itsstartup type. By default, the minion is set to Automatic
. You can change theminion start type to Automatic(DelayedStart)
by checking the 'DelayedStart' checkbox.
Note
Highstates that require a reboot may fail after reboot because saltcontinues the highstate before Windows has finished the booting process.This can be fixed by changing the startup type to 'Automatic (DelayedStart)'. The drawback is that it may increase the time it takes for the'salt-minion' service to actually start.
The salt-minion
service will appear in the Windows Service Manager and canbe managed there or from the command line like any other Windows service.
Installation Prerequisites¶
Most Salt functionality should work just fine right out of the box. A few Saltmodules rely on PowerShell. The minimum version of PowerShell required for Saltis version 3. If you intend to work with DSC then Powershell version 5 is theminimum.
Silent Installer Options¶
The installer can be run silently by providing the /S
option at the commandline. The installer also accepts the following options for configuring the SaltMinion silently:
Option | Description |
---|---|
| A string value to set the IP address or hostname ofthe master. Default value is 'salt'. You can pass asingle master or a comma-separated list of masters.Setting the master will cause the installer to usethe default config or a custom config if defined. |
| A string value to set the minion name. Default valueis 'hostname'. Setting the minion name causes theinstaller to use the default config or a customconfig if defined. |
| Either a 1 or 0. '1' will start the salt-minionservice, '0' will not. Default is to start theservice after installation. |
| Set the minion start type to |
| Overwrite the existing config if present with thedefault config for salt. Default is to use theexisting config if present. If |
| A string value specifying the name of a custom configfile in the same path as the installer or the fullpath to a custom config file. If |
| Runs the installation silently. Uses the abovesettings or the defaults. |
| Displays command line help. |
Note
/start-service
has been deprecated but will continue to function asexpected for the time being.
Note
/default-config
and /custom-config=
will backup an existing configif found. A timestamp and a .bak
extension will be added. That includesthe minion
file and the minion.d
directory.
Here are some examples of using the silent installer:
Running the Salt Minion on Windows as an Unprivileged User¶
Notes:
These instructions were tested with Windows Server 2008 R2
They are generalizable to any version of Windows that supports a salt-minion
Create the Unprivileged User that the Salt Minion will Run As¶
Click
Start
>ControlPanel
>UserAccounts
.Click
Addorremoveuseraccounts
.Click
Createnewaccount
.Enter
salt-user
(or a name of your preference) in theNewaccountname
field.Select the
Standarduser
radio button.Click the
CreateAccount
button.Click on the newly created user account.
Click the
Createapassword
link.In the
Newpassword
andConfirmnewpassword
fields, providea password (e.g 'SuperSecretMinionPassword4Me!').In the
Typeapasswordhint
field, provide appropriate text (e.g. 'My Salt Password').Click the
Createpassword
button.Close the
ChangeanAccount
window.
Add the New User to the Access Control List for the Salt Folder¶
In a File Explorer window, browse to the path where Salt is installed (the default path is
C:Salt
).https://bestcfile901.weebly.com/blog/brushwork-essentials-by-mark-christopher-weber-pdf-printer. Right-click on the
Salt
folder and selectProperties
.Click on the
Security
tab.Click the
Edit
button.Click the
Add
button.Type the name of your designated Salt user and click the
OK
button.Check the box to
Allow
theModify
permission.Click the
OK
button.Click the
OK
button to close theSaltProperties
window.
Update the Windows Service User for the salt-minion
Service¶
Click
Start
>AdministrativeTools
>Services
.In the Services list, right-click on
salt-minion
and selectProperties
.Click the
LogOn
tab.Click the
Thisaccount
radio button.Provide the account credentials created in section A.
Click the
OK
button.Click the
OK
button to the prompt confirming that the userhasbeengrantedtheLogOnAsAServiceright
.Click the
OK
button to the prompt confirming thatThenewlogonnamewillnottakeeffectuntilyoustopandrestarttheservice
.Right-Click on
salt-minion
and selectStop
.Right-Click on
salt-minion
and selectStart
.
Building and Developing on Windows¶
This document will explain how to set up a development environment for Salt onWindows. The development environment allows you to work with the source code tocustomize or fix bugs. It will also allow you to build your own installation.
There are several scripts to automate creating a Windows installer as well assetting up an environment that facilitates developing and troubleshooting Saltcode. They are located in the pkgwindows
directory in the Salt repo(here).
Scripts:¶
Script | Description |
---|---|
| A PowerShell script that sets up a Python 2 buildenvironment |
| A PowerShell script that sets up a Python 3 buildenvironment |
| A batch file that builds a Windows installer based on thecontents of the |
| A batch file that fully automates the building of theWindows installer using the above two scripts |
Note
The build.bat
and build_pkg.bat
scripts both accept a parameter tospecify the version of Salt that will be displayed in the Windows installer.If no version is passed, the version will be determined using git.
Both scripts also accept an additional parameter to specify the version ofPython to use. The default is 2.
Prerequisite Software¶
The only prerequisite is Git for Windows.
Create a Build Environment¶
1. Working Directory¶
Create a Salt-Dev
directory on the root of C:
. This will be our workingdirectory. Navigate to Salt-Dev
and clone theSalt repo from GitHub.
Open a command line and type:
Go into the salt
directory and checkout the version of salt to work with(2016.3 or higher).
2. Setup the Python Environment¶
Navigate to the pkgwindows
directory and execute the build_env.ps1PowerShell script.
Note
You can also do this from Explorer by navigating to the pkgwindows
directory, right clicking the build_env_2.ps1 powershell script andselecting Run with PowerShell
This will download and install Python 2 with all the dependencies needed todevelop and build Salt.
Note
If you get an error or the script fails to run you may need to change theexecution policy. Open a powershell window and type the following command:
3. Salt in Editable Mode¶
Editable mode allows you to more easily modify and test the source code. Formore information see the Pip documentation.
Navigate to the root of the salt
directory and install Salt in editable modewith pip
Note
The .
is important
Note
If pip
is not recognized, you may need to restart your shell to get theupdated path
Note
Windows Installer Version 2.0
If pip
is still not recognized make sure that the Python Scripts folderis in the System %PATH%
. (C:Python2Scripts
)
Windows Installer Version 2013
4. Setup Salt Configuration¶
Salt requires a minion configuration file and a few other directories. Thedefault config file is named minion
located in C:saltconf
. Theeasiest way to set this up is to copy the contents of thesaltpkgwindowsbuildenv
directory to C:salt
.
Now go into the C:saltconf
directory and edit the minion config file namedminion
(no extension). You need to configure the master and id parameters inthis file. Edit the following lines:
Create a Windows Installer¶
To create a Windows installer, follow steps 1 and 2 fromCreate a Build Environment above. Then proceedto 3 below:
3. Install Salt¶
To create the installer for Window we install Salt using Python instead of pip.Navigate to the root salt
directory and install Salt.
4. Create the Windows Installer¶
Navigate to the pkgwindows
directory and run the build_pkg.bat
with the build version (2017.7.2) and the Python version as parameters.
Note
If no version is passed, the build_pkg.bat
will guess the version numberusing git. If the python version is not passed, the default is 2.
Creating a Windows Installer: Alternate Method (Easier)¶
Check Windows Installer Version
Clone the Salt repo from GitHub into thedirectory of your choice. We're going to use Salt-Dev
.
Go into the salt
directory and checkout the version of Salt you want tobuild.
Then navigate to pkgwindows
and run the build.bat
script with theversion you're building.
This will install everything needed to build a Windows installer for Salt usingPython 3. The binary will be in the saltpkgwindowsinstaller
directory.
Testing the Salt minion¶
Create the directory
C:salt
(if it doesn't exist already)- Copy the example
conf
andvar
directories from pkgwindowsbuildenv
intoC:salt
- Copy the example
Edit
C:saltconfminion
Start the salt-minion
On the salt-master accept the new minion's key
This accepts all unaccepted keys. If you're concerned about security justaccept the key for this specific minion.
Test that your minion is responding
On the salt-master run:
You should get the following response: {'yourminionhostname':True}
Packages Management Under Windows 2003¶
Download Windows Installer For Windows 10
Windows Server 2003 and Windows XP have both reached End of Support. Though Saltis not officially supported on operating systems that are EoL, somefunctionality may continue to work.
On Windows Server 2003, you need to install optional component 'WMI WindowsInstaller Provider' to get a full list of installed packages. If you don't havethis, salt-minion can't report some installed software.