Closed Gn0m4 closed 1 year ago
Edit the batch file by adding a "pause" word (without double quotes) to the second line, save and run it again.
The bat file is just a convenient shortcut for running the PowerShell script. Clicking it should open PowerShell in a new window. If it does not, you can also run the PowerShell script directly.
Open PowerShell (or Windows Terminal) as Administrator and navigate to the folder with the scripts. Run: Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process ./install2019Express.ps1
If it fails for some reason, please send me the output of the PowerShell script.
Then push any key and close again.
The bat file is just a convenient shortcut for running the PowerShell script. Clicking it should open PowerShell in a new window. If it does not, you can also run the PowerShell script directly.
Open PowerShell (or Windows Terminal) as Administrator and navigate to the folder with the scripts. Run: Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process ./install2019Express.ps1
If it fails for some reason, please send me the output of the PowerShell script.
Well, it's 2 commands:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
[Enter]
./install2019Express.ps1
[Enter]
Well, it's 2 commands:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process
[Enter]
./install2019Express.ps1
[Enter]
You've downloaded the HTML pages not the scripts. I'd guess you right clicked save as on the links
If you want to do that you need to save as on the "Raw" links or grab them from here
https://raw.githubusercontent.com/jimm98y/MSSQLEXPRESS-M1-Install/main/src/install2022Express.ps1
https://raw.githubusercontent.com/jimm98y/MSSQLEXPRESS-M1-Install/main/src/install2022Express.bat
You've downloaded the HTML pages not the scripts. I'd guess you right clicked save as on the links
If you want to do that you need to save as on the "Raw" links or grab them from here
https://raw.githubusercontent.com/jimm98y/MSSQLEXPRESS-M1-Install/main/src/install2022Express.ps1
https://raw.githubusercontent.com/jimm98y/MSSQLEXPRESS-M1-Install/main/src/install2022Express.bat
Thanks for your answer. After download files from your links it works !!! I don´t know the reason cause the other files i downloaded aren´t html pages... even Edge ask me to be caution because the bat file so... anyway there are lot of errors. Yesterday I left the installation and today no changes at all...
Copy the script to a local folder (C:\Temp) and run it from there. It looks like you are trying to run it from a network file path which won't work as the PowerShell cannot access it.
Perfect. Thanks to all for the support!
Mac Mini M1 on Ventura 13.1 Parallels Desktop 18.1.1 Windows11_InsiderPreview_Client_ARM64_en-us_25267 Updated
Double click on any .bat file of the src, CMD is opened and closed in half second.