Difference between revisions of "Greenshot"
(→Example installation with new Greenshot beta: Note) |
|||
Line 30: | Line 30: | ||
Tasks= | Tasks= | ||
</source> | </source> | ||
+ | |||
+ | ''Note'': I was not successful in the subscribed way. First of all, I think it has the be '''Lang=de-DE'''. In addition to that, in my tests, all settings of --configure were ignored and I did not found a list of all possible settings. Thats why I created Greenshot-defaults.ini and placed it in %appdata% of the user, see [http://wpkg.org/Talk:Greenshot Discussion] .--[[User:Konus|Konus]] 14:05, 17 April 2012 (CEST) | ||
== Installation == | == Installation == |
Revision as of 12:05, 17 April 2012
Greenshot is a open-source screen capture utility available at http://getgreenshot.org/
Important notice for version before and equal to 0.8.0.0627
If you want to install it completely silent, i want to point to several new installation parameters:
Perhaps you've had problems with automatically ajust the language settings through the silent installation process. In order to get rid of this, please download the actual Beta of GreenShot here: [1]
The silent installation switches and parameters, which are described in this post [2] , can not be used with 0.8.0.0627 In future releases the config.dat will be replaced by an ini-file for better configuration. This ini-file is also used by the new betas.
Hope this information can save you a lot of time.
Example installation with new Greenshot beta
"%~dp0Greenshot-INSTALLER-UNSTABLE-0.8.1.1486.exe" /LOADINF="%~dp0Greenshot-INSTALLER-UNSTABLE-0.8.1.1486.inf" /VERYSILENT /NORESTART --configure Ui_Language=de Ui_Effects_Flashlight=false Ui_Effects_CameraSound=false Output_File_Path="%USERPROFILE%\Desktop" Output_File_Format=Png Output_File_FilenamePattern="%title%-%NUM%"
You can perhaps add the --norun parameter at the end, so that greenshot don't start at the end of the installation.
Content of MY ini-File. (If you leave the "Dir=" parameter blank, the installaer choose automatically the right installation folder on x86 Systems (language based: "C:\Programme" or "C:\Program Files") or x64 ( C:\Program Files(x86) ) Systems.
[Setup]
Lang=de
Dir=
Group=Greenshot
NoIcons=0
Tasks=
Note: I was not successful in the subscribed way. First of all, I think it has the be Lang=de-DE. In addition to that, in my tests, all settings of --configure were ignored and I did not found a list of all possible settings. Thats why I created Greenshot-defaults.ini and placed it in %appdata% of the user, see Discussion .--Konus 14:05, 17 April 2012 (CEST)
Installation
Note that the installer from the website uses a dash in the version number (0.8.0-0627) and the file version uses a dot (0.8.0.0627) so you should rename the installer appropriately for consistency.
Also note that the uninstaller does not remove unins000.exe or the Greenshot folder, but this doesn't seem to cause any problems when reinstalling.
Greenshot requires .NET Framework 2.0. If it isn't installed, the installer will pop up a dialog asking if you want to install it. This will hang WPKG, so make sure .NET is installed first.
<package
id="greenshot"
name="Greenshot"
revision="%version%"
priority="0"
reboot="false">
<variable name="version" value="0.8.0.0627" />
<check
type="file"
condition="versionequalto"
path="%PROGRAMFILES%\Greenshot\Greenshot.exe"
value="%version%" />
<install cmd='"%SOFTWARE%\greenshot\Greenshot-INSTALLER-%version%.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' />
<upgrade cmd='"%SOFTWARE%\greenshot\Greenshot-INSTALLER-%version%.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' />
<remove cmd='"%PROGRAMFILES%\Greenshot\unins000.exe" /SILENT'>
<exit code="1" /> <!-- Returns 1 even when uninstall succeeds -->
</remove>
</package>