mandiant / flare-vm

A collection of software installations scripts for Windows systems that allows you to easily setup and maintain a reverse engineering environment on a VM.
Apache License 2.0
6.35k stars 896 forks source link

Issue with installation for install.ps1 powershell cannot find positional parameter #498

Closed Raycoug22 closed 10 months ago

Raycoug22 commented 11 months ago

I ran into an issue while installing install.ps1 in PowerShell. For some reason I get the error message "A positional parameter cannot be found that accepts argument install" What does this mean? How can I fix this? I tried installing chocolaty separately and I get the same error message. Screenshot (94)

Ana06 commented 11 months ago

It seems this error is not related to the flare-vm installer as you should be able to install chocolatey. But with the provided information it is difficult to know what you have done. Can you include all steps you have done, what you are exactly running and the whole error message?

Raycoug22 commented 11 months ago

I have followed the steps from https://github.com/mandiant/flare-vm. I am trying to install Mandaint FLARE in a Windows 10 virtual machine. I was executing the installation through Powershell. I had to move the Install.ps1 file into the location that the PowerShell was looking in otherwise it would tell me it doesn't exist. For Chocolaty it was the same issue, after it installed powershell couldn't find it in the location that it was searching. I found the chocolaty file in a different location. Then I copied and pasted it into the location that it was looking and renamed the file to "choco" as that was the file name Powershell was looking for. After I did that the error in the screenshot appeared

It seems this error is not related to the flare-vm installer as you should be able to install chocolatey. But with the provided information it is difficult to know what you have done. Can you include all steps you have done, what you are exactly running and the whole error message?

Ana06 commented 11 months ago

Moving/renaming the Chocolatey installation files will likely break Chocolatey installation. Please start with a clean Windows VM (where you haven't manually modified Chocolatey files) and follow the instructions in the README. The flare-vm install.ps1 script will install Chocolatey for you and find it in the right location.

If this still does not work, post all the console commands and output here (preferably coping the output and not with a screenshot).

Ana06 commented 10 months ago

Closing due to inactivity as issue is likely resolved. Please reopen with more details otherwise.