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
 Auf Ausführung warten View next topic
View previous topic
Post new topicReply to topic
Author Message
Andy74
Piccolo
Piccolo


Joined: 03 Nov 2005
Posts: 2

PostPosted: Thu, 03.Nov.2005, 10:16 Back to top

Ich habe ein kleines Problem.
Ich möchte eine Anwendung per InstallShild Installer (also mit ISS-Datei) installieren.

Leider wird trotz entsprechender Option beim EXECUTE nicht auf die Beendigung des Befehls gewartet.

Dadurch werden die Files zu früh wieder gelöscht und auch einige hier nicht aufgeführten nachfolgende Befehle zu früh ausgeführt



Code:

!Files kopieren
MakeDir('C:\Temp\Setup')/TS
CopyFileList('c:\temp\setup')
 .\extern$\files\_inst32i.ex_
 .\extern$\files\_ISDel.exe
 .\extern$\files\_Setup.dll
 .\extern$\files\_sys1.cab
 .\extern$\files\_sys1.hdr
 .\extern$\files\_user1.cab
 .\extern$\files\_user1.hdr
 .\extern$\files\billbrdprod.BMP
 .\extern$\files\BillbrdproSupport.BMP
 .\extern$\files\Billbrdthanks.BMP
 .\extern$\files\DATA.TAG
 .\extern$\files\data1.cab
 .\extern$\files\data1.hdr
 .\extern$\files\key.dat
 .\extern$\files\lang.dat
 .\extern$\files\layout.bin
 .\extern$\files\os.dat
 .\extern$\files\setup.bmp
 .\extern$\files\Setup.exe
 .\extern$\files\SETUP.INI
 .\extern$\files\setup.ins
 .\extern$\files\setup.iss
 .\extern$\files\setup.lid
EndProc/U/TS
!
!Installation
Execute('C:\temp\setup\Setup.exe -s -f1"C:\temp\setup\setup.iss"')/?/TS
!
!Nicht mehr gebrauchte Files löschen
Delete('C:\Temp\Setup\*.*')/S/F/TS
RemoveDir('C:\Temp\Setup')/S/TS
View user's profileSend private message
shuter
Imperial
Imperial


Joined: 18 Aug 2005
Posts: 14

PostPosted: Thu, 03.Nov.2005, 21:53 Back to top

Leider wird trotz entsprechender Option beim EXECUTE nicht auf die Beendigung des Befehls gewartet.

Dadurch werden die Files zu früh wieder gelöscht und auch einige hier nicht aufgeführten nachfolgende Befehle zu früh ausgeführt


[code]
!Files kopieren
MakeDir('C:\Temp\Setup')/TS
CopyFileList('c:\temp\setup')
.!Installation
Execute('C:\temp\setup\Setup.exe -s -f1"C:\temp\setup\setup.iss"')/?/TS

Hallo Andy
Versuch mal die setup.exe mit dem Parameter /SMS aufzurufen. Also setup.exe /sms -s -f1C:\temp\setup\setup.iss

Ich glaube das kkönnte dann so gehen. Der Parameter "sms" behält die setup.exe bis am Schluss im Speicher.

Gruss
View user's profileSend private message
Andy74
Piccolo
Piccolo


Joined: 03 Nov 2005
Posts: 2

PostPosted: Fri, 04.Nov.2005, 08:22 Back to top

Danke .... werde ich heute mal testen
View user's profileSend private message
McFly
Piccolo
Piccolo


Joined: 25 Aug 2005
Posts: 8

PostPosted: Wed, 14.Dec.2005, 14:42 Back to top

Ich hatte das gleiche Problem bisher bei einer einzigen Anwendungen.
Habe als Lösung hier nur auf einen Sleep 180 vor dem löschen der Dateien zurückgreifen können.
Zwar keine schöne Lösung, hat aber funktioniert.

Gruß

McFly
View user's profileSend private message
krischan100
Magnum
Magnum


Joined: 09 Feb 2005
Posts: 34
Location: Im Rhein Neckar Dreieck

PostPosted: Fri, 16.Dec.2005, 11:54 Back to top

Oder einfach die Option /SMS mit anfügen?`Wink

Quote:
The /SMS switch keeps setup.exe in memory until the entire installation is complete, so external processes can wait for it. Note that the /SMS switch is case-sensitive.


Also in deinem Fall :
Code:
Execute('C:\temp\setup\Setup.exe -s -f1"C:\temp\setup\setup.iss /SMS"')/?/TS


Krischan100
View user's profileSend private message
torry
Jeroboam
Jeroboam


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

PostPosted: Sat, 17.Dec.2005, 21:24 Back to top

krischan100 wrote:

Also in deinem Fall :
Code:
Execute('C:\temp\setup\Setup.exe -s -f1"C:\temp\setup\setup.iss /SMS"')/?/TS


Krischan100


Ich denke mal du meinst:
Code:
Execute('C:\temp\setup\Setup.exe -s -f1"C:\temp\setup\setup.iss" -sms')/?/TS


Wie in der Antwort von "shuter am 3.11.05" schon richtig beschrieben.

Wenn man es ganz schön machen will nimmt man diesen hier:
Code:
Execute('C:\temp\setup\Setup.exe -s -sms -f1"C:\temp\setup\setup.iss" -f2"C:\Temp\setup\setup.log"')/?/TS

und nach beenden der Setuproutine in der Setup.log nach dem Resultcode parsen und je nach Fehler oder nicht entsprechend handeln. Very Happy

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


Joined: 09 Feb 2005
Posts: 34
Location: Im Rhein Neckar Dreieck

PostPosted: Thu, 22.Dec.2005, 13:13 Back to top

Sorry hab ich mal wieder überlesen.
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