Visio 2016 ClickToRun
Visio 2016 ClickToRun
Hallo Usergemeinde,
ich arbeite mich gerade in die OPSI-Thematik ein. Ich komme hier aktuell bei der Installation einer Visio2016 C2R-version nicht weiter.
Das Template habe ich heruntergeladen und ist unterhalb opsi_depot_rw\MS_visio auch vorhanden. Hier habe ich die angepasste config.xml sowie die Files abgelegt (bzw. unter MS_visio\Files\x86). Starte ich die Installation über opsi, fängt dieser auch an. Am Ende sagt Ospi, successful und in dem Logfile auf dem Client sehe ich auch keine Fehler. Es wird aber nichts installiert.
Hat hier jemand eine Idee? Gibt es eine grundlegende Anleitung für C2R-Versionen?
Gruß Alex
ich arbeite mich gerade in die OPSI-Thematik ein. Ich komme hier aktuell bei der Installation einer Visio2016 C2R-version nicht weiter.
Das Template habe ich heruntergeladen und ist unterhalb opsi_depot_rw\MS_visio auch vorhanden. Hier habe ich die angepasste config.xml sowie die Files abgelegt (bzw. unter MS_visio\Files\x86). Starte ich die Installation über opsi, fängt dieser auch an. Am Ende sagt Ospi, successful und in dem Logfile auf dem Client sehe ich auch keine Fehler. Es wird aber nichts installiert.
Hat hier jemand eine Idee? Gibt es eine grundlegende Anleitung für C2R-Versionen?
Gruß Alex
Re: Visio 2016 ClickToRun
Meinst du Visio 2019? 2016 hat ja noch den alten ordentlichen Installer ^^
Für Office 2019 hat mein Kollege unser Paket auf GitHub veröffentlich.
https://github.com/chrkoe/OPSI_ms-office2019
Für Office 2019 hat mein Kollege unser Paket auf GitHub veröffentlich.
https://github.com/chrkoe/OPSI_ms-office2019
Re: Visio 2016 ClickToRun
Nein, ich meine schon Visio2016. Da haben wir nur ein C2R.
Ich muss doch zuerst mit der Option Setup / Download das Paket Downloaden, dann die XML bearbeiten und kann dann mit Setup / configure Visio ausführen. Funktioniert außerhalb von OPSI auch hervorragend, nur über OPSI bekomme ich das nicht hin.
Gruß
Alex
Ich muss doch zuerst mit der Option Setup / Download das Paket Downloaden, dann die XML bearbeiten und kann dann mit Setup / configure Visio ausführen. Funktioniert außerhalb von OPSI auch hervorragend, nur über OPSI bekomme ich das nicht hin.
Gruß
Alex
Re: Visio 2016 ClickToRun
Hat der Installer, der dann im Kontext von SYSTEM läuft, vielleicht keinen Zugriff auf den Share/Pfad, wo die Dateien liegen? Ich hatte zum Test seinerzeit mal ein Office 365-Paket gebaut, und dort musste ich den Quellpfad in der configure.xml auf das Laufwerk P: "hart" kodieren, was Opsi sowieso während einer Installation mappt.
Code: Alles auswählen
<Configuration>
<Add SourcePath="P:\microsoft-office365\setup\" OfficeClientEdition="32" >
<Product ID="O365ProPlusRetail">
<Language ID="de-de" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
</Product>
</Add>
<Display Level="None" AcceptEULA="TRUE" />
<Updates Enabled="FALSE" />
<Logging Level="Standard" Path="%temp%\Office365Setup\" />
<Property Name="AUTOACTIVATE" Value="0" />
<Property Name="FORCEAPPSHUTDOWN" Value="1" />
</Configuration>
Re: Visio 2016 ClickToRun
Vielen Dank für die Antwort. Habe ich getestet, hat auch nicht funktioniert.
Hier mal meine config.xml
<Configuration ID="ac319d3a-0910-40cf-997d-46bdce29c36c">
<Add OfficeClientEdition="32" Channel="Monthly" ForceUpgrade="TRUE" SourcePath="O:\ms_visio\Files\x86">
<Product ID="VisioProXVolume" PIDKEY="*******************">
<Language ID="de-de" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="OneDrive" />
</Product>
</Add>
<Property Name="SharedComputerLicensing" Value="0" />
<Property Name="PinIconsToTaskbar" Value="TRUE" />
<Property Name="SCLCacheOverride" Value="0" />
<Property Name="AUTOACTIVATE" Value="FALSE" />
<Property Name="FORCEAPPSHUTDOWN" Value="FALSE" />
<Property Name="DeviceBasedLicensing" Value="0" />
<Updates Enabled="TRUE" />
<Display Level="None" AcceptEULA="TRUE" />
<Logging Level="Standard" Path="%temp%" />
</Configuration>
Das Verzeichnis MS_visio wurde durch das Hinzufügen des OPSI-Paketes von der LMZ angelegt. (liegt unterhalb von opsi_depot_rw). Dort befindet sich eine Setup.ins. Ist das richtig, das diese Datei angesprochen wird?
Während der Installation wird auf dem PC, auf dem ich die Installation ausführen möchte, ein Verzeichnis Office im Ordner C:\tmp\ angelegt. In diesen wird gleich am Anfang die config.xml reinkopiert. Dann nach ca. 20sek. wird der Ordner wieder gelöscht.
Noch jemand eine Idee? Ich kann auch gern mal die Setup.ins posten, vielleicht bringt das Licht ins Dunkle.
Gruß Alex
Hier mal meine config.xml
<Configuration ID="ac319d3a-0910-40cf-997d-46bdce29c36c">
<Add OfficeClientEdition="32" Channel="Monthly" ForceUpgrade="TRUE" SourcePath="O:\ms_visio\Files\x86">
<Product ID="VisioProXVolume" PIDKEY="*******************">
<Language ID="de-de" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="OneDrive" />
</Product>
</Add>
<Property Name="SharedComputerLicensing" Value="0" />
<Property Name="PinIconsToTaskbar" Value="TRUE" />
<Property Name="SCLCacheOverride" Value="0" />
<Property Name="AUTOACTIVATE" Value="FALSE" />
<Property Name="FORCEAPPSHUTDOWN" Value="FALSE" />
<Property Name="DeviceBasedLicensing" Value="0" />
<Updates Enabled="TRUE" />
<Display Level="None" AcceptEULA="TRUE" />
<Logging Level="Standard" Path="%temp%" />
</Configuration>
Das Verzeichnis MS_visio wurde durch das Hinzufügen des OPSI-Paketes von der LMZ angelegt. (liegt unterhalb von opsi_depot_rw). Dort befindet sich eine Setup.ins. Ist das richtig, das diese Datei angesprochen wird?
Während der Installation wird auf dem PC, auf dem ich die Installation ausführen möchte, ein Verzeichnis Office im Ordner C:\tmp\ angelegt. In diesen wird gleich am Anfang die config.xml reinkopiert. Dann nach ca. 20sek. wird der Ordner wieder gelöscht.
Noch jemand eine Idee? Ich kann auch gern mal die Setup.ins posten, vielleicht bringt das Licht ins Dunkle.
Gruß Alex
- SisterOfMercy
- Beiträge: 1524
- Registriert: 22 Jun 2012, 19:18
Re: Visio 2016 ClickToRun
Somewhere in time microsoft changed the normal installer to the ClickToCrash installertobias hat geschrieben:Meinst du Visio 2019? 2016 hat ja noch den alten ordentlichen Installer ^^
Für Office 2019 hat mein Kollege unser Paket auf GitHub veröffentlich.
https://github.com/chrkoe/OPSI_ms-office2019
What a dungheap. And if you have visio 2016 in a C2R installer, and want office 2016, it must be using the C2R installer as well, because they can't coexist on one machine.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Re: Visio 2016 ClickToRun
Ja, kann auf jeden Fall nicht schaden. Das O:-Laufwerk was Du in der XML referenzierst, kommt das vom Script oder woher? Normalerweise nutzt OPSI ja von Haus aus P:.aniepelt hat geschrieben: Idee? Ich kann auch gern mal die Setup.ins posten, vielleicht bringt das Licht ins Dunkle.
Re: Visio 2016 ClickToRun
Anbei die setuo.ins. Bei uns ist per Default O:\ nach Opsi eingestellt.
Das mit einer installierten MSI-Version habe ich getestet. Da gibt es einen reg-key, wenn der bearbeitet wird, können msi und odt gleichzeitig installiert werden.
Hier der Inhalt der Setup.ins
Copyright (c) uib gmbh (www.uib.de)
; This sourcecode is owned by uib
; and published under the Terms of the General Public License.
; credits: http://www.opsi.org/credits/
[Actions]
requiredWinstVersion >= "4.10.5"
;
; requires python-opsi >= (4.0.1.31-1)
; office 2016 Productkey is case sensitiv
;
DefVar $Configuration_Product$
DefVar $MsVersion$
DefVar $Produkt$
DefVar $ProduktId$
DefVar $MinimumSpace$
DefVar $InstallDir$
DefVar $ExitCode$
DefVar $LicenseRequired$
DefVar $LicenseKey$
DefVar $LicensePool$
DefVar $LogDir$
DefVar $TEMP$
DefVar $InstallCommand$
DefVar $OfficeDir$
DefVar $httpproxy$
DefVar $MS_Version$
DefVar $Produkt_Version$
DefVar $activate$
DefVar $lang2install$
DefVar $username$
DefVar $companyname$
DefVar $adddesktopicons$
DefVar $System_Architektur$
DefVar $architecture2use$
DefVar $Office_Version$
DefVar $InterestingFile$
DefVar $Linkname$
DefVar $poolOrKey$
DefVar $method$
DefVar $openkey$
DefVar $MSP$
DefVar $Produkt_Architektur$
DefStringList $microsoftdefaultkmsclientkeylist$
DefVar $rebootrequired$
Set $LogDir$ = "%SystemDrive%\tmp"
Set $TEMP$ = "%SystemDrive%\tmp"
set $rebootrequired$ = "no"
Set $MS_Version$ = GetSystemType
Set $Produkt$ = GetProductProperty("Produkt","Visio")
Set $Office_Version$ = GetProductProperty("Office_Version","Visio_2013")
;Set $Produkt_Version$ = GetProductProperty("Produkt_Version","Pro")
Set $username$ = GetProductProperty("username","Musterschueler")
Set $companyname$ = GetProductProperty("companyname","Musterschule")
Set $System_Architektur$ = GetProductProperty("System_Architektur","x64")
;set $MAK_Aktivierung$ = GetProductProperty("MAK_Aktivierung","")
;set $MSP$ = GetProductProperty("MSP","")
Set $Produkt_Architektur$ = GetProductProperty("Produkt_Architektur","win64")
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
;"%installingProdName%"
Set $MinimumSpace$ = "1000 MB"
; the path were we find the product after the installation
Set $InstallDir$ = "%ProgramFiles32Dir%\Microsoft Office"
Set $LicenseRequired$ = "false"
Set $LicensePool$ = "p_" + $ProduktId$
; ----------------------------------------------------------------
Set $architecture2use$ = "x86"
if ($MS_Version$ = "64 Bit System") and ($System_Architektur$ = "x64") and ($Produkt_Architektur$ = "win64")
Set $architecture2use$ = "x64"
set $InstallDir$ = "%ProgramFiles64Dir%\Microsoft Office"
Set $ProduktId$ = $Produkt$ + " " + $Produkt_Architektur$ + " " + $Produkt_Version$
endif
Set $ProduktId$ = $Produkt$ + " " + $Produkt_Architektur$ + " " + $Produkt_Version$
Set $Configuration_Product$ = "VisPro"
if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for " + $ProduktId$
isFatalError
; Stop process and set installation status to failed
else
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + "visio.png" $Produkt$
if $Office_Version$ = "Visio_2016"
set $OfficeDir$ = $InstallDir$ + "\Office16"
else
if $Office_Version$ = "Visio_2013"
set $OfficeDir$ = $InstallDir$ + "\Office15"
endif
endif
if FileExists($OfficeDir$ + "\visio.exe")
if FileExists("%ScriptPath%\delsub.ins")
comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub.ins"
endif
endif
Message "Installing " + $ProduktId$ + " ..."
endif
comment "Prepare config.xml"
Files_copyConfigxml
PatchTextFile_patchconfigxml $TEMP$ + "\office\config.xml"
Set $InstallCommand$ = "%SCRIPTPATH%\files\" + $architecture2use$ + "\Setup.exe " + "/config " + "%SystemDrive%\tmp\office\config.xml"
comment "Start setup program"
Winbatch_install
Files_delete
Sub_check_exitcode
;Installation der Servicepacks
if ($Office_Version$ = "Visio_2016")
Message "Setze Office 2016 Hotfix auf Setup"
set $openkey$ = "[Software\Microsoft\Office\16.0\Common\General]"
set $rebootrequired$ = "yes"
if ( $architecture2use$ = "x86" )
Registry_install_hkcu /AllNTUserDats /32Bit
else
Registry_install_hkcu /AllNTUserDats /64Bit
endif
opsiservicecall_set_hotfix2016_to_setup
endif
if ($Office_Version$ = "Visio_2013")
Message "Setze Office 2013 Hotfix auf Setup"
set $openkey$ = "[Software\Microsoft\Office\15.0\Common\General]"
set $rebootrequired$ = "yes"
if ( $architecture2use$ = "x86" )
Registry_install_hkcu /AllNTUserDats /32Bit
else
Registry_install_hkcu /AllNTUserDats /64Bit
endif
opsiservicecall_set_hotfix2013_to_setup
endif
if ($rebootrequired$ = "yes")
comment "ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the install. This message is indicative of a success."
ExitWindows /Reboot
endif
[Files_copyConfigxml]
copy "%SCRIPTPATH%\config.xml" "$TEMP$\office"
copy "%SCRIPTPATH%\config-uninstall_sharepoint_workspace.xml" "$TEMP$\office"
[PatchTextFile_patchconfigxml]
GoToTop
FindLine_Containing '<Configuration Product='
DeleteTheLine
GoToTop
InsertLine '<Configuration Product="$Configuration_Product$">'
GoToTop
FindLine_Containing '<COMPANYNAME Value='
DeleteTheLine
InsertLine ' <COMPANYNAME Value="$companyname$" />'
GoToTop
FindLine_Containing '<USERNAME Value='
DeleteTheLine
InsertLine ' <USERNAME Value="$username$" />'
[Winbatch_install]
$InstallCommand$
[Files_delete]
delete -sf "$TEMP$\office"
[Winbatch_install_sp1_uninstall_sharepoint_workspace]
$InstallCommand$
[LinkFolder_install]
; Example of creating an shortcut to the installed exe on AllUsers desktop:
;
set_basefolder common_desktopdirectory
set_subfolder ""
set_link
name: $Linkname$
target: $InterestingFile$
parameters:
working_dir: $InstallDir$
icon_file:
icon_index:
end_link
[opsiservicecall_set_hotfix2016_to_setup]
"method": "setProductActionRequest"
"params": [
"office_2016_hotfix",
"%opsiserviceUser%",
"setup"
]
[opsiservicecall_set_hotfix2013_to_setup]
"method": "setProductActionRequest"
"params": [
"office_2013_hotfix",
"%opsiserviceUser%",
"setup"
]
[Sub_check_exitcode]
comment "Test for installation success via exit code"
set $ExitCode$ = getLastExitCode
; informations to exit codes see
; http://msdn.microsoft.com/en-us/library ... S.85).aspx
; http://msdn.microsoft.com/en-us/library/aa368542.aspx
if ($ExitCode$ = "0")
comment "Looks good: setup program gives exitcode zero"
else
comment "Setup program gives a exitcode unequal zero: " + $ExitCode$
if ($ExitCode$ = "1605")
comment "ERROR_UNKNOWN_PRODUCT 1605 This action is only valid for products that are currently installed."
comment "Uninstall of a not installed product failed - no problem"
else
if ($ExitCode$ = "1641")
comment "looks good: setup program gives exitcode 1641"
comment "ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has initiated a restart. This message is indicative of a success."
else
if ($ExitCode$ = "3010")
comment "looks good: setup program gives exitcode 3010"
comment "ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the install. This message is indicative of a success."
set $rebootrequired$ = "yes"
else
logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$
isFatalError
endif
endif
endif
endif
Das mit einer installierten MSI-Version habe ich getestet. Da gibt es einen reg-key, wenn der bearbeitet wird, können msi und odt gleichzeitig installiert werden.
Hier der Inhalt der Setup.ins
Copyright (c) uib gmbh (www.uib.de)
; This sourcecode is owned by uib
; and published under the Terms of the General Public License.
; credits: http://www.opsi.org/credits/
[Actions]
requiredWinstVersion >= "4.10.5"
;
; requires python-opsi >= (4.0.1.31-1)
; office 2016 Productkey is case sensitiv
;
DefVar $Configuration_Product$
DefVar $MsVersion$
DefVar $Produkt$
DefVar $ProduktId$
DefVar $MinimumSpace$
DefVar $InstallDir$
DefVar $ExitCode$
DefVar $LicenseRequired$
DefVar $LicenseKey$
DefVar $LicensePool$
DefVar $LogDir$
DefVar $TEMP$
DefVar $InstallCommand$
DefVar $OfficeDir$
DefVar $httpproxy$
DefVar $MS_Version$
DefVar $Produkt_Version$
DefVar $activate$
DefVar $lang2install$
DefVar $username$
DefVar $companyname$
DefVar $adddesktopicons$
DefVar $System_Architektur$
DefVar $architecture2use$
DefVar $Office_Version$
DefVar $InterestingFile$
DefVar $Linkname$
DefVar $poolOrKey$
DefVar $method$
DefVar $openkey$
DefVar $MSP$
DefVar $Produkt_Architektur$
DefStringList $microsoftdefaultkmsclientkeylist$
DefVar $rebootrequired$
Set $LogDir$ = "%SystemDrive%\tmp"
Set $TEMP$ = "%SystemDrive%\tmp"
set $rebootrequired$ = "no"
Set $MS_Version$ = GetSystemType
Set $Produkt$ = GetProductProperty("Produkt","Visio")
Set $Office_Version$ = GetProductProperty("Office_Version","Visio_2013")
;Set $Produkt_Version$ = GetProductProperty("Produkt_Version","Pro")
Set $username$ = GetProductProperty("username","Musterschueler")
Set $companyname$ = GetProductProperty("companyname","Musterschule")
Set $System_Architektur$ = GetProductProperty("System_Architektur","x64")
;set $MAK_Aktivierung$ = GetProductProperty("MAK_Aktivierung","")
;set $MSP$ = GetProductProperty("MSP","")
Set $Produkt_Architektur$ = GetProductProperty("Produkt_Architektur","win64")
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
;"%installingProdName%"
Set $MinimumSpace$ = "1000 MB"
; the path were we find the product after the installation
Set $InstallDir$ = "%ProgramFiles32Dir%\Microsoft Office"
Set $LicenseRequired$ = "false"
Set $LicensePool$ = "p_" + $ProduktId$
; ----------------------------------------------------------------
Set $architecture2use$ = "x86"
if ($MS_Version$ = "64 Bit System") and ($System_Architektur$ = "x64") and ($Produkt_Architektur$ = "win64")
Set $architecture2use$ = "x64"
set $InstallDir$ = "%ProgramFiles64Dir%\Microsoft Office"
Set $ProduktId$ = $Produkt$ + " " + $Produkt_Architektur$ + " " + $Produkt_Version$
endif
Set $ProduktId$ = $Produkt$ + " " + $Produkt_Architektur$ + " " + $Produkt_Version$
Set $Configuration_Product$ = "VisPro"
if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for " + $ProduktId$
isFatalError
; Stop process and set installation status to failed
else
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + "visio.png" $Produkt$
if $Office_Version$ = "Visio_2016"
set $OfficeDir$ = $InstallDir$ + "\Office16"
else
if $Office_Version$ = "Visio_2013"
set $OfficeDir$ = $InstallDir$ + "\Office15"
endif
endif
if FileExists($OfficeDir$ + "\visio.exe")
if FileExists("%ScriptPath%\delsub.ins")
comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub.ins"
endif
endif
Message "Installing " + $ProduktId$ + " ..."
endif
comment "Prepare config.xml"
Files_copyConfigxml
PatchTextFile_patchconfigxml $TEMP$ + "\office\config.xml"
Set $InstallCommand$ = "%SCRIPTPATH%\files\" + $architecture2use$ + "\Setup.exe " + "/config " + "%SystemDrive%\tmp\office\config.xml"
comment "Start setup program"
Winbatch_install
Files_delete
Sub_check_exitcode
;Installation der Servicepacks
if ($Office_Version$ = "Visio_2016")
Message "Setze Office 2016 Hotfix auf Setup"
set $openkey$ = "[Software\Microsoft\Office\16.0\Common\General]"
set $rebootrequired$ = "yes"
if ( $architecture2use$ = "x86" )
Registry_install_hkcu /AllNTUserDats /32Bit
else
Registry_install_hkcu /AllNTUserDats /64Bit
endif
opsiservicecall_set_hotfix2016_to_setup
endif
if ($Office_Version$ = "Visio_2013")
Message "Setze Office 2013 Hotfix auf Setup"
set $openkey$ = "[Software\Microsoft\Office\15.0\Common\General]"
set $rebootrequired$ = "yes"
if ( $architecture2use$ = "x86" )
Registry_install_hkcu /AllNTUserDats /32Bit
else
Registry_install_hkcu /AllNTUserDats /64Bit
endif
opsiservicecall_set_hotfix2013_to_setup
endif
if ($rebootrequired$ = "yes")
comment "ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the install. This message is indicative of a success."
ExitWindows /Reboot
endif
[Files_copyConfigxml]
copy "%SCRIPTPATH%\config.xml" "$TEMP$\office"
copy "%SCRIPTPATH%\config-uninstall_sharepoint_workspace.xml" "$TEMP$\office"
[PatchTextFile_patchconfigxml]
GoToTop
FindLine_Containing '<Configuration Product='
DeleteTheLine
GoToTop
InsertLine '<Configuration Product="$Configuration_Product$">'
GoToTop
FindLine_Containing '<COMPANYNAME Value='
DeleteTheLine
InsertLine ' <COMPANYNAME Value="$companyname$" />'
GoToTop
FindLine_Containing '<USERNAME Value='
DeleteTheLine
InsertLine ' <USERNAME Value="$username$" />'
[Winbatch_install]
$InstallCommand$
[Files_delete]
delete -sf "$TEMP$\office"
[Winbatch_install_sp1_uninstall_sharepoint_workspace]
$InstallCommand$
[LinkFolder_install]
; Example of creating an shortcut to the installed exe on AllUsers desktop:
;
set_basefolder common_desktopdirectory
set_subfolder ""
set_link
name: $Linkname$
target: $InterestingFile$
parameters:
working_dir: $InstallDir$
icon_file:
icon_index:
end_link
[opsiservicecall_set_hotfix2016_to_setup]
"method": "setProductActionRequest"
"params": [
"office_2016_hotfix",
"%opsiserviceUser%",
"setup"
]
[opsiservicecall_set_hotfix2013_to_setup]
"method": "setProductActionRequest"
"params": [
"office_2013_hotfix",
"%opsiserviceUser%",
"setup"
]
[Sub_check_exitcode]
comment "Test for installation success via exit code"
set $ExitCode$ = getLastExitCode
; informations to exit codes see
; http://msdn.microsoft.com/en-us/library ... S.85).aspx
; http://msdn.microsoft.com/en-us/library/aa368542.aspx
if ($ExitCode$ = "0")
comment "Looks good: setup program gives exitcode zero"
else
comment "Setup program gives a exitcode unequal zero: " + $ExitCode$
if ($ExitCode$ = "1605")
comment "ERROR_UNKNOWN_PRODUCT 1605 This action is only valid for products that are currently installed."
comment "Uninstall of a not installed product failed - no problem"
else
if ($ExitCode$ = "1641")
comment "looks good: setup program gives exitcode 1641"
comment "ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has initiated a restart. This message is indicative of a success."
else
if ($ExitCode$ = "3010")
comment "looks good: setup program gives exitcode 3010"
comment "ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the install. This message is indicative of a success."
set $rebootrequired$ = "yes"
else
logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$
isFatalError
endif
endif
endif
endif
Re: Visio 2016 ClickToRun
Kann es sein, das Du das auf einer 64-Bit-Installation von Windows ausführst? Dein Install-Script fragt die Systemarchitektur ab:
und bastelt weiter unten dann den Aufruf des Installationsprogrammes zusammen:
Soweit so gut. In der XML-Datei referenzierst Du aber einen Pfad mit "x86", der also bestenfalls auf einer 32-Bit-Installation matchen würde:
Ich denke da liegt der Fehler, das das Installationsscript einfach ins leere greift, weil es wahrscheinlich kein O:\ms_visio\Files\x64"-Verzeichnis gibt. Die Abfrage der Systemarchitektur macht in dem Kontext mMn. keinen Sinn, wenn es eh nur die 32-Bit-Variante zur Installation gibt. Oder sehe ich das falsch?
Code: Alles auswählen
if ($MS_Version$ = "64 Bit System") and ($System_Architektur$ = "x64") and ($Produkt_Architektur$ = "win64")
Set $architecture2use$ = "x64"
Code: Alles auswählen
Set $InstallCommand$ = "%SCRIPTPATH%\files\" + $architecture2use$ + "\Setup.exe " + "/config " + "%SystemDrive%\tmp\office\config.xml"
Code: Alles auswählen
<Add OfficeClientEdition="32" Channel="Monthly" ForceUpgrade="TRUE" SourcePath="O:\ms_visio\Files\x86">
Re: Visio 2016 ClickToRun
ÄÄhhhh gut gesehen, habe ich wohl übersehen.
Ja ich habe 64Bit-Architektur und 32Bit Office.
Ich ändere und Teste.
Gruß Alex
Ja ich habe 64Bit-Architektur und 32Bit Office.
Ich ändere und Teste.
Gruß Alex