Difference between revisions of "ScreenshotCaptor"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(New package)
 
(update to latest version in use)
 
Line 9: Line 9:
 
<package id='screencaptor'  
 
<package id='screencaptor'  
 
         name='Screenshot Captor'  
 
         name='Screenshot Captor'  
         revision='%PKG_FILEVERSION%'
+
         revision='%PKG_VERSION%'
 
         priority='10'  
 
         priority='10'  
 
         reboot='false' >
 
         reboot='false' >
  
     <variable name="PKG_VERSION"    value="3.08.01" />
+
     <variable name="PKG_VERSION"    value="4.03.00" />
     <variable name="PKG_DESTINATION"    value="%PROGRAMFILES%" architecture="x86" />
+
     <variable name="PKG_DESTINATION"    value="%PROGRAMFILES%\ScreenshotCaptor" architecture="x86" />
     <variable name="PKG_DESTINATION"    value="%PROGRAMFILES(x86)%" architecture="x64" />
+
     <variable name="PKG_DESTINATION"    value="%PROGRAMFILES(x86)%\ScreenshotCaptor" architecture="x64" />
 +
    <variable name="PKG_UNINSTALLER"    value="%PKG_DESTINATION%\unins000.exe" />
  
     <check type='uninstall' condition='exists' path='Screenshot Captor %PKG_VERSION%' />
+
     <check type="logical" condition="and">
 +
        <check type='uninstall' condition='exists' path='Screenshot Captor %PKG_VERSION%' />
 +
        <check type='file' condition='exists' path='%PKG_UNINSTALLER%' />
 +
    </check>
  
     <install cmd='"%SOFTWARE%\ScreenCaptor\ScreenshotCaptorSetup.exe" /silent' timeout="600" />
+
     <install cmd='"%SOFTWARE%\ScreenCaptor\ScreenshotCaptorSetup-%PKG_VERSION%.exe" /VERYSILENT /NORESTART' timeout="600" />
 +
 
 +
    <!--
 +
      Add our license key file.
 +
    -->
 +
    <install cmd='%COMSPEC% /c copy /y /v "%SOFTWARE%\ScreenCaptor\DonationCoder_ScreenshotCaptor_Key.dat" "%PKG_DESTINATION%"' timeout="10" />
  
    <upgrade include="remove" />
 
 
     <upgrade include="install" />
 
     <upgrade include="install" />
  
     <remove cmd='"%PKG_DESTINATION%/ScreenshotCaptor/unins000.exe" /VERYSILENT' />
+
     <remove cmd='taskkill /f /im screenshotcaptor.exe' timeout="30" >
 +
        <exit code='0' />
 +
        <exit code='1' />
 +
        <exit code='128' />
 +
    </remove>
 +
    <remove cmd='"%PKG_UNINSTALLER%" /VERYSILENT /NORESTART' />
 
</package>
 
</package>
 
</packages>
 
</packages>

Latest revision as of 20:25, 10 July 2013

A donationware tool for grabbing, manipulating, annotating, and sharing screenshots www.donationcoder.com

Inno Setup package.xml

This package should work for both Windows XP (32bit) and Windows 7 (32 and 64bit).

<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id='screencaptor' 
        name='Screenshot Captor' 
        revision='%PKG_VERSION%'
        priority='10' 
        reboot='false' >

    <variable name="PKG_VERSION"    value="4.03.00" />
    <variable name="PKG_DESTINATION"    value="%PROGRAMFILES%\ScreenshotCaptor" architecture="x86" />
    <variable name="PKG_DESTINATION"    value="%PROGRAMFILES(x86)%\ScreenshotCaptor" architecture="x64" />
    <variable name="PKG_UNINSTALLER"    value="%PKG_DESTINATION%\unins000.exe" />

    <check type="logical" condition="and">
        <check type='uninstall' condition='exists' path='Screenshot Captor %PKG_VERSION%' />
        <check type='file' condition='exists' path='%PKG_UNINSTALLER%' />
    </check>

    <install cmd='"%SOFTWARE%\ScreenCaptor\ScreenshotCaptorSetup-%PKG_VERSION%.exe" /VERYSILENT /NORESTART' timeout="600" />

    <!--
       Add our license key file.
    -->
    <install cmd='%COMSPEC% /c copy /y /v "%SOFTWARE%\ScreenCaptor\DonationCoder_ScreenshotCaptor_Key.dat" "%PKG_DESTINATION%"' timeout="10" />

    <upgrade include="install" />

    <remove cmd='taskkill /f /im screenshotcaptor.exe' timeout="30" >
        <exit code='0' />
        <exit code='1' />
        <exit code='128' />
    </remove>
    <remove cmd='"%PKG_UNINSTALLER%" /VERYSILENT /NORESTART' />
</package>
</packages>