Network Install

Installation and setup related issues.

Moderator: jr

adamspice
Posts: 1
Joined: Mon Jul 17, 2006 1:54 pm

Network Install

Post by adamspice »

Hi I am trying to distribute PDFPrinter and GS over my network.

I have created the following bat file that is called from my login script:

Code: Select all

ECHO ON
SET SetupPath=\\gmtv10a\netlogon\pdf\
SET SetupFileName=PDFPrinter.exe
SET VersionName=version1

SET Destination=%ProgramFiles%\BullZip\PDF Printer
SET VersionFile=%Destination%\%VersionName%.version

IF NOT EXIST "%VersionFile%" GOTO INSTALL
GOTO NOINSTALL

:INSTALL
@ECHO Install Program
%SetupPath%%SetupFileName% /sp /silent /norestart /nocancel
IF ERRORLEVEL==1 GOTO INSTALLERROR

@ECHO Remove old version files
DEL "%Destination%\*.version"

@ECHO Create Version file
@ECHO %USERNAME% > "%VersionFile%"
@GOTO END

:NOINSTALL
@ECHO Program is up to date
GOTO END

:INSTALLERROR
@ECHO Installation failed

:END
I have also place the LIB, BIN and FONTS folder in a folder called GS in the same location as the PDFPrinter.

Even though I have done this is still says that GS is not intstalled and I need to install it.

Anyone have any ideas
jr
Site Admin
Posts: 500
Joined: Sun Mar 26, 2006 12:28 pm

Post by jr »

Move the files from the GS subfolders LIB, BIN and FONTS to the GS folder. No subfolders should be located in the GS folder. All files must be located directly in the GS folder.

Regards,
Jacob
Locked