Repository navigation
Changes
- Updated Generator's dependencies. It now uses .NET 8.0 because .NET 6.0 will stop being supported in November 2024
Installation requirements
- Windows 10 or later
- PowerShell 7.4.5 or later
Installation instructions
Here is how you install Generator:
-
Install the .NET 8.0 desktop runtime if you do not have it on your machine. Here is a link to the runtime: https://dotnet.microsoft.com/en-us/download/dotnet/8.0 or https://dotnet.microsoft.com/download . You can also install it by running the following winget command:
winget install --id Microsoft.DotNet.DesktopRuntime.8 --source winget -
Run PowerShell as an Administrator user
-
Run one of the following PowerShell commands. Each command is one long line. The first command installs the easy to use version of Generator (i.e. the GUI version). The second command installs the easy to use version and the command line version.
Invoke-WebRequest -Method GET -SslProtocol Tls12 -Uri 'https://generatordownload.blob.core.windows.net/v1-4/GeneratorInstallScripts.zip' -OutFile .\GeneratorInstallScripts.zip ; if ('A6B723FED301B0A7FD00A8DA937A052468A1FBF0C9E61B313A441040F02369DB2B2F47062C10C371404D4C0B9E9D68250F6E74B8DE894B5B65D6583F34F3E729' -ne (Get-FileHash -Algorithm SHA512 -Path .\GeneratorInstallScripts.zip).Hash) { throw "ERROR: Downloaded installation program is corrupted." }; Expand-Archive -Path .\GeneratorInstallScripts.zip -DestinationPath .\GeneratorInstallScripts; Remove-Item -Path .\GeneratorInstallScripts.zip; Set-Location .\GeneratorInstallScripts; .\InstallGenerator.ps1 Invoke-WebRequest -Method GET -SslProtocol Tls12 -Uri 'https://generatordownload.blob.core.windows.net/v1-4/GeneratorInstallScripts.zip' -OutFile .\GeneratorInstallScripts.zip ; if ('A6B723FED301B0A7FD00A8DA937A052468A1FBF0C9E61B313A441040F02369DB2B2F47062C10C371404D4C0B9E9D68250F6E74B8DE894B5B65D6583F34F3E729' -ne (Get-FileHash -Algorithm SHA512 -Path .\GeneratorInstallScripts.zip).Hash) { throw "ERROR: Downloaded installation program is corrupted." }; Expand-Archive -Path .\GeneratorInstallScripts.zip -DestinationPath .\GeneratorInstallScripts; Remove-Item -Path .\GeneratorInstallScripts.zip; Set-Location .\GeneratorInstallScripts; .\InstallGenerator.ps1 -InstallCommandLineVersion -
If you installed the command line version, you can run .\AddGeneratorToUsersPath.ps1 to add Generator to your path.
-
Go to the parent directory
-
Remove the scripts folder. The easiest way to do this is to run the following PowerShell commands:
Remove-Item -Path .\GeneratorInstallScripts -Recurse -Force
Now that the program is installed, you can find the GUI version on the Start Menu (it's called Generator). The command line version is in $env:ProgramFiles\Generator\Generator (usually C:\Program Files\Generator\Generator). If you added Generator to your path, you will need to open a new terminal window (not a tab) or command prompt window to see the path change.