jimm98y / MSSQLEXPRESS-M1-Install

Installers and installation scripts for Microsoft SQL Server Express on ARM64.
MIT License
252 stars 57 forks source link

It does nothing #8

Closed Gn0m4 closed 1 year ago

Gn0m4 commented 1 year ago

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.

azinsharaf commented 1 year ago

Edit the batch file by adding a "pause" word (without double quotes) to the second line, save and run it again.

jimm98y commented 1 year ago

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.

Gn0m4 commented 1 year ago

Screenshot 2023-02-08 092038

Then push any key and close again.

Gn0m4 commented 1 year ago

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.

Screenshot 2023-02-08 091727

jimm98y commented 1 year ago

Well, it's 2 commands:

Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process

[Enter]

./install2019Express.ps1

[Enter]

Gn0m4 commented 1 year ago

Well, it's 2 commands:

Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process

[Enter]

./install2019Express.ps1

[Enter]

Captura de pantalla 2023-02-09 103418

briannicholas commented 1 year ago

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

Gn0m4 commented 1 year ago

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...

Captura de pantalla 2023-02-09 173934 Captura de pantalla 2023-02-09 173947

jimm98y commented 1 year ago

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.

Gn0m4 commented 1 year ago

Perfect. Thanks to all for the support!