This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
userspace:adobe_reader_xi [2014/01/08 13:38] MephMan |
userspace:adobe_reader_xi [2014/01/09 13:00] MephMan |
||
---|---|---|---|
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 | Files_Copy_AdobeInstall | ||
WinBatch_Install | WinBatch_Install | ||
+ | Registry_HKLM | ||
WinBatch_CleanUp | WinBatch_CleanUp | ||
Line 28: | Line 42: | ||
[WinBatch_Install] | [WinBatch_Install] | ||
c: | c: | ||
+ | |||
+ | [Registry_HKLM] | ||
+ | ;Disables Adobe Reader Updates] | ||
+ | OpenKey [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat Reader\11.0\FeatureLockDown] | ||
+ | Set " | ||
[WinBatch_CleanUp] | [WinBatch_CleanUp] | ||
- | rmdir /S /Q c: | + | ;Should delete the folder copied to the harddrive, but doesnt work properly for some reason. |
+ | rmdir c: | ||
</ | </ | ||
Line 37: | Line 57: | ||
[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) | ||
- | </ |