User Tools

Site Tools


userspace:pidgin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

userspace:pidgin [2013/04/17 12:23]
adlerweb created
userspace:pidgin [2021/08/23 08:37]
Line 1: Line 1:
-====== Pidgin Ver. 2.10.7 ====== 
- 
-  * Tested with opsi 4.0.3.x 
-  * requiredWinstVersion >= 4.10.8.6 
-  * Files can be downloaded at http://www.pidgin.im/download/ 
-  * German Language - change /L= if needed 
- 
-By   --- //[[florian.knodt@finzelberg.de|adlerweb]] 2013/04/17 13:59// 
- 
-Tree:\\ 
-<code> 
-âââ delsub.ins 
-âââ pidgin-2.10.7-offline.exe 
-âââ pidgin.png 
-âââ setup.ins 
-âââ uninstall.ins 
-</code> 
- 
-==== setup.ins ==== 
-<code winst> 
-[Actions] 
-requiredWinstVersion >= "4.10.8.6" 
- 
-DefVar $ProductId$ 
-DefVar $MinimumSpace$ 
-DefVar $UninstallCommand$ 
- 
-Set $ProductId$       = "pidgin" 
-Set $MinimumSpace$    = "100 MB" 
-; ---------------------------------------------------------------- 
- 
- 
-ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$ 
- 
-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 
- if FileExists("%ScriptPath%\delsub.ins") 
- comment "start uninstall" 
- sub "%ScriptPath%\delsub.ins" 
- endif 
-  
- comment "installing" 
-  
- comment "Start setup program" 
- Winbatch_install 
-  
-endif 
- 
-[Winbatch_install] 
- "%ScriptPath%\pidgin-2.10.6-offline.exe" /DS=1 /SMS=1 /L=1031 /S 
- 
-</code> 
- 
-==== uninstall.ins ==== 
-<code winst> 
-[Actions] 
- 
-DefVar $ProductId$ 
-DefVar $UninstallCommand$ 
- 
-Set $ProductId$       = "pidgin" 
- 
-ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$ 
- 
-if FileExists("%ScriptPath%\delsub.ins") 
- comment "start uninstall" 
- sub "%ScriptPath%\delsub.ins" 
-endif 
-</code> 
- 
-==== delsub.ins ==== 
-<code winst> 
-set $UninstallCommand$ = GetRegistryStringValue32 ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Pidgin] UninstallString") 
-if not ($UninstallCommand$ = "") 
- Message "Found "+$ProductId$+" => uninstalling first" 
- killtask "pidgin.exe" 
- Winbatch_uninstall 
-endif 
- 
-[Winbatch_uninstall] 
- "$UninstallProgram$" /S 
-</code> 
  
userspace/pidgin.txt · Last modified: 2021/08/23 08:37 (external edit)