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
698 stars 82 forks source link

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

Open Lorgie1984 opened 9 months ago

Lorgie1984 commented 9 months 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 1 month 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 1 month ago

Hi i will update the main script.

Joly0 commented 1 month ago

Created a PR that fixes this issue