/build/static/layout/Breadcrumb_cap_w.png

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login
Views: 11.1k  |  Created: 12/22/2011

Average Rating: 0
Greenshot has 1 inventory records, 0 Questions, 0 Blogs and 0 links. Please help add to this by sharing more!

Deployment Tips (4)

Most Common Setup Type
Windows Installer (MSI)
Average Package Difficulty Rating
Rated 1 / 5 (Very Easy) based on 1 ratings
Most Commonly Reported Deployment Method
Windows Installer Command Line (No MST)
12
Note
Version 0.8.0

inno setup

Silent Installation:
call "Greenshot-INSTALLER-0.8.0-0627.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-

Uninstall
"%ProgramFiles%\Greenshot\unins000.exe" /SILENT
But you should kill first the greenshot.exe because if not it isn't silent.

Greenshot use a binary config file in %APPDATA%. That's a big problem when you want to preconfigre it in a deployment environment. But it's possible to create it with your settings an deploy this file for the end user.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
0
Note

Just configure the greenshot.ini file and copy it to program\greenshot folder

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
0
Note
Active setups are a cleaner way to install the config file fo each user as they will automatically run when the user logs on for the first time after they are installed. Create an directory in your install folder below your install script called ActiveSetup AutoIT script In your install script include the lines: ;Active setup to copy files to each users profile $AppName = "Greenshot 0.8.0" $EXEName = "Greenshot_ActiveSetup.exe" DirCreate("C:\Temp\ActiveSetup\" & $AppName) ;This location to store the active setup is an example, it can be anywhere all users can access, just rememebr to change it in all locations in the script FileCopy(@ScriptDir & "\ActiveSetup\" & $EXEName, "C:\Temp\ActiveSetup\" & $AppName & "\" & $EXEName,1) RegWrite("HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\" & $AppName,"StubPath","REG_EXPAND_SZ",C:\Temp\ActiveSetup\" & $AppName & "\" & $EXEName) RegWrite("HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\" & $AppName,"Version","REG_SZ","1") ;Script ends Then write another script call Greenshot_ActiveSetup, with the following lines and copy it into your ActiveSetup folder (remember to keep your config file in the same location as the script when compiling as it will copy the config file into exe. DirCreate(@AppDataDir & "\Greenshot") FileInstall( ".\config.dat",@AppDataDir & "\Greenshot\config.dat",1)
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
0
Note
I've solved the pr. user setting by deploying the configuration file to the default user profile and created a DOS script that check for the config file when greenshot is loaded by a new user.
The greenshot package is installed with the parameters in the note above this one.
The configuration file is copied to "C:\Users\Default\AppData\Roaming\Greenshot\config.dat".
The DOS script is located in "C:\program files\greenshot\" and named greenshot.cmd

----greenshot.cmd----
IF EXIST "C:\Users\%USERNAME%\AppData\Roaming\Greenshot\config.dat" GOTO START
xcopy /q /y "C:\Users\Default\AppData\Roaming\Greenshot\config.dat" "C:\Users\%USERNAME%\AppData\Roaming\Greenshot\"
:START
start "" "C:\Program Files\Greenshot\greenshot.exe"
exit
---------------------

A link to greenshot.cmd is created and put in "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\". Greenshot is then started by the "startup" folder, this is done to run the DOS script checking for the config.dat pr. user.

And that's it !

The installation has only been checked in Windows 7 32x
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

Greenshot

Version

0.8.1.1486

Uninstall String

"C:\Program Files (x86)\Greenshot\unins000.exe" "C:\Program Files\Greenshot\unins000.exe"

Questions & Answers (0)

Questions & Answers related to Greenshot Greenshot

Blogs (0)

Blog posts related to Greenshot Greenshot

Reviews (0)

Reviews related to Greenshot Greenshot

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