New MSI Based Texmaker viewer package

This commit is contained in:
Mario Fetka 2012-01-19 21:39:11 +01:00
parent e565b04aa1
commit a7cdbd0617
9 changed files with 419 additions and 46 deletions

View File

@ -1,14 +0,0 @@
@echo off
SETLOCAL
SET SC=HKLM\SOFTWARE\Classes
SET Extn=tmd tmv doc dot docx docm dotx dotm odt ott sxw xtw rtf
FOR %%j IN (%Extn%) DO (
REG ADD %SC%\.%%j /VE /D "TextMakerViewer.%%j" /F
REG ADD %SC%\TextMakerViewer.%%j /VE /D "TextMaker Viewer" /F
REG ADD %SC%\TextMakerViewer.%%j\DefaultIcon /VE /D "\"%PROGRAMFILES%\SoftMaker Viewer\TextMaker/TMViewer.exe\"" /F
REG ADD %SC%\TextMakerViewer.%%j\shell\open\command /VE /D "\"%PROGRAMFILES%\SoftMaker Viewer\TextMaker/TMViewer.exe\" \"%%1\"" /F
)
ENDLOCAL
exit

View File

@ -4,7 +4,7 @@
; credits: http://www.opsi.org/credits/
Set $MsiId$ = '{AC76BA86-7AD7-1031-7B44-AA1000000001}'
Set $MsiId$ = '{6CA72632-1857-4859-B57D-4BAC6E53C052}'
Set $UninstallProgram$ = $InstallDir$ + "\uninstall.exe"
Message "Uninstalling " + $ProductId$ + " ..."
@ -40,12 +40,12 @@ LinkFolder_uninstall
[Winbatch_uninstall_msi]
; msiexec /x $MsiId$ /qb! REBOOT=ReallySuppress
msiexec /x $MsiId$ /qb! REBOOT=ReallySuppress
[Files_uninstall]
; Example for recursively deleting the installation directory (don't forget the trailing backslash):
;
delete -sf "$InstallDir$\"
; delete -sf "$InstallDir$\"
[Registry_uninstall]
; Example of deleting a registry key:
@ -55,8 +55,8 @@ delete -sf "$InstallDir$\"
[LinkFolder_uninstall]
; Example of deleting a folder from AllUsers startmenu:
;
set_basefolder common_programs
delete_subfolder SoftMaker
; set_basefolder common_programs
; delete_subfolder $ProductId$
;
; Example of deleting a shortcut from AllUsers desktop:
;

View File

@ -26,9 +26,9 @@ Set $LogDir$ = "%SystemDrive%\tmp"
; therefore please: only lower letters, no umlauts,
; no white space use '-' as a seperator
Set $ProductId$ = "tmviewer"
Set $MinimumSpace$ = "150 MB"
Set $MinimumSpace$ = "30 MB"
; the path were we find the product after the installation
Set $InstallDir$ = "%ProgramFiles32Dir%\SoftMaker Viewer\TextMaker\"
Set $InstallDir$ = "%ProgramFiles32Dir%\SoftMaker Viewer\TextMaker"
Set $LicenseRequired$ = "false"
Set $LicensePool$ = "p_" + $ProductId$
; ----------------------------------------------------------------
@ -60,6 +60,10 @@ else
comment "Copy files"
Files_install /32Bit
comment "Patching Config Files"
Patches_install "$InstallDir$" + "\SoftMaker\Settings\tmv10config.ini"
comment "Patch Registry"
Registry_install /32Bit
@ -83,14 +87,17 @@ endif
;
; === MSI package =======================================================================================
; You may use the parameter PIDKEY=$Licensekey$
;msiexec /i "%ScriptPath%\X86FILE" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=2 REBOOT=ReallySuppress EULA_ACCEPT=YES
msiexec /i "%ScriptPath%\X86FILE" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=2 REBOOT=ReallySuppress
;
"%ScriptPath%\associate.cmd"
[Files_install]
; Example of recursively copying some files into the installation directory:
;
copy -s "%ScriptPath%\files\*.*" "$InstallDir$"
; copy -s "%ScriptPath%\files\*.*" "$InstallDir$"
[Patches_install]
set [Ignore] OEMRegisterSkip=-1
[Registry_install]
; Example of setting some values of an registry key:
@ -108,17 +115,17 @@ copy -s "%ScriptPath%\files\*.*" "$InstallDir$"
;
; Example of creating an shortcut to the installed exe in AllUsers startmenu:
;
set_basefolder common_programs
set_subfolder SoftMaker
set_link
name: TextMaker Viewer
target: "$InstallDir$\TMViewer.exe"
parameters:
working_dir: $InstallDir$
icon_file: "$InstallDir$\TMViewer.exe"
icon_index: 1
end_link
; set_basefolder common_programs
; set_subfolder $ProductId$
;
; set_link
; name: $ProductId$
; target: <path to the program>
; parameters:
; working_dir: $InstallDir$
; icon_file:
; icon_index:
; end_link
;
; Example of creating an shortcut to the installed exe on AllUsers desktop:
;

View File

@ -21,7 +21,7 @@ Set $LogDir$ = "%SystemDrive%\tmp"
; - Please edit the following values -
; ----------------------------------------------------------------
Set $ProductId$ = "tmviewer"
Set $InstallDir$ = "%ProgramFiles32Dir%\SoftMaker Viewer\TextMaker\"
Set $InstallDir$ = "%ProgramFiles32Dir%\SoftMaker Viewer\TextMaker"
Set $LicenseRequired$ = "false"
Set $LicensePool$ = "p_" + $ProductId$
; ----------------------------------------------------------------

View File

@ -0,0 +1 @@
a7b0f9b48a69b2868382fed95c8afbaa764026b9 /usr/portage/distfiles/SoftMaker-Logo.png_medium.png

View File

@ -0,0 +1 @@
e2b4e120689b18ade0ad2939b69043714423c282 /usr/portage/distfiles/TextMakerViewer2010.msi

382
TextMakerViewer2010.wxs Normal file
View File

@ -0,0 +1,382 @@
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Product Id="6CA72632-1857-4859-B57D-4BAC6E53C052" Name="SoftMaker TextMaker Viewer 2010" Language="1033" Version="2.0.10.591" Manufacturer="SoftMaker Software GmbH" UpgradeCode="DBDCB0C9-8380-4ABC-850E-58C45B212C1E">
<Package Description="SoftMaker TextMaker Viewer 2010" Comments="SoftMaker TextMaker Viewer 2010" InstallerVersion="200" Compressed="yes" />
<Media Id="1" Cabinet="textmaker.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="PFiles">
<Directory Name="SoftMaker Viewer" Id="SOFTMAKER">
<Directory Id="TEXTMAKERVIEWER" Name="TextMaker">
<Component Id="BKSM.GIF" DiskId="1" Guid="29713640-F190-469D-B11C-FBE5B0FCA751">
<File Id="BKSM.GIF" Name="bksm.gif" Source="bksm.gif" />
</Component>
<Component Id="BULGAR.HYN" DiskId="1" Guid="AA51CAA7-2B09-45E2-9500-79D5AE544843">
<File Id="BULGAR.HYN" Name="bulgar.hyn" Source="bulgar.hyn" />
</Component>
<Component Id="BULLET.GIF" DiskId="1" Guid="B72A0331-F09F-4591-ADB0-AF076858EA5D">
<File Id="BULLET.GIF" Name="bullet.gif" Source="bullet.gif" />
</Component>
<Component Id="CROAT.HYN" DiskId="1" Guid="65A21DA0-9567-4E64-B80E-EDDD262C704E">
<File Id="CROAT.HYN" Name="croat.hyn" Source="croat.hyn" />
</Component>
<Component Id="CZECH.HYN" DiskId="1" Guid="E335AAE4-F810-440E-B5ED-60D257ACA49E">
<File Id="CZECH.HYN" Name="czech.hyn" Source="czech.hyn" />
</Component>
<Component Id="DANISH.HYN" DiskId="1" Guid="E1A6E4C9-9565-4285-8BB4-F92ACC4D16DF">
<File Id="DANISH.HYN" Name="danish.hyn" Source="danish.hyn" />
</Component>
<Component Id="DESKSML.JPG" DiskId="1" Guid="52924236-2947-484E-8054-9B1046A2ED0B">
<File Id="DESKSML.JPG" Name="desksml.jpg" Source="desksml.jpg" />
</Component>
<Component Id="DUTCH.HYN" DiskId="1" Guid="930AAF0C-2CAE-4C0D-8DA4-5E05B7992835">
<File Id="DUTCH.HYN" Name="dutch.hyn" Source="dutch.hyn" />
</Component>
<Component Id="ESTON.HYN" DiskId="1" Guid="FDD5F045-B868-44FC-9D05-D9D2E585D26B">
<File Id="ESTON.HYN" Name="eston.hyn" Source="eston.hyn" />
</Component>
<Component Id="FINNISH.HYN" DiskId="1" Guid="836B3B8B-7EA6-4D89-BE82-58579147CF29">
<File Id="FINNISH.HYN" Name="finnish.hyn" Source="finnish.hyn" />
</Component>
<Component Id="FRENCH.HYN" DiskId="1" Guid="030BD85D-8A7C-4DC2-82EA-2BCA59402409">
<File Id="FRENCH.HYN" Name="french.hyn" Source="french.hyn" />
</Component>
<Component Id="GERMAN.HYN" DiskId="1" Guid="75D186F1-7B9D-4A86-BA05-64101831E668">
<File Id="GERMAN.HYN" Name="german.hyn" Source="german.hyn" />
</Component>
<Component Id="GREEK.HYN" DiskId="1" Guid="8F45BCFA-6A11-4802-B51F-482F736E12EF">
<File Id="GREEK.HYN" Name="greek.hyn" Source="greek.hyn" />
</Component>
<Component Id="HUNGARY.HYN" DiskId="1" Guid="FE668095-0CAC-442E-8E9A-3F5FD7AD8A8F">
<File Id="HUNGARY.HYN" Name="hungary.hyn" Source="hungary.hyn" />
</Component>
<Component Id="INDEX.HTM" DiskId="1" Guid="05E6CF94-3FF9-47F5-A3DA-312FE561A6EB">
<File Id="INDEX.HTM" Name="index.htm" Source="index.htm" />
</Component>
<Component Id="INDEX_DE.HTM" DiskId="1" Guid="6596A659-1CA1-4AB0-80E6-634F3982A708">
<File Id="INDEX_DE.HTM" Name="index_de.htm" Source="index_de.htm" />
</Component>
<Component Id="ITALIAN.HYN" DiskId="1" Guid="07F6EF01-218E-450C-995D-0A938C070F26">
<File Id="ITALIAN.HYN" Name="italian.hyn" Source="italian.hyn" />
</Component>
<Component Id="LATVIAN.HYN" DiskId="1" Guid="03273FFA-D297-4049-80C1-6C080F8834F8">
<File Id="LATVIAN.HYN" Name="latvian.hyn" Source="latvian.hyn" />
</Component>
<Component Id="LICENSE.DAT" DiskId="1" Guid="5FC98672-C92C-44E4-8316-2C9EF7CB6428">
<File Id="LICENSE.DAT" Name="license.dat" Source="license.dat" />
</Component>
<Component Id="LIESMICH.TXT" DiskId="1" Guid="36C11B78-4AE5-41C2-89B5-8D9C2AD863CF">
<File Id="LIESMICH.TXT" Name="liesmich.txt" Source="liesmich.txt" />
</Component>
<Component Id="LITH.HYN" DiskId="1" Guid="ABE493DD-108B-4CFF-8E73-CA3AC060BD2C">
<File Id="LITH.HYN" Name="lith.hyn" Source="lith.hyn" />
</Component>
<Component Id="LIZENZ.DAT" DiskId="1" Guid="CC7AAB6F-6BCE-4E08-9837-4B689F409E37">
<File Id="LIZENZ.DAT" Name="lizenz.dat" Source="lizenz.dat" />
</Component>
<Component Id="NORWAY.HYN" DiskId="1" Guid="8AE57C87-B911-441B-8DE9-A74AD38A4F6F">
<File Id="NORWAY.HYN" Name="norway.hyn" Source="norway.hyn" />
</Component>
<Component Id="OFFICE3.JPG" DiskId="1" Guid="520C8295-CD48-42E9-AF8A-A8ED28C014F7">
<File Id="OFFICE3.JPG" Name="office3.jpg" Source="office3.jpg" />
</Component>
<Component Id="OVRES10.DLL" DiskId="1" Guid="C11DB10C-C64A-489D-824F-75FA974DF349">
<File Id="OVRES10.DLL" Name="ovres10.dll" Source="ovres10.dll" />
</Component>
<Component Id="POLISH.HYN" DiskId="1" Guid="2A493D09-276E-4BE2-98E2-45E5A6CFADFA">
<File Id="POLISH.HYN" Name="polish.hyn" Source="polish.hyn" />
</Component>
<Component Id="PORT.HYN" DiskId="1" Guid="3C5FA6F8-87D2-45C1-A674-78A3A38D9DA5">
<File Id="PORT.HYN" Name="port.hyn" Source="port.hyn" />
</Component>
<Component Id="PORTABLE.TXT" DiskId="1" Guid="42EAB92C-19C3-4840-890D-F75BEEDD17AB">
<File Id="PORTABLE.TXT" Name="portable.txt" Source="portable.txt" />
</Component>
<Component Id="README.TXT" DiskId="1" Guid="18318EC0-AAEA-42AF-9631-5252220873A1">
<File Id="README.TXT" Name="readme.txt" Source="readme.txt" />
</Component>
<Component Id="REGISTER.HTM" DiskId="1" Guid="2A44444A-8A19-4FEE-A342-7C132E6DD202">
<File Id="REGISTER.HTM" Name="register.htm" Source="register.htm" />
</Component>
<Component Id="REGISTER_DE.HTM" DiskId="1" Guid="7F123CAE-DBBC-40DB-8BA1-50A9FB205FE5">
<File Id="REGISTER_DE.HTM" Name="register_de.htm" Source="register_de.htm" />
</Component>
<Component Id="RGERMAN.HYN" DiskId="1" Guid="AFFC3627-AAEC-4E30-A4B5-AF92583BDB3B">
<File Id="RGERMAN.HYN" Name="rgerman.hyn" Source="rgerman.hyn" />
</Component>
<Component Id="ROMAN.HYN" DiskId="1" Guid="4881A050-3682-4E65-B2DD-BE94257EE97A">
<File Id="ROMAN.HYN" Name="roman.hyn" Source="roman.hyn" />
</Component>
<Component Id="RUSSIAN.HYN" DiskId="1" Guid="DA49E7B9-18CB-4964-B887-BE2A02B24C8A">
<File Id="RUSSIAN.HYN" Name="russian.hyn" Source="russian.hyn" />
</Component>
<Component Id="SERB.HYN" DiskId="1" Guid="EC6C0F5A-F0E7-498E-A826-FFD9E6684A55">
<File Id="SERB.HYN" Name="serb.hyn" Source="serb.hyn" />
</Component>
<Component Id="SLOVAK.HYN" DiskId="1" Guid="61FCC35D-6A19-4789-A41F-A9B35C3A90D9">
<File Id="SLOVAK.HYN" Name="slovak.hyn" Source="slovak.hyn" />
</Component>
<Component Id="SLOVENE.HYN" DiskId="1" Guid="D6ABE920-B893-4484-9386-366F568E46FF">
<File Id="SLOVENE.HYN" Name="slovene.hyn" Source="slovene.hyn" />
</Component>
<Component Id="SPANISH.HYN" DiskId="1" Guid="97DA8C1F-8A70-47EF-B812-0AF757A85974">
<File Id="SPANISH.HYN" Name="spanish.hyn" Source="spanish.hyn" />
</Component>
<Component Id="SWEDISH.HYN" DiskId="1" Guid="3716695D-CC67-45CC-81CF-24F32F3D0B8C">
<File Id="SWEDISH.HYN" Name="swedish.hyn" Source="swedish.hyn" />
</Component>
<Component Id="TEXTMAKER.PNG" DiskId="1" Guid="46ED9348-5280-4272-885C-53BC3CE9DA0E">
<File Id="TEXTMAKER.PNG" Name="textmaker.png" Source="textmaker.png" />
</Component>
<Component Id="TMVIEWER.EXE" DiskId="1" Guid="BC0BF87D-B38D-475A-9DF6-48A0F4439DCF">
<File Id="TMVIEWER.EXE" Name="tmviewer.exe" Source="tmviewer.exe">
<Shortcut Id="desktopShortcut" Directory="DesktopFolder" Name="SoftMaker TextMaker 2010 Viewer" WorkingDirectory="INSTALLDIR" Advertise="yes" Icon="DesktopIcon.exe" IconIndex="0" />
<Shortcut Id="ExeShortcut" Directory="ProgramMenuDir" Name="TextMaker Viewer 2010" Advertise="yes" Icon="StartMenuIcon.exe" IconIndex="0" />
</File>
<ProgId Id="tmviewer.docx" Description="Microsoft Office Open XML Format Document">
<Extension Id="docx" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="tmviewer.docm" Description="Microsoft Office Open XML Format Document with Macros Enabled">
<Extension Id="docm" ContentType="application/vnd.ms-word.document.macroEnabled.12">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="tmviewer.dotx" Description="Microsoft Office Open XML Format Template">
<Extension Id="dotx" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.template">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="tmviewer.dotm" Description="Microsoft Office Open XML Format Template with Macros Enabled">
<Extension Id="dotm" ContentType="application/vnd.ms-word.template.macroEnabled.12">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="tmviewer.doc" Description="Microsoft Office Word Document">
<Extension Id="doc" ContentType="application/msword">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="tmviewer.dot" Description="Microsoft Office Word Document Template">
<Extension Id="dot" ContentType="application/msword">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="tmviewer.tmd" Description="TextMaker document from SoftMaker">
<Extension Id="tmd">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="tmviewer.tmv" Description="TextMaker document Template from SoftMaker">
<Extension Id="tmv">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="tmviewer.odt" Description="OpenDocument (Ver 2) Text Document">
<Extension Id="odt" ContentType="application/vnd.oasis.opendocument.text, application/x-vnd.oasis.opendocument.text">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="tmviewer.ott" Description="OpenDocument (Ver 2) Text Document Template">
<Extension Id="ott" ContentType="application/vnd.oasis.opendocument.text-template, application/x-vnd.oasis.opendocument.text-template">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="tmviewer.sxw" Description="Text Document">
<Extension Id="sxw" ContentType="application/vnd.sun.xml.writer">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="tmviewer.rtf" Description="Rich Text Format File">
<Extension Id="rtf" ContentType="application/rtf, application/x-rtf, text/rtf, text/richtext, application/msword, application/doc, application/x-soffice">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="tmviewer.psw" Description="Pocket Word template file">
<Extension Id="psw" ContentType="application/msword">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="tmviewer.pwd" Description="Pocket Word file">
<Extension Id="pwd" ContentType="application/msword">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="tmviewer.htm" Description="Hypertext Markup Language">
<Extension Id="htm" ContentType="text/html">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="tmviewer.html" Description="Hypertext Markup Language">
<Extension Id="html" ContentType="text/html">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="tmviewer.txt" Description="Text File">
<Extension Id="txt" ContentType="text/plain, application/txt, browser/internal, text/anytext, widetext/plain, widetext/paragraph">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="TMVIEWER.EXE" />
</Extension>
</ProgId>
</Component>
<Component Id="TMVIEWER.IWR" DiskId="1" Guid="7ED89180-AB74-47E6-B261-90B5E4C88044">
<File Id="TMVIEWER.IWR" Name="tmviewer.iwr" Source="tmviewer.iwr" />
</Component>
<Component Id="TMVIEWER_AR.DWR" DiskId="1" Guid="DAB5C3DF-200B-4014-819B-4CB119771B52">
<File Id="TMVIEWER_AR.DWR" Name="tmviewer_ar.dwr" Source="tmviewer_ar.dwr" />
</Component>
<Component Id="TMVIEWER_BG.DWR" DiskId="1" Guid="5DDAAAC7-7FED-4AB8-9C25-D7C771312077">
<File Id="TMVIEWER_BG.DWR" Name="tmviewer_bg.dwr" Source="tmviewer_bg.dwr" />
</Component>
<Component Id="TMVIEWER_DE.DWR" DiskId="1" Guid="12B06008-9E68-4EDA-98E5-1BC7445F723E">
<File Id="TMVIEWER_DE.DWR" Name="tmviewer_de.dwr" Source="tmviewer_de.dwr" />
</Component>
<Component Id="TMVIEWER_ES.DWR" DiskId="1" Guid="F855144C-F790-4C75-AF43-947A54F85093">
<File Id="TMVIEWER_ES.DWR" Name="tmviewer_es.dwr" Source="tmviewer_es.dwr" />
</Component>
<Component Id="TMVIEWER_FR.DWR" DiskId="1" Guid="B01AB31B-FB14-4029-BEA2-20F5E0175E80">
<File Id="TMVIEWER_FR.DWR" Name="tmviewer_fr.dwr" Source="tmviewer_fr.dwr" />
</Component>
<Component Id="TMVIEWER_GR.DWR" DiskId="1" Guid="685B24BB-AD16-4BF9-B868-03F8989D5909">
<File Id="TMVIEWER_GR.DWR" Name="tmviewer_gr.dwr" Source="tmviewer_gr.dwr" />
</Component>
<Component Id="TMVIEWER_HU.DWR" DiskId="1" Guid="228E0E70-7975-4B54-BF7D-5E5811E86BE0">
<File Id="TMVIEWER_HU.DWR" Name="tmviewer_hu.dwr" Source="tmviewer_hu.dwr" />
</Component>
<Component Id="TMVIEWER_IT.DWR" DiskId="1" Guid="BB488E9B-B573-4035-B926-06663224AEF7">
<File Id="TMVIEWER_IT.DWR" Name="tmviewer_it.dwr" Source="tmviewer_it.dwr" />
</Component>
<Component Id="TMVIEWER_JP.DWR" DiskId="1" Guid="5BEB76C0-88A2-4A00-A2F6-BE057645E917">
<File Id="TMVIEWER_JP.DWR" Name="tmviewer_jp.dwr" Source="tmviewer_jp.dwr" />
</Component>
<Component Id="TMVIEWER_NL.DWR" DiskId="1" Guid="CC5062B9-7D37-4319-911B-E1389E71B8E9">
<File Id="TMVIEWER_NL.DWR" Name="tmviewer_nl.dwr" Source="tmviewer_nl.dwr" />
</Component>
<Component Id="TMVIEWER_PB.DWR" DiskId="1" Guid="FFE355DE-CD1D-4AAF-966C-D92B26B1051F">
<File Id="TMVIEWER_PB.DWR" Name="tmviewer_pb.dwr" Source="tmviewer_pb.dwr" />
</Component>
<Component Id="TMVIEWER_RU.DWR" DiskId="1" Guid="7E8C9543-A8B0-4BC5-9EBE-F2248FCFBCF9">
<File Id="TMVIEWER_RU.DWR" Name="tmviewer_ru.dwr" Source="tmviewer_ru.dwr" />
</Component>
<Component Id="TMVIEWER_SE.DWR" DiskId="1" Guid="8790D1EC-23C7-4006-8B84-77A19B14440D">
<File Id="TMVIEWER_SE.DWR" Name="tmviewer_se.dwr" Source="tmviewer_se.dwr" />
</Component>
<Component Id="TMVIEWER_TR.DWR" DiskId="1" Guid="5C49D515-3D1E-4C1B-AF7C-4FBF77C5956A">
<File Id="TMVIEWER_TR.DWR" Name="tmviewer_tr.dwr" Source="tmviewer_tr.dwr" />
</Component>
<Component Id="TMVIEWER_UK.DWR" DiskId="1" Guid="859B1360-2918-4256-833B-EA60974A2033">
<File Id="TMVIEWER_UK.DWR" Name="tmviewer_uk.dwr" Source="tmviewer_uk.dwr" />
</Component>
<Component Id="TMVIEWER_US.DWR" DiskId="1" Guid="9E367CF1-EE65-4A22-BB9E-CD31FD23075B">
<File Id="TMVIEWER_US.DWR" Name="tmviewer_us.dwr" Source="tmviewer_us.dwr" />
</Component>
<Component Id="TMVIEWER_ZH.DWR" DiskId="1" Guid="B8073212-933E-41E0-BCC3-68932F01991C">
<File Id="TMVIEWER_ZH.DWR" Name="tmviewer_zh.dwr" Source="tmviewer_zh.dwr" />
</Component>
<Component Id="TMVIEW_DE.TMD" DiskId="1" Guid="2DADB755-99ED-48DC-AF35-F0A2B7157923">
<File Id="TMVIEW_DE.TMD" Name="tmview_de.tmd" Source="tmview_de.tmd" />
</Component>
<Component Id="TMVIEW_EN.TMD" DiskId="1" Guid="3C53E996-0106-4DF8-82B9-E2ECABA25DA0">
<File Id="TMVIEW_EN.TMD" Name="tmview_en.tmd" Source="tmview_en.tmd" />
</Component>
<Component Id="TURK.HYN" DiskId="1" Guid="D2CF19C6-3264-4777-9ED8-9C9D3FAB3838">
<File Id="TURK.HYN" Name="turk.hyn" Source="turk.hyn" />
</Component>
<Component Id="UKENG.HYN" DiskId="1" Guid="637DC3F2-2CFE-419D-AB16-FC571DC4D167">
<File Id="UKENG.HYN" Name="ukeng.hyn" Source="ukeng.hyn" />
</Component>
<Component Id="UKRAINE.HYN" DiskId="1" Guid="6471B972-8C4C-47DA-A715-D39931F33AA4">
<File Id="UKRAINE.HYN" Name="ukraine.hyn" Source="ukraine.hyn" />
</Component>
<Component Id="USENG.HYN" DiskId="1" Guid="0085502B-A05D-422C-9C30-DB4772BBE5AB">
<File Id="USENG.HYN" Name="useng.hyn" Source="useng.hyn" />
</Component>
</Directory>
</Directory>
</Directory>
<Directory Id="DesktopFolder" />
<Directory Id="ProgramMenuFolder">
<Directory Id="ProgramMenuDir" Name="SoftMaker Viewer">
<Component Id="StartMenuShortcuts" Guid="E8EEA6EA-99EC-42B3-8E7E-EF91733F5598">
<RemoveFolder Id="ProgramMenuDir" On="uninstall" />
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" />
<Shortcut Id="UninstallProduct" Name="Uninstall" Description="Uninstalls the application" Target="[System64Folder]msiexec.exe" Arguments="/x [ProductCode]" />
<util:InternetShortcut Id="WebsiteShortcut" Name="The Office Viewers" Target="http://www.officeviewers.de/" />
</Component>
</Directory>
</Directory>
</Directory>
<Feature Id="DefaultFeature" Title="Main Feature" Level="1">
<ComponentRef Id="BKSM.GIF" />
<ComponentRef Id="BULGAR.HYN" />
<ComponentRef Id="BULLET.GIF" />
<ComponentRef Id="CROAT.HYN" />
<ComponentRef Id="CZECH.HYN" />
<ComponentRef Id="DANISH.HYN" />
<ComponentRef Id="DESKSML.JPG" />
<ComponentRef Id="DUTCH.HYN" />
<ComponentRef Id="ESTON.HYN" />
<ComponentRef Id="FINNISH.HYN" />
<ComponentRef Id="FRENCH.HYN" />
<ComponentRef Id="GERMAN.HYN" />
<ComponentRef Id="GREEK.HYN" />
<ComponentRef Id="HUNGARY.HYN" />
<ComponentRef Id="INDEX.HTM" />
<ComponentRef Id="INDEX_DE.HTM" />
<ComponentRef Id="ITALIAN.HYN" />
<ComponentRef Id="LATVIAN.HYN" />
<ComponentRef Id="LICENSE.DAT" />
<ComponentRef Id="LIESMICH.TXT" />
<ComponentRef Id="LITH.HYN" />
<ComponentRef Id="LIZENZ.DAT" />
<ComponentRef Id="NORWAY.HYN" />
<ComponentRef Id="OFFICE3.JPG" />
<ComponentRef Id="OVRES10.DLL" />
<ComponentRef Id="POLISH.HYN" />
<ComponentRef Id="PORT.HYN" />
<ComponentRef Id="PORTABLE.TXT" />
<ComponentRef Id="README.TXT" />
<ComponentRef Id="REGISTER.HTM" />
<ComponentRef Id="REGISTER_DE.HTM" />
<ComponentRef Id="RGERMAN.HYN" />
<ComponentRef Id="ROMAN.HYN" />
<ComponentRef Id="RUSSIAN.HYN" />
<ComponentRef Id="SERB.HYN" />
<ComponentRef Id="SLOVAK.HYN" />
<ComponentRef Id="SLOVENE.HYN" />
<ComponentRef Id="SPANISH.HYN" />
<ComponentRef Id="SWEDISH.HYN" />
<ComponentRef Id="TEXTMAKER.PNG" />
<ComponentRef Id="TMVIEWER.EXE" />
<ComponentRef Id="TMVIEWER.IWR" />
<ComponentRef Id="TMVIEWER_AR.DWR" />
<ComponentRef Id="TMVIEWER_BG.DWR" />
<ComponentRef Id="TMVIEWER_DE.DWR" />
<ComponentRef Id="TMVIEWER_ES.DWR" />
<ComponentRef Id="TMVIEWER_FR.DWR" />
<ComponentRef Id="TMVIEWER_GR.DWR" />
<ComponentRef Id="TMVIEWER_HU.DWR" />
<ComponentRef Id="TMVIEWER_IT.DWR" />
<ComponentRef Id="TMVIEWER_JP.DWR" />
<ComponentRef Id="TMVIEWER_NL.DWR" />
<ComponentRef Id="TMVIEWER_PB.DWR" />
<ComponentRef Id="TMVIEWER_RU.DWR" />
<ComponentRef Id="TMVIEWER_SE.DWR" />
<ComponentRef Id="TMVIEWER_TR.DWR" />
<ComponentRef Id="TMVIEWER_UK.DWR" />
<ComponentRef Id="TMVIEWER_US.DWR" />
<ComponentRef Id="TMVIEWER_ZH.DWR" />
<ComponentRef Id="TMVIEW_DE.TMD" />
<ComponentRef Id="TMVIEW_EN.TMD" />
<ComponentRef Id="TURK.HYN" />
<ComponentRef Id="UKENG.HYN" />
<ComponentRef Id="UKRAINE.HYN" />
<ComponentRef Id="USENG.HYN" />
<ComponentRef Id="StartMenuShortcuts" />
</Feature>
<UI />
<UIRef Id="WixUI_Minimal" />
<Icon Id="DesktopIcon.exe" SourceFile="tmviewer.exe" />
<Icon Id="StartMenuIcon.exe" SourceFile="tmviewer.exe" />
<UIRef Id="WixUI_Minimal" />
</Product>
</Wix>

View File

@ -1,13 +1,13 @@
#!/bin/sh
PN="tmviewer"
VERSION="2010"
RELEASE="5"
RELEASE="6"
PRIORITY="0"
ADVICE=""
TYPE="restrict"
TYPE="public"
# all downloads should not have any traling parameters like ?downlaodid=1234 .....(should rewrite in python)
ICON="http://www.24android.com/de/wp-content/uploads/2010/11/softmaker_office.png"
X86="http://www.softmaker.net/down/TMViewerSetup.exe"
ICON="http://www.android-user.de/var/ezflow_site/storage/images/artikel/exklusiv-vorschau-auf-softmaker-office-fuer-android/softmaker-logo.png/25888-1-ger-DE/SoftMaker-Logo.png_medium.png"
X86="http://internal.graz.disconnected-by-peer.at/Orig/SoftMaker/Viewer/HB/2010/TextMakerViewer2010.msi"
#AMD64="http://downloads.sourceforge.net/sevenzip/7z920-x64.msi"
ICONFILE=${ICON##*/}
X86FILE=${X86##*/}
@ -56,9 +56,7 @@ unix2dos $OUT/$PN/CLIENT_DATA/*
CHECKSUM=`sha1sum /usr/portage/distfiles/$X86FILE`
if [ "$CHECKSUM" = "$SHA1SUM" ]
then
#cp /usr/portage/distfiles/$X86FILE $OUT/$PN/CLIENT_DATA
mkdir -p $OUT/$PN/CLIENT_DATA/files
7z x -o$OUT/$PN/CLIENT_DATA/files /usr/portage/distfiles/$X86FILE
cp /usr/portage/distfiles/$X86FILE $OUT/$PN/CLIENT_DATA
else
echo "The checksums do not match."
exit 1
@ -70,7 +68,6 @@ unix2dos $OUT/$PN/CLIENT_DATA/*
else
echo "Downloading file"
wget -O /usr/portage/distfiles/$X86FILE $X86
#plowdown -o /usr/portage/distfiles $X86
exit 1
fi
@ -120,5 +117,5 @@ popd
mkdir -p /var/tmp/opsi/upload/$TYPE/
cp -afv $OUT/*.opsi /var/tmp/opsi/upload/$TYPE/
#rm -rf $OUT
rm -rf $OUT

View File

@ -1 +0,0 @@
6bf005b745d773d6e50071d3e3ced780d23bd8e0 /usr/portage/distfiles/softmaker_office.png