Downloads:

19,148

Downloads of v 7.2.4557:

1,373

Last Update:

20 Dec 2019

Package Maintainer(s):

Software Author(s):

  • Macrium

Tags:

disk drive image partition clone hdd backup

Macrium Reflect Free

This is not the latest version of Macrium Reflect Free available.

7.2.4557 | Updated: 20 Dec 2019

Downloads:

19,148

Downloads of v 7.2.4557:

1,373

Maintainer(s):

Software Author(s):

  • Macrium

Macrium Reflect Free 7.2.4557

This is not the latest version of Macrium Reflect Free available.

This Package Contains an Exempted Check

1 Test Passing and 1 Exempted Test


Validation Testing Passed


Verification Testing Exempt:

Does not install on Windows Server

To install Macrium Reflect Free, run the following command from the command line or from PowerShell:

>

To upgrade Macrium Reflect Free, run the following command from the command line or from PowerShell:

>

To uninstall Macrium Reflect Free, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade reflect-free -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade reflect-free -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure reflect-free installed
  win_chocolatey:
    name: reflect-free
    state: present
    version: 7.2.4557
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'reflect-free' do
  action    :install
  version  '7.2.4557'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: reflect-free,
    Version: 7.2.4557,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller reflect-free
{
   Name     = 'reflect-free'
   Ensure   = 'Present'
   Version  = '7.2.4557'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'reflect-free':
  provider => 'chocolatey',
  ensure   => '7.2.4557',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install reflect-free version="7.2.4557" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator flcdrg on 26 Dec 2019.

Description

Free backup, disk imaging and cloning solution for commercial and personal use.

Protect your data, upgrade your hard disk or try new operating systems in the safe knowledge that everything is securely saved in an easily recovered backup file.
Macrium Reflect supports backup to local, network and USB drives.

Macrium Reflect 7 Free Edition is ready to download now and has a number of additional features not available in version 6. It is now licensed for both home and business use.

Important infomation

Macrium Reflect Free will not install on Windows Server.

The installer will not install if run silently on a system that has not has Macrium Reflect installed previously.
Therefore, if you are installing for the first time, the installer needs to be run manually.

Package Parameters

The following package parameters can be set:

  • /DesktopIcon - Add a desktop shorcut

To pass parameters, use --params "''" (e.g. choco install packageID [other options] --params="'/ITEM:value /ITEM2:value2 /FLAG_BOOLEAN'").
To have choco remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades.


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'
$toolsDir              = Split-Path $MyInvocation.MyCommand.Definition
$url32                 = 'https://updates.macrium.com/reflect/v7/ReflectDLHF.exe'
$agentfileName         = $url32 -split '/' | select -Last 1
$downloadDir           = (Join-Path $(Get-ToolsLocation) "reflect-free")
$pp                    = Get-PackageParameters
$checksum32            = '4abc1ac76f594f31e9f4fbce2e81c1d1ced2a89943d34f0605b9698d0cb6b02d'
$macriumPath           = (Join-Path $env:programfiles 'macrium\reflect')

if ((Get-WmiObject win32_operatingsystem).caption -match "Server") {
	Write-Host -ForegroundColor red "Non compatible Windows Server OS detected"
	throw  "Install failed due to Server OS"
}

Remove-Item $downloadDir -Recurse -ea 0

$downloadArgs = @{
	packageName   = 'reflect-free'
	FileFullPath  = (Join-Path $downloadDir $agentfileName)
	url           = $url32
	checksumType  = 'sha256'
	checksum      = $checksum32
}

Get-ChocolateyWebFile @downloadArgs

Write-Host -ForegroundColor green "Running Macrium download agent via Autohotkey"
Autohotkey.exe $toolsDir\download.ahk "$downloadDir\$agentfileName" $downloadDir

$installer = Get-Item $downloadDir\Macrium\*.exe -ea 0

if (!$installer) { 
	Write-Host -ForegroundColor red "Autohotkey script failed for Macrium download agent, please manually run $downloadDir\$agentfileName" 
}
else {
	$packageArgs = @{
		packageName    = 'reflect-free'
		fileType       = 'exe'
		file           = $installer
		validExitCodes = @(0)
		silentArgs     = "/qn /norestart NOIMAGEGUARDIAN=YES NOVIBOOT=YES NOCBT=YES"
	}

	if (!$pp['desktopicon']) {
		Write-Host -ForegroundColor green 'Not adding a desktop shortcut'
		$packageArgs['silentArgs'] = "$($packageArgs['silentArgs']) NODESKTOPSHORTCUT=YES"
	}
	
	Write-Host -ForegroundColor green "Running $installer"
	Install-ChocolateyInstallPackage @packageArgs

	if (Test-Path $macriumPath) {	
		Write-Host -ForegroundColor green "Installation completed"
		Write-Host -ForegroundColor green "Downloaded files are left in: $downloadDir"
	} else {
		Write-Host -ForegroundColor red "$downloadDir\Macrium\$installer needs to be run manually"
		Write-Host -ForegroundColor red "This is required due to a bug or intentional limitation the free installer"
		Write-Host -ForegroundColor red "The silent install option fails if reflect is being installed instead of upgraded"
		Write-Host -ForegroundColor red "It is being worked on to automate"
	}
}
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop';
$downloadDir           = (Join-Path $(Get-ToolsLocation) "reflect-free")
$softwareName          = 'Macrium Reflect Free Edition'

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  fileType       = 'MSI'
  silentArgs     = '/qn /norestart'
  validExitCodes = @(0, 3010, 1605, 1614, 1641)
}

