.xml Datei richtig aufrufen (bei uninstall)

Moderators: MVogt, moderators

Post Reply
John Carmack
Posts: 53
Joined: 11. Nov 2011, 15:12
Contact:

.xml Datei richtig aufrufen (bei uninstall)

Post by John Carmack » 18. Feb 2015, 13:50

Hi Leute,

ich hab hier ein Problem mit der Silent Deinstallation von Microsoft Lync2013.

Die Installation funktioniert reibungslos und automatisch ohne das ich eingreifen muss.

Die Deinstallation bleibt immer hängen - egal wie ich es mache.
Mal verlangt die Deinstallation eine manuelle Eingabe, mal spuckt sie eine Fehlermeldung aus.

Hier die Optionen die die Lync2013 Setup.exe bietet:
Image


Die Deinstallations .xml Datei:

Code: Select all

<Configuration Product="LyncEntry">

<Display Level="basic" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />

</Configuration>

Setup.inf (bringt Fehlermeldung):
Image

Code: Select all

[SET:Installation]
AddMeter -1
Call "%Src%\setup.exe" /adminfile "updates\UnattendedConfigurationFile.MSP"
If %ErrorLevel% <> "0" Then "SET:InstallationError" EndIf

[SET:Deinstallation]
If "%Src%\Source\setup.exe " <> "" Then "SET:Deinstallation2" EndIf

[SET:Deinstallation2]
If %ErrorLevel% <> "0" Then "SET:DeInstallationError" EndIf
-Call "%Src%\Source\setup.exe" /uninstall "LyncEntry" /config .\lyncentry.ww\uninstall.xml
-AddMeter 50
Was bedeutet "Fehler 2"?
Was bedeutet "ProductID" in den optionen der Setup.exe?
kennt jemand einen Weg Lync2013 ohne manuellen Eingriff zu deinsallieren? Also SILENT?
Last edited by John Carmack on 19. Feb 2015, 15:33, edited 2 times in total.

apetras75
Posts: 30
Joined: 07. Dec 2009, 12:49
Contact:

Re: .xml Datei richtig aufrufen (bei uninstall)

Post by apetras75 » 18. Feb 2015, 14:32

Error 2: File not found
-Call "%Src%\Source\setup.exe" /uninstall "Lync2013" /config .\lyncentry.ww\uninstall.xml

Probier es mal mit einer absoluten Pfadangabe, nicht relativ ;-)
Dürfte in deinem Fall wohl dann so aussehen:

-Call "%Src%\Source\setup.exe" /uninstall "Lync2013" /config %Src%\Source\lyncentry.ww\uninstall.xml

Gruß

John Carmack
Posts: 53
Joined: 11. Nov 2011, 15:12
Contact:

Re: .xml Datei richtig aufrufen (bei uninstall)

Post by John Carmack » 18. Feb 2015, 18:10

Cool! Funktioniert. danke :)

- ProductID ist "LyncEntry"

-Call "%Src%\Source\setup.exe" /uninstall "LyncEntry" /config "%Src%\lyncentry.ww\uninstall.xml"

:D

Post Reply

Return to “Software Management”

Who is online

Users browsing this forum: No registered users and 2 guests