Difference between revisions of "Greenshot"
(Note about lack of .NET causing dialog that hangs WPKG) |
|||
Line 1: | Line 1: | ||
Greenshot is a open-source screen capture utility available at [http://getgreenshot.org/ http://getgreenshot.org/] | Greenshot is a open-source screen capture utility available at [http://getgreenshot.org/ 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: | ||
+ | [http://sourceforge.net/projects/greenshot/files/Greenshot/Greenshot%200.8%20beta] | ||
+ | |||
+ | The silent installation switches and parameters, which are described in this post [http://sourceforge.net/projects/greenshot/forums/forum/676083/topic/3768475] , 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 === | ||
+ | |||
+ | |||
+ | <source lang="winbatch"> | ||
+ | "%~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%" | ||
+ | </source> | ||
+ | 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. | ||
+ | |||
+ | <source lang="ini"> | ||
+ | [Setup] | ||
+ | Lang=de | ||
+ | Dir= | ||
+ | Group=Greenshot | ||
+ | NoIcons=0 | ||
+ | Tasks= | ||
+ | </source> | ||
== Installation == | == Installation == |
Revision as of 21:51, 23 December 2011
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=
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>