Git Product home page Git Product logo

Comments (4)

 avatar commented on June 25, 2024 5

A better alternative (for now at least) is to open the .msi file using 7-Zip and then right click on the file starting with "fil" and choose "Open Inside"

Then CTRL+A and extract the files to C:\metasploit-framework

Add C:\metasploit-framework\bin to the PATH variable so you can access msf commands from Terminal.
image

from metasploit-omnibus.

lubieowoce avatar lubieowoce commented on June 25, 2024

(didn't actually work, see end)

had a similar issue, but it tried using Z:, a network drive, to store some 700MB of temp files... what ended up working for me is i unmounted Z:, put the installer on D: (the only other drive i had mounted), and did msiexec /a D:\metasploitframework-latest.msi from an admin prompt - maybe some permission issue was preventing it from using C:?.

some observations:

  • the installer seems fussy about free space (i may be cargo culting here though)
  • if the installer is complaining about something like "Drive Z: is missing" right after you start it, check if you've got a residual C:\Windows\Installer\inprogressinstallinfo.ipi left over from a previous installation attempt. (the file opens decently in Notepad or a hex viewer, look around for a path like Z : \ m e t a s p l o i t - f r a m e w o r k). deleting the file helped in my case.

EDIT alright, looks like i was a bit quick to celebrate. the first command finished without errors, but it doesn't look like it installed anything -- it just created a second metasploitframework-latest.msi, (~1MB) and metasploit-framework.zip (~750MB) in C:/ ... i'm confused

from metasploit-omnibus.

jmartin-tech avatar jmartin-tech commented on June 25, 2024

This looks to be related to how WIX installer is deciding setting installation location, further investigation of root cause is needed. This may also be related to root cause of #96 although we have no concrete proof that prior to usage of fastzip the user set path was being properly respected.

from metasploit-omnibus.

MR-AMDEV avatar MR-AMDEV commented on June 25, 2024

Also in environment variable in Win 10, it is actually adding the following system Path:

C:\metasploit-framework\bin\

Although even after selecting C:/ and installing, it actually installed the metasploit in my D:/ drive.
I am manually copying the extracted folder to C:/ drive.

from metasploit-omnibus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.