initial commit

This commit is contained in:
Mario Fetka 2013-04-12 19:09:36 +02:00
commit 05d031de8d
21 changed files with 1546 additions and 0 deletions

138
CLIENT_DATA/define3264.inc Normal file
View File

@ -0,0 +1,138 @@
DefVar $viewer_associate_vnc_extension$
Set $viewer_associate_vnc_extension$ = GetProductProperty("viewer_associate_vnc_extension", "1")
DefVar $server_register_as_service$
Set $server_register_as_service$ = GetProductProperty("server_register_as_service", "1")
DefVar $server_add_firewall_exception$
Set $server_add_firewall_exception$ = GetProductProperty("server_add_firewall_exception", "1")
; DefVar $viewer_add_firewall_exception$
; Set $viewer_add_firewall_exception$ = GetProductProperty("viewer_add_firewall_exception", "1")
DefVar $server_allow_sas$
Set $server_allow_sas$ = GetProductProperty("server_allow_sas", "1")
DefVar $server_accepthttpconnections_set$
Set $server_accepthttpconnections_set$ = GetProductProperty("server_accepthttpconnections_set", "0")
DefVar $server_accepthttpconnections_value_of$
Set $server_accepthttpconnections_value_of$ = GetProductProperty("server_accepthttpconnections_value_of", "1")
DefVar $server_acceptrfbconnections_set$
Set $server_acceptrfbconnections_set$ = GetProductProperty("server_acceptrfbconnections_set", "0")
DefVar $server_acceptrfbconnections_value_of$
Set $server_acceptrfbconnections_value_of$ = GetProductProperty("server_acceptrfbconnections_value_of", "1")
DefVar $server_allowloopback_set$
Set $server_allowloopback_set$ = GetProductProperty("server_allowloopback_set", "0")
DefVar $server_allowloopback_value_of$
Set $server_allowloopback_value_of$ = GetProductProperty("server_allowloopback_value_of", "0")
DefVar $server_alwaysshared_set$
Set $server_alwaysshared_set$ = GetProductProperty("server_alwaysshared_set", "0")
DefVar $server_alwaysshared_value_of$
Set $server_alwaysshared_value_of$ = GetProductProperty("server_alwaysshared_value_of", "0")
DefVar $server_blocklocalinput_set$
Set $server_blocklocalinput_set$ = GetProductProperty("server_blocklocalinput_set", "0")
DefVar $server_blocklocalinput_value_of$
Set $server_blocklocalinput_value_of$ = GetProductProperty("server_blocklocalinput_value_of", "0")
DefVar $server_blockremoteinput_set$
Set $server_blockremoteinput_set$ = GetProductProperty("server_blockremoteinput_set", "0")
DefVar $server_blockremoteinput_value_of$
Set $server_blockremoteinput_value_of$ = GetProductProperty("server_blockremoteinput_value_of", "0")
DefVar $server_disconnectaction_set$
Set $server_disconnectaction_set$ = GetProductProperty("server_disconnectaction_set", "0")
DefVar $server_disconnectaction_value_of$
Set $server_disconnectaction_value_of$ = GetProductProperty("server_disconnectaction_value_of", "0")
DefVar $server_disconnectclients_set$
Set $server_disconnectclients_set$ = GetProductProperty("server_disconnectclients_set", "0")
DefVar $server_disconnectclients_value_of$
Set $server_disconnectclients_value_of$ = GetProductProperty("server_disconnectclients_value_of", "1")
DefVar $server_enablefiletransfers_set$
Set $server_enablefiletransfers_set$ = GetProductProperty("server_enablefiletransfers_set", "0)
DefVar $server_enablefiletransfers_value_of$
Set $server_enablefiletransfers_value_of$ = GetProductProperty("server_enablefiletransfers_value_of", "1")
DefVar $server_enableurlparams_set$
Set $server_enableurlparams_set$ = GetProductProperty("server_enableurlparams_set", "0)
DefVar $server_enableurlparams_value_of$
Set $server_enableurlparams_value_of$ = GetProductProperty("server_enableurlparams_value_of", "1")
DefVar $server_extraports_set$
Set $server_extraports_set$ = GetProductProperty("server_extraports_set", "0")
DefVar $server_extraports_value_of$
Set $server_extraports_value_of$ = GetProductProperty("server_extraports_value_of", "5901:640x480+0+0")
DefVar $server_grabtransparentwindows_set$
Set $server_grabtransparentwindows_set$ = GetProductProperty("server_grabtransparentwindows_set", "0")
DefVar $server_grabtransparentwindows_value_of$
Set $server_grabtransparentwindows_value_of$ = GetProductProperty("server_grabtransparentwindows_value_of", "1")
DefVar $server_httpport_set$
Set $server_httpport_set$ = GetProductProperty("server_httpport_set", "0")
DefVar $server_httpport_value_of$
Set $server_httpport_value_of$ = GetProductProperty("server_httpport_value_of", "5800")
DefVar $server_ipaccesscontrol_set$
Set $server_ipaccesscontrol_set$ = GetProductProperty("server_ipaccesscontrol_set", "0")
DefVar $server_ipaccesscontrol_value_of$
Set $server_ipaccesscontrol_value_of$ = GetProductProperty("server_ipaccesscontrol_value_of", "")
DefVar $server_localinputpriority_set$
Set $server_localinputpriority_set$ = GetProductProperty("server_localinputpriority_set", "0")
DefVar $server_localinputpriority_value_of$
Set $server_localinputpriority_value_of$ = GetProductProperty("server_localinputpriority_value_of", "0")
DefVar $server_localinputprioritytimeout_set$
Set $server_localinputprioritytimeout_set$ = GetProductProperty("server_localinputprioritytimeout_set", "0")
DefVar $server_localinputprioritytimeout_value_of$
Set $server_localinputprioritytimeout_value_of$ = GetProductProperty("server_localinputprioritytimeout_value_of", "3")
DefVar $server_loglevel_set$
Set $server_loglevel_set$ = GetProductProperty("server_loglevel_set", "0")
DefVar $server_loglevel_value_of$
Set $server_loglevel_value_of$ = GetProductProperty("server_loglevel_value_of", "0")
DefVar $server_loopbackonly_set$
Set $server_loopbackonly_set$ = GetProductProperty("server_loopbackonly_set", "0")
DefVar $server_loopbackonly_value_of$
Set $server_loopbackonly_value_of$ = GetProductProperty("server_loopbackonly_value_of", "0")
DefVar $server_nevershared_set$
Set $server_nevershared_set$ = GetProductProperty("server_nevershared_set", "0")
DefVar $server_nevershared_value_of$
Set $server_nevershared_value_of$ = GetProductProperty("server_nevershared_value_of", "0")
DefVar $server_pollinginterval_set$
Set $server_pollinginterval_set$ = GetProductProperty("server_pollinginterval_set", "0")
DefVar $server_pollinginterval_value_of$
Set $server_pollinginterval_value_of$ = GetProductProperty("server_pollinginterval_value_of", "1000")
DefVar $server_queryacceptontimeout_set$
Set $server_queryacceptontimeout_set$ = GetProductProperty("server_queryacceptontimeout_set", "0")
DefVar $server_queryacceptontimeout_value_of$
Set $server_queryacceptontimeout_value_of$ = GetProductProperty("server_queryacceptontimeout_value_of", "0")
DefVar $server_querytimeout_set$
Set $server_querytimeout_set$ = GetProductProperty("server_querytimeout_set", "0")
DefVar $server_querytimeout_value_of$
Set $server_querytimeout_value_of$ = GetProductProperty("server_querytimeout_value_of", "30")
DefVar $server_removewallpaper_set$
Set $server_removewallpaper_set$ = GetProductProperty("server_removewallpaper_set", "0")
DefVar $server_removewallpaper_value_of$
Set $server_removewallpaper_value_of$ = GetProductProperty("server_removewallpaper_value_of", "1")
DefVar $server_rfbport_set$
Set $server_rfbport_set$ = GetProductProperty("server_rfbport_set", "0")
DefVar $server_rfbport_value_of$
Set $server_rfbport_value_of$ = GetProductProperty("server_rfbport_value_of", "5900")
DefVar $server_runcontrolinterface_set$
Set $server_runcontrolinterface_set$ = GetProductProperty("server_runcontrolinterface_set", "0")
DefVar $server_runcontrolinterface_value_of$
Set $server_runcontrolinterface_value_of$ = GetProductProperty("server_runcontrolinterface_value_of", "1")
DefVar $server_savelogtoalluserspath_set$
Set $server_savelogtoalluserspath_set$ = GetProductProperty("server_savelogtoalluserspath_set", "0")
DefVar $server_savelogtoalluserspath_value_of$
Set $server_savelogtoalluserspath_value_of$ = GetProductProperty("server_savelogtoalluserspath_value_of", "0")
DefVar $server_usemirrordriver_set$
Set $server_usemirrordriver_set$ = GetProductProperty("server_usemirrordriver_set", "1")
DefVar $server_usemirrordriver_value_of$
Set $server_usemirrordriver_value_of$ = GetProductProperty("server_usemirrordriver_value_of", "1")
DefVar $server_usecontrolauthentication_set$
Set $server_usecontrolauthentication_set$ = GetProductProperty("server_usecontrolauthentication_set", "0")
DefVar $server_usecontrolauthentication_value_of$
Set $server_usecontrolauthentication_value_of$ = GetProductProperty("server_usecontrolauthentication_value_of", "0")
DefVar $server_usevncauthentication_set$
Set $server_usevncauthentication_set$ = GetProductProperty("server_usevncauthentication_set", "0")
DefVar $server_usevncauthentication_value_of$
Set $server_usevncauthentication_value_of$ = GetProductProperty("server_usevncauthentication_value_of", "1")
DefVar $server_controlpassword_set$
Set $server_controlpassword_set$ = GetProductProperty("server_controlpassword_set", "0")
DefVar $server_controlpassword_value_of$
Set $server_controlpassword_value_of$ = GetProductProperty("server_controlpassword_value_of", "")
DefVar $server_password_set$
Set $server_password_set$ = GetProductProperty("server_password_set", "0")
DefVar $server_password_value_of$
Set $server_password_value_of$ = GetProductProperty("server_password_value_of", "")
DefVar $server_viewonlypassword_set$
Set $server_viewonlypassword_set$ = GetProductProperty("server_viewonlypassword_set", "0")
DefVar $server_viewonlypassword_value_of$
Set $server_viewonlypassword_value_of$ = GetProductProperty("server_viewonlypassword_value_of", "")

137
CLIENT_DATA/delsub3264.ins Normal file
View File

@ -0,0 +1,137 @@
; Copyright (c) uib gmbh (www.uib.de)
; This sourcecode is owned by uib gmbh
; and published under the Terms of the General Public License.
; credits: http://www.opsi.org/en/credits/
Set $IniFile32$ = $InstallDir32$ + "\opsi-" + $ProductId$ + ".ini"
Set $IniFile64$ = $InstallDir64$ + "\opsi-" + $ProductId$ + ".ini"
if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")
if FileExists($IniFile32$)
Set $OLD_VERSION$ = GetValueFromInifile($IniFile32$,"COMMON","VERSION","")
Set $OLD_CREATOR_TAG$ = GetValueFromInifile($IniFile32$,"COMMON","CREATOR_TAG","")
Set $OLD_RELEASE$ = GetValueFromInifile($IniFile32$,"COMMON","RELEASE","")
endif
Message "Uninstalling " + $ProductId$ + " "+ $OLD_VERSION$ + "-" + $OLD_CREATOR_TAG$ + $OLD_RELEASE$ + " 32 Bit..."
if FileExists($IniFile32$)
Set $MsiIdOld32$ = GetValueFromInifile($IniFile32$,"X86","MsiId32","{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}")
if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiIdOld32$ + "] DisplayName") = "")
comment "Old MSI id " + $MsiIdOld32$ + " found in registry, starting msiexec to uninstall old version"
Winbatch_uninstall_msi_old_32
sub_check_exitcode
endif
endif
if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId32$ + "] DisplayName") = "")
comment "MSI id " + $MsiId32$ + " found in registry, starting msiexec to uninstall"
Winbatch_uninstall_msi_32
sub_check_exitcode
endif
comment "Delete files"
Files_uninstall_32 /32Bit
comment "Cleanup registry"
Registry_uninstall /32Bit
endif
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
if FileExists($IniFile64$)
Set $OLD_VERSION$ = GetValueFromInifile($IniFile64$,"COMMON","VERSION","")
Set $OLD_CREATOR_TAG$ = GetValueFromInifile($IniFile64$,"COMMON","CREATOR_TAG","")
Set $OLD_RELEASE$ = GetValueFromInifile($IniFile64$,"COMMON","RELEASE","")
endif
Message "Uninstalling " + $ProductId$ + " "+ $OLD_VERSION$ + "-" + $OLD_CREATOR_TAG$ + $OLD_RELEASE$ + " 64 Bit..."
if FileExists($IniFile64$)
Set $MsiIdOld64$ = GetValueFromInifile($IniFile64$,"X86_64","MsiId64","{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}")
if not (GetRegistryStringValue64("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiIdOld64$ + "] DisplayName") = "")
comment "Old MSI id " + $MsiIdOld64$ + " found in registry, starting msiexec to uninstall old version"
Winbatch_uninstall_msi_old_64
sub_check_exitcode
endif
endif
if not (GetRegistryStringValue64("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId64$ + "] DisplayName") = "")
comment "MSI id " + $MsiId64$ + " found in registry, starting msiexec to uninstall"
Winbatch_uninstall_msi_64
sub_check_exitcode
endif
comment "Delete files"
Files_uninstall_64 /64Bit
comment "Cleanup registry"
Registry_uninstall /64Bit
endif
comment "Delete program shortcuts"
LinkFolder_uninstall
[Winbatch_uninstall_msi_old_32]
msiexec /x $MsiIdOld32$ /qb! REBOOT=ReallySuppress
[Winbatch_uninstall_msi_32]
msiexec /x $MsiId32$ /qb! REBOOT=ReallySuppress
[Files_uninstall_32]
; Example for recursively deleting the installation directory (don't forget the trailing backslash):
;
delete -sf "$InstallDir32$\"
[Winbatch_uninstall_msi_old_64]
msiexec /x $MsiIdOld64$ /qb! REBOOT=ReallySuppress
[Winbatch_uninstall_msi_64]
msiexec /x $MsiId64$ /qb! REBOOT=ReallySuppress
[Files_uninstall_64]
; Example for recursively deleting the installation directory:
;
del -sf "$InstallDir64$\"
[Registry_uninstall]
; Example of deleting a registry key:
;
; deletekey [HKEY_LOCAL_MACHINE\Software\$ProductId$]
[LinkFolder_uninstall]
; Example of deleting a folder from AllUsers startmenu:
;
; set_basefolder common_programs
; delete_subfolder $ProductId$
;
; Example of deleting a shortcut from AllUsers desktop:
;
; set_basefolder common_desktopdirectory
; set_subfolder ""
; delete_element $ProductId$
[Sub_check_exitcode]
comment "Test for installation success via exit code"
set $ExitCode$ = getLastExitCode
; informations to exit codes see
; http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx
; http://msdn.microsoft.com/en-us/library/aa368542.aspx
if ($ExitCode$ = "0")
comment "Looks good: setup program gives exitcode zero"
else
comment "Setup program gives a exitcode unequal zero: " + $ExitCode$
if ($ExitCode$ = "1605")
comment "ERROR_UNKNOWN_PRODUCT 1605 This action is only valid for products that are currently installed."
comment "Uninstall of a not installed product failed - no problem"
else
if ($ExitCode$ = "1641")
comment "looks good: setup program gives exitcode 1641"
comment "ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has initiated a restart. This message is indicative of a success."
else
if ($ExitCode$ = "3010")
comment "looks good: setup program gives exitcode 3010"
comment "ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the install. This message is indicative of a success."
else
logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$
isFatalError
endif
endif
endif
endif

24
CLIENT_DATA/login.ins Normal file
View File

@ -0,0 +1,24 @@
; Copyright (c) uib gmbh (www.uib.de)
; This sourcecode is owned by uib gmbh
; and published under the Terms of the General Public License.
; credits: http://www.opsi.org/en/credits/
[Actions]
Message "Profile Patch for VLC ...."
comment "Did we run this script before ? - and set version stamp in profile"
if getValue("installationstate", getProductMap) = "installed"
comment "Product is installed"
if not (scriptWasExecutedBefore)
comment "loginscript was not run yet "
Files_profile_copy
Registry_currentuser_set
endif
endif
[Files_profile_copy]
copy "%Scriptpath%\profiles\*.*" "%CurrentAppdataDir%\ACME"
[Registry_currentuser_set]
openkey [HKCU\Software\ACME]
set "show_greeting_window" = "no"

View File

@ -0,0 +1,9 @@
[X86]
MsiId32={XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
[X86_64]
MsiId64={XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
[COMMON]
PN=name
VERSION=version

198
CLIENT_DATA/setup3264.ins Normal file
View File

@ -0,0 +1,198 @@
; Copyright (c) uib gmbh (www.uib.de)
; This sourcecode is owned by uib
; and published under the Terms of the General Public License.
; credits: http://www.opsi.org/en/credits/
[Actions]
requiredWinstVersion >= "4.11.2.6"
DefVar $MsiIdOld32$
DefVar $IniFile32$
DefVar $MsiIdOld64$
DefVar $IniFile64$
DefVar $IniCfgFile$
DefVar $LogDir$
DefVar $ProductId$
DefVar $MinimumSpace$
DefVar $InstallDir32$
DefVar $InstallDir64$
DefVar $ExitCode$
DefVar $INST_SystemType$
DefVar $INST_architecture$
DefVar $OLD_VERSION$
DefVar $OLD_CREATOR_TAG$
DefVar $OLD_RELEASE$
Set $INST_SystemType$ = GetSystemType
set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
Set $LogDir$ = "%SystemDrive%\tmp"
; 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@@
include_insert "define3264.inc"
; ----------------------------------------------------------------
; - 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 $MinimumSpace$ = "1 MB"
; the path were we find the product after the installation
Set $InstallDir32$ = "%ProgramFiles32Dir%\TightVNC"
Set $InstallDir64$ = "%ProgramFiles64Dir%\TightVNC"
; ----------------------------------------------------------------
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for " + $ProductId$
isFatalError
; Stop process and set installation status to failed
else
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $NAME$
if FileExists("%ScriptPath%\delsub3264.ins")
comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub3264.ins"
endif
comment "installing"
if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")
Message "Installing " + $ProductId$ + " "+ $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 32 Bit..."
comment "Start setup program"
ChangeDirectory "%SCRIPTPATH%"
Winbatch_install_32
Sub_check_exitcode
comment "Copy files"
Files_install_32 /32Bit
comment "Patch Registry"
Registry_install /32Bit
comment "Create shortcuts"
LinkFolder_install
endif
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
Message "Installing " + $ProductId$ + " " + $VERSION$ + "-" + $CREATOR_TAG$ + $RELEASE$ + " 64 Bit..."
comment "Start setup program"
ChangeDirectory "%SCRIPTPATH%"
Winbatch_install_64
Sub_check_exitcode
comment "Copy files"
Files_install_64 /64Bit
comment "Patch Registry"
Registry_install /64Bit
comment "Create shortcuts"
LinkFolder_install
endif
endif
[Winbatch_install_32]
msiexec /i "$Install32Msi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 REBOOT=ReallySuppress ADDLOCAL=Server SERVER_REGISTER_AS_SERVICE=$server_register_as_service$ SERVER_ADD_FIREWALL_EXCEPTION=$server_add_firewall_exception$ SERVER_ALLOW_SAS=$server_allow_sas$ SET_ACCEPTHTTPCONNECTIONS=$server_accepthttpconnections_set$ VALUE_OF_ACCEPTHTTPCONNECTIONS=$server_accepthttpconnections_value_of$ SET_ACCEPTRFBCONNECTIONS=$server_acceptrfbconnections_set$ VALUE_OF_ACCEPTRFBCONNECTIONS=$server_acceptrfbconnections_value_of$ SET_ALLOWLOOPBACK=$server_allowloopback_set$ VALUE_OF_ALLOWLOOPBACK=$server_allowloopback_value_of$ SET_ALWAYSSHARED=$server_alwaysshared_set$ VALUE_OF_ALWAYSSHARED=$server_alwaysshared_value_of$ SET_BLOCKLOCALINPUT=$server_blocklocalinput_set$ VALUE_OF_BLOCKLOCALINPUT=$server_blocklocalinput_value_of$ SET_BLOCKREMOTEINPUT=$server_blockremoteinput_set$ VALUE_OF_BLOCKREMOTEINPUT=$server_blockremoteinput_value_of$ SET_DISCONNECTACTION=$server_disconnectaction_set$ VALUE_OF_DISCONNECTACTION=$server_disconnectaction_value_of$ SET_DISCONNECTCLIENTS=$server_disconnectclients_set$ VALUE_OF_DISCONNECTCLIENTS=$server_disconnectclients_value_of$ SET_ENABLEFILETRANSFERS=$server_enablefiletransfers_set$ VALUE_OF_ENABLEFILETRANSFERS=$server_enablefiletransfers_value_of$ SET_ENABLEURLPARAMS=$server_enableurlparams_set$ VALUE_OF_ENABLEURLPARAMS=$server_enableurlparams_value_of$ SET_EXTRAPORTS=$server_extraports_set$ VALUE_OF_EXTRAPORTS=$server_extraports_value_of$ SET_GRABTRANSPARENTWINDOWS=$server_grabtransparentwindows_set$ VALUE_OF_GRABTRANSPARENTWINDOWS=$server_grabtransparentwindows_value_of$ SET_HTTPPORT=$server_httpport_set$ VALUE_OF_HTTPPORT=$server_httpport_value_of$ SET_IPACCESSCONTROL= $server_ipaccesscontrol_set$ VALUE_OF_IPACCESSCONTROL=$server_ipaccesscontrol_value_of$ SET_LOCALINPUTPRIORITY=$server_localinputpriority_set$ VALUE_OF_LOCALINPUTPRIORITY=$server_localinputpriority_value_of$ SET_LOCALINPUTPRIORITYTIMEOUT=$server_localinputprioritytimeout_set$ VALUE_OF_LOCALINPUTPRIORITYTIMEOUT=$server_localinputprioritytimeout_value_of$ SET_LOGLEVEL=$server_loglevel_set$ VALUE_OF_LOGLEVEL=$server_loglevel_value_of$ SET_LOOPBACKONLY=$server_loopbackonly_set$ VALUE_OF_LOOPBACKONLY=$server_loopbackonly_value_of$ SET_NEVERSHARED=$server_nevershared_set$ VALUE_OF_NEVERSHARED=$server_nevershared_value_of$ SET_POLLINGINTERVAL=$server_pollinginterval_set$ VALUE_OF_POLLINGINTERVAL=$server_pollinginterval_value_of$ SET_QUERYACCEPTONTIMEOUT=$server_queryacceptontimeout_set$ VALUE_OF_QUERYACCEPTONTIMEOUT=$server_queryacceptontimeout_value_of$ SET_QUERYTIMEOUT=$server_querytimeout_set$ VALUE_OF_QUERYTIMEOUT=$server_querytimeout_value_of$ SET_REMOVEWALLPAPER=$server_removewallpaper_set$ VALUE_OF_REMOVEWALLPAPER=$server_removewallpaper_value_of$ SET_RFBPORT=$server_rfbport_set$ VALUE_OF_RFBPORT=$server_rfbport_value_of$ SET_RUNCONTROLINTERFACE=$server_runcontrolinterface_set$ VALUE_OF_RUNCONTROLINTERFACE=$server_runcontrolinterface_value_of$ SET_SAVELOGTOALLUSERSPATH=$server_savelogtoalluserspath_set$ VALUE_OF_SAVELOGTOALLUSERSPATH=$server_savelogtoalluserspath_value_of$ SET_USEMIRRORDRIVER=$server_usemirrordriver_set$ VALUE_OF_USEMIRRORDRIVER=$server_usemirrordriver_value_of$ SET_USECONTROLAUTHENTICATION=$server_usecontrolauthentication_set$ VALUE_OF_USECONTROLAUTHENTICATION=$server_usecontrolauthentication_value_of$ SET_USEVNCAUTHENTICATION=$server_usevncauthentication_set$ VALUE_OF_USEVNCAUTHENTICATION=$server_usevncauthentication_value_of$ SET_CONTROLPASSWORD=$server_controlpassword_set$ VALUE_OF_CONTROLPASSWORD=$server_controlpassword_value_of$ SET_PASSWORD=$server_password_set$ VALUE_OF_PASSWORD=$server_password_value_of$ SET_VIEWONLYPASSWORD=$server_viewonlypassword_set$ VALUE_OF_VIEWONLYPASSWORD=$server_viewonlypassword_value_of$
"$InstallExe$" /sp- /silent /norestart /nocancel /SUPPRESSMSGBOXES
[Files_install_32]
; copy the ini file to the InstallDir
copy "$IniCfgFile$" "$InstallDir32$"
; Example of recursively copying some files into the installation directory:
;
; copy -s "%ScriptPath%\files\*.*" "$InstallDir32$"
[Winbatch_install_64]
msiexec /i "$Install64Msi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 REBOOT=ReallySuppress ADDLOCAL=Server SERVER_REGISTER_AS_SERVICE=$server_register_as_service$ SERVER_ADD_FIREWALL_EXCEPTION=$server_add_firewall_exception$ SERVER_ALLOW_SAS=$server_allow_sas$ SET_ACCEPTHTTPCONNECTIONS=$server_accepthttpconnections_set$ VALUE_OF_ACCEPTHTTPCONNECTIONS=$server_accepthttpconnections_value_of$ SET_ACCEPTRFBCONNECTIONS=$server_acceptrfbconnections_set$ VALUE_OF_ACCEPTRFBCONNECTIONS=$server_acceptrfbconnections_value_of$ SET_ALLOWLOOPBACK=$server_allowloopback_set$ VALUE_OF_ALLOWLOOPBACK=$server_allowloopback_value_of$ SET_ALWAYSSHARED=$server_alwaysshared_set$ VALUE_OF_ALWAYSSHARED=$server_alwaysshared_value_of$ SET_BLOCKLOCALINPUT=$server_blocklocalinput_set$ VALUE_OF_BLOCKLOCALINPUT=$server_blocklocalinput_value_of$ SET_BLOCKREMOTEINPUT=$server_blockremoteinput_set$ VALUE_OF_BLOCKREMOTEINPUT=$server_blockremoteinput_value_of$ SET_DISCONNECTACTION=$server_disconnectaction_set$ VALUE_OF_DISCONNECTACTION=$server_disconnectaction_value_of$ SET_DISCONNECTCLIENTS=$server_disconnectclients_set$ VALUE_OF_DISCONNECTCLIENTS=$server_disconnectclients_value_of$ SET_ENABLEFILETRANSFERS=$server_enablefiletransfers_set$ VALUE_OF_ENABLEFILETRANSFERS=$server_enablefiletransfers_value_of$ SET_ENABLEURLPARAMS=$server_enableurlparams_set$ VALUE_OF_ENABLEURLPARAMS=$server_enableurlparams_value_of$ SET_EXTRAPORTS=$server_extraports_set$ VALUE_OF_EXTRAPORTS=$server_extraports_value_of$ SET_GRABTRANSPARENTWINDOWS=$server_grabtransparentwindows_set$ VALUE_OF_GRABTRANSPARENTWINDOWS=$server_grabtransparentwindows_value_of$ SET_HTTPPORT=$server_httpport_set$ VALUE_OF_HTTPPORT=$server_httpport_value_of$ SET_IPACCESSCONTROL= $server_ipaccesscontrol_set$ VALUE_OF_IPACCESSCONTROL=$server_ipaccesscontrol_value_of$ SET_LOCALINPUTPRIORITY=$server_localinputpriority_set$ VALUE_OF_LOCALINPUTPRIORITY=$server_localinputpriority_value_of$ SET_LOCALINPUTPRIORITYTIMEOUT=$server_localinputprioritytimeout_set$ VALUE_OF_LOCALINPUTPRIORITYTIMEOUT=$server_localinputprioritytimeout_value_of$ SET_LOGLEVEL=$server_loglevel_set$ VALUE_OF_LOGLEVEL=$server_loglevel_value_of$ SET_LOOPBACKONLY=$server_loopbackonly_set$ VALUE_OF_LOOPBACKONLY=$server_loopbackonly_value_of$ SET_NEVERSHARED=$server_nevershared_set$ VALUE_OF_NEVERSHARED=$server_nevershared_value_of$ SET_POLLINGINTERVAL=$server_pollinginterval_set$ VALUE_OF_POLLINGINTERVAL=$server_pollinginterval_value_of$ SET_QUERYACCEPTONTIMEOUT=$server_queryacceptontimeout_set$ VALUE_OF_QUERYACCEPTONTIMEOUT=$server_queryacceptontimeout_value_of$ SET_QUERYTIMEOUT=$server_querytimeout_set$ VALUE_OF_QUERYTIMEOUT=$server_querytimeout_value_of$ SET_REMOVEWALLPAPER=$server_removewallpaper_set$ VALUE_OF_REMOVEWALLPAPER=$server_removewallpaper_value_of$ SET_RFBPORT=$server_rfbport_set$ VALUE_OF_RFBPORT=$server_rfbport_value_of$ SET_RUNCONTROLINTERFACE=$server_runcontrolinterface_set$ VALUE_OF_RUNCONTROLINTERFACE=$server_runcontrolinterface_value_of$ SET_SAVELOGTOALLUSERSPATH=$server_savelogtoalluserspath_set$ VALUE_OF_SAVELOGTOALLUSERSPATH=$server_savelogtoalluserspath_value_of$ SET_USEMIRRORDRIVER=$server_usemirrordriver_set$ VALUE_OF_USEMIRRORDRIVER=$server_usemirrordriver_value_of$ SET_USECONTROLAUTHENTICATION=$server_usecontrolauthentication_set$ VALUE_OF_USECONTROLAUTHENTICATION=$server_usecontrolauthentication_value_of$ SET_USEVNCAUTHENTICATION=$server_usevncauthentication_set$ VALUE_OF_USEVNCAUTHENTICATION=$server_usevncauthentication_value_of$ SET_CONTROLPASSWORD=$server_controlpassword_set$ VALUE_OF_CONTROLPASSWORD=$server_controlpassword_value_of$ SET_PASSWORD=$server_password_set$ VALUE_OF_PASSWORD=$server_password_value_of$ SET_VIEWONLYPASSWORD=$server_viewonlypassword_set$ VALUE_OF_VIEWONLYPASSWORD=$server_viewonlypassword_value_of$
"$InstallExe$" /sp- /silent /norestart /nocancel /SUPPRESSMSGBOXES
[Files_install_64]
; copy the ini file to the InstallDir
copy "$IniCfgFile$" "$InstallDir64$"
; Example of recursively copying some files into the installation directory:
;
; copy -s "%ScriptPath%\files\*.*" "$InstallDir64$"
[Registry_install]
; Example of setting some values of an registry key:
;
; openkey [HKEY_LOCAL_MACHINE\Software\$ProductId$]
; set "name1" = "some string value"
; set "name2" = REG_DWORD:0001
; set "name3" = REG_BINARY:00 af 99 cd
[LinkFolder_install]
; Example of deleting a folder from AllUsers startmenu:
;
; set_basefolder common_programs
; delete_subfolder $ProductId$
;
; Example of creating an shortcut to the installed exe in AllUsers startmenu:
;
; set_basefolder common_programs
; set_subfolder $ProductId$
;
; set_link
; name: $ProductId$
; target: <path to the program>
; parameters:
; working_dir: $InstallDir$
; icon_file:
; icon_index:
; end_link
;
; Example of creating an shortcut to the installed exe on AllUsers desktop:
;
; set_basefolder common_desktopdirectory
; set_subfolder ""
;
; set_link
; name: $ProductId$
; target: <path to the program>
; parameters: <some_param>
; working_dir: $InstallDir$
; icon_file: <path to icon file>
; icon_index: 2
; end_link
[Sub_check_exitcode]
comment "Test for installation success via exit code"
set $ExitCode$ = getLastExitCode
; informations to exit codes see
; http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx
; http://msdn.microsoft.com/en-us/library/aa368542.aspx
if ($ExitCode$ = "0")
comment "Looks good: setup program gives exitcode zero"
else
comment "Setup program gives a exitcode unequal zero: " + $ExitCode$
if ($ExitCode$ = "1605")
comment "ERROR_UNKNOWN_PRODUCT 1605 This action is only valid for products that are currently installed."
comment "Uninstall of a not installed product failed - no problem"
else
if ($ExitCode$ = "1641")
comment "looks good: setup program gives exitcode 1641"
comment "ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has initiated a restart. This message is indicative of a success."
else
if ($ExitCode$ = "3010")
comment "looks good: setup program gives exitcode 3010"
comment "ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the install. This message is indicative of a success."
else
logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$
isFatalError
endif
endif
endif
endif

View File

@ -0,0 +1,60 @@
; Copyright (c) uib gmbh (www.uib.de)
; This sourcecode is owned by uib gmbh
; and published under the Terms of the General Public License.
; credits: http://www.opsi.org/en/credits/
[Actions]
requiredWinstVersion >= "4.11.2.6"
DefVar $MsiIdOld32$
DefVar $IniFile32$
DefVar $MsiIdOld64$
DefVar $IniFile64$
DefVar $IniCfgFile$
DefVar $LogDir$
DefVar $ExitCode$
DefVar $ProductId$
DefVar $InstallDir32$
DefVar $InstallDir64$
DefVar $INST_SystemType$
DefVar $INST_architecture$
DefVar $OLD_VERSION$
DefVar $OLD_CREATOR_TAG$
DefVar $OLD_RELEASE$
Set $INST_SystemType$ = GetSystemType
set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
Set $LogDir$ = "%SystemDrive%\tmp"
; 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@@
include_insert "define3264.inc"
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
Set $InstallDir32$ = "%ProgramFiles32Dir%\TightVNC"
Set $InstallDir64$ = "%ProgramFiles64Dir%\TightVNC"
; ----------------------------------------------------------------
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $NAME$
Message "Uninstalling " + $ProductId$ + " ..."
if FileExists("%ScriptPath%\delsub3264.ins")
comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub3264.ins"
endif

2
OPSI/changelog.txt Normal file
View File

@ -0,0 +1,2 @@
Don't add cahngelog entries here!
It get autogenerated by the opsi-builder.sh

651
OPSI/control Normal file
View File

@ -0,0 +1,651 @@
[Package]
version: 2
depends:
incremental: False
[Product]
type: localboot
id: opsi-template
name: opsi template product
description: A template for opsi products
advice:
version: 4.0.2
priority: 0
licenseRequired: False
productClasses:
setupScript: setup3264.ins
uninstallScript: uninstall3264.ins
updateScript:
alwaysScript:
onceScript:
customScript:
userLoginScript:
[ProductProperty]
type: unicode
name: install_architecture
multivalue: False
editable: False
description: which architecture (32/64 bit) has to be installed
values: ["32 only", "64 only", "both", "system specific"]
default: ["system specific"]
[ProductDependency]
action: setup
requiredProduct: sereby.aio
requiredStatus: installed
requirementType: before
[ProductProperty]
type: unicode
name: viewer_associate_vnc_extension
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["1"]
[ProductProperty]
type: unicode
name: server_register_as_service
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["1"]
[ProductProperty]
type: unicode
name: server_add_firewall_exception
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["1"]
[ProductProperty]
type: unicode
name: server_allow_sas
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["1"]
[ProductProperty]
type: unicode
name: server_accepthttpconnections_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_accepthttpconnections_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["1"]
[ProductProperty]
type: unicode
name: server_acceptrfbconnections_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_acceptrfbconnections_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["1"]
[ProductProperty]
type: unicode
name: server_allowloopback_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_allowloopback_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_alwaysshared_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_alwaysshared_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_blocklocalinput_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_blocklocalinput_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_blockremoteinput_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_blockremoteinput_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_disconnectaction_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_disconnectaction_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_disconnectclients_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_disconnectclients_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["1"]
[ProductProperty]
type: unicode
name: server_enablefiletransfers_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_enablefiletransfers_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["1"]
[ProductProperty]
type: unicode
name: server_enableurlparams_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_enableurlparams_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["1"]
[ProductProperty]
type: unicode
name: server_extraports_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["1"]
[ProductProperty]
type: unicode
name: server_extraports_value_of
multivalue: False
editable: True
description: Install Microsoft Netframework 1.1
values: ["5901:640x480+0+0"]
default: ["5901:640x480+0+0"]
[ProductProperty]
type: unicode
name: server_grabtransparentwindows_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_grabtransparentwindows_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["1"]
[ProductProperty]
type: unicode
name: server_httpport_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_httpport_value_of
multivalue: False
editable: True
description: Install Microsoft Netframework 1.1
values: ["5800"]
default: ["5800"]
[ProductProperty]
type: unicode
name: server_ipaccesscontrol_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_ipaccesscontrol_value_of
multivalue: False
editable: True
description: Install Microsoft Netframework 1.1
values: [""]
default: [""]
[ProductProperty]
type: unicode
name: server_localinputpriority_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_localinputpriority_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_localinputprioritytimeout_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_localinputprioritytimeout_value_of
multivalue: False
editable: True
description: Install Microsoft Netframework 1.1
values: ["3"]
default: ["3"]
[ProductProperty]
type: unicode
name: server_loglevel_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_loglevel_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_loopbackonly_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_loopbackonly_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_nevershared_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_nevershared_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_pollinginterval_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_pollinginterval_value_of
multivalue: False
editable: True
description: Install Microsoft Netframework 1.1
values: ["1000"]
default: ["1000"]
[ProductProperty]
type: unicode
name: server_queryacceptontimeout_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_queryacceptontimeout_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_querytimeout_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_querytimeout_value_of
multivalue: False
editable: True
description: Install Microsoft Netframework 1.1
values: ["30"]
default: ["30"]
[ProductProperty]
type: unicode
name: server_removewallpaper_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_removewallpaper_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["1"]
[ProductProperty]
type: unicode
name: server_rfbport_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_rfbport_value_of
multivalue: False
editable: True
description: Install Microsoft Netframework 1.1
values: ["5900"]
default: ["5900"]
[ProductProperty]
type: unicode
name: server_runcontrolinterface_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_runcontrolinterface_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["1"]
[ProductProperty]
type: unicode
name: server_savelogtoalluserspath_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_savelogtoalluserspath_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_usemirrordriver_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["1"]
[ProductProperty]
type: unicode
name: server_usemirrordriver_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["1"]
[ProductProperty]
type: unicode
name: server_usecontrolauthentication_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_usecontrolauthentication_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_usevncauthentication_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_usevncauthentication_value_of
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_controlpassword_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_controlpassword_value_of
multivalue: False
editable: True
description: Install Microsoft Netframework 1.1
values: [""]
default: [""]
[ProductProperty]
type: unicode
name: server_password_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_password_value_of
multivalue: False
editable: True
description: Install Microsoft Netframework 1.1
values: [""]
default: [""]
[ProductProperty]
type: unicode
name: server_viewonlypassword_set
multivalue: False
editable: False
description: Install Microsoft Netframework 1.1
values: ["1", "0"]
default: ["0"]
[ProductProperty]
type: unicode
name: server_viewonlypassword_value_of
multivalue: False
editable: True
description: Install Microsoft Netframework 1.1
values: [""]
default: [""]

9
OPSI/postinst Normal file
View File

@ -0,0 +1,9 @@
#! /bin/sh
#
# postinst script for softprod
# This script executes after unpacking files from that archive and registering the product at the server.
#
# The following environment variables can be used to obtain information about the current installation:
# PRODUCT_ID: id of the current product
# CLIENT_DATA_DIR: directory which contains the installed client data
#

9
OPSI/preinst Normal file
View File

@ -0,0 +1,9 @@
#! /bin/sh
#
# preinst script for softprod
# This script executes before that package will be unpacked from its archive file.
#
# The following environment variables can be used to obtain information about the current installation:
# PRODUCT_ID: id of the current product
# CLIENT_DATA_DIR: directory where client data will be installed
#

28
Testing.txt Normal file
View File

@ -0,0 +1,28 @@
*** Qualitiymanagement/Testing procedure
- Product:
- Name: productname
- Version: xxx
- Release: yyyy
- Environment
- OS: Native windows XP-32Bit installation
- Preinstalled packages: None (also no aio)
- Files used while testing:
File1: http://domain.de/file.ext
- Testing process:
OPSI-action:
- Installation (without dependencies like AIO/Firefox): ??
Result:
- File extensions related to program: ??
- Start menu entry: ??
- Starting/using program: viewer works, File1 is shown correctly: ??
OPSI-action:
- Uninstall
Result:
- File extensions related to program: unrelated: ??
- Start menu entry: none: ??

1
TightVNC.PNG.sha1sum Normal file
View File

@ -0,0 +1 @@
5f821aa79e2d9730571d7876fa380741d4df1ef9 /home/mario/.opsi-dist-cache/tightvnc.server-2.6.4//TightVNC.PNG

46
builder-product.cfg Normal file
View File

@ -0,0 +1,46 @@
############################
# Setup product information
############################
VENDOR="tightvnc.com"
PN="tightvnc.server"
NAME="TightVNC Server"
DESCRIPTION="Free, Lightweight, Fast and Reliable Remote Control / Remote Desktop Software"
VERSION="2.6.4"
RELEASE="3"
PRIORITY="0"
ADVICE=""
# TYPE - defines, if the install files are public or restricted.
# Valid value: restricted | public
TYPE="public"
DL_FILE[0]="TightVNC.PNG"
DL_SOURCE[0]="http://img2.findthebest.com/sites/default/files/1099/media/images/TightVNC.PNG"
DL_FILE[1]="tightvnc-${VERSION}-setup-32bit.msi"
DL_SOURCE[1]="http://www.tightvnc.com/download/${VERSION}/tightvnc-${VERSION}-setup-32bit.msi"
DL_ARCH[1]="X86"
DL_WINST_NAME[1]=Install32Msi
DL_FILE[2]="tightvnc-${VERSION}-setup-64bit.msi"
DL_SOURCE[2]="http://www.tightvnc.com/download/${VERSION}/tightvnc-${VERSION}-setup-64bit.msi"
DL_ARCH[2]="X86_64"
DL_WINST_NAME[2]=Install64Msi
DL_FILE[3]="dfmirage-setup-2.0.301.exe"
DL_SOURCE[3]="http://www.tightvnc.com/download/dfmirage/dfmirage-setup-2.0.301.exe"
DL_ARCH[3]="ALL"
DL_WINST_NAME[3]=InstallExe
# File array index for the image showing while installing the program
ICON_DL_INDEX=0
OPSI_INI_SECTION[0]="X86"
OPSI_INI_OPTION[0]="MsiId32"
OPSI_INI_VALUE[0]="{981B8EDC-E693-4F22-9694-C0FF8E56F134}"
OPSI_INI_SECTION[1]="X86_64"
OPSI_INI_OPTION[1]="MsiId64"
OPSI_INI_VALUE[1]="{981B8EDC-E693-4F22-9694-C0FF8E56F134}"

25
builder-targets-cb.sh Normal file
View File

@ -0,0 +1,25 @@
##############################################################################
# This optional file "builder-targets-cb.sh" will be called by builder.sh
#
# The targets will be called from thde opsi-builder using the following
# order: config, prepare, retrieve, create, package, publish, commit, cleanup
# You can overwrite the target functions in builder-targets-cb.sh
#
# You can define callback functions. The functions are called from
# opsi-builder within processing a target
# cb_package_makeproductfile
#
# You can use every variable defined in any configuration file or by
# the defined builder script itself. Also, calling the predefined
# targets builder_<targetname> is possible.
#
# Abstract:
# target order: config, prepare, retrieve, create, package, publish, commit, cleanup
# callbacks: <none>
#
##############################################################################
function cleanup() {
echo "Cleanup"
builder_cleanup
}

View File

@ -0,0 +1 @@
79dca16c42858d6539038541430dc63f731302e3 /home/mario/.opsi-dist-cache/tightvnc.server-2.6.4/ALL/dfmirage-setup-2.0.301.exe

1
optins-line.txt Normal file
View File

@ -0,0 +1 @@
VIEWER_ASSOCIATE_VNC_EXTENSION=$viewer_associate_vnc_extension$ SERVER_REGISTER_AS_SERVICE=$server_register_as_service$ SERVER_ADD_FIREWALL_EXCEPTION=$server_add_firewall_exception$ VIEWER_ADD_FIREWALL_EXCEPTION=$viewer_add_firewall_exception$ SERVER_ALLOW_SAS=$server_allow_sas$ SET_ACCEPTHTTPCONNECTIONS=$server_accepthttpconnections_set$ VALUE_OF_ACCEPTHTTPCONNECTIONS=$server_accepthttpconnections_value_of$ SET_ACCEPTRFBCONNECTIONS=$server_acceptrfbconnections_set$ VALUE_OF_ACCEPTRFBCONNECTIONS=$server_acceptrfbconnections_value_of$ SET_ALLOWLOOPBACK=$server_allowloopback_set$ VALUE_OF_ALLOWLOOPBACK=$server_allowloopback_value_of$ SET_ALWAYSSHARED=$server_alwaysshared_set$ VALUE_OF_ALWAYSSHARED=$server_alwaysshared_value_of$ SET_BLOCKLOCALINPUT=$server_blocklocalinput_set$ VALUE_OF_BLOCKLOCALINPUT=$server_blocklocalinput_value_of$ SET_BLOCKREMOTEINPUT=$server_blockremoteinput_set$ VALUE_OF_BLOCKREMOTEINPUT=$server_blockremoteinput_value_of$ SET_DISCONNECTACTION=$server_disconnectaction_set$ VALUE_OF_DISCONNECTACTION=$server_disconnectaction_value_of$ SET_DISCONNECTCLIENTS=$server_disconnectclients_set$ VALUE_OF_DISCONNECTCLIENTS=$server_disconnectclients_value_of$ SET_ENABLEFILETRANSFERS=$server_enablefiletransfers_set$ VALUE_OF_ENABLEFILETRANSFERS=$server_enablefiletransfers_value_of$ SET_ENABLEURLPARAMS=$server_enableurlparams_set$ VALUE_OF_ENABLEURLPARAMS=$server_enableurlparams_value_of$ SET_EXTRAPORTS=$server_extraports_set$ VALUE_OF_EXTRAPORTS=$server_extraports_value_of$ SET_GRABTRANSPARENTWINDOWS=$server_grabtransparentwindows_set$ VALUE_OF_GRABTRANSPARENTWINDOWS=$server_grabtransparentwindows_value_of$ SET_HTTPPORT=$server_httpport_set$ VALUE_OF_HTTPPORT=$server_httpport_value_of$ SET_IPACCESSCONTROL= $server_ipaccesscontrol_set$ VALUE_OF_IPACCESSCONTROL=$server_ipaccesscontrol_value_of$ SET_LOCALINPUTPRIORITY=$server_localinputpriority_set$ VALUE_OF_LOCALINPUTPRIORITY=$server_localinputpriority_value_of$ SET_LOCALINPUTPRIORITYTIMEOUT=$server_localinputprioritytimeout_set$ VALUE_OF_LOCALINPUTPRIORITYTIMEOUT=$server_localinputprioritytimeout_value_of$ SET_LOGLEVEL=$server_loglevel_set$ VALUE_OF_LOGLEVEL=$server_loglevel_value_of$ SET_LOOPBACKONLY=$server_loopbackonly_set$ VALUE_OF_LOOPBACKONLY=$server_loopbackonly_value_of$ SET_NEVERSHARED=$server_nevershared_set$ VALUE_OF_NEVERSHARED=$server_nevershared_value_of$ SET_POLLINGINTERVAL=$server_pollinginterval_set$ VALUE_OF_POLLINGINTERVAL=$server_pollinginterval_value_of$ SET_QUERYACCEPTONTIMEOUT=$server_queryacceptontimeout_set$ VALUE_OF_QUERYACCEPTONTIMEOUT=$server_queryacceptontimeout_value_of$ SET_QUERYTIMEOUT=$server_querytimeout_set$ VALUE_OF_QUERYTIMEOUT=$server_querytimeout_value_of$ SET_REMOVEWALLPAPER=$server_removewallpaper_set$ VALUE_OF_REMOVEWALLPAPER=$server_removewallpaper_value_of$ SET_RFBPORT=$server_rfbport_set$ VALUE_OF_RFBPORT=$server_rfbport_value_of$ SET_RUNCONTROLINTERFACE=$server_runcontrolinterface_set$ VALUE_OF_RUNCONTROLINTERFACE=$server_runcontrolinterface_value_of$ SET_SAVELOGTOALLUSERSPATH=$server_savelogtoalluserspath_set$ VALUE_OF_SAVELOGTOALLUSERSPATH=$server_savelogtoalluserspath_value_of$ SET_USEMIRRORDRIVER=$server_usemirrordriver_set$ VALUE_OF_USEMIRRORDRIVER=$server_usemirrordriver_value_of$ SET_USECONTROLAUTHENTICATION=$server_usecontrolauthentication_set$ VALUE_OF_USECONTROLAUTHENTICATION=$server_usecontrolauthentication_value_of$ SET_USEVNCAUTHENTICATION=$server_usevncauthentication_set$ VALUE_OF_USEVNCAUTHENTICATION=$server_usevncauthentication_value_of$ SET_CONTROLPASSWORD=$server_controlpassword_set$ VALUE_OF_CONTROLPASSWORD=$server_controlpassword_value_of$ SET_PASSWORD=$server_password_set$ VALUE_OF_PASSWORD=$server_password_value_of$ SET_VIEWONLYPASSWORD=$server_viewonlypassword_set$ VALUE_OF_VIEWONLYPASSWORD=$server_viewonlypassword_value_of$

69
optins-opsi.txt Normal file
View File

@ -0,0 +1,69 @@
VIEWER_ASSOCIATE_VNC_EXTENSION=$viewer_associate_vnc_extension$
SERVER_REGISTER_AS_SERVICE=$server_register_as_service$
SERVER_ADD_FIREWALL_EXCEPTION=$server_add_firewall_exception$
VIEWER_ADD_FIREWALL_EXCEPTION=$viewer_add_firewall_exception$
SERVER_ALLOW_SAS=$server_allow_sas$
SET_ACCEPTHTTPCONNECTIONS=$server_accepthttpconnections_set$
VALUE_OF_ACCEPTHTTPCONNECTIONS=$server_accepthttpconnections_value_of$
SET_ACCEPTRFBCONNECTIONS=$server_acceptrfbconnections_set$
VALUE_OF_ACCEPTRFBCONNECTIONS=$server_acceptrfbconnections_value_of$
SET_ALLOWLOOPBACK=$server_allowloopback_set$
VALUE_OF_ALLOWLOOPBACK=$server_allowloopback_value_of$
SET_ALWAYSSHARED=$server_alwaysshared_set$
VALUE_OF_ALWAYSSHARED=$server_alwaysshared_value_of$
SET_BLOCKLOCALINPUT=$server_blocklocalinput_set$
VALUE_OF_BLOCKLOCALINPUT=$server_blocklocalinput_value_of$
SET_BLOCKREMOTEINPUT=$server_blockremoteinput_set$
VALUE_OF_BLOCKREMOTEINPUT=$server_blockremoteinput_value_of$
SET_DISCONNECTACTION=$server_disconnectaction_set$
VALUE_OF_DISCONNECTACTION=$server_disconnectaction_value_of$
SET_DISCONNECTCLIENTS=$server_disconnectclients_set$
VALUE_OF_DISCONNECTCLIENTS=$server_disconnectclients_value_of$
SET_ENABLEFILETRANSFERS=$server_enablefiletransfers_set$
VALUE_OF_ENABLEFILETRANSFERS=$server_enablefiletransfers_value_of$
SET_ENABLEURLPARAMS=$server_enableurlparams_set$
VALUE_OF_ENABLEURLPARAMS=$server_enableurlparams_value_of$
SET_EXTRAPORTS=$server_extraports_set$
VALUE_OF_EXTRAPORTS=$server_extraports_value_of$
SET_GRABTRANSPARENTWINDOWS=$server_grabtransparentwindows_set$
VALUE_OF_GRABTRANSPARENTWINDOWS=$server_grabtransparentwindows_value_of$
SET_HTTPPORT=$server_httpport_set$
VALUE_OF_HTTPPORT=$server_httpport_value_of$
SET_IPACCESSCONTROL= $server_ipaccesscontrol_set$
VALUE_OF_IPACCESSCONTROL=$server_ipaccesscontrol_value_of$
SET_LOCALINPUTPRIORITY=$server_localinputpriority_set$
VALUE_OF_LOCALINPUTPRIORITY=$server_localinputpriority_value_of$
SET_LOCALINPUTPRIORITYTIMEOUT=$server_localinputprioritytimeout_set$
VALUE_OF_LOCALINPUTPRIORITYTIMEOUT=$server_localinputprioritytimeout_value_of$
SET_LOGLEVEL=$server_loglevel_set$
VALUE_OF_LOGLEVEL=$server_loglevel_value_of$
SET_LOOPBACKONLY=$server_loopbackonly_set$
VALUE_OF_LOOPBACKONLY=$server_loopbackonly_value_of$
SET_NEVERSHARED=$server_nevershared_set$
VALUE_OF_NEVERSHARED=$server_nevershared_value_of$
SET_POLLINGINTERVAL=$server_pollinginterval_set$
VALUE_OF_POLLINGINTERVAL=$server_pollinginterval_value_of$
SET_QUERYACCEPTONTIMEOUT=$server_queryacceptontimeout_set$
VALUE_OF_QUERYACCEPTONTIMEOUT=$server_queryacceptontimeout_value_of$
SET_QUERYTIMEOUT=$server_querytimeout_set$
VALUE_OF_QUERYTIMEOUT=$server_querytimeout_value_of$
SET_REMOVEWALLPAPER=$server_removewallpaper_set$
VALUE_OF_REMOVEWALLPAPER=$server_removewallpaper_value_of$
SET_RFBPORT=$server_rfbport_set$
VALUE_OF_RFBPORT=$server_rfbport_value_of$
SET_RUNCONTROLINTERFACE=$server_runcontrolinterface_set$
VALUE_OF_RUNCONTROLINTERFACE=$server_runcontrolinterface_value_of$
SET_SAVELOGTOALLUSERSPATH=$server_savelogtoalluserspath_set$
VALUE_OF_SAVELOGTOALLUSERSPATH=$server_savelogtoalluserspath_value_of$
SET_USEMIRRORDRIVER=$server_usemirrordriver_set$
VALUE_OF_USEMIRRORDRIVER=$server_usemirrordriver_value_of$
SET_USECONTROLAUTHENTICATION=$server_usecontrolauthentication_set$
VALUE_OF_USECONTROLAUTHENTICATION=$server_usecontrolauthentication_value_of$
SET_USEVNCAUTHENTICATION=$server_usevncauthentication_set$
VALUE_OF_USEVNCAUTHENTICATION=$server_usevncauthentication_value_of$
SET_CONTROLPASSWORD=$server_controlpassword_set$
VALUE_OF_CONTROLPASSWORD=$server_controlpassword_value_of$
SET_PASSWORD=$server_password_set$
VALUE_OF_PASSWORD=$server_password_value_of$
SET_VIEWONLYPASSWORD=$server_viewonlypassword_set$
VALUE_OF_VIEWONLYPASSWORD=$server_viewonlypassword_value_of$

70
optins.txt Normal file
View File

@ -0,0 +1,70 @@
VIEWER_ASSOCIATE_VNC_EXTENSION
SERVER_REGISTER_AS_SERVICE
SERVER_ADD_FIREWALL_EXCEPTION
VIEWER_ADD_FIREWALL_EXCEPTION
SERVER_ALLOW_SAS
SET_ACCEPTHTTPCONNECTIONS
VALUE_OF_ACCEPTHTTPCONNECTIONS
SET_ACCEPTRFBCONNECTIONS
VALUE_OF_ACCEPTRFBCONNECTIONS
SET_ALLOWLOOPBACK
VALUE_OF_ALLOWLOOPBACK
SET_ALWAYSSHARED
VALUE_OF_ALWAYSSHARED
SET_BLOCKLOCALINPUT
VALUE_OF_BLOCKLOCALINPUT
SET_BLOCKREMOTEINPUT
VALUE_OF_BLOCKREMOTEINPUT
SET_DISCONNECTACTION
VALUE_OF_DISCONNECTACTION
SET_DISCONNECTCLIENTS
VALUE_OF_DISCONNECTCLIENTS
SET_ENABLEFILETRANSFERS
VALUE_OF_ENABLEFILETRANSFERS
SET_ENABLEURLPARAMS
VALUE_OF_ENABLEURLPARAMS
SET_EXTRAPORTS
VALUE_OF_EXTRAPORTS
SET_GRABTRANSPARENTWINDOWS
VALUE_OF_GRABTRANSPARENTWINDOWS
SET_HTTPPORT
VALUE_OF_HTTPPORT
SET_IPACCESSCONTROL
VALUE_OF_IPACCESSCONTROL
SET_LOCALINPUTPRIORITY
VALUE_OF_LOCALINPUTPRIORITY
SET_LOCALINPUTPRIORITYTIMEOUT
VALUE_OF_LOCALINPUTPRIORITYTIMEOUT
SET_LOGLEVEL
VALUE_OF_LOGLEVEL
SET_LOOPBACKONLY
VALUE_OF_LOOPBACKONLY
SET_NEVERSHARED
VALUE_OF_NEVERSHARED
SET_POLLINGINTERVAL
VALUE_OF_POLLINGINTERVAL
SET_QUERYACCEPTONTIMEOUT
VALUE_OF_QUERYACCEPTONTIMEOUT
SET_QUERYTIMEOUT
VALUE_OF_QUERYTIMEOUT
SET_REMOVEWALLPAPER
VALUE_OF_REMOVEWALLPAPER
SET_RFBPORT
VALUE_OF_RFBPORT
SET_RUNCONTROLINTERFACE
VALUE_OF_RUNCONTROLINTERFACE
SET_SAVELOGTOALLUSERSPATH
VALUE_OF_SAVELOGTOALLUSERSPATH
SET_USEMIRRORDRIVER
VALUE_OF_USEMIRRORDRIVER
SET_USECONTROLAUTHENTICATION
VALUE_OF_USECONTROLAUTHENTICATION
SET_USEVNCAUTHENTICATION
VALUE_OF_USEVNCAUTHENTICATION
SET_CONTROLPASSWORD
VALUE_OF_CONTROLPASSWORD
SET_PASSWORD
VALUE_OF_PASSWORD
SET_VIEWONLYPASSWORD
VALUE_OF_VIEWONLYPASSWORD

66
optinslow.txt Normal file
View File

@ -0,0 +1,66 @@
viewer_associate_vnc_extension
server_register_as_service
server_add_firewall_exception
viewer_add_firewall_exception
server_allow_sas
server_accepthttpconnections_set
server_accepthttpconnections_value_of
server_acceptrfbconnections_set
server_acceptrfbconnections_value_of
server_allowloopback_set
server_allowloopback_value_of
server_alwaysshared_set
server_alwaysshared_value_of
server_blocklocalinput_set
server_blocklocalinput_value_of
server_blockremoteinput_set
server_blockremoteinput_value_of
server_disconnectaction_set
server_disconnectaction_value_of
server_disconnectclients_set
server_disconnectclients_value_of
server_extraports_set
server_extraports_value_of
server_grabtransparentwindows_set
server_grabtransparentwindows_value_of
server_httpport_set
server_httpport_value_of
server_ipaccesscontrol_set
server_ipaccesscontrol_value_of
server_localinputpriority_set
server_localinputpriority_value_of
server_localinputprioritytimeout_set
server_localinputprioritytimeout_value_of
server_loglevel_set
server_loglevel_value_of
server_loopbackonly_set
server_loopbackonly_value_of
server_nevershared_set
server_nevershared_value_of
server_pollinginterval_set
server_pollinginterval_value_of
server_queryacceptontimeout_set
server_queryacceptontimeout_value_of
server_querytimeout_set
server_querytimeout_value_of
server_removewallpaper_set
server_removewallpaper_value_of
server_rfbport_set
server_rfbport_value_of
server_runcontrolinterface_set
server_runcontrolinterface_value_of
server_savelogtoalluserspath_set
server_savelogtoalluserspath_value_of
server_new_connections_alwashared
server_new_connections_nevershared
server_new_connections_disconnectclients
server_usecontrolauthentication_set
server_usecontrolauthentication_value_of
server_usevncauthentication_set
server_usevncauthentication_value_of
server_controlpassword_set
server_controlpassword_value_of
server_password_set
server_password_value_of
server_viewonlypassword_set
server_viewonlypassword_value_of

View File

@ -0,0 +1 @@
e94b957bcfd7a84f166f0de9f6454c78ef5bb11c /home/mario/.opsi-dist-cache/tightvnc.server-2.6.4/X86/tightvnc-2.6.4-setup-32bit.msi

View File

@ -0,0 +1 @@
5461588a556a56c712cc14b35ea075526bb7cf3d /home/mario/.opsi-dist-cache/tightvnc.server-2.6.4/X86_64/tightvnc-2.6.4-setup-64bit.msi