This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
userspace:adobe_reader_xi [2014/01/08 13:38] MephMan |
userspace:adobe_reader_xi [2021/08/23 08:37] (current) |
||
---|---|---|---|
Line 17: | Line 17: | ||
<code winst> | <code winst> | ||
[Actions] | [Actions] | ||
+ | ;Text shown during installation | ||
Message " | Message " | ||
+ | ;Sets the LogLevel | ||
+ | ;Allowed LogLevels are: | ||
+ | ;0 = nothing (absolute nothing) | ||
+ | ;1 = essential (" | ||
+ | ;2 = critical (unexpected errors that my cause a program abort) | ||
+ | ;3 = error (Errors that don't will abort the running program) | ||
+ | ;4 = warning (you should have a look at this) | ||
+ | ;5 = notice (Important statements to the program flow) | ||
+ | ;6 = info (Additional Infos) | ||
+ | ;7 = debug (important debug messages) | ||
+ | ;8 = debug2 (a lot more debug informations and data) | ||
+ | ;9 = confidential (passwords and other security relevant data) | ||
SetLogLevel=6 | SetLogLevel=6 | ||
- | Files_Copy_AdobeInstall | ||
WinBatch_Install | WinBatch_Install | ||
- | WinBatch_CleanUp | + | Registry_HKLM |
- | + | ||
- | [Files_Copy_AdobeInstall] | + | |
- | copy " | + | |
[WinBatch_Install] | [WinBatch_Install] | ||
- | c: | + | %scriptpath%\AdobeReader.exe /sAll /msi /norestart ALLUSERS=1 EULA_ACCEPT=YES |
- | [WinBatch_CleanUp] | + | [Registry_HKLM] |
- | rmdir /S /Q c:\adobeinstall\ | + | ;Disables Adobe Reader Updates] |
+ | OpenKey [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat Reader\11.0\FeatureLockDown] | ||
+ | Set " | ||
+ | | ||
</ | </ | ||
Line 37: | Line 49: | ||
[Actions] | [Actions] | ||
Message " | Message " | ||
- | WinBatch_autoit_delete /LetThemGo | ||
WinBatch_uninstall | WinBatch_uninstall | ||
- | |||
- | [WinBatch_autoit_delete] | ||
- | %Scriptpath%\Remove.exe | ||
[WinBatch_uninstall] | [WinBatch_uninstall] | ||
- | MsiExec.exe /I{AC76BA86-7AD7-1031-7B44-AB0000000001} | + | MsiExec.exe /passive /x {AC76BA86-7AD7-1031-7B44-AB0000000001} |
</ | </ | ||
- | ====remove.exe==== | ||
- | Hint: this is an AutoIT3-Script | ||
- | <code autoit> | ||
- | BlockInput(1) | ||
- | Sleep (4000) | ||
- | WinWaitActive(" | ||
- | ControlClick(" | ||
- | ControlClick(" | ||
- | WinWaitActive(" | ||
- | controlclick(" | ||
- | BlockInput(0) | ||
- | </ |