added local admin pw property, translation comments/properties
This commit is contained in:
@@ -6,9 +6,10 @@
|
||||
[Actions]
|
||||
requiredWinstVersion >= "4.10.8.6"
|
||||
|
||||
DefVar $namedomaene$
|
||||
DefVar $domainname$
|
||||
DefVar $joinadmin$
|
||||
DefVar $joinadminpw$
|
||||
DefVar $localadminpw$
|
||||
DefVar $joinstr$
|
||||
DefVar $MsiId$
|
||||
DefVar $UninstallProgram$
|
||||
@@ -22,10 +23,11 @@ DefVar $LicenseKey$
|
||||
DefVar $LicensePool$
|
||||
|
||||
Set $LogDir$ = "%SystemDrive%\tmp"
|
||||
Set $namedomaene$ = GetProductProperty ("namedomaene","values")
|
||||
Set $domainname$ = GetProductProperty ("domainname","values")
|
||||
Set $joinadmin$ = GetProductProperty ("joinadmin","values")
|
||||
Set $joinadminpw$ = GetProductProperty ("joinadminpw","values")
|
||||
Set $joinstr$ = "JOIN %PCName% /Domain:" + $namedomaene$ + " /UserD:" + $joinadmin$ + " /PasswordD:" + $joinadminpw$
|
||||
Set $joinstr$ = "JOIN %PCName% /Domain:" + $domainname$ + " /UserD:" + $joinadmin$ + " /PasswordD:" + $joinadminpw$
|
||||
Set $localadminpw$ = GetProductProperty ("localadminpw","values")
|
||||
|
||||
; The token BUILDER_VARIABLES will be replaced by opsi-builder.sh
|
||||
; and adds the following variables:
|
||||
@@ -85,7 +87,7 @@ else
|
||||
endif
|
||||
|
||||
[Files_install]
|
||||
copy "%ScriptPath%\netdom.exe" %System%
|
||||
copy "%ScriptPath%\custom\netdom.exe" %System%
|
||||
|
||||
[Winbatch_install]
|
||||
; Choose one of the following examples as basis for your installation
|
||||
@@ -93,5 +95,6 @@ copy "%ScriptPath%\netdom.exe" %System%
|
||||
;
|
||||
; === Nullsoft Scriptable Install System ================================================================
|
||||
|
||||
net user Administrator $localadminpw$
|
||||
netdom.exe $joinstr$
|
||||
|
||||
|
||||
Reference in New Issue
Block a user