Write-Host -ForegroundColor green "Removing downloaded files"
Remove-Item $downloadDir -Recurse -ea 0

$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName

if ($key.Count -le 2) {
  $key | % { 
    if ($_.UninstallString -match 'MsiExec') {
		$packageArgs['file'] = "$($_.UninstallString)"
		$packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
		Uninstall-ChocolateyPackage @packageArgs
	}
  }
} elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 2) {
  Write-Warning "$($key.Count) matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert package maintainer the following keys were matched:"
  $key | % {Write-Warning "- $($_.DisplayName)"}
}
tools\download.ahk
exe_path   = %1%
setup_dir  = %2%

Run, %exe_path%

WinWait, Macrium Reflect Download Agent
hwnd := WinExist()

; Set download directory
ControlSetText, Edit2, %setup_dir%, ahk_id %hwnd%
Sleep 500

; Do not run after download
ControlClick, Button6, ahk_id %hwnd%

Sleep 3000

; Download
ControlClick, Button10, ahk_id %hwnd%
Sleep 100
Send, {Enter}

; Accept overwrite old installer if needed
Sleep 1500
IfWinExist,,&Yes
{
    WinActivate
    Send, {ENTER}
}


; Exit after done downloading
loop {
    Sleep 1000
    IfWinExist,, Click to view log file
    {
        WinActivate
        Send, {ENTER}
        ControlSend,,{ESC}, ahk_id %hwnd% 
        break
    }
}


Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Macrium Reflect Free 7.2.5098 62 Wednesday, August 5, 2020 Approved
Macrium Reflect Free 7.2.4971 2303 Tuesday, June 16, 2020 Approved
Macrium Reflect Free 7.2.4952 773 Friday, May 29, 2020 Approved
Macrium Reflect Free 7.2.4942 399 Friday, May 22, 2020 Approved
Macrium Reflect Free 7.2.4884 560 Monday, May 11, 2020 Approved
Macrium Reflect Free 7.2.4861 784 Friday, April 24, 2020 Approved
Macrium Reflect Free 7.2.4859 125 Thursday, April 23, 2020 Approved
Macrium Reflect Free 7.2.4808 1007 Wednesday, March 25, 2020 Approved
Macrium Reflect Free 7.2.4797 282 Friday, March 20, 2020 Approved
Discussion for the Macrium Reflect Free Package

Ground Rules:

  • This discussion is only about Macrium Reflect Free and the Macrium Reflect Free package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Macrium Reflect Free, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus