in folgender Setup.inf verwende ich die Variable "offline". Diese ist auch für Entsprechende Clients gesetzt, wird allerdings nicht beim Ausführen der Setup.inf erkannt.
Code: Select all
[VarDefInfo]
; <Variable>, <Type: 0=Computer 1=User>, <Allow NULL values: 0=No 1=Yes>
offline, 0, 1
[Environment]
CommonSetupDir=%CommonFilesDir%\Setup%SetupBits%
offline=%offline%
...
InstPara="%Src%\Client\i386\SetupClient.exe" /Q /disableofflinecapability /L "C:\EmpirumAgent\Packages\Microsoft\Microsoft Dynamics CRM\7.0.0000.3543\instlog.log"
InstParaOff="%Src%\Client\i386\SetupClient.exe" /Q /installofflinecapability /L "C:\EmpirumAgent\Packages\Microsoft\Microsoft Dynamics CRM\7.0.0000.3543\instlog.log"
UninstPara="%ProgramFilesDirx86%\%ProductName%\SetupClient.exe" /x /q /L "C:\EmpirumAgent\Packages\Microsoft\Microsoft Dynamics CRM\7.0.0000.3543\uninstlog.log"
[Install]
AddMeter 50
ReplaceEnv offline
If %offline% == "true" Then "inklOff" Else "onOnly" EndIf
[onOnly]
Call %InstPara%
[inklOff]
Call %InstParaOff%
Vielen Dank!