Jump to content

No automated installation of one application


Recommended Posts


  Freitag, 23. Oktober 2009 12:42:50 - cmd1 Erfolg (Erwiderter Code 1): "cmd.exe" /C "D:\wpi\Install\GhostScript\Setup.bat"
Freitag, 23. Oktober 2009 12:42:50 - cmd2 Erfolg (Erwiderter Code 1): "cmd.exe" /C "D:\wpi\Install\FreePDF\Setup.bat"

They are running at the SAME time... Hence they may be cancelling each other out.

Do you have the proper start\wait in there?

Link to comment
Share on other sites

OK.

I try it once more and i put a "sleep 15" beetween the two setup.bat.

Thats the log.

Dienstag, 27. Oktober 2009 11:44:29

Anwendung: FreePDF 4.0 + Ghostscript 8.7

Einmalige ID: FREEPDF40GHOSTSCRIPT87

Reihenfolge: 13

Kategorie: Batch CD 1

Dienstag, 27. Oktober 2009 11:44:29 - cmd1 Erfolg (Erwiderter Code 1): "cmd.exe" /C "D:\wpi\Install\GhostScript\Setup.bat"

Dienstag, 27. Oktober 2009 11:44:45 - cmd2 Erfolg (Erwiderter Code 0): "D:\wpi\Tools\Sleep.exe" 15

Dienstag, 27. Oktober 2009 11:44:45 - cmd3 Erfolg (Erwiderter Code 1): "cmd.exe" /C "D:\wpi\Install\FreePDF\Setup.bat"

Dienstag, 27. Oktober 2009 11:44:45 - Installation abgeschlossen.

But nothing happend.

If i start it manually it works fine...........

I have no idea???

WPI_Log_2009.10.27_10.45.15.txt

Link to comment
Share on other sites

I think the batch-files are in the same directory as the exe-files, right?

Try this:

SetupFreePDF.bat

@ECHO OFF
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION

PUSHD "%~dp0"
fpsetup.exe /q
POPD

and this:

SetupGS.bat

@ECHO OFF
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION

PUSHD "%~dp0"
setupgs.exe C:\Programme
POPD

Al

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...