let the script set the product id

This commit is contained in:
Mario Fetka 2014-02-21 12:25:49 +01:00
parent 1a6fa309f1
commit eca996c7b3
1 changed files with 11 additions and 4 deletions

View File

@ -17,8 +17,15 @@ DefVar $httpproxy$
Set $LogDir$ = "%SystemDrive%\tmp"
Set $ProductId$ = "activate-win"
; The token BUILDER_VARIABLES will be replaced by opsi-builder.sh
; and adds the following variables:
; from builder-product.cfg : all variables definded by attribute WINST[index]
; from builder-product.cfg : VENDOR PN VERSION RELEASE PRIORITY ADVICE TYPE
; from opsi-builder.cfg : CREATOR_TAG CREATOR_NAME CREATOR_EMAIL
; auto generated winst-variables
; $IconFile$: path to product picture
;
@@BUILDER_VARIABLES@@
; ----------------------------------------------------------------
@ -43,8 +50,8 @@ else
comment "Check Status"
DosInAnIcon_status_win7 winst /sysnative
if not ( $httpproxy$ = "" )
comment "enable HTTP proxy, required for auto-activating"
if not ( $httpproxy$ = "" )
comment "enable HTTP proxy, required for auto-activating"
DosInAnIcon_setproxy_win7 winst /sysnative
endif