Disabled auto-updates (for 12 months) and corrected Windows 8 uninstall problem
This commit is contained in:
parent
623365b21a
commit
bb0cb6e8a8
|
@ -76,6 +76,7 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe
|
|||
killtask "firefox.exe"
|
||||
killtask "chrome.exe"
|
||||
killtask "opera.exe"
|
||||
killtask "OpenWIth.exe"
|
||||
|
||||
comment "Cleanup registry"
|
||||
Registry_uninstall /64Bit
|
||||
|
|
|
@ -44,7 +44,7 @@ Set $LogDir$ = "%SystemDrive%\tmp"
|
|||
;$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"
|
||||
Set $MinimumSpace$ = "150 MB"
|
||||
; the path were we find the product after the installation
|
||||
Set $InstallDir32$ = "%ProgramFiles32Dir%\Nitro\Reader 3"
|
||||
Set $InstallDir64$ = "%ProgramFiles64Dir%\Nitro\Reader 3"
|
||||
|
@ -78,6 +78,7 @@ else
|
|||
comment "Copy files"
|
||||
Files_install_32 /32Bit
|
||||
comment "Patch Registry"
|
||||
Registry_cleanup /32bit /AllNTUserdats
|
||||
Registry_install /32Bit
|
||||
comment "Create shortcuts"
|
||||
LinkFolder_install
|
||||
|
@ -94,7 +95,9 @@ else
|
|||
comment "Copy files"
|
||||
Files_install_64 /64Bit
|
||||
comment "Patch Registry"
|
||||
Registry_install /64Bit
|
||||
Registry_cleanup /32bit /AllNTUserdats
|
||||
Registry_install /32Bit
|
||||
; Registry_install /64Bit
|
||||
comment "Create shortcuts"
|
||||
LinkFolder_install
|
||||
endif
|
||||
|
@ -131,11 +134,26 @@ copy "$IniCfgFile$" "$InstallDir64$"
|
|||
;
|
||||
; copy -s "%ScriptPath%\files\*.*" "$InstallDir64$"
|
||||
|
||||
[Registry_cleanup]
|
||||
openkey [HKEY_CURRENT_USER\SOFTWARE\Nitro\Reader\3.0\settings\Preferences\kLearningCenter]
|
||||
DeleteVar "kLCShowAtStartup"
|
||||
|
||||
openkey [HKEY_CURRENT_USER\Software\Nitro\Reader\3.0\settings\Preferences\kPreferences]
|
||||
DeleteVar "kPrefInterfaceShowDoMoreWithProButton"
|
||||
DeleteVar "kPrefInterfaceShowInfoBarIfDocScanned"
|
||||
DeleteVar "kPrefUpdateNextCheckControl"
|
||||
|
||||
[Registry_install]
|
||||
; Example of setting some values of an registry key:
|
||||
;
|
||||
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Nitro\Reader\3.0\settings\Preferences\kLearningCenter]
|
||||
set "kLCShowAtStartup" = "/b 0"
|
||||
|
||||
openkey [HKEY_LOCAL_MACHINE\Software\Nitro\Reader\3.0\settings\Preferences\kPreferences]
|
||||
set "kPrefUpdateCheckingInterval" = "/i $ExpireDateInSeconds$"
|
||||
set "kPrefInterfaceShowDoMoreWithProButton" = "/b 0"
|
||||
set "kPrefInterfaceShowInfoBarIfDocScanned" = "/b 0"
|
||||
set "kPrefUpdateNextCheckControl" = "/i $ExpireDateInSeconds$"
|
||||
|
||||
; set "name2" = REG_DWORD:0001
|
||||
; set "name3" = REG_BINARY:00 af 99 cd
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ ICON_DL_INDEX=0
|
|||
|
||||
# Actual Date + 6 Months
|
||||
WINST_NAME[0]="ExpireDateInSeconds"
|
||||
WINST_VALUE[0]="$(date -d "+6 months" +%s)"
|
||||
WINST_VALUE[0]="$(date -d "+12 months" +%s)"
|
||||
|
||||
OPSI_INI_SECTION[0]="X86"
|
||||
OPSI_INI_OPTION[0]="MsiId32"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
b7a195c46ea4f08c30d945937b09da437b467935 /home/opsiproducts/.opsi-dist-cache/nitro.pdfreader-3.5.3.14/X86_64/nitro_pdf_reader_3.5.3.14_x64.exe
|
|
@ -0,0 +1 @@
|
|||
edc9b17502454d62fa359e850e40c8b90a764be8 /home/opsiproducts/.opsi-dist-cache/nitro.pdfreader-3.5.3.14/X86/nitro_pdf_reader_3.5.3.14_x86.exe
|
Loading…
Reference in New Issue