DoctorDeploy.com - Das unabhängige Forum für Installation und Softwareverteilung Your Ad Here    
Doctor Deploy: software deployment, - distribution, repackaging, msi, windows installer, client management, installation, setup : forum - discussion boards 
  Search   •  RSS/Newsletter   •  Shop   •  Register  •  Profile  •  Log in to check your private messages  •  Log in
 Silent Installation View next topic
View previous topic
Post new topicReply to topic
Author Message
shuter
Imperial
Imperial


Joined: 18 Aug 2005
Posts: 14

PostPosted: Fri, 07.Oct.2005, 02:35 Back to top

Hallo Zusammen
ich führe 2 mal eine Silent Installation mit je einer setup.exe ducrch.
1.)
- Execute('.\Extern$\setup1\Setup.exe /SMS -s -f1.\Extern$\setup1\setup.iss -f2c:\setup_sw1')/?/TS
Hier steht im Log auf c:\ ResultCode-12

2.)
- Execute('.\Extern$\setup2\setup\setup.exe -s -f1.\Extern$\setup2\setup\setup.iss -f2c:\setup_sw2.txt')/?/TS
Hier bekomme ich einen ResultCode-5

Wenn ich die setup.exe mit den entsprechenden Parametern aud der Kommandozeile starte funktioniert alles.

Hat jemand eine Idee?


Gruss Sascha
View user's profileSend private message
torry
Jeroboam
Jeroboam


Joined: 15 Jun 2004
Posts: 96
Location: Ruhrpott-Germany

PostPosted: Fri, 07.Oct.2005, 07:22 Back to top

Hi shuter,

ich würde mal schätzen das du die .iss Datei in " " setzen mußt.
Resultcode -5 = File does not exist

shuter wrote:

- Execute('.\Extern$\setup1\Setup.exe /SMS -s -f1.\Extern$\setup1\setup.iss -f2c:\setup_sw1')/?/TS
Hier steht im Log auf c:\ ResultCode-12


Ich würde das mal so probieren(s.u.). Es kann aber sein das dem Installshield der Pfad dann auch zu lang wird.
Evtl. mußt du das dann temporär lokal kopieren und dann aufrufen.

Execute('.\Extern$\setup1\Setup.exe /SMS -s -f1".\Extern$\setup1\setup.iss" -f2"c:\setup_sw1"')/?/TS

_________________
Gruß
Torsten
View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger
bingen
Melchisedech
Melchisedech


Joined: 04 Jun 2004
Posts: 229
Location: 48°42' n.Br./09°09' ö.L.

PostPosted: Fri, 07.Oct.2005, 08:53 Back to top

shuter wrote:

- Execute('.\Extern$\setup1\Setup.exe /SMS -s -f1.\Extern$\setup1\setup.iss -f2c:\setup_sw1')/?/TS


soweit ich weiss, mag das installshield legacy-setup nicht unbedingt relative pfade. zumindest bin ich immer mit absoluten, nicht zu langen pfaden besser gefahren. also: iss z.b. nach c:\temp runterkopieren und diese dann benutzen... Smile
View user's profileSend private message
shuter
Imperial
Imperial


Joined: 18 Aug 2005
Posts: 14

PostPosted: Fri, 07.Oct.2005, 10:07 Back to top

vielen Dank für eure Antowrten.
das mit den Anführungszeichen bzw. das mit dem lokalen kopieren hatte ich versucht. Geht leider nicht. Vom 2. Setup bekomme ich immer noch ein ResultCode-5. Das 1. Setup funktioniert bzw. die installierte SW läuft, gibt aber ein -12 zurück. Warum geht der 2. Aufruf nicht so wie der 1.? Ich verstehe das nicht ganz. Im 1. habe ich keine Anführungszeichen bzw. die .iss Datei ist nicht lokal.
Habt Ihr noch weitere Ideen?


Gruss Sascha
View user's profileSend private message
torry
Jeroboam
Jeroboam


Joined: 15 Jun 2004
Posts: 96
Location: Ruhrpott-Germany

PostPosted: Fri, 07.Oct.2005, 10:17 Back to top

Hi Schuter

also -12 = Dialogs are out of order
Würde nochmal das iss neuaufzeichen mit /r.

bei dem -5 kann sein dass da irgendeine Datei fehlt.
der Fehler sollte dann aber auch passieren wenn du den Aufruf von hand durchführst. Ich meine schon Silent nur ohne NI.

_________________
Gruß
Torsten
View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger
shuter
Imperial
Imperial


Joined: 18 Aug 2005
Posts: 14

PostPosted: Tue, 01.Nov.2005, 01:44 Back to top

Hallo zusammen
ich habs folgendermassen gelöst:
.\Extern$\setup1 und .\Extern$\setup2 in Variablen verpackt und die iss Datei mit -f1%setup1%\setup.iss usw angegeben. Und siehe da es funktioniert. I

Ich denke es gibt in diesem Fall Probleme mit der Pfadlänge, was ich eigentlich nicht so glauben kann......naja auf jedenfall gehts mit den Variablen. Falls jemand eine andere Lösung kennt, lasst es mich wissen.
Vielen Dank.

Gruss Sascha
View user's profileSend private message
AddThis Social Bookmark Button
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Service provided by flatbyte.com :: Powered by phpBB :: FI Theme :: Imprint :: All times are GMT + 1 Hour