 |
Doctor Deploy: software deployment, - distribution, repackaging, msi, windows installer, client management, installation, setup : forum - discussion boards
|
| Author |
Message |
Zora
Piccolo

Joined: 27 Jul 2005
Posts: 2
|
Posted:
Wed, 27.Jul.2005, 16:15 |
 |
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. |
|
|
  |
 |
Zora
Piccolo

Joined: 27 Jul 2005
Posts: 2
|
Posted:
Wed, 27.Jul.2005, 17:09 |
 |
Ich konnte mein Problem jetzt lösen, indem ich der Komponente das Attribut 128 mitgebe...
 |
|
|
  |
 |
|
|
|
|
|
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
| |