Notices: This section not yet converted to new layout. Download stats are rolling back out.

Balsamiq Mockups for Desktop

1.0.8

Package test results have failed.

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.
  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.
Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

This package was approved by moderator purity on 2/19/2015.

Balsamiq is a wireframing and mock up tool with a high focus on usability. Quickly come up with mock ups and easily share them with your clients.

Because Balsamiq is commercial software, this package will install Balsamiq as a fully-functional trial. If you have a license key you can activate the software after install.

For questions about this package, please leave a comment on the package page at https://chocolatey.org/packages/balsamiqmockups.install, or create an issue on Github at https://github.com/mattheyan/Chocolatey-Packages/issues.

To install Balsamiq Mockups for Desktop, run the following command from the command line or from PowerShell:

C:\> choco install balsamiqmockups.install

To upgrade Balsamiq Mockups for Desktop, run the following command from the command line or from PowerShell:

C:\> choco upgrade balsamiqmockups.install

Files

Hide
  • chocolateyInstall.ps1 Show
    try {
    	# Create variable for program files directory
    	# ===========================================
    	# Borrowed from BoxStarter.Azure
    	if(${env:ProgramFiles(x86)} -ne $null) {
    		$programFiles86 = ${env:ProgramFiles(x86)}
    	} else {
    		$programFiles86 = $env:ProgramFiles
    	}
    
    	# Instructions for silent installation: http://support.balsamiq.com/customer/portal/articles/133390
    	$installPath = Join-Path $programFiles86 "Balsamiq Mockups"
    
    	# Download and extract ZIP file
    	$tempDir = [System.IO.Path]::GetTempFileName().Replace(".", "")
    	$zipUrl = "https://s3.amazonaws.com/build_production/mockups-desktop/MockupsForDesktop.zip?nocache=53174"
    	Write-Host "Downloading zip file..."
    	Install-ChocolateyZipPackage "balsamiqmockups" $zipUrl $tempDir
    
    	# Move child folder into target folder
    	Write-Host "Moving application files..."
    	$sourcePath = Join-Path $tempDir 'MockupsForDesktop'	
    	$elevatedMoveFiles = "`
    	robocopy '$sourcePath' '$installPath' /MIR
    	return 0;"
    	Start-ChocolateyProcessAsAdmin $elevatedMoveFiles -validExitCodes @(0, 1, 2, 3) #robocopy uses non-standard exit codes
    
    	# Add file type registration
    	Write-Host "Adding file type registration..."
    	$balsamiqExe = Join-Path $installPath "Balsamiq Mockups.exe"
    	$elevatedSetFileAssociation = "`
        if( -not (Test-Path -path HKCR:) ) {New-PSDrive -Name HKCR -PSProvider registry -Root Hkey_Classes_Root};`
        if(!(test-path -LiteralPath 'HKCR:\.bmml')) { new-item -Path 'HKCR:\.bmml' };`
        Set-ItemProperty -LiteralPath 'HKCR:\.bmml' -Name '(Default)'  -Value 'com.balsamiq.mockupfile';`
        Set-ItemProperty -LiteralPath 'HKCR:\.bmml' -Name 'Content Type'  -Value 'application/xml';`
        if(!(test-path -LiteralPath 'HKCR:\.bmml\OpenWithProgIds')) { new-item -Path 'HKCR:\.bmml\OpenWithProgIds' };`
        Set-ItemProperty -LiteralPath 'HKCR:\.bmml\OpenWithProgIds' -Name 'com.balsamiq.mockupfile' -Value '';`
        if(!(test-path -LiteralPath 'HKCR:\com.balsamiq.mockupfile')) { new-item -Path 'HKCR:\com.balsamiq.mockupfile' };`
        Set-ItemProperty -LiteralPath 'HKCR:\com.balsamiq.mockupfile' -Name '(Default)' -Value 'Balsamiq Mockups Markup Language';`
        if(!(test-path -LiteralPath 'HKCR:\com.balsamiq.mockupfile\DefaultIcon')) { new-item -Path 'HKCR:\com.balsamiq.mockupfile\DefaultIcon' };`
        Set-ItemProperty -LiteralPath 'HKCR:\com.balsamiq.mockupfile\DefaultIcon' -Name '(Default)' -Value '\""$balsamiqExe\"",-105';`
        if(!(test-path -LiteralPath 'HKCR:\com.balsamiq.mockupfile\shell')) { new-item -Path 'HKCR:\com.balsamiq.mockupfile\shell' };`
        if(!(test-path -LiteralPath 'HKCR:\com.balsamiq.mockupfile\shell\open')) { new-item -Path 'HKCR:\com.balsamiq.mockupfile\shell\open' };`
        if(!(test-path -LiteralPath 'HKCR:\com.balsamiq.mockupfile\shell\open\command')) { new-item -Path 'HKCR:\com.balsamiq.mockupfile\shell\open\command' };`
        Set-ItemProperty -LiteralPath 'HKCR:\com.balsamiq.mockupfile\shell\open\command' -Name '(Default)' -Value '\""$balsamiqExe\"" \""%1\""';`
        return 0;"
    	Start-ChocolateyProcessAsAdmin $elevatedSetFileAssociation
    
    	# Create desktop shortcut
    	Install-ChocolateyDesktopLink $balsamiqExe
    
    	Write-ChocolateySuccess "balsamiqmockups.install"
    } catch {
        Write-ChocolateyFailure "balsamiqmockups.install" $($_.Exception.Message)
        throw
    }
    
  • chocolateyUninstall.ps1 Show
    try {
    	# Instructions for silent installation: http://support.balsamiq.com/customer/portal/articles/133390
    	$installPath = Join-Path ${env:ProgramFiles(x86)} "Balsamiq Mockups"
    
    	# Delete desktop shortcut
    	$currentUser = (Get-WMIObject -class Win32_ComputerSystem | select username).username
    	if ($currentUser -match "\\") {
    		$currentUser = $currentUser.Substring($currentUser.IndexOf("\") + 1)
    	}
    	$usersDir = Split-Path $env:USERPROFILE -Parent
    	$currentUserDir = Join-Path $usersDir $currentUser
    	$currentUserDesktopDir = Join-Path $currentUserDir "Desktop"
    	$desktopLinkPath = Join-Path $currentUserDesktopDir "Balsamiq Mockups.lnk"
    	if (Test-Path $desktopLinkPath) {
    		Write-Host "Deleting Desktop shortcut..."
    		$elevatedRemoveShortcut = "`
    		Remove-Item '$desktopLinkPath' -Force;`
    		return 0;"
    		Start-ChocolateyProcessAsAdmin $elevatedRemoveShortcut
    	}
    
    	# Remove file type registration
    	Write-Host "Removing file type registration..."
    	$elevatedRemoveFileAssociation = "`
        if( -not (Test-Path -path HKCR:) ) {New-PSDrive -Name HKCR -PSProvider registry -Root Hkey_Classes_Root};`
        if(test-path -LiteralPath 'HKCR:\.bmml') { remove-item -Path 'HKCR:\.bmml' -Recurse };`
        if(test-path -LiteralPath 'HKCR:\com.balsamiq.mockupfile') { remove-item -Path 'HKCR:\com.balsamiq.mockupfile' -Recurse };`
        return 0;"
    	Start-ChocolateyProcessAsAdmin $elevatedRemoveFileAssociation
    
    	# Delete application files
    	if (Test-Path $installPath) {
    		Write-Host "Deleting application files..."
    		$elevatedRemoveFiles = "`
    		Remove-Item '$installPath' -Force -Recurse;`
    		return 0;"
    		Start-ChocolateyProcessAsAdmin $elevatedRemoveFiles
    	}
    
    	Write-ChocolateySuccess "balsamiqmockups.install"
    } catch {
        Write-ChocolateyFailure "balsamiqmockups.install" $($_.Exception.Message)
        throw
    }
    

Virus Scan Results

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.

Dependencies

This package has no dependencies.

Maintainer(s)

Software Author(s)

  • Balsamiq Studios

Copyright

2014 Balsamiq Studios, LLC

Tags

Version History

Version Downloads Last updated Status
Balsamiq Mockups for Desktop 1.0.7 593 Monday, October 6, 2014  
Balsamiq Mockups for Desktop 1.0.6 177 Wednesday, October 1, 2014  
Balsamiq Mockups for Desktop 1.0.5 331 Monday, May 19, 2014  
Balsamiq Mockups for Desktop 1.0.4 152 Monday, May 19, 2014  
Balsamiq Mockups for Desktop 1.0.3 195 Monday, May 19, 2014  

Discussion for the Balsamiq Mockups for Desktop Package

Ground rules:

  • This discussion is only about Balsamiq Mockups for Desktop and the Balsamiq Mockups for Desktop 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 Balsamiq Mockups for Desktop, 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