För "silent" installation krävs att installationsfilens certifikat läggs till i den lokala certifikatstoren.
Högerklicka på exe-filen och välj "Properties"
Klicka på "Digital Signatures"
Välj Elaborate Bytes AG certificate och "Details"
Klicka på "View Certificate"
Välj "Copy to file.."
Kopiera certifikatfilen till exe-filens katalog.

REM ################################################################
REM Product Name: VirtualCloneDrive
REM Version: 5.4.5.0
REM Arkitektur: x86
REM Download URL: http://www.slysoft.com/en/download.html Company Name: Slysoft Product URL: http://www.slysoft.com
REM Support:URL: http://forum.slysoft.com/
REM Anteckningar: Virtualiserad diskenhet för montering av ISO:s etc.
REM Beroenden:
REM Installationsväxlar: INSTALL: SetupVirtualCloneDrive5450.exe /S /noreboot, AVINSTALLATION: C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\vcd-uninst.exe
REM Custom Actions/Script:
REM Externa modifieringar:
REM MSI Produktkod:
REM MSI Modifieringar:
REM MST Transformering:
REM Skribent / Kontributör: Joachim Häggström, Umeå universitet, 2013-02-25
REM ################################################################

setlocal

REM Installerar certifikatet.
certutil.exe -addstore "TrustedPublisher" "%~dp0ElborateBytesAG.cer"

REM Kör setup för VirtualCloneDrive.
"%~dp0SetupVirtualCloneDrive5450.exe" /S /noreboot

endlocal

REM Skickar exitkod till SCCM
exit /B %EXIT_CODE%

  • No labels