filetyp assoc into Property correct typo in control file
This commit is contained in:
parent
5efc4e731f
commit
766a1e5c3f
@ -78,8 +78,11 @@ Registry_uninstall /32Bit
|
||||
comment "Delete program shortcuts"
|
||||
LinkFolder_uninstall
|
||||
|
||||
comment "File Type Association"
|
||||
DosInAnIcon_FileTypeAssoc_uninstall
|
||||
Set $Property_FileTypeAssociation$ = GetProductProperty("FileTypeAssociation","true")
|
||||
if ($Property_FileTypeAssociation$ = "true")
|
||||
comment "File Type Association"
|
||||
DosInAnIcon_FileTypeAssoc_uninstall
|
||||
endif
|
||||
|
||||
DefVar $Property_CustomPostUninstall$
|
||||
Set $Property_CustomPostUninstall$ = getProductProperty("custom-post-uninstall","none")
|
||||
|
@ -76,8 +76,11 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif
|
||||
Files_uninstall_32 /32Bit
|
||||
comment "Cleanup registry"
|
||||
Registry_uninstall /32Bit
|
||||
comment "File Type Association"
|
||||
DosInAnIcon_FileTypeAssoc_uninstall
|
||||
Set $Property_FileTypeAssociation$ = GetProductProperty("FileTypeAssociation","true")
|
||||
if ($Property_FileTypeAssociation$ = "true")
|
||||
comment "File Type Association"
|
||||
DosInAnIcon_FileTypeAssoc_uninstall
|
||||
endif
|
||||
endif
|
||||
|
||||
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
|
||||
@ -145,8 +148,12 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe
|
||||
Files_uninstall_64 /64Bit
|
||||
comment "Cleanup registry"
|
||||
Registry_uninstall /64Bit
|
||||
comment "File Type Association"
|
||||
DosInAnIcon_FileTypeAssoc_uninstall
|
||||
|
||||
Set $Property_FileTypeAssociation$ = GetProductProperty("FileTypeAssociation","true")
|
||||
if ($Property_FileTypeAssociation$ = "true")
|
||||
comment "File Type Association"
|
||||
DosInAnIcon_FileTypeAssoc_uninstall
|
||||
endif
|
||||
endif
|
||||
|
||||
comment "Delete program shortcuts"
|
||||
|
@ -78,8 +78,11 @@ Registry_uninstall /64Bit
|
||||
comment "Delete program shortcuts"
|
||||
LinkFolder_uninstall
|
||||
|
||||
comment "File Type Association"
|
||||
DosInAnIcon_FileTypeAssoc_uninstall
|
||||
Set $Property_FileTypeAssociation$ = GetProductProperty("FileTypeAssociation","true")
|
||||
if ($Property_FileTypeAssociation$ = "true")
|
||||
comment "File Type Association"
|
||||
DosInAnIcon_FileTypeAssoc_uninstall
|
||||
endif
|
||||
|
||||
DefVar $Property_CustomPostUninstall$
|
||||
Set $Property_CustomPostUninstall$ = getProductProperty("custom-post-uninstall","none")
|
||||
|
@ -37,6 +37,7 @@ set $LanguageId$ = getValue("default_language_id_decimal", $languageInfo$)
|
||||
;Property Variables
|
||||
DefVar $Property_CustomPostInstall$
|
||||
DefVar $Property_DesktopLink$
|
||||
DefVar $Property_FileTypeAssociation$
|
||||
|
||||
Set $LogDir$ = "%opsiLogDir%"
|
||||
|
||||
@ -129,8 +130,11 @@ else
|
||||
LinkFolder_install_DesktopLink
|
||||
endif
|
||||
|
||||
comment "File Type Association"
|
||||
DosInAnIcon_FileTypeAssoc_install
|
||||
Set $Property_FileTypeAssociation$ = GetProductProperty("FileTypeAssociation","true")
|
||||
if ($Property_FileTypeAssociation$ = "true")
|
||||
comment "File Type Association"
|
||||
DosInAnIcon_FileTypeAssoc_install
|
||||
endif
|
||||
|
||||
Set $Property_CustomPostInstall$ = getProductProperty("custom-post-install","none")
|
||||
if not ($Property_CustomPostInstall$ = "none")
|
||||
|
@ -47,6 +47,7 @@ set $LanguageId$ = getValue("default_language_id_decimal", $languageInfo$)
|
||||
;Property Variables
|
||||
DefVar $Property_CustomPostInstall$
|
||||
DefVar $Property_DesktopLink$
|
||||
DefVar $Property_FileTypeAssociation$
|
||||
|
||||
Set $LogDir$ = "%opsiLogDir%"
|
||||
|
||||
@ -135,8 +136,11 @@ else
|
||||
if ($Property_DesktopLink$ = "true")
|
||||
LinkFolder_install_DesktopLink_32
|
||||
endif
|
||||
comment "File Type Association"
|
||||
DosInAnIcon_FileTypeAssoc_install
|
||||
Set $Property_FileTypeAssociation$ = GetProductProperty("FileTypeAssociation","true")
|
||||
if ($Property_FileTypeAssociation$ = "true")
|
||||
comment "File Type Association"
|
||||
DosInAnIcon_FileTypeAssoc_install
|
||||
endif
|
||||
endif
|
||||
|
||||
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
|
||||
@ -163,8 +167,11 @@ else
|
||||
if ($Property_DesktopLink$ = "true")
|
||||
LinkFolder_install_DesktopLink_64
|
||||
endif
|
||||
comment "File Type Association"
|
||||
DosInAnIcon_FileTypeAssoc_install
|
||||
Set $Property_FileTypeAssociation$ = GetProductProperty("FileTypeAssociation","true")
|
||||
if ($Property_FileTypeAssociation$ = "true")
|
||||
comment "File Type Association"
|
||||
DosInAnIcon_FileTypeAssoc_install
|
||||
endif
|
||||
endif
|
||||
|
||||
Set $Property_CustomPostInstall$ = getProductProperty("custom-post-install","none")
|
||||
|
@ -37,6 +37,7 @@ set $LanguageId$ = getValue("default_language_id_decimal", $languageInfo$)
|
||||
;Property Variables
|
||||
DefVar $Property_CustomPostInstall$
|
||||
DefVar $Property_DesktopLink$
|
||||
DefVar $Property_FileTypeAssociation$
|
||||
|
||||
Set $LogDir$ = "%opsiLogDir%"
|
||||
|
||||
@ -129,8 +130,11 @@ else
|
||||
LinkFolder_install_DesktopLink
|
||||
endif
|
||||
|
||||
comment "File Type Association"
|
||||
DosInAnIcon_FileTypeAssoc_install
|
||||
Set $Property_FileTypeAssociation$ = GetProductProperty("FileTypeAssociation","true")
|
||||
if ($Property_FileTypeAssociation$ = "true")
|
||||
comment "File Type Association"
|
||||
DosInAnIcon_FileTypeAssoc_install
|
||||
endif
|
||||
|
||||
Set $Property_CustomPostInstall$ = getProductProperty("custom-post-install","none")
|
||||
if not ($Property_CustomPostInstall$ = "none")
|
||||
|
@ -24,6 +24,8 @@ DefVar $OLD_RELEASE$
|
||||
|
||||
DefVar $Reboot$
|
||||
|
||||
DefVar $Property_FileTypeAssociation$
|
||||
|
||||
Set $LogDir$ = "%opsiLogDir%"
|
||||
|
||||
; The token BUILDER_VARIABLES will be replaced by opsi-builder.sh
|
||||
|
@ -31,6 +31,8 @@ DefVar $OLD_RELEASE$
|
||||
|
||||
DefVar $Reboot$
|
||||
|
||||
DefVar $Property_FileTypeAssociation$
|
||||
|
||||
Set $INST_SystemType$ = GetSystemType
|
||||
set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
|
||||
|
||||
|
@ -24,6 +24,8 @@ DefVar $OLD_RELEASE$
|
||||
|
||||
DefVar $Reboot$
|
||||
|
||||
DefVar $Property_FileTypeAssociation$
|
||||
|
||||
Set $LogDir$ = "%opsiLogDir%"
|
||||
|
||||
; The token BUILDER_VARIABLES will be replaced by opsi-builder.sh
|
||||
|
@ -32,7 +32,13 @@ default: ["system specific"]
|
||||
|
||||
[ProductProperty]
|
||||
type: bool
|
||||
name: desktoplink
|
||||
name: FileTypeAssociation
|
||||
description: File Type Associations on/off
|
||||
default: True
|
||||
|
||||
[ProductProperty]
|
||||
type: bool
|
||||
name: DesktopLink
|
||||
description: Show Desktop Link on/off
|
||||
default: False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user