This shows you the differences between two versions of the page.
userspace:total_commander [2014/06/03 21:14] SisterOfMercy |
userspace:total_commander [2021/08/23 08:37] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Total Commander ====== | ||
- | Adaptation of the opsi-template scripts for Total Commander. \\ | ||
- | Get it here: http:// | ||
- | The last year or so I never had the need to use the 32-bit version on a 64-bit OS, so there is nothing implemented in the scripts for this option. Of course you can easily make a product property.\\ | ||
- | I downloaded the x86 and x64 versions seperately. Unpack these with Total Commander, and change the install.inf\\ | ||
- | You might also want to download a few plugins. I use an ISO plugin, a 7-zip plugin, the Imagine (lister) plugin, FTP over SSH plugins and several command-line winrar files.\\ | ||
- | ISO plugin: http:// | ||
- | Imagine 32-bit: http:// | ||
- | Imagine 64-bit: http:// | ||
- | 7-zip plugin: http:// | ||
- | SFTP plugin: http:// | ||
- | SSH libraries 32-bit: http:// | ||
- | SSH libraries 64-bit: http:// | ||
- | (why other/newer versions of these libraries do not work - no idea!) | ||
- | RAR 32-bit: http:// | ||
- | RAR 64-bit: http:// | ||
- | Do not install the rar files, just ' | ||
- | |||
- | |||
- | < | ||
- | Tree: | ||
- | |-- files | ||
- | | |-- x64 | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | |-- x86 | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | | ||
- | | |-- DEFAULT.BAR | ||
- | | |-- wcx_ftp.ini | ||
- | | `-- wincmd.ini | ||
- | |-- delsub3264.ins | ||
- | |-- total-commander.png | ||
- | |-- setup3264.ins | ||
- | `-- uninstall3264.ins | ||
- | </ | ||
- | |||
- | |||
- | In the wincmd.ini there is a Keypath=$ statement. This tells Total Commander to look in the registry for the wincmd.key, and not as a separate file. Look at the Registry_install section of setup3264.ins. Use the supplied wincmdkey2registry.vbs in combination with your wincmd.key and you get a .reg file.\\ | ||
- | This script is also available on the Total Commander forum. The reason we do this is to slightly obscure the wincmd.key so a luser can't just copy the key for his version at home.\\ | ||
- | Home users; do as I did, and get a personal license. It's only 32 euro, and with those iBan bank numbers the bank transfer is free. (they have a German bank account)\\ | ||
- | |||
- | |||
- | ==== wincmdkey2registry.vbs ==== | ||
- | |||
- | <code winst> | ||
- | If WScript.Arguments.Count > 0 Then | ||
- | Dim strFileIn | ||
- | |||
- | | ||
- | |||
- | | ||
- | " | ||
- | Chr(34) & " | ||
- | |||
- | | ||
- | End If | ||
- | |||
- | Function ReadFile(FileName) | ||
- | Dim Stream | ||
- | Dim byteFile | ||
- | Dim strHex | ||
- | Dim I | ||
- | |||
- | Set Stream = CreateObject(" | ||
- | Stream.Type = 1 ' Binary | ||
- | Stream.Open | ||
- | Stream.LoadFromFile FileName | ||
- | byteFile = Stream.Read | ||
- | Stream.Close | ||
- | |||
- | For I = 1 To LenB(byteFile) | ||
- | strHex = strHex & Hex(AscB(MidB(byteFile, | ||
- | |||
- | If I < LenB(byteFile) Then | ||
- | strHex = strHex & "," | ||
- | End if | ||
- | Next | ||
- | |||
- | ReadFile = strHex | ||
- | End Function | ||
- | |||
- | Sub WriteFile(FileName, | ||
- | Dim myFSO, WriteStuff | ||
- | |||
- | Set myFSO = CreateObject(" | ||
- | Set WriteStuff = myFSO.OpenTextFile(FileName, | ||
- | WriteStuff.WriteLine(Content) | ||
- | WriteStuff.Close | ||
- | SET WriteStuff = Nothing | ||
- | SET myFSO = Nothing | ||
- | |||
- | MsgBox "'" | ||
- | End Sub | ||
- | </ | ||
- | |||
- | ==== INSTALL.INF (32-bit) ==== | ||
- | |||
- | <code winst> | ||
- | [Installation] | ||
- | program=Total Commander | ||
- | progver=8.50 | ||
- | progvermajor=8 | ||
- | progverminor=5019 | ||
- | progname=Total Commander | ||
- | copyright=Copyright ยฉ 1993-2014 by Christian Ghisler, All Rights reserved | ||
- | url=http:// | ||
- | publisher=Ghisler Software GmbH | ||
- | updatecheck=totalcmd.exe | ||
- | // User for shortcut creation: Blank for current user, * for all users | ||
- | UserName=* | ||
- | |||
- | [auto] | ||
- | // Set auto=1 for automatic installation, | ||
- | auto=1 | ||
- | hidden=1 | ||
- | lang=1 | ||
- | alllang=0 | ||
- | iniloc= | ||
- | iniall=1 | ||
- | mkgroup=0 | ||
- | mkdesktop=0 | ||
- | // set userforicons=* for all users, empty=current user, or give user name | ||
- | userforicons= | ||
- | |||
- | [Versioncheck] | ||
- | Vernum=2 | ||
- | |||
- | [Not running] | ||
- | 1=WINDOWSCMD, | ||
- | 2=TTOTAL_CMD, | ||
- | 3=TTOTAL_CMD.UnicodeClass, | ||
- | 4=TApplication, | ||
- | 5=TApplication, | ||
- | 6=TApplication, | ||
- | |||
- | [Destination] | ||
- | Dir=%ProgramFiles%\totalcmd | ||
- | Ini=wincmd.ini, | ||
- | |||
- | [Languages] | ||
- | Count=18 | ||
- | Default=1 | ||
- | 1=English | ||
- | 2=Deutsch (German),d | ||
- | 3=Franรงais (French),f | ||
- | 4=รรณรฑรฑรชรจรฉ (Russian),u | ||
- | 5=Nederlands (Dutch),n | ||
- | 6=Dansk (Danish),k | ||
- | 7=Norsk (Norwegian), | ||
- | 8=Italiano (Italian),i | ||
- | 9=Svenska (Swedish),s | ||
- | 10=Espaรฑol (Spanish),e | ||
- | 11=รeskรฝ (Czech),z | ||
- | 12=Polski (Polish),p | ||
- | 13=Magyar (Hungarian), | ||
- | 14=Slovenskรฝ (Slovak),y | ||
- | 15=Slovenski (Slovene),l | ||
- | 16=รรยฑยนยพรฎ (Korean),r | ||
- | 17=ยผรฒรรฅรรรร (Simplified Chinese),c | ||
- | 18=Romรขnรฃ (Romanian), | ||
- | |||
- | [locale] | ||
- | 0406=k | ||
- | 0413=n | ||
- | 040c=f | ||
- | 140c=f | ||
- | 080c=f | ||
- | 0c0c=f | ||
- | 100c=f | ||
- | 180c=f | ||
- | 0407=d | ||
- | 1407=d | ||
- | 1007=d | ||
- | 0807=d | ||
- | 0c07=d | ||
- | 0410=i | ||
- | 0810=i | ||
- | 0414=o | ||
- | 0814=o | ||
- | 041D=s | ||
- | 2c0a=e | ||
- | 400a=e | ||
- | 340a=e | ||
- | 240a=e | ||
- | 140a=e | ||
- | 1c0a=e | ||
- | 300a=e | ||
- | 440a=e | ||
- | 100a=e | ||
- | 480a=e | ||
- | 080a=e | ||
- | 4c0a=e | ||
- | 180a=e | ||
- | 3c0a=e | ||
- | 280a=e | ||
- | 500a=e | ||
- | 040a=e | ||
- | 0c0a=e | ||
- | 380a=e | ||
- | 200a=e | ||
- | 0415=p | ||
- | 0405=z | ||
- | 041b=y | ||
- | 0424=l | ||
- | 040e=h | ||
- | 0418=m | ||
- | 0419=u | ||
- | 0412=r | ||
- | 0204=c | ||
- | 0304=c | ||
- | 0404=c | ||
- | 0504=c | ||
- | |||
- | [LangName] | ||
- | langdir=language | ||
- | 0=wcmd_eng | ||
- | d=wcmd_deu | ||
- | f=wcmd_fra | ||
- | n=wcmd_dut | ||
- | k=wcmd_dan | ||
- | o=wcmd_nor | ||
- | i=wcmd_ita | ||
- | s=wcmd_swe | ||
- | e=wcmd_esp | ||
- | z=wcmd_cz | ||
- | p=wcmd_pol | ||
- | h=wcmd_hun | ||
- | y=wcmd_sk | ||
- | l=wcmd_svn | ||
- | r=wcmd_kor | ||
- | m=wcmd_rom | ||
- | u=wcmd_rus | ||
- | c=wcmd_chn | ||
- | |||
- | ;Save data the user may have changed! | ||
- | [Backup data] | ||
- | 1=default.bar | ||
- | 2=no.bar | ||
- | |||
- | [Install] | ||
- | 1=install.cab, | ||
- | |||
- | [Installd] | ||
- | 1=install.cab, | ||
- | |||
- | [Desktop] | ||
- | 1=totalcmd.exe"," | ||
- | |||
- | [Group] | ||
- | Groupname=Total Commander | ||
- | 1=totalcmd.exe"," | ||
- | 2=totalcmd.chm"," | ||
- | 3=tcuninst.exe"," | ||
- | |||
- | [Groupd] | ||
- | Groupname=Total Commander | ||
- | 1=totalcmd.exe"," | ||
- | 2=totalcmd.chm"," | ||
- | 3=tcuninst.exe"," | ||
- | |||
- | [ini] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inid] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inif] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inin] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inik] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inio] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inii] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inis] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inie] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [iniz] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inip] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inih] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [iniy] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inil] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inir] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inim] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [iniu] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inic] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | </ | ||
- | |||
- | ==== INSTALL.INF (64-bit) ==== | ||
- | |||
- | <code winst> | ||
- | [Installation] | ||
- | program=Total Commander 64 bit | ||
- | progver=8.50 | ||
- | progvermajor=8 | ||
- | progverminor=5019 | ||
- | progname=Total Commander | ||
- | copyright=Copyright ยฉ 1993-2014 by Christian Ghisler, All Rights reserved | ||
- | url=http:// | ||
- | publisher=Ghisler Software GmbH | ||
- | updatecheck=totalcmd64.exe | ||
- | // User for shortcut creation: Blank for current user, * for all users, or give user name | ||
- | UserName=* | ||
- | |||
- | [auto] | ||
- | // Set auto=1 for automatic installation, | ||
- | auto=1 | ||
- | hidden=1 | ||
- | lang=1 | ||
- | alllang=0 | ||
- | iniloc= | ||
- | iniall=1 | ||
- | mkgroup=0 | ||
- | mkdesktop=0 | ||
- | |||
- | [Versioncheck] | ||
- | Vernum=2 | ||
- | |||
- | [Not running] | ||
- | 1=WINDOW, | ||
- | 2=TTOTAL_CMD, | ||
- | 3=TTOTAL_CMD.UnicodeClass, | ||
- | 4=TApplication, | ||
- | |||
- | [Destination] | ||
- | Dir=%ProgramFiles%\totalcmd | ||
- | Ini=wincmd.ini, | ||
- | |||
- | [Languages] | ||
- | Count=18 | ||
- | Default=1 | ||
- | 1=English | ||
- | 2=Deutsch (German),d | ||
- | 3=Franรงais (French),f | ||
- | 4=รรณรฑรฑรชรจรฉ (Russian),u | ||
- | 5=Nederlands (Dutch),n | ||
- | 6=Dansk (Danish),k | ||
- | 7=Norsk (Norwegian), | ||
- | 8=Italiano (Italian),i | ||
- | 9=Svenska (Swedish),s | ||
- | 10=Espaรฑol (Spanish),e | ||
- | 11=รeskรฝ (Czech),z | ||
- | 12=Polski (Polish),p | ||
- | 13=Magyar (Hungarian), | ||
- | 14=Slovenskรฝ (Slovak),y | ||
- | 15=Slovenski (Slovene),l | ||
- | 16=รรยฑยนยพรฎ (Korean),r | ||
- | 17=ยผรฒรรฅรรรร (Simplified Chinese),c | ||
- | 18=Romรขnรฃ (Romanian), | ||
- | |||
- | [locale] | ||
- | 0406=k | ||
- | 0413=n | ||
- | 040c=f | ||
- | 140c=f | ||
- | 080c=f | ||
- | 0c0c=f | ||
- | 100c=f | ||
- | 180c=f | ||
- | 0407=d | ||
- | 1407=d | ||
- | 1007=d | ||
- | 0807=d | ||
- | 0c07=d | ||
- | 0410=i | ||
- | 0810=i | ||
- | 0414=o | ||
- | 0814=o | ||
- | 041D=s | ||
- | 2c0a=e | ||
- | 400a=e | ||
- | 340a=e | ||
- | 240a=e | ||
- | 140a=e | ||
- | 1c0a=e | ||
- | 300a=e | ||
- | 440a=e | ||
- | 100a=e | ||
- | 480a=e | ||
- | 080a=e | ||
- | 4c0a=e | ||
- | 180a=e | ||
- | 3c0a=e | ||
- | 280a=e | ||
- | 500a=e | ||
- | 040a=e | ||
- | 0c0a=e | ||
- | 380a=e | ||
- | 200a=e | ||
- | 0415=p | ||
- | 0405=z | ||
- | 041b=y | ||
- | 0424=l | ||
- | 040e=h | ||
- | 0418=m | ||
- | 0419=u | ||
- | 0412=r | ||
- | 0204=c | ||
- | 0304=c | ||
- | 0404=c | ||
- | 0504=c | ||
- | |||
- | [LangName] | ||
- | langdir=language | ||
- | 0=wcmd_eng | ||
- | d=wcmd_deu | ||
- | f=wcmd_fra | ||
- | n=wcmd_dut | ||
- | k=wcmd_dan | ||
- | o=wcmd_nor | ||
- | i=wcmd_ita | ||
- | s=wcmd_swe | ||
- | e=wcmd_esp | ||
- | z=wcmd_cz | ||
- | p=wcmd_pol | ||
- | h=wcmd_hun | ||
- | y=wcmd_sk | ||
- | l=wcmd_svn | ||
- | r=wcmd_kor | ||
- | m=wcmd_rom | ||
- | u=wcmd_rus | ||
- | c=wcmd_chn | ||
- | |||
- | ;Save data the user may have changed! | ||
- | [Backup data] | ||
- | 1=default.bar | ||
- | 2=no.bar | ||
- | |||
- | [Install] | ||
- | 1=install.cab, | ||
- | |||
- | [Installd] | ||
- | 1=install.cab, | ||
- | |||
- | [Desktop] | ||
- | 1=totalcmd64.exe"," | ||
- | |||
- | [Group] | ||
- | Groupname=Total Commander | ||
- | 1=totalcmd64.exe"," | ||
- | 2=totalcmd.chm"," | ||
- | 3=tcunin64.exe"," | ||
- | |||
- | [Groupd] | ||
- | Groupname=Total Commander | ||
- | 1=totalcmd64.exe"," | ||
- | 2=totalcmd.chm"," | ||
- | 3=tcunin64.exe"," | ||
- | |||
- | [ini] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inid] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inif] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inin] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inik] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inio] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inii] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inis] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inie] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [iniz] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inip] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inih] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [iniy] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inil] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inir] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inim] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [iniu] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | |||
- | [inic] | ||
- | 1=wincmd.ini, | ||
- | 2=wincmd.ini, | ||
- | </ | ||
- | |||
- | ==== DEFAULT.BAR ==== | ||
- | |||
- | <code winst> | ||
- | [Buttonbar] | ||
- | Buttoncount=0 | ||
- | </ | ||
- | |||
- | |||
- | ==== wcx_ftp.ini ==== | ||
- | |||
- | <code winst> | ||
- | [General] | ||
- | ConnectRetries=10 | ||
- | WaitDelay=5 | ||
- | transfermode=I | ||
- | LogFile= | ||
- | FtpInBackground=0 | ||
- | ModeZ=1 | ||
- | AutoResume=30 | ||
- | [default] | ||
- | pasvmode=1 | ||
- | </ | ||
- | |||
- | |||
- | ==== wincmd.ini ==== | ||
- | |||
- | <code winst> | ||
- | [Configuration] | ||
- | FirstTime=0 | ||
- | Keypath=$ | ||
- | ButtonBar=0 | ||
- | ShowHiddenSystem=1 | ||
- | Showicons=1 | ||
- | ShowEXEandLNKicons=0 | ||
- | TrayIcon=1 | ||
- | Savepath=0 | ||
- | Savepanels=0 | ||
- | CountSpace=1 | ||
- | CountMarked=0 | ||
- | AltSearch=1 | ||
- | FirstTimeUnpack=0 | ||
- | FirstTimeZIP=0 | ||
- | pluginbasedir=C: | ||
- | [Packer] | ||
- | InternalZipRate=9 | ||
- | RAR=%COMMANDER_PATH%\plugins\wcx\rar\rar.exe | ||
- | [Colors] | ||
- | InverseCursor=1 | ||
- | [Layout] | ||
- | maximized=1 | ||
- | [PackerPlugins] | ||
- | iso=192, | ||
- | nrg=192, | ||
- | img=192, | ||
- | mdf=192, | ||
- | 7z=223, | ||
- | [ListerPlugins] | ||
- | 0=%COMMANDER_PATH%\plugins\wlx\Imagine\Imagine.wlx | ||
- | 0_detect=" | ||
- | [FileSystemPlugins] | ||
- | Secure FTP=%COMMANDER_PATH%\plugins\wfx\sftpplug\sftpplug.wfx | ||
- | [Lister] | ||
- | ShrinkBitmap=2 | ||
- | Maximized=1 | ||
- | CenterBitmap=1 | ||
- | [Tabstops] | ||
- | 0=177 | ||
- | 1=179 | ||
- | 3=238 | ||
- | 4=115 | ||
- | 6=528 | ||
- | 5=93 | ||
- | AdjustWidth=1 | ||
- | </ | ||
- | |||
- | |||
- | ==== control file ==== | ||
- | |||
- | <code winst> | ||
- | [Package] | ||
- | version: 3 | ||
- | depends: | ||
- | incremental: | ||
- | |||
- | [Product] | ||
- | type: localboot | ||
- | id: total-commander | ||
- | name: Total Commander | ||
- | description: | ||
- | advice: | ||
- | version: 8.51a | ||
- | priority: 70 | ||
- | licenseRequired: | ||
- | productClasses: | ||
- | setupScript: | ||
- | uninstallScript: | ||
- | updateScript: | ||
- | alwaysScript: | ||
- | onceScript: | ||
- | customScript: | ||
- | userLoginScript: | ||
- | |||
- | [Changelog] | ||
- | total-commander (8.50-1) testing; urgency=low | ||
- | |||
- | * Initial package | ||
- | |||
- | -- ICT < | ||
- | </ | ||
- | |||
- | |||
- | ==== setup3264.ins ==== | ||
- | |||
- | <code winst> | ||
- | ; Copyright (c) uib gmbh (www.uib.de) | ||
- | ; This sourcecode is owned by uib | ||
- | ; and published under the Terms of the General Public License. | ||
- | ; credits: http:// | ||
- | ; | ||
- | ; License Management removed | ||
- | |||
- | |||
- | [Actions] | ||
- | requiredWinstVersion >= " | ||
- | |||
- | ;DefVar $MsiId32$ | ||
- | ;DefVar $UninstallProgram32$ | ||
- | ;DefVar $MsiId64$ | ||
- | ;DefVar $UninstallProgram64$ | ||
- | DefVar $LogDir$ | ||
- | DefVar $ProductId$ | ||
- | DefVar $MinimumSpace$ | ||
- | DefVar $InstallDir32$ | ||
- | DefVar $InstallDir64$ | ||
- | DefVar $ExitCode$ | ||
- | DefVar $INST_SystemType$ | ||
- | ;DefVar $INST_architecture$ | ||
- | DefVar $INST_MsVersion$ | ||
- | |||
- | set $INST_MsVersion$ = GetMsVersionInfo | ||
- | Set $INST_SystemType$ = GetSystemType | ||
- | ;set $INST_architecture$ = GetProductProperty(" | ||
- | Set $LogDir$ = " | ||
- | |||
- | ; ---------------------------------------------------------------- | ||
- | ; - Please edit the following values | ||
- | ; ---------------------------------------------------------------- | ||
- | ; | ||
- | ; therefore please: only lower letters, no umlauts, | ||
- | ; no white space use ' | ||
- | Set $ProductId$ | ||
- | Set $MinimumSpace$ | ||
- | ; the path were we find the product after the installation | ||
- | Set $InstallDir32$ | ||
- | Set $InstallDir64$ | ||
- | ; ---------------------------------------------------------------- | ||
- | |||
- | if not(HasMinimumSpace (" | ||
- | LogError "Not enough space on %SystemDrive%, | ||
- | isFatalError | ||
- | ; Stop process and set installation status to failed | ||
- | endif | ||
- | if $INST_MsVersion$ < " | ||
- | LogError " | ||
- | isFatalError | ||
- | endif | ||
- | |||
- | comment "Show product picture" | ||
- | ShowBitmap " | ||
- | |||
- | if FileExists(" | ||
- | comment "Start uninstall sub section" | ||
- | Sub " | ||
- | endif | ||
- | |||
- | comment " | ||
- | |||
- | if ($INST_SystemType$ = "x86 System" | ||
- | ;and ($INST_architecture$ = " | ||
- | Message " | ||
- | comment "Start setup program" | ||
- | Winbatch_install_32 | ||
- | Sub_check_exitcode | ||
- | comment "Copy files" | ||
- | Files_install_32 /32Bit | ||
- | Files_install_AllProfiles / | ||
- | comment "Patch Registry" | ||
- | Registry_install /32Bit | ||
- | Registry_install_AllProfiles / | ||
- | comment " | ||
- | LinkFolder_install_32 | ||
- | endif | ||
- | |||
- | if ($INST_SystemType$ = "64 Bit System" | ||
- | ;and (($INST_architecture$ = " | ||
- | Message " | ||
- | comment "Start setup program" | ||
- | Winbatch_install_64 | ||
- | Sub_check_exitcode | ||
- | comment "Copy files" | ||
- | Files_install_64 /64Bit | ||
- | Files_install_AllProfiles / | ||
- | comment "Patch Registry" | ||
- | Registry_install /64Bit | ||
- | Registry_install_AllProfiles / | ||
- | comment " | ||
- | LinkFolder_install_64 | ||
- | endif | ||
- | |||
- | |||
- | [Winbatch_install_32] | ||
- | " | ||
- | |||
- | [Files_install_32] | ||
- | copy -s " | ||
- | copy " | ||
- | copy -s " | ||
- | |||
- | [Winbatch_install_64] | ||
- | " | ||
- | |||
- | [Files_install_64] | ||
- | copy -s " | ||
- | copy " | ||
- | copy -s " | ||
- | |||
- | [Files_install_AllProfiles] | ||
- | copy " | ||
- | copy -n " | ||
- | ; Dit nog aanpassen-> | ||
- | |||
- | [Registry_install] | ||
- | openkey [HKEY_LOCAL_MACHINE\Software\Ghisler\Total Commander] | ||
- | set " | ||
- | |||
- | [Registry_install_AllProfiles] | ||
- | ; Remove stored start menu order | ||
- | deletekey [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu] | ||
- | |||
- | |||
- | [LinkFolder_install_32] | ||
- | set_basefolder common_programs | ||
- | set_subfolder Total Commander | ||
- | set_link | ||
- | name: Total Commander | ||
- | target: " | ||
- | parameters: | ||
- | working_dir: | ||
- | icon_file: " | ||
- | icon_index: | ||
- | end_link | ||
- | |||
- | set_link | ||
- | name: Total Commander Help | ||
- | target: " | ||
- | parameters: | ||
- | working_dir: | ||
- | icon_file: " | ||
- | icon_index: | ||
- | end_link | ||
- | |||
- | set_link | ||
- | name: Uninstall or Repair Total Commander | ||
- | target: " | ||
- | parameters: | ||
- | working_dir: | ||
- | icon_file: " | ||
- | icon_index: | ||
- | end_link | ||
- | |||
- | set_basefolder common_desktopdirectory | ||
- | set_subfolder "" | ||
- | set_link | ||
- | name: Total Commander | ||
- | target: " | ||
- | parameters: | ||
- | working_dir: | ||
- | icon_file: " | ||
- | icon_index: | ||
- | end_link | ||
- | |||
- | [LinkFolder_install_64] | ||
- | set_basefolder common_programs | ||
- | set_subfolder Total Commander | ||
- | set_link | ||
- | name: Total Commander 64 Bit | ||
- | target: " | ||
- | parameters: | ||
- | working_dir: | ||
- | icon_file: " | ||
- | icon_index: | ||
- | end_link | ||
- | |||
- | set_link | ||
- | name: Total Commander Help | ||
- | target: " | ||
- | parameters: | ||
- | working_dir: | ||
- | icon_file: " | ||
- | icon_index: | ||
- | end_link | ||
- | |||
- | set_link | ||
- | name: Uninstall or Repair Total Commander | ||
- | target: " | ||
- | parameters: | ||
- | working_dir: | ||
- | icon_file: " | ||
- | icon_index: | ||
- | end_link | ||
- | |||
- | set_basefolder common_desktopdirectory | ||
- | set_subfolder "" | ||
- | set_link | ||
- | name: Total Commander 64 Bit | ||
- | target: " | ||
- | parameters: | ||
- | working_dir: | ||
- | icon_file: " | ||
- | icon_index: | ||
- | end_link | ||
- | |||
- | [Sub_check_exitcode] | ||
- | comment "Test for installation success via exit code" | ||
- | set $ExitCode$ = getLastExitCode | ||
- | ; informations to exit codes see | ||
- | ; http:// | ||
- | ; http:// | ||
- | if ($ExitCode$ = " | ||
- | comment "Looks good: setup program gives exitcode zero" | ||
- | else | ||
- | comment "Setup program gives a exitcode unequal zero: " + $ExitCode$ | ||
- | if ($ExitCode$ = " | ||
- | comment " | ||
- | comment " | ||
- | else | ||
- | if ($ExitCode$ = " | ||
- | comment "looks good: setup program gives exitcode 1641" | ||
- | comment " | ||
- | else | ||
- | if ($ExitCode$ = " | ||
- | comment "looks good: setup program gives exitcode 3010" | ||
- | comment " | ||
- | else | ||
- | logError " | ||
- | isFatalError | ||
- | endif | ||
- | endif | ||
- | endif | ||
- | endif | ||
- | </ | ||
- | |||
- | ==== uninstall3264.ins ==== | ||
- | |||
- | <code winst> | ||
- | ; Copyright (c) uib gmbh (www.uib.de) | ||
- | ; This sourcecode is owned by uib gmbh | ||
- | ; and published under the Terms of the General Public License. | ||
- | ; credits: http:// | ||
- | ; | ||
- | ; License Management removed | ||
- | |||
- | [Actions] | ||
- | requiredWinstVersion >= " | ||
- | |||
- | ;DefVar $MsiId32$ | ||
- | ;DefVar $UninstallProgram32$ | ||
- | ;DefVar $MsiId64$ | ||
- | ;DefVar $UninstallProgram64$ | ||
- | DefVar $LogDir$ | ||
- | DefVar $ExitCode$ | ||
- | DefVar $ProductId$ | ||
- | DefVar $InstallDir32$ | ||
- | DefVar $InstallDir64$ | ||
- | DefVar $INST_SystemType$ | ||
- | ;DefVar $INST_architecture$ | ||
- | |||
- | Set $INST_SystemType$ = GetSystemType | ||
- | ;set $INST_architecture$ = GetProductProperty(" | ||
- | |||
- | |||
- | Set $LogDir$ = " | ||
- | |||
- | ; ---------------------------------------------------------------- | ||
- | ; - Please edit the following values | ||
- | ; ---------------------------------------------------------------- | ||
- | Set $ProductId$ | ||
- | Set $InstallDir32$ | ||
- | Set $InstallDir64$ | ||
- | ; ---------------------------------------------------------------- | ||
- | |||
- | |||
- | comment "Show product picture" | ||
- | ShowBitmap " | ||
- | |||
- | Message " | ||
- | |||
- | if FileExists(" | ||
- | comment "Start uninstall sub section" | ||
- | Sub " | ||
- | endif | ||
- | </ | ||
- | |||
- | ==== delsub3264.ins ==== | ||
- | |||
- | <code winst> | ||
- | ; Copyright (c) uib gmbh (www.uib.de) | ||
- | ; This sourcecode is owned by uib gmbh | ||
- | ; and published under the Terms of the General Public License. | ||
- | ; credits: http:// | ||
- | ; | ||
- | ; License Management removed | ||
- | DefVar $UninstallProgram32$ | ||
- | DefVar $UninstallProgram64$ | ||
- | |||
- | Set $UninstallProgram32$ = $InstallDir32$ + " | ||
- | Set $UninstallProgram64$ = $InstallDir64$ + " | ||
- | |||
- | if ($INST_SystemType$ = "x86 System" | ||
- | ;and ($INST_architecture$ = " | ||
- | Message " | ||
- | |||
- | if FileExists($UninstallProgram32$) | ||
- | comment " | ||
- | Winbatch_uninstall_32 | ||
- | sub_check_exitcode | ||
- | endif | ||
- | |||
- | ; if not (GetRegistryStringValue32(" | ||
- | ; comment "MSI id " + $MsiId32$ + " found in registry, starting msiexec to uninstall" | ||
- | ; | ||
- | ; | ||
- | ; endif | ||
- | |||
- | comment " | ||
- | Files_uninstall_32 /32Bit | ||
- | comment " | ||
- | Registry_uninstall /32Bit | ||
- | comment " | ||
- | LinkFolder_uninstall_32 | ||
- | endif | ||
- | |||
- | if ($INST_SystemType$ = "64 Bit System" | ||
- | ;and (($INST_architecture$ = " | ||
- | Message " | ||
- | |||
- | if FileExists($UninstallProgram64$) | ||
- | comment " | ||
- | Winbatch_uninstall_64 | ||
- | sub_check_exitcode | ||
- | endif | ||
- | |||
- | ; if not (GetRegistryStringValue64(" | ||
- | ; comment "MSI id " + $MsiId64$ + " found in registry, starting msiexec to uninstall" | ||
- | ; | ||
- | ; | ||
- | ; endif | ||
- | |||
- | comment " | ||
- | Files_uninstall_64 /64Bit | ||
- | comment " | ||
- | Registry_uninstall /64Bit | ||
- | comment " | ||
- | LinkFolder_uninstall_64 | ||
- | endif | ||
- | |||
- | |||
- | [Winbatch_uninstall_32] | ||
- | " | ||
- | |||
- | [Files_uninstall_32] | ||
- | delete -sf " | ||
- | |||
- | [Winbatch_uninstall_64] | ||
- | " | ||
- | |||
- | [Files_uninstall_64] | ||
- | delete -sf " | ||
- | |||
- | [Registry_uninstall] | ||
- | deletekey [HKEY_LOCAL_MACHINE\Software\Ghisler\Total Commander] | ||
- | |||
- | [LinkFolder_uninstall_32] | ||
- | set_basefolder common_programs | ||
- | delete_subfolder Total Commander | ||
- | |||
- | set_basefolder common_desktopdirectory | ||
- | set_subfolder "" | ||
- | delete_element Total Commander | ||
- | |||
- | [LinkFolder_uninstall_64] | ||
- | set_basefolder common_programs | ||
- | delete_subfolder Total Commander | ||
- | |||
- | set_basefolder common_desktopdirectory | ||
- | set_subfolder "" | ||
- | delete_element Total Commander 64 Bit | ||
- | |||
- | [Sub_check_exitcode] | ||
- | comment "Test for installation success via exit code" | ||
- | set $ExitCode$ = getLastExitCode | ||
- | ; informations to exit codes see | ||
- | ; http:// | ||
- | ; http:// | ||
- | if ($ExitCode$ = " | ||
- | comment "Looks good: setup program gives exitcode zero" | ||
- | else | ||
- | comment "Setup program gives a exitcode unequal zero: " + $ExitCode$ | ||
- | if ($ExitCode$ = " | ||
- | comment " | ||
- | comment " | ||
- | else | ||
- | if ($ExitCode$ = " | ||
- | comment "looks good: setup program gives exitcode 1641" | ||
- | comment " | ||
- | else | ||
- | if ($ExitCode$ = " | ||
- | comment "looks good: setup program gives exitcode 3010" | ||
- | comment " | ||
- | else | ||
- | logError " | ||
- | isFatalError | ||
- | endif | ||
- | endif | ||
- | endif | ||
- | endif | ||
- | </ |