SF.net SVN: unattended:[4274] trunk/install/scripts/pdfcreator.bat
jjp3--- via unattended-cvs <[email protected]>
| Newsgroups | gmane.comp.windows.unattended.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 4274
http://sourceforge.net/p/unattended/code/4274
Author: jjp3
Date: 2018-08-11 09:38:21 +0000 (Sat, 11 Aug 2018)
Log Message:
-----------
PDFCreator 3.2.2. Install 2.5.3 if XP
Modified Paths:
--------------
trunk/install/scripts/pdfcreator.bat
Modified: trunk/install/scripts/pdfcreator.bat
===================================================================
--- trunk/install/scripts/pdfcreator.bat 2018-08-11 08:55:08 UTC (rev 4273)
+++ trunk/install/scripts/pdfcreator.bat 2018-08-11 09:38:21 UTC (rev 4274)
@@ -2,9 +2,9 @@
:: HOME: http://download.pdfforge.org/download/pdfcreator
@echo off
-:: URL|ALL|http://blue.download.pdfforge.org/pdfcreator/3.1.1/PDFCreator-3_1_1-Setup.exe|packages/pdfcreator/pdfcreator-3.1.1.setup.exe
+:: URL|ALL|http://azure.download.pdfforge.org/pdfcreator/3.2.2/PDFCreator-3_2_2-Setup.exe|packages/pdfcreator/pdfcreator-3.2.2.setup.exe
+:: URL|ALL|http://azure.download.pdfforge.org/pdfcreator/2.5.3/PDFCreator-2_5_3-Setup.exe|packages/pdfcreator/pdfcreator-2.5.3.setup.exe
-:install
:: No need for a desktop shortcut.
todo.pl "unlink.pl special:AllUsersDesktop\"\PDFCreator.lnk\""
@@ -11,9 +11,10 @@
:: Avoid auto update dialog
todo.pl ".ignore-err 1 reg add \"HKLM\SOFTWARE\PDFCreator\Program\" /v \"UpdateInterval\" /t REG_SZ /d \"0\" /f"
+::If this system is XP then use 2.5.3
+set VERSION=3.2.2
+if "%WINVER%" == "winxpsp3" set VERSION=2.5.3
+
:: Install PDFCreator
:: To set default language, add /LANG=(language name)
-todo.pl "%Z%\packages\pdfcreator\pdfcreator-3.1.1.setup.exe /LOG=%SystemDrive%\netinst\logs\pdfcreator.txt /SILENT /COMPONENTS=\"program\" /NORESTART"
-
-::DotNet requierement
-todo.pl dotnet.bat
+todo.pl "%Z%\packages\pdfcreator\pdfcreator-%VERSION%.setup.exe /LOG=%SystemDrive%\netinst\logs\pdfcreator.txt /SILENT /COMPONENTS=\"program\" /NORESTART"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot