📦 Setup Your Winget Repository via Pre-Indexed Source
Follow these steps to setup your Winget-Repo instance for the pre-indexed source.
-
Open the Repository Settings ⚙️
Navigate to the settings of your Winget-Repo instance. -
Enable the Pre-Indexed Source ✅
Enable the "Winget Pre-Indexed Source" option and confirm the warning prompt. -
Generate a Certificate 🔐
After saving, a new button will appear. Use it to generate a certificate for the package.
You can choose whether to protect it with a password. -
Import the Certificate on Each Client 🖥️
The generated certificate must be imported on every client that should connect to the repository.
Open PowerShell as Administrator and run the appropriate command:
Import-Certificate -FilePath "winget-repo.cer" -CertStoreLocation Cert:\LocalMachine\TrustedPeople
- Create the Package 📦
Return to the homepage of your repository. In the top-right corner, you will find a button to create the pre-indexed package.
After completing these steps, your clients are ready to use the pre-indexed source! 🎉