msi based Planmaker viewer

This commit is contained in:
Mario Fetka 2012-01-19 22:35:31 +01:00
parent 2715951c7b
commit 18bbe89164
10 changed files with 404 additions and 46 deletions

View File

@ -1,14 +0,0 @@
@echo off
SETLOCAL
SET SC=HKLM\SOFTWARE\Classes
SET Extn=pmd pmv xls xlt xlsx xlsm xltx xltm
FOR %%j IN (%Extn%) DO (
REG ADD %SC%\.%%j /VE /D "PlanMakerViewer.%%j" /F
REG ADD %SC%\PlanMakerViewer.%%j /VE /D "PlanMaker Viewer" /F
REG ADD %SC%\PlanMakerViewer.%%j\DefaultIcon /VE /D "\"%PROGRAMFILES%\SoftMaker Viewer\PlanMaker/PMViewer.exe\"" /F
REG ADD %SC%\PlanMakerViewer.%%j\shell\open\command /VE /D "\"%PROGRAMFILES%\SoftMaker Viewer\PlanMaker/PMViewer.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$ = '{E3650D25-6752-4DE1-85DA-72A7BF2E49EE}'
Set $UninstallProgram$ = $InstallDir$ + "\uninstall.exe"
Message "Uninstalling " + $ProductId$ + " ..."
@ -40,7 +40,7 @@ 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):
@ -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$ = "pmviewer"
Set $MinimumSpace$ = "150 MB"
Set $MinimumSpace$ = "30 MB"
; the path were we find the product after the installation
Set $InstallDir$ = "%ProgramFiles32Dir%\SoftMaker Viewer\PlanMaker\"
Set $InstallDir$ = "%ProgramFiles32Dir%\SoftMaker Viewer\PlanMaker"
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\pmv10config.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: PlanMaker Viewer
target: "$InstallDir$\PMViewer.exe"
parameters:
working_dir: $InstallDir$
icon_file: "$InstallDir$\PMViewer.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$ = "pmviewer"
Set $InstallDir$ = "%ProgramFiles32Dir%\SoftMaker Viewer\PlanMaker\"
Set $InstallDir$ = "%ProgramFiles32Dir%\SoftMaker Viewer\PlanMaker"
Set $LicenseRequired$ = "false"
Set $LicensePool$ = "p_" + $ProductId$
; ----------------------------------------------------------------

View File

@ -1 +0,0 @@
cda4216d55077b0cc42c9caef3391ac13ad49c0f /usr/portage/distfiles/PMViewerSetup.exe

View File

@ -0,0 +1 @@
c90a2c27a2ace6670a0acd79a582848f4f5fe825 /usr/portage/distfiles/PlanMakerViewer2010.msi

368
PlanMakerViewer2010.wxs Normal file
View File

@ -0,0 +1,368 @@
<?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="E3650D25-6752-4DE1-85DA-72A7BF2E49EE" Name="SoftMaker PlanMaker Viewer 2010" Language="1033" Version="2.0.10.633" Manufacturer="SoftMaker Software GmbH" UpgradeCode="5B9C0E5C-BEAC-4E60-A840-F97CC072D8E1">
<Package Description="SoftMaker PlanMaker Viewer 2010" Comments="SoftMaker PlanMaker Viewer 2010" InstallerVersion="200" Compressed="yes" />
<Media Id="1" Cabinet="planmaker.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="PFiles">
<Directory Name="SoftMaker Viewer" Id="SOFTMAKER_VIEWER">
<Directory Id="PLANMAKERVIEWER" Name="PlanMaker">
<Component Id="BKSM.GIF" DiskId="1" Guid="7E923C33-3AC1-4EFE-B629-E7DA1F51D6AF">
<File Id="BKSM.GIF" Name="bksm.gif" Source="bksm.gif" />
</Component>
<Component Id="BULGAR.HYN" DiskId="1" Guid="E18EA1B8-BB4D-43A3-9DEB-7342B8E379CC">
<File Id="BULGAR.HYN" Name="bulgar.hyn" Source="bulgar.hyn" />
</Component>
<Component Id="BULLET.GIF" DiskId="1" Guid="7669B2DB-47AB-4E4E-857D-7EA710AF8D03">
<File Id="BULLET.GIF" Name="bullet.gif" Source="bullet.gif" />
</Component>
<Component Id="CROAT.HYN" DiskId="1" Guid="D12ABB4E-C072-48D7-9826-0B26CC57CF74">
<File Id="CROAT.HYN" Name="croat.hyn" Source="croat.hyn" />
</Component>
<Component Id="CZECH.HYN" DiskId="1" Guid="B5C435B5-035E-416B-9881-5563ABBAFF87">
<File Id="CZECH.HYN" Name="czech.hyn" Source="czech.hyn" />
</Component>
<Component Id="DANISH.HYN" DiskId="1" Guid="41B01394-5F4B-4777-810D-89BC523B2EF0">
<File Id="DANISH.HYN" Name="danish.hyn" Source="danish.hyn" />
</Component>
<Component Id="DESKSML.JPG" DiskId="1" Guid="5F0D81D3-F59C-45FD-9368-75B13D07CE0E">
<File Id="DESKSML.JPG" Name="desksml.jpg" Source="desksml.jpg" />
</Component>
<Component Id="DUTCH.HYN" DiskId="1" Guid="B5DD22BE-EB6E-4C84-B00D-09CA39EEA59C">
<File Id="DUTCH.HYN" Name="dutch.hyn" Source="dutch.hyn" />
</Component>
<Component Id="ESTON.HYN" DiskId="1" Guid="063E601A-C389-4000-9A5A-4C87811B160A">
<File Id="ESTON.HYN" Name="eston.hyn" Source="eston.hyn" />
</Component>
<Component Id="FINNISH.HYN" DiskId="1" Guid="2BFBD799-9A6F-4FB0-B340-B0C8A453FAB2">
<File Id="FINNISH.HYN" Name="finnish.hyn" Source="finnish.hyn" />
</Component>
<Component Id="FRENCH.HYN" DiskId="1" Guid="22493F9A-A797-4803-9FC7-694995A58170">
<File Id="FRENCH.HYN" Name="french.hyn" Source="french.hyn" />
</Component>
<Component Id="GERMAN.HYN" DiskId="1" Guid="D520055D-48B3-4AA4-AD10-B68A67E1A45B">
<File Id="GERMAN.HYN" Name="german.hyn" Source="german.hyn" />
</Component>
<Component Id="GREEK.HYN" DiskId="1" Guid="28CA5504-671A-4645-8C3D-CB1F3DD69844">
<File Id="GREEK.HYN" Name="greek.hyn" Source="greek.hyn" />
</Component>
<Component Id="HUNGARY.HYN" DiskId="1" Guid="DEE53625-C7A2-454D-BD03-0B47001D0E05">
<File Id="HUNGARY.HYN" Name="hungary.hyn" Source="hungary.hyn" />
</Component>
<Component Id="INDEX.HTM" DiskId="1" Guid="6DE097B0-F301-41F4-A220-25859CEA5EF5">
<File Id="INDEX.HTM" Name="index.htm" Source="index.htm" />
</Component>
<Component Id="INDEX_DE.HTM" DiskId="1" Guid="7178BA7C-9131-4FD3-8B7F-BC222B3024DC">
<File Id="INDEX_DE.HTM" Name="index_de.htm" Source="index_de.htm" />
</Component>
<Component Id="ITALIAN.HYN" DiskId="1" Guid="4992E051-05CA-4579-A2C0-2071FE881932">
<File Id="ITALIAN.HYN" Name="italian.hyn" Source="italian.hyn" />
</Component>
<Component Id="LATVIAN.HYN" DiskId="1" Guid="C1D6D09A-6F22-4C63-B777-91EE4EB0457A">
<File Id="LATVIAN.HYN" Name="latvian.hyn" Source="latvian.hyn" />
</Component>
<Component Id="LICENSE.DAT" DiskId="1" Guid="F0729A7D-9239-4C69-AD68-8994E1CFF898">
<File Id="LICENSE.DAT" Name="license.dat" Source="license.dat" />
</Component>
<Component Id="LIESMICH.TXT" DiskId="1" Guid="DFF91F30-F8BB-480D-B442-32AA8404196C">
<File Id="LIESMICH.TXT" Name="liesmich.txt" Source="liesmich.txt" />
</Component>
<Component Id="LITH.HYN" DiskId="1" Guid="E9A2A9CF-F33B-4A71-ADB2-B7D9D3918594">
<File Id="LITH.HYN" Name="lith.hyn" Source="lith.hyn" />
</Component>
<Component Id="LIZENZ.DAT" DiskId="1" Guid="7F6B0EF9-8EE8-4280-97FD-EA1458618066">
<File Id="LIZENZ.DAT" Name="lizenz.dat" Source="lizenz.dat" />
</Component>
<Component Id="NORWAY.HYN" DiskId="1" Guid="BD7AC2AD-B41A-4E31-9EEF-B51D6439BB77">
<File Id="NORWAY.HYN" Name="norway.hyn" Source="norway.hyn" />
</Component>
<Component Id="OFFICE3.JPG" DiskId="1" Guid="BC32091D-E15F-4A31-9B72-E59A9C3A71B2">
<File Id="OFFICE3.JPG" Name="office3.jpg" Source="office3.jpg" />
</Component>
<Component Id="OVRES10.DLL" DiskId="1" Guid="F370C831-8632-40F6-8679-97CC2EEE73AD">
<File Id="OVRES10.DLL" Name="ovres10.dll" Source="ovres10.dll" />
</Component>
<Component Id="PLANMAKER.PNG" DiskId="1" Guid="8EB867B1-478D-4BB3-8F25-F0518893735D">
<File Id="PLANMAKER.PNG" Name="planmaker.png" Source="planmaker.png" />
</Component>
<Component Id="PMVIEWER.EXE" DiskId="1" Guid="BBE2D555-7098-4033-B1F3-C75CEA2BE9FD">
<File Id="PMVIEWER.EXE" Name="PMViewer.exe" Source="PMViewer.exe">
<Shortcut Id="desktopShortcut" Directory="DesktopFolder" Name="SoftMaker PlanMaker 2010 Viewer" WorkingDirectory="INSTALLDIR" Advertise="yes" Icon="DesktopIcon.exe" IconIndex="0" />
<Shortcut Id="ExeShortcut" Directory="ProgramMenuDir" Name="PlanMaker Viewer 2010" Advertise="yes" Icon="StartMenuIcon.exe" IconIndex="0" />
</File>
<ProgId Id="pmviewer.xlsx" Description="Microsoft Office Open XML Format Spreadsheet">
<Extension Id="xlsx" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="PMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="pmviewer.xlsm" Description="Microsoft Office Open XML Format Spreadsheet with Macros Enabled">
<Extension Id="xlsm" ContentType="application/vnd.ms-excel.sheet.macroEnabled.12">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="PMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="pmviewer.xltx" Description="Microsoft Office Open XML Format Template">
<Extension Id="xltx" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.template">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="PMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="pmviewer.xltm" Description="Microsoft Office Open XML Format Template with Macros Enabled">
<Extension Id="xltm" ContentType="application/vnd.ms-excel.template.macroEnabled.12">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="PMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="pmviewer.xls" Description="Microsoft Office Excel Document">
<Extension Id="xls" ContentType="application/vnd.ms-excel [official], application/msexcel, application/x-msexcel, application/x-ms-excel, application/vnd.ms-excel, application/x-excel, application/x-dos_ms_excel, application/xls">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="PMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="pmviewer.xlt" Description="Microsoft Office Excel Document Template">
<Extension Id="xlt" ContentType="application/vnd.ms-excel [official], application/excel, application/msexcel, application/x-excel, application/xlt, application/x-msexcel">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="PMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="pmviewer.pmd" Description="PlanMaker document from SoftMaker">
<Extension Id="pmd">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="PMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="pmviewer.pmv" Description="PlanMaker document Template from SoftMaker">
<Extension Id="pmv">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="PMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="pmviewer.pmw" Description="PlanMaker document from SoftMaker">
<Extension Id="pmw">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="PMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="pmviewer.sdc" Description="Spreadsheet">
<Extension Id="sdc" ContentType="application/soffice, application/x-soffice, application/x-staroffice, application/vnd.stardivision.calc">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="PMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="pmviewer.slk" Description="Data Exchange File">
<Extension Id="slk" ContentType="application/excel">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="PMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="pmviewer.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="PMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="pmviewer.dbf" Description="Database">
<Extension Id="dbf" ContentType="application/dbase, application/x-dbase, application/dbf, application/x-dbf, zz-application/zz-winassoc-dbf">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="PMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="pmviewer.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="PMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="pmviewer.csv" Description="Comma-Separated Variables">
<Extension Id="csv" ContentType="text/comma-separated-values, text/csv, application/csv, application/excel, application/vnd.ms-excel, application/vnd.msexcel, text/anytext">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="PMVIEWER.EXE" />
</Extension>
</ProgId>
<ProgId Id="pmviewer.prn" Description="Printer Text File">
<Extension Id="prn">
<Verb Id="open" Command="Open" Argument="&quot;%1&quot;" TargetFile="PMVIEWER.EXE" />
</Extension>
</ProgId>
</Component>
<Component Id="PMVIEWER.IWR" DiskId="1" Guid="F3F7F5A6-DE53-40D8-B5E2-03A912A8C2AD">
<File Id="PMVIEWER.IWR" Name="PMViewer.iwr" Source="PMViewer.iwr" />
</Component>
<Component Id="PMVIEWER_AR.DWR" DiskId="1" Guid="B0A4FF1A-8FB4-454F-A01D-15AEBBD4919F">
<File Id="PMVIEWER_AR.DWR" Name="PMViewer_ar.dwr" Source="PMViewer_ar.dwr" />
</Component>
<Component Id="PMVIEWER_BG.DWR" DiskId="1" Guid="73C1B08A-5E21-420C-88C2-EA7F95E1019A">
<File Id="PMVIEWER_BG.DWR" Name="PMViewer_bg.dwr" Source="PMViewer_bg.dwr" />
</Component>
<Component Id="PMVIEWER_DE.DWR" DiskId="1" Guid="312B097D-C0B7-442C-8551-324D0F59AED5">
<File Id="PMVIEWER_DE.DWR" Name="PMViewer_de.dwr" Source="PMViewer_de.dwr" />
</Component>
<Component Id="PMVIEWER_ES.DWR" DiskId="1" Guid="745F3C03-0F58-4273-A2CA-8F3073AE1A28">
<File Id="PMVIEWER_ES.DWR" Name="PMViewer_es.dwr" Source="PMViewer_es.dwr" />
</Component>
<Component Id="PMVIEWER_FR.DWR" DiskId="1" Guid="8C7FC3AE-0B92-4BBF-8085-E7AAF3032F07">
<File Id="PMVIEWER_FR.DWR" Name="PMViewer_fr.dwr" Source="PMViewer_fr.dwr" />
</Component>
<Component Id="PMVIEWER_GR.DWR" DiskId="1" Guid="6F2D7684-8D6A-4DDA-8BDB-E59239E5C3E1">
<File Id="PMVIEWER_GR.DWR" Name="PMViewer_gr.dwr" Source="PMViewer_gr.dwr" />
</Component>
<Component Id="PMVIEWER_HU.DWR" DiskId="1" Guid="9DF91D58-C057-48A5-B02B-8C8CB9A0BC2A">
<File Id="PMVIEWER_HU.DWR" Name="PMViewer_hu.dwr" Source="PMViewer_hu.dwr" />
</Component>
<Component Id="PMVIEWER_IT.DWR" DiskId="1" Guid="95DA39B2-F2CF-4049-B597-E3985E8A9D12">
<File Id="PMVIEWER_IT.DWR" Name="PMViewer_it.dwr" Source="PMViewer_it.dwr" />
</Component>
<Component Id="PMVIEWER_JP.DWR" DiskId="1" Guid="531CAC6F-126E-4D71-B591-9A4226A8B6DA">
<File Id="PMVIEWER_JP.DWR" Name="PMViewer_jp.dwr" Source="PMViewer_jp.dwr" />
</Component>
<Component Id="PMVIEWER_NL.DWR" DiskId="1" Guid="51111754-1315-451C-857D-014FEC818E22">
<File Id="PMVIEWER_NL.DWR" Name="PMViewer_nl.dwr" Source="PMViewer_nl.dwr" />
</Component>
<Component Id="PMVIEWER_PB.DWR" DiskId="1" Guid="1C632925-82CB-4466-8E98-AED377C59B53">
<File Id="PMVIEWER_PB.DWR" Name="PMViewer_pb.dwr" Source="PMViewer_pb.dwr" />
</Component>
<Component Id="PMVIEWER_RU.DWR" DiskId="1" Guid="52A7C0B8-A3FA-44DF-9AC5-3C890BBF33B0">
<File Id="PMVIEWER_RU.DWR" Name="PMViewer_ru.dwr" Source="PMViewer_ru.dwr" />
</Component>
<Component Id="PMVIEWER_SE.DWR" DiskId="1" Guid="023EFB79-06E6-4974-A983-3B44F318A491">
<File Id="PMVIEWER_SE.DWR" Name="PMViewer_se.dwr" Source="PMViewer_se.dwr" />
</Component>
<Component Id="PMVIEWER_TR.DWR" DiskId="1" Guid="63CD388B-E90D-48FA-8003-3F501C695C06">
<File Id="PMVIEWER_TR.DWR" Name="PMViewer_tr.dwr" Source="PMViewer_tr.dwr" />
</Component>
<Component Id="PMVIEWER_UK.DWR" DiskId="1" Guid="34F338F0-3D34-4320-8ACA-172E0ABD2195">
<File Id="PMVIEWER_UK.DWR" Name="PMViewer_uk.dwr" Source="PMViewer_uk.dwr" />
</Component>
<Component Id="PMVIEWER_US.DWR" DiskId="1" Guid="87DF5CAD-38D5-4EBC-94E6-C5280487894A">
<File Id="PMVIEWER_US.DWR" Name="PMViewer_us.dwr" Source="PMViewer_us.dwr" />
</Component>
<Component Id="PMVIEWER_ZH.DWR" DiskId="1" Guid="4868C5D7-7FA1-4B6A-8265-A1F3DE1CF2D2">
<File Id="PMVIEWER_ZH.DWR" Name="PMViewer_zh.dwr" Source="PMViewer_zh.dwr" />
</Component>
<Component Id="POLISH.HYN" DiskId="1" Guid="1E4C4A9B-8F13-4551-A542-DD0E1DCDD897">
<File Id="POLISH.HYN" Name="polish.hyn" Source="polish.hyn" />
</Component>
<Component Id="PORT.HYN" DiskId="1" Guid="9C775B23-557A-44A6-8981-079F7190A19C">
<File Id="PORT.HYN" Name="port.hyn" Source="port.hyn" />
</Component>
<Component Id="PORTABLE.TXT" DiskId="1" Guid="197DC0BA-4462-4FE5-B4DE-E7C7FE54B709">
<File Id="PORTABLE.TXT" Name="portable.txt" Source="portable.txt" />
</Component>
<Component Id="README.TXT" DiskId="1" Guid="C4277350-DFEA-4C49-91A3-0E083B467710">
<File Id="README.TXT" Name="readme.txt" Source="readme.txt" />
</Component>
<Component Id="REGISTER.HTM" DiskId="1" Guid="D1B300B8-4E8B-4C8E-8CF3-0DFF7B186E6A">
<File Id="REGISTER.HTM" Name="register.htm" Source="register.htm" />
</Component>
<Component Id="REGISTER_DE.HTM" DiskId="1" Guid="92B90C5D-CFBF-4F0B-8DB2-8A09F4D767D6">
<File Id="REGISTER_DE.HTM" Name="register_de.htm" Source="register_de.htm" />
</Component>
<Component Id="RGERMAN.HYN" DiskId="1" Guid="28DAED05-30C0-431E-A31F-56966C8E9ED7">
<File Id="RGERMAN.HYN" Name="rgerman.hyn" Source="rgerman.hyn" />
</Component>
<Component Id="ROMAN.HYN" DiskId="1" Guid="4DAF24DF-DC40-49E6-B537-19189330B9AB">
<File Id="ROMAN.HYN" Name="roman.hyn" Source="roman.hyn" />
</Component>
<Component Id="RUSSIAN.HYN" DiskId="1" Guid="81EDAB18-5608-4A8E-BCAF-5F3C1DE65F42">
<File Id="RUSSIAN.HYN" Name="russian.hyn" Source="russian.hyn" />
</Component>
<Component Id="SERB.HYN" DiskId="1" Guid="3CF93B52-9CF4-493E-B7F9-BA3ABF8F30EE">
<File Id="SERB.HYN" Name="serb.hyn" Source="serb.hyn" />
</Component>
<Component Id="SLOVAK.HYN" DiskId="1" Guid="FE9146B8-340E-4B98-9581-94481B7765C9">
<File Id="SLOVAK.HYN" Name="slovak.hyn" Source="slovak.hyn" />
</Component>
<Component Id="SLOVENE.HYN" DiskId="1" Guid="F0C7AF23-FFA5-4754-8638-D6895129D326">
<File Id="SLOVENE.HYN" Name="slovene.hyn" Source="slovene.hyn" />
</Component>
<Component Id="SPANISH.HYN" DiskId="1" Guid="841DEEAC-BADB-4562-B358-FEE84E151288">
<File Id="SPANISH.HYN" Name="spanish.hyn" Source="spanish.hyn" />
</Component>
<Component Id="SWEDISH.HYN" DiskId="1" Guid="39DE0768-1A88-40B1-B615-6DC782635375">
<File Id="SWEDISH.HYN" Name="swedish.hyn" Source="swedish.hyn" />
</Component>
<Component Id="TURK.HYN" DiskId="1" Guid="063FD552-93BE-43D0-A47A-699CEDFB77B3">
<File Id="TURK.HYN" Name="turk.hyn" Source="turk.hyn" />
</Component>
<Component Id="UKENG.HYN" DiskId="1" Guid="4BD38591-235F-49DF-8FE3-5829C3A60091">
<File Id="UKENG.HYN" Name="ukeng.hyn" Source="ukeng.hyn" />
</Component>
<Component Id="UKRAINE.HYN" DiskId="1" Guid="E2B4A73A-5B2C-40BA-9F4F-76BF22BBAF71">
<File Id="UKRAINE.HYN" Name="ukraine.hyn" Source="ukraine.hyn" />
</Component>
<Component Id="USENG.HYN" DiskId="1" Guid="C578B374-4CA0-4115-9F4A-DEFA1C1883F4">
<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="F5B6FC3B-0B86-4550-9918-2CA94E28DF8B">
<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="PLANMAKER.PNG" />
<ComponentRef Id="PMVIEWER.EXE" />
<ComponentRef Id="PMVIEWER.IWR" />
<ComponentRef Id="PMVIEWER_AR.DWR" />
<ComponentRef Id="PMVIEWER_BG.DWR" />
<ComponentRef Id="PMVIEWER_DE.DWR" />
<ComponentRef Id="PMVIEWER_ES.DWR" />
<ComponentRef Id="PMVIEWER_FR.DWR" />
<ComponentRef Id="PMVIEWER_GR.DWR" />
<ComponentRef Id="PMVIEWER_HU.DWR" />
<ComponentRef Id="PMVIEWER_IT.DWR" />
<ComponentRef Id="PMVIEWER_JP.DWR" />
<ComponentRef Id="PMVIEWER_NL.DWR" />
<ComponentRef Id="PMVIEWER_PB.DWR" />
<ComponentRef Id="PMVIEWER_RU.DWR" />
<ComponentRef Id="PMVIEWER_SE.DWR" />
<ComponentRef Id="PMVIEWER_TR.DWR" />
<ComponentRef Id="PMVIEWER_UK.DWR" />
<ComponentRef Id="PMVIEWER_US.DWR" />
<ComponentRef Id="PMVIEWER_ZH.DWR" />
<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="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="PMViewer.exe" />
<Icon Id="StartMenuIcon.exe" SourceFile="PMViewer.exe" />
</Product>
</Wix>

View File

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

View File

@ -1,13 +1,13 @@
#!/bin/sh
PN="pmviewer"
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/PMViewerSetup.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/PlanMakerViewer2010.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