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
 Backup/Restore einer Datei View next topic
View previous topic
Post new topicReply to topic
Author Message
Zora
Piccolo
Piccolo


Joined: 27 Jul 2005
Posts: 2

PostPosted: Wed, 27.Jul.2005, 16:15 Back to top

Hallo zusammen

Ich stehe vor einem für mich unlösbaren Problem. Bitte helft mir. Jeder Input ist sehr willkommen.

Vielen, vielen Dank!
=================================

Ich habe ein "MSI1" und ein "MSI2". Das "MSI2" unterscheidet sich vom "MSI1" durch ein paar ausgetauschte Dateien.
"MSI2" updatet "MSI1".

Nun zu meinem Problem:
Wenn "MSI1" installiert ist bei der Installation von "MSI2" darf eine Datei X, die das "MSI2" eigentlich ersetzen würde, nicht ersetzt werden.
Wenn "MSI1" nicht installiert ist bei der Installation von "MSI2" muss die Datei X installiert werden.

Was habe ich versucht?
Zuerst habe ich zwei CustomActions gemacht. CustomAction1 verschiebt die Datei X in ein temporäres Verzeichnis. CustomAction2 verschiebt die Datei X in das ursprüngliche Verzeichnis zurück nachdem die Installation gelaufen ist.
Problem:
CustomAction1 läuft perfekt, CustomAction2 läuft aber nie..
Es liegt nicht am VBS, denn wenn ich dies unabhängig vom MSI ausführe, funktioniert es tadellos.
Frage:
Wo muss ich die CustomAction2 platzieren, damit die Verschiebung an den Originalort funktioniert?

Danach habe ich mir gedacht, was soll ich den mit CustomActions, ich kann dies ja auch mit konditioneller Component-Installation...
Ich habe 2 Components mit derselben GUID. Die eine installiert die alte Datei X, wenn "MSI1" installiert ist. Die andere Component installiert die neue Datei X, wenn "MSI1" nicht installiert war.
Problem:
Den Aufschrei des Analyzers, dass 2 Komponenten die gleiche GUID haben mal weggelassen...
Installation funktioniert perfekt, aber die Deinstallation nicht. Wenn "MSI1" nicht installiert war vor der Installation von "MSI2", wird Datei X nicht removed bei einem Uninstall.
View user's profileSend private message
Zora
Piccolo
Piccolo


Joined: 27 Jul 2005
Posts: 2

PostPosted: Wed, 27.Jul.2005, 17:09 Back to top

Ich konnte mein Problem jetzt lösen, indem ich der Komponente das Attribut 128 mitgebe...

Very Happy Very Happy
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