Skip to content

Instantly share code, notes, and snippets.

@kochd
Created November 30, 2012 21:16
Show Gist options
  • Save kochd/4178694 to your computer and use it in GitHub Desktop.
Save kochd/4178694 to your computer and use it in GitHub Desktop.
DefVar $ExitCode$
DefVar $INST_SystemType$
DefVar $INST_architecture$
DefVar $Inst_Cmd$
DefVar $Inst_Prg$
DefVar $InstallDir$
DefVar $LicenseKey$
DefVar $LicensePool$
DefVar $LicenseRequired$
DefVar $LogDir$
DefVar $MinimumSpace$
DefVar $MsiKey$
DefVar $ProductId$
DefVar $ProductName$
DefVar $Uninst_Cmd$
DefVar $Uninst_Prg$
DefVar $UserProfile$
DefVar $Version$
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
;$ProductId$ should be the name of the product in opsi
; therefore please: only lower letters, no umlauts,
; no white space use '-' as a seperator
Set $ProductId$ = "1a"
Set $ProductName$ = "1A Archiv"
Set $Version$ = "1"
; Version so wie sie im Dateinamen angegeben wurde
Set $MinimumSpace$ = "50 MB"
; the path were we find the product after the installation
Set $InstallDir$ = "%ProgramFilesDir%\1a\Archiv4"
Set $LicenseRequired$ = "false"
Set $LicensePool$ = "p_" + $ProductId$
Set $Inst_Prg$ = "setup.msi"
Set $MsiKey$ = "{533cd9b6-1da3-4063-b0fd-739bb8e7b3b2}"
Set $Uninst_Prg$ = "MsiExec.exe"
Set $Inst_Cmd$ = '/qn /i'
Set $Uninst_Cmd$ = '/qn /x ' + $MsiKey$
; ----------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment