Downloads:

3,981

Downloads of v 1.0.8:

1,586

Last Update:

2/18/2015

Package Maintainer(s):

Software Author(s):

  • Balsamiq Studios

Tags:

balsamiq mockups prototypes prototyping trial

Balsamiq Mockups for Desktop

1.0.8 | Updated: 2/18/2015

Downloads:

3,981

Downloads of v 1.0.8:

1,586

Maintainer(s):

Software Author(s):

  • Balsamiq Studios

Balsamiq Mockups for Desktop 1.0.8

Some Checks Have Failed or Are Not Yet Complete

1 Test Unknown and 1 Failing Test


Validation Testing Unknown


Verification Testing Failed

Details

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

>

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

>

To uninstall Balsamiq Mockups for Desktop, 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 balsamiqmockups.install -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 balsamiqmockups.install -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 balsamiqmockups.install installed
  win_chocolatey:
    name: balsamiqmockups.install
    state: present
    version: 1.0.8
    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 'balsamiqmockups.install' do
  action    :install
  version  '1.0.8'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: balsamiqmockups.install,
    Version: 1.0.8,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller balsamiqmockups.install
{
   Name     = 'balsamiqmockups.install'
   Ensure   = 'Present'
   Version  = '1.0.8'
   Source   = 'STEP 3 URL'
}

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


package { 'balsamiqmockups.install':
  provider => 'chocolatey',
  ensure   => '1.0.8',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install balsamiqmockups.install version="1.0.8" 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 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.

Description

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.


chocolateyInstall.ps1
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
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
}

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
Balsamiq Mockups for Desktop 1.0.7 757 Monday, October 6, 2014 Unknown
Balsamiq Mockups for Desktop 1.0.6 340 Wednesday, October 1, 2014 Unknown
Balsamiq Mockups for Desktop 1.0.5 495 Monday, May 19, 2014 Unknown
Balsamiq Mockups for Desktop 1.0.4 308 Monday, May 19, 2014 Unknown
Balsamiq Mockups for Desktop 1.0.3 354 Monday, May 19, 2014 Unknown

This package has no dependencies.

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