IPB

Google Frontpage Forums Unattended CD/DVD Guide
 
Reply to this topicStart new topic
> No automated installation of one application
SirHaschke
post Oct 22 2009, 08:03 AM
Post #1


Junior
*

Group: Members
Posts: 59
Joined: 20-October 08
Member No.: 215205
OS: none
Country Flag


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)
Attached File  config.js ( 7.62K ) Number of downloads: 13
Attached File  useroptions.js ( 2.15K ) Number of downloads: 3
Attached File  windowoptions.js ( 337bytes ) Number of downloads: 2
 
Go to the top of the page
 
+Quote Post
Grake
post 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
Country Flag


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.
Go to the top of the page
 
+Quote Post
AlBundy33
post Oct 23 2009, 04:39 PM
Post #3


Member
**

Group: Members
Posts: 201
Joined: 2-January 05
Member No.: 39804
OS: none
Country Flag


or its your setup.bat
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Oct 23 2009, 05:23 PM
Post #4


WPI Guru
Group Icon

Group: Software Developers
Posts: 6516
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Windows 7 x64
Country Flag


We need the installation log and the bat file(s)...
Go to the top of the page
 
+Quote Post
SirHaschke
post Oct 26 2009, 04:00 AM
Post #5


Junior
*

Group: Members
Posts: 59
Joined: 20-October 08
Member No.: 215205
OS: none
Country Flag


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)
Attached File  WPI_Log_2009.10.23_12.11.30.txt ( 12.11K ) Number of downloads: 3
 
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Oct 26 2009, 04:15 AM
Post #6


WPI Guru
Group Icon

Group: Software Developers
Posts: 6516
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Windows 7 x64
Country Flag


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?
Go to the top of the page
 
+Quote Post
SirHaschke
post Oct 26 2009, 04:22 AM
Post #7


Junior
*

Group: Members
Posts: 59
Joined: 20-October 08
Member No.: 215205
OS: none
Country Flag


Oh......s***.

What do you mena with
"Do you have the proper start\wait in there?" ??
Go to the top of the page
 
+Quote Post
Kelsenellenelvia...
post Oct 26 2009, 07:43 AM
Post #8


WPI Guru
Group Icon

Group: Software Developers
Posts: 6516
Joined: 18-September 03
From: Pocatello, ID
Member No.: 6960
OS: Windows 7 x64
Country Flag


i.e.

Sample .bat file:

CODE
@ECHO OFF

Start /wait program.exe /**** switches
xcopy "here.file" "there.file"
More commands...

Exit
Go to the top of the page
 
+Quote Post
AlBundy33
post Oct 26 2009, 01:22 PM
Post #9


Member
**

Group: Members
Posts: 201
Joined: 2-January 05
Member No.: 39804
OS: none
Country Flag


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
Go to the top of the page
 
+Quote Post
SirHaschke
post Oct 27 2009, 04:52 AM
Post #10


Junior
*

Group: Members
Posts: 59
Joined: 20-October 08
Member No.: 215205
OS: none
Country Flag


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)
Attached File  WPI_Log_2009.10.27_10.45.15.txt ( 12.27K ) Number of downloads: 0
 
Go to the top of the page
 
+Quote Post
AlBundy33
post Oct 28 2009, 01:21 PM
Post #11


Member
**

Group: Members
Posts: 201
Joined: 2-January 05
Member No.: 39804
OS: none
Country Flag


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
Go to the top of the page
 
+Quote Post
SirHaschke
post Oct 29 2009, 12:38 AM
Post #12


Junior
*

Group: Members
Posts: 59
Joined: 20-October 08
Member No.: 215205
OS: none
Country Flag


OK.
The files are in the ZIP rchive in the attachment..........
Attached File(s)
Attached File  Temp.zip ( 336bytes ) Number of downloads: 3
 
Go to the top of the page
 
+Quote Post
AlBundy33
post Oct 29 2009, 03:54 PM
Post #13


Member
**

Group: Members
Posts: 201
Joined: 2-January 05
Member No.: 39804
OS: none
Country Flag


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
Go to the top of the page
 
+Quote Post
SirHaschke
post Oct 30 2009, 04:55 AM
Post #14


Junior
*

Group: Members
Posts: 59
Joined: 20-October 08
Member No.: 215205
OS: none
Country Flag


It works.

Thanks :-)
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 21st November 2009 - 10:23 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy