Difference between revisions of "PSPad"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 25: Line 25:
 
<package id='PSPad' name='PSPad editor' revision='5' priority='50' reboot='false' >
 
<package id='PSPad' name='PSPad editor' revision='5' priority='50' reboot='false' >
 
   <!-- PSPad text editor -->
 
   <!-- PSPad text editor -->
     <install cmd='"%comspec%" /c start /w \\path\to\your\PSPad\v4.5.6\pspad456inst_en.exe /VERYSILENT /NORESTART /COMPONENTS="!babylon-toobar,!pspad-toolbar" /LOADINF="\\file1-muc\sysresource\Softdeployment\PSPad\v4.5.6\setup.inf"' timeout="130"> <exit code="0"/> </install>
+
     <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>
 
</package>
 
</package>
  

Revision as of 10:00, 12 December 2011

PSPad is a handy text editor. It is comparable to the commercial UltraEdit but it available free of charge on the PSPad homepage.

Use the following XML file to install it silently:

<?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 v.4.5.2\pspad452inst_en.exe" /VERYSILENT /NOREBOOT' />
  <remove cmd='"%ProgramFiles%\PSPad\Uninst\unins000.exe" /SILENT' />
  <upgrade cmd='"%SOFTWARE%\PSPad v.4.5.2\pspad452inst_en.exe" /VERYSILENT /NOREBOOT' />
</package>

</packages>

Version 4.5.6 comes with some extras such as the "Babylon Toolbar" or the "PSPad Toolbar". This is how not to install them:

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

<package id='PSPad' name='PSPad editor' revision='5' priority='50' reboot='false' >
  <!-- PSPad text editor -->
    <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>
</package>

My setup.inf looks like this:

[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]]