damienvanrobaeys / Run-in-Sandbox

Run PS1, VBS, CMD, EXE, MSI, Intunewin, MSIX, or extract ISO, ZIP in Windows Sandbox very quickly just from a right-click
https://www.systanddeploy.com/2023/06/runinsandbox-quick-way-to-runextract.html
763 stars 86 forks source link

Run-in-Sandbox-master\Add_Structure.ps1:358 Zeichen:28 #49

Open Lorgie1984 opened 1 year ago

Lorgie1984 commented 1 year ago

I can't install Run-in-Sandbox with the script.

Got the following error:

New-ItemProperty : Das Argument kann nicht an den Parameter "Path" gebunden werden, da es sich um eine leere Zeichenfolge handelt.

In C:\temp\Run-in-Sandbox-master\Add_Structure.ps1:358 Zeichen:28 New-ItemProperty -Path "$Main_Menu_Path" -Name "icon" ...


     CategoryInfo          : InvalidData: (:) [New-ItemProperty], ParameterBindingValidationException
     FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.NewItemPropertyCommand
Joly0 commented 6 months ago

Hey, this project is no longer actively maintained. I have forked it a while ago and fixed a lot of bugs and improved it alot. Maybe give my fork a try. Your mentioned issue should be fixed: https://github.com/Joly0/Run-in-Sandbox

damienvanrobaeys commented 6 months ago

Hi i will update the main script.

Joly0 commented 6 months ago

Created a PR that fixes this issue