![]() ![]() |
Oct 22 2009, 08:03 AM Post
#1 | |
| Junior ![]() Group: Members Posts: 59 Joined: 20-October 08 Member No.: 215205 OS: none |
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...... Thanks Dennis Attached File(s)
config.js ( 7.62K )
Number of downloads: 13
useroptions.js ( 2.15K )
Number of downloads: 3
windowoptions.js ( 337bytes )
Number of downloads: 2 |
| | |
Oct 22 2009, 08:13 AM Post
#2 | |
| Advanced Member ![]() ![]() ![]() Group: Members Posts: 352 Joined: 23-March 05 From: Canada Member No.: 48909 OS: XP MCE |
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.
|
| | |
Oct 23 2009, 04:39 PM Post
#3 | |
| Member ![]() ![]() Group: Members Posts: 201 Joined: 2-January 05 Member No.: 39804 OS: none |
or its your setup.bat
|
| | |
Oct 23 2009, 05:23 PM Post
#4 | |
| WPI Guru Group: Software Developers Posts: 6516 Joined: 18-September 03 From: Pocatello, ID Member No.: 6960 OS: Windows 7 x64 |
We need the installation log and the bat file(s)...
|
| | |
Oct 26 2009, 04:00 AM Post
#5 | |
| Junior ![]() Group: Members Posts: 59 Joined: 20-October 08 Member No.: 215205 OS: none |
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..... Thanks Attached File(s) |
| | |
Oct 26 2009, 04:15 AM Post
#6 | |
| WPI Guru Group: Software Developers Posts: 6516 Joined: 18-September 03 From: Pocatello, ID Member No.: 6960 OS: Windows 7 x64 | CODE 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? |
| | |
Oct 26 2009, 04:22 AM Post
#7 | |
| Junior ![]() Group: Members Posts: 59 Joined: 20-October 08 Member No.: 215205 OS: none |
Oh......s***. What do you mena with "Do you have the proper start\wait in there?" ?? |
| | |
Oct 26 2009, 07:43 AM Post
#8 | |
| WPI Guru Group: Software Developers Posts: 6516 Joined: 18-September 03 From: Pocatello, ID Member No.: 6960 OS: Windows 7 x64 |
i.e. Sample .bat file: CODE @ECHO OFF Start /wait program.exe /**** switches xcopy "here.file" "there.file" More commands... Exit |
| | |
Oct 26 2009, 01:22 PM Post
#9 | |
| Member ![]() ![]() Group: Members Posts: 201 Joined: 2-January 05 Member No.: 39804 OS: none |
Better: CODE @ECHO OFF REM with enabled extensions there's no need for "start /wait" SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION REM switch into script-directory PUSHD "%~dp0" REM go back to last directory POPD Al |
| | |
Oct 27 2009, 04:52 AM Post
#10 | |
| Junior ![]() Group: Members Posts: 59 Joined: 20-October 08 Member No.: 215205 OS: none |
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??? Attached File(s) |
| | |
Oct 28 2009, 01:21 PM Post
#11 | |
| Member ![]() ![]() Group: Members Posts: 201 Joined: 2-January 05 Member No.: 39804 OS: none |
We need this files: D:\wpi\Install\GhostScript\Setup.bat D:\wpi\Install\FreePDF\Setup.bat For example I install FreePDF with this command: CODE "path_to_the_file\FreePDF4.02.EXE" /q /c:"fpSetup.exe /q" Al |
| | |
Oct 29 2009, 12:38 AM Post
#12 | |
| Junior ![]() Group: Members Posts: 59 Joined: 20-October 08 Member No.: 215205 OS: none |
OK. The files are in the ZIP rchive in the attachment.......... Attached File(s) |
| | |
Oct 29 2009, 03:54 PM Post
#13 | |
| Member ![]() ![]() Group: Members Posts: 201 Joined: 2-January 05 Member No.: 39804 OS: none |
I think the batch-files are in the same directory as the exe-files, right? Try this: SetupFreePDF.bat CODE @ECHO OFF SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION PUSHD "%~dp0" fpsetup.exe /q POPD and this: SetupGS.bat CODE @ECHO OFF SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION PUSHD "%~dp0" setupgs.exe C:\Programme POPD Al |
| | |
Oct 30 2009, 04:55 AM Post
#14 | |
| Junior ![]() Group: Members Posts: 59 Joined: 20-October 08 Member No.: 215205 OS: none |
It works. Thanks :-) |
| | |
![]() ![]() |
| Lo-Fi Version | Time is now: 21st November 2009 - 10:23 PM |