Skip to content
Permalink
Browse files

Change FLARE VM default environment variable

  • Loading branch information...
htnhan committed Aug 8, 2019
1 parent 75d2098 commit 582cb070b8837d2ccce87927f9636aa7d02158fa
@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>flarevm.installer.flare</id>
<version>2.2.20</version>
<version>2.2.20.1</version>
<title>FLARE</title>
<authors>FLARE</authors>
<description>FLARE VM - Malware Analysis Environment</description>
@@ -101,7 +101,7 @@ function InitialSetup {
Install-ChocolateyShortcut -shortcutFilePath $desktopShortcut -targetPath $startPath

# Set common paths in environment variables
Install-ChocolateyEnvironmentVariable -VariableName "FLARE_START" -VariableValue $startPath -VariableType 'Machine'
Install-ChocolateyEnvironmentVariable -VariableName "TOOL_LIST_DIR" -VariableValue $startPath -VariableType 'Machine'
refreshenv

# BoxStarter setup
@@ -93,8 +93,8 @@ function PostUninstall {
Remove-Item $desktopShortcut

# Set common paths in environment variables
[Environment]::SetEnvironmentVariable("FLARE_START", $null, "Machine")
Uninstall-ChocolateyEnvironmentVariable -VariableName "FLARE_START" -VariableType 'Machine'
[Environment]::SetEnvironmentVariable("TOOL_LIST_DIR", $null, "Machine")
Uninstall-ChocolateyEnvironmentVariable -VariableName "TOOL_LIST_DIR" -VariableType 'Machine'
}


0 comments on commit 582cb07

Please sign in to comment.
You can’t perform that action at this time.