added local admin pw property, translation comments/properties

This commit is contained in:
Dennis Trinks
2012-04-12 20:37:44 +02:00
parent 38fcc613a9
commit 6ee9955d45
3 changed files with 23 additions and 11 deletions

View File

@@ -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$