SirHaschke Posted October 22, 2009 Share Posted October 22, 2009 Hello,i have some problem.I create a WPI dvd with some applications.All works fine....only 'FreePDF 4.0 + Ghostscript 8.7' doesn't install automatically.Why?In the attachment are my config files......ThanksDennisconfig.jsuseroptions.jswindowoptions.js Link to comment Share on other sites More sharing options...
Grake Posted October 22, 2009 Share Posted October 22, 2009 Maybe it's the "+" sign. put "and" or something. I try not to use variables like that because they're usually assigned for something else. Link to comment Share on other sites More sharing options...
AlBundy33 Posted October 23, 2009 Share Posted October 23, 2009 or its your setup.bat Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted October 23, 2009 Share Posted October 23, 2009 We need the installation log and the bat file(s)... Link to comment Share on other sites More sharing options...
SirHaschke Posted October 26, 2009 Author Share Posted October 26, 2009 Hello,i change the "+" sign with "and".But nothing happend automatically.If i start it manually it works fine.In the attachment is the setup.bat and the logfile.Hope someone find the error.....ThanksWPI_Log_2009.10.23_12.11.30.txt Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted October 26, 2009 Share Posted October 26, 2009 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 More sharing options...
SirHaschke Posted October 26, 2009 Author Share Posted October 26, 2009 Oh......s***.What do you mena with"Do you have the proper start\wait in there?" ?? Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted October 26, 2009 Share Posted October 26, 2009 i.e. Sample .bat file:@ECHO OFFStart /wait program.exe /**** switchesxcopy "here.file" "there.file"More commands...Exit Link to comment Share on other sites More sharing options...
AlBundy33 Posted October 26, 2009 Share Posted October 26, 2009 Better:@ECHO OFFREM with enabled extensions there's no need for "start /wait"SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSIONREM switch into script-directoryPUSHD "%~dp0"REM go back to last directoryPOPDAl Link to comment Share on other sites More sharing options...
SirHaschke Posted October 27, 2009 Author Share Posted October 27, 2009 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 More sharing options...
AlBundy33 Posted October 28, 2009 Share Posted October 28, 2009 We need this files:D:\wpi\Install\GhostScript\Setup.batD:\wpi\Install\FreePDF\Setup.batFor example I install FreePDF with this command:"path_to_the_file\FreePDF4.02.EXE" /q /c:"fpSetup.exe /q"Al Link to comment Share on other sites More sharing options...
SirHaschke Posted October 29, 2009 Author Share Posted October 29, 2009 OK.The files are in the ZIP rchive in the attachment..........Temp.zip Link to comment Share on other sites More sharing options...
AlBundy33 Posted October 29, 2009 Share Posted October 29, 2009 I think the batch-files are in the same directory as the exe-files, right?Try this:SetupFreePDF.bat@ECHO OFFSETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSIONPUSHD "%~dp0"fpsetup.exe /qPOPDand this:SetupGS.bat@ECHO OFFSETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSIONPUSHD "%~dp0"setupgs.exe C:\ProgrammePOPDAl Link to comment Share on other sites More sharing options...
SirHaschke Posted October 30, 2009 Author Share Posted October 30, 2009 It works.Thanks :-) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now