VM-Packages
VM-Packages copied to clipboard
"Exception calling "Save" with "1" argument(s)"
What's the problem?
When I run install.ps1 everything goes normally until it gets to Refreshing environment variables from the registry for powershell.exe then it says "Finished" but then I get:
Exception calling "Save" with "1" argument(s): "Could not find a part of the path 'C:\ProgramData\_VM\config.xml'."
At C:\Users\user\Desktop\flare-vm-4\flare-vm-4\install.ps1:838 char:1
+ $configXml.save((Join-Path ${Env:VM_COMMON_DIR} "config.xml"))
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : DotNetMethodException
Steps to Reproduce
- download the install.ps1 as usual
- run powershell as administrator
- enter
./install.ps1 -noWait -noReboots -noGui
Environment
VM Software: Oracle VM Virtualbox VM OS Version: Microsoft Windows Version 22H2 Build 19045.2965 VM RAM: 4 GB (4096 MB) VM HDD Space: 175 GB Powershell Version: 5.1.19041.2673 Desktop Chocolatey Version: 2.2.0
Detected by test suite
I don't know
Can you double check that you're running the latest install script and that the config.xml file was created on your desktop?
Yep, it makes a config.xml file
Hm, @MalwareMechanic or @Ana06 do you have any ideas what could be wrong here?
Is C:\ProgramData\_VM\config.xml in the system?
Note that issues related to flare-vm installer (as this one) should we reported in https://github.com/mandiant/flare-vm/issues. This repository is for the packages.
Closing due to inactivity, @Macdotexe please open a new issue with more details if the issue persists.