Difference between revisions of "PSPad"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(fixed up and tidied up)
Line 1: Line 1:
PSPad is a handy text editor. It is comparable to the commercial UltraEdit but it available free of charge on the [http://www.pspad.com/ PSPad homepage].
+
PSPad is a handy text editor. It is comparable to the commercial UltraEdit but is available free of charge from [http://www.pspad.com/].
 +
 
 +
=WPKG Package=
  
Use the following XML file to install it silently:
 
 
<source lang="xml">
 
<source lang="xml">
 
<?xml version="1.0" encoding="utf-8" ?>
 
<?xml version="1.0" encoding="utf-8" ?>
 
<packages>
 
<packages>
  
<package id='PSPad' name='PSPad editor' revision='452' priority='50' reboot='false' >
+
<package id='PSPad'
 +
  name='PSPad editor'
 +
  revision='452'
 +
  priority='50'
 +
  reboot='false' >
 +
 
   <!-- PSPad text editor -->
 
   <!-- PSPad text editor -->
 +
 
   <check type='uninstall' condition='exists' path='PSPad editor' />
 
   <check type='uninstall' condition='exists' path='PSPad editor' />
   <install cmd='"%SOFTWARE%\PSPad v.4.5.2\pspad452inst_en.exe" /VERYSILENT /NOREBOOT' />
+
 
 +
   <install cmd='"%SOFTWARE%\PSPad\pspad452inst_en.exe" /VERYSILENT /NOREBOOT' />
 +
 
 +
  <upgrade cmd='"%SOFTWARE%\PSPad\pspad452inst_en.exe" /VERYSILENT /NOREBOOT' />
 +
 
 
   <remove cmd='"%ProgramFiles%\PSPad\Uninst\unins000.exe" /SILENT' />
 
   <remove cmd='"%ProgramFiles%\PSPad\Uninst\unins000.exe" /SILENT' />
  <upgrade cmd='"%SOFTWARE%\PSPad v.4.5.2\pspad452inst_en.exe" /VERYSILENT /NOREBOOT' />
 
 
</package>
 
</package>
  
Line 17: Line 27:
 
</source>
 
</source>
  
Version 4.5.6 comes with some extras such as the "Babylon Toolbar" or the "PSPad Toolbar". This is how not to install them:
+
==Leave out unwanted toolbars==
 +
 
 +
Version 4.5.6 comes with some extras such as the "Babylon Toolbar" or the "PSPad Toolbar". Replace the above with the following in order to not install them:
  
 
<source lang="xml">
 
<source lang="xml">
<?xml version="1.0" encoding="utf-8" ?>
+
    <install cmd='"%comspec%" /c start /w "%SOFTWARE%\PSPad\pspad456inst_en.exe" /VERYSILENT /NORESTART /COMPONENTS="!babylon-toobar,!pspad-toolbar" /LOADINF="%SOFTWARE%\PSPad\setup.inf"' timeout="130">
<packages>
+
    <exit code="0"/>
 +
    </install>
  
<package id='PSPad' name='PSPad editor' revision='5' priority='50' reboot='false' >
+
     <upgrade cmd='"%comspec%" /c start /w "%SOFTWARE%\PSPad\pspad456inst_en.exe" /VERYSILENT /NORESTART /COMPONENTS="!babylon-toobar,!pspad-toolbar" /LOADINF="%SOFTWARE%\PSPad\setup.inf"' timeout="130">
  <!-- PSPad text editor -->
+
    <exit code="0"/>
     <install cmd='"%comspec%" /c start /w \\path\to\your\PSPad\v4.5.6\pspad456inst_en.exe /VERYSILENT /NORESTART /COMPONENTS="!babylon-toobar,!pspad-toolbar" /LOADINF="\\path\to\your\PSPad\v4.5.6\setup.inf"' timeout="130"> <exit code="0"/> </install>
+
    </upgrade>
</package>
+
</source>
 +
 
 +
==setup.inf==
  
My setup.inf looks like this:
+
This file should be located in %SOFTWARE%\PSPad.
  
[Setup]
+
===32-bit system version===
Lang=default
+
[Setup]
Dir=C:\Program Files (x86)\PSPad editor
+
Lang=default
Group=PSPad editor
+
Dir=C:\Program Files\PSPad editor
NoIcons=0
+
Group=PSPad editor
SetupType=custom
+
NoIcons=0
Components=main,context,syntax,convert,templates,script,openssl,lang,lang\europe,lang\europe\deutsch
+
SetupType=custom
Tasks=
+
Components=main,context,syntax,convert,templates,script,openssl,lang,lang\europe,lang\europe\deutsch
 +
Tasks=
 
   
 
   
 +
===64-bit system version===
 +
[Setup]
 +
Lang=default
 +
Dir=C:\Program Files (x86)\PSPad editor
 +
Group=PSPad editor
 +
NoIcons=0
 +
SetupType=custom
 +
Components=main,context,syntax,convert,templates,script,openssl,lang,lang\europe,lang\europe\deutsch
 +
Tasks=
  
  
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 17:00, 12 December 2011

PSPad is a handy text editor. It is comparable to the commercial UltraEdit but is available free of charge from [1].

WPKG Package

<?xml version="1.0" encoding="utf-8" ?>
<packages>

<package id='PSPad'
  name='PSPad editor'
  revision='452'
  priority='50'
  reboot='false' >
 
  <!-- PSPad text editor -->

  <check type='uninstall' condition='exists' path='PSPad editor' />

  <install cmd='"%SOFTWARE%\PSPad\pspad452inst_en.exe" /VERYSILENT /NOREBOOT' />

  <upgrade cmd='"%SOFTWARE%\PSPad\pspad452inst_en.exe" /VERYSILENT /NOREBOOT' />

  <remove cmd='"%ProgramFiles%\PSPad\Uninst\unins000.exe" /SILENT' />
</package>

</packages>

Leave out unwanted toolbars

Version 4.5.6 comes with some extras such as the "Babylon Toolbar" or the "PSPad Toolbar". Replace the above with the following in order to not install them:

    <install cmd='"%comspec%" /c start /w "%SOFTWARE%\PSPad\pspad456inst_en.exe" /VERYSILENT /NORESTART /COMPONENTS="!babylon-toobar,!pspad-toolbar" /LOADINF="%SOFTWARE%\PSPad\setup.inf"' timeout="130">
    <exit code="0"/>
    </install>

    <upgrade cmd='"%comspec%" /c start /w "%SOFTWARE%\PSPad\pspad456inst_en.exe" /VERYSILENT /NORESTART /COMPONENTS="!babylon-toobar,!pspad-toolbar" /LOADINF="%SOFTWARE%\PSPad\setup.inf"' timeout="130">
    <exit code="0"/>
    </upgrade>

setup.inf

This file should be located in %SOFTWARE%\PSPad.

32-bit system version

[Setup]
Lang=default
Dir=C:\Program Files\PSPad editor
Group=PSPad editor
NoIcons=0
SetupType=custom
Components=main,context,syntax,convert,templates,script,openssl,lang,lang\europe,lang\europe\deutsch
Tasks=

64-bit system version

[Setup]
Lang=default
Dir=C:\Program Files (x86)\PSPad editor
Group=PSPad editor
NoIcons=0
SetupType=custom
Components=main,context,syntax,convert,templates,script,openssl,lang,lang\europe,lang\europe\deutsch
Tasks=