forked from 1b-agent/opencadstudio-upstream
Complete application localization across all supported languages
This commit is contained in:
1 parent
96c794c072
commit
d66e89ca19
78 files changed
+26043
-877
No files matched your search
@@ -1,11 +1,51 @@
|
||||
[Desktop Entry]
|
||||
Name=Open CAD Studio
|
||||
Comment=A CAD application for 2D/3D drawing and design
|
||||
Exec=OpenCADStudio %F
|
||||
Icon=io.github.HakanSeven12.OpenCadStudio
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Graphics;Engineering;
|
||||
MimeType=image/vnd.dwg;image/vnd.dxf;
|
||||
Keywords=CAD;DWG;DXF;drawing;design;engineering;2D;3D;
|
||||
StartupWMClass=io.github.HakanSeven12.OpenCadStudio
|
||||
Comment[ar]=تطبيق CAD للرسم والتصميم ثنائي وثلاثي الأبعاد
|
||||
Keywords[ar]=CAD;DWG;DXF;الرسم;تصميم;هندسي;2D;3D;
|
||||
Comment[bg]=CAD приложение за 2D/3D чертане и проектиране
|
||||
Keywords[bg]=CAD;DWG;DXF;Чертеж;Проектиране;Инженерен;2D;3D;
|
||||
Comment[cs]=Aplikace CAD pro 2D/3D kreslení a návrh
|
||||
Keywords[cs]=CAD;DWG;DXF;Kreslení;Návrh;Strojírenství;2D;3D;
|
||||
Comment[de]=Eine CAD-Anwendung für 2D/3D-Zeichnung und Konstruktion
|
||||
Keywords[de]=CAD;DWG;DXF;Zeichnung;Konstruktion;Technisch;2D;3D;
|
||||
Comment[el]=Εφαρμογή CAD για σχεδίαση και σχεδιασμό 2D/3D
|
||||
Keywords[el]=CAD;DWG;DXF;Σχέδιο;Σχεδιασμός;Μηχανολογικές;2D;3D;
|
||||
Comment=A CAD application for 2D/3D drawing and design
|
||||
Keywords=CAD;DWG;DXF;Drawing;Design;Engineering;2D;3D;
|
||||
Comment[es]=Una aplicación CAD para dibujo y diseño 2D/3D
|
||||
Keywords[es]=CAD;DWG;DXF;Dibujo;Diseño;Ingeniería;2D;3D;
|
||||
Comment[fi]=CAD-sovellus 2D/3D-piirtämiseen ja suunnitteluun
|
||||
Keywords[fi]=CAD;DWG;DXF;Piirustus;Suunnittelu;Tekniikka;2D;3D;
|
||||
Comment[fr]=Une application CAO pour le dessin et la conception 2D/3D
|
||||
Keywords[fr]=CAD;DWG;DXF;Dessin;Conception;Génie mécanique;2D;3D;
|
||||
Comment[hi]=2D/3D आरेखन और डिज़ाइन के लिए CAD अनुप्रयोग
|
||||
Keywords[hi]=CAD;DWG;DXF;ड्रॉइंग;डिज़ाइन;इंजीनियरिंग;2D;3D;
|
||||
Comment[hu]=CAD-alkalmazás 2D/3D rajzoláshoz és tervezéshez
|
||||
Keywords[hu]=CAD;DWG;DXF;Rajzolás;Tervezés;Mérnöki;2D;3D;
|
||||
Comment[it]=Un’applicazione CAD per disegno e progettazione 2D/3D
|
||||
Keywords[it]=CAD;DWG;DXF;Disegno;Progettazione;Ingegneria;2D;3D;
|
||||
Comment[ja]=2D/3Dの作図と設計のためのCADアプリ
|
||||
Keywords[ja]=CAD;DWG;DXF;図面;設計;工学表記;2D;3D;
|
||||
Comment[ko]=2D/3D 제도 및 설계를 위한 CAD 앱
|
||||
Keywords[ko]=CAD;DWG;DXF;그리기;설계;공학;2D;3D;
|
||||
Comment[nl]=Een CAD-toepassing voor 2D/3D-tekenen en ontwerpen
|
||||
Keywords[nl]=CAD;DWG;DXF;Tekening;Ontwerp;Technisch;2D;3D;
|
||||
Comment[pl]=Aplikacja CAD do rysowania i projektowania 2D/3D
|
||||
Keywords[pl]=CAD;DWG;DXF;Rysunek;Projektowanie;Inżynieria;2D;3D;
|
||||
Comment[pt]=Um aplicativo CAD para desenho e projeto 2D/3D
|
||||
Keywords[pt]=CAD;DWG;DXF;Desenho;Projeto;Engenharia;2D;3D;
|
||||
Comment[ru]=CAD-приложение для 2D/3D-черчения и проектирования
|
||||
Keywords[ru]=CAD;DWG;DXF;Чертёж;Проектирование;Инженерный;2D;3D;
|
||||
Comment[tr]=2D/3D çizim ve tasarım için bir CAD uygulaması
|
||||
Keywords[tr]=CAD;DWG;DXF;Çizim;Tasarım;Mühendislik;2D;3D;
|
||||
Comment[zh_CN]=用于 2D/3D 绘图和设计的 CAD 应用程序
|
||||
Keywords[zh_CN]=CAD;DWG;DXF;绘图;设计;工程学;2D;3D;
|
||||
Comment[zh_TW]=用於 2D/3D 製圖與設計的 CAD 應用程式
|
||||
Keywords[zh_TW]=CAD;DWG;DXF;繪圖;設計;工程學;2D;3D;
|
||||
@@ -1,48 +1,132 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- AppStream metadata: integrates the AppImage with Linux software centres
|
||||
(name, summary, icon, categories, screenshots). Installed into
|
||||
/usr/share/metainfo/ inside the AppDir by the release workflow. -->
|
||||
<component type="desktop-application">
|
||||
<id>io.github.HakanSeven12.OpenCadStudio</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0-or-later</project_license>
|
||||
|
||||
<name>Open CAD Studio</name>
|
||||
<summary xml:lang="ar-SA">تطبيق CAD ثنائي وثلاثي الأبعاد لرسومات DWG وDXF</summary>
|
||||
<summary xml:lang="bg-BG">2D/3D CAD приложение за DWG и DXF чертежи</summary>
|
||||
<summary xml:lang="cs-CZ">2D/3D CAD aplikace pro výkresy DWG a DXF</summary>
|
||||
<summary xml:lang="de-DE">2D/3D-CAD-Anwendung für DWG- und DXF-Zeichnungen</summary>
|
||||
<summary xml:lang="el-GR">Εφαρμογή CAD 2D/3D για σχέδια DWG και DXF</summary>
|
||||
<summary>2D/3D CAD application for DWG and DXF drawings</summary>
|
||||
|
||||
<summary xml:lang="es-ES">Aplicación CAD 2D/3D para dibujos DWG y DXF</summary>
|
||||
<summary xml:lang="fi-FI">2D/3D-CAD-sovellus DWG- ja DXF-piirustuksille</summary>
|
||||
<summary xml:lang="fr-FR">Application CAO 2D/3D pour les dessins DWG et DXF</summary>
|
||||
<summary xml:lang="hi-IN">DWG और DXF चित्रों के लिए 2D/3D CAD अनुप्रयोग</summary>
|
||||
<summary xml:lang="hu-HU">2D/3D CAD-alkalmazás DWG és DXF rajzokhoz</summary>
|
||||
<summary xml:lang="it-IT">Applicazione CAD 2D/3D per disegni DWG e DXF</summary>
|
||||
<summary xml:lang="ja-JP">DWGとDXF図面用の2D/3D CADアプリ</summary>
|
||||
<summary xml:lang="ko-KR">DWG 및 DXF 도면용 2D/3D CAD 앱</summary>
|
||||
<summary xml:lang="nl-NL">2D/3D-CAD-toepassing voor DWG- en DXF-tekeningen</summary>
|
||||
<summary xml:lang="pl-PL">Aplikacja CAD 2D/3D do rysunków DWG i DXF</summary>
|
||||
<summary xml:lang="pt-BR">Aplicativo CAD 2D/3D para desenhos DWG e DXF</summary>
|
||||
<summary xml:lang="ru-RU">Приложение 2D/3D CAD для чертежей DWG и DXF</summary>
|
||||
<summary xml:lang="tr-TR">DWG ve DXF çizimleri için 2D/3D CAD uygulaması</summary>
|
||||
<summary xml:lang="zh-CN">用于 DWG 和 DXF 图形的 2D/3D CAD 应用程序</summary>
|
||||
<summary xml:lang="zh-TW">用於 DWG 與 DXF 圖面的 2D/3D CAD 應用程式</summary>
|
||||
<description>
|
||||
<p>
|
||||
Open CAD Studio is a 2D/3D CAD application for creating and editing
|
||||
technical drawings. It reads and writes the standard DWG and DXF file
|
||||
formats so drawings stay compatible with other CAD software.
|
||||
</p>
|
||||
<p xml:lang="ar-SA">أنشئ الرسومات الفنية وحررها بتنسيقي DWG وDXF.</p>
|
||||
<p xml:lang="bg-BG">Създавайте и редактирайте технически чертежи във формати DWG и DXF.</p>
|
||||
<p xml:lang="cs-CZ">Vytvářejte a upravujte technické výkresy ve formátech DWG a DXF.</p>
|
||||
<p xml:lang="de-DE">Technische Zeichnungen in DWG- und DXF-Formaten erstellen und bearbeiten.</p>
|
||||
<p xml:lang="el-GR">Δημιουργήστε και επεξεργαστείτε τεχνικά σχέδια σε μορφές DWG και DXF.</p>
|
||||
<p>Create and edit technical drawings in DWG and DXF formats.</p>
|
||||
<p xml:lang="es-ES">Cree y edite dibujos técnicos en formatos DWG y DXF.</p>
|
||||
<p xml:lang="fi-FI">Luo ja muokkaa teknisiä piirustuksia DWG- ja DXF-muodoissa.</p>
|
||||
<p xml:lang="fr-FR">Créez et modifiez des dessins techniques aux formats DWG et DXF.</p>
|
||||
<p xml:lang="hi-IN">DWG और DXF प्रारूपों में तकनीकी चित्र बनाएँ और संपादित करें।</p>
|
||||
<p xml:lang="hu-HU">Műszaki rajzok készítése és szerkesztése DWG és DXF formátumban.</p>
|
||||
<p xml:lang="it-IT">Crea e modifica disegni tecnici nei formati DWG e DXF.</p>
|
||||
<p xml:lang="ja-JP">DWGおよびDXF形式で技術図面を作成・編集できます。</p>
|
||||
<p xml:lang="ko-KR">DWG 및 DXF 형식으로 기술 도면을 만들고 편집하세요.</p>
|
||||
<p xml:lang="nl-NL">Maak en bewerk technische tekeningen in DWG- en DXF-indeling.</p>
|
||||
<p xml:lang="pl-PL">Twórz i edytuj rysunki techniczne w formatach DWG i DXF.</p>
|
||||
<p xml:lang="pt-BR">Crie e edite desenhos técnicos nos formatos DWG e DXF.</p>
|
||||
<p xml:lang="ru-RU">Создавайте и редактируйте технические чертежи в форматах DWG и DXF.</p>
|
||||
<p xml:lang="tr-TR">DWG ve DXF biçimlerinde teknik çizimler oluşturun ve düzenleyin.</p>
|
||||
<p xml:lang="zh-CN">创建和编辑 DWG 与 DXF 格式的技术图形。</p>
|
||||
<p xml:lang="zh-TW">建立及編輯 DWG 與 DXF 格式的技術圖面。</p>
|
||||
</description>
|
||||
|
||||
<launchable type="desktop-id">io.github.HakanSeven12.OpenCadStudio.desktop</launchable>
|
||||
|
||||
<categories>
|
||||
<category>Graphics</category>
|
||||
<category>Engineering</category>
|
||||
</categories>
|
||||
|
||||
<keywords>
|
||||
<keyword>CAD</keyword>
|
||||
<keyword>DWG</keyword>
|
||||
<keyword>DXF</keyword>
|
||||
<keyword>drawing</keyword>
|
||||
<keyword>design</keyword>
|
||||
<keyword>engineering</keyword>
|
||||
<keyword xml:lang="ar-SA">الرسم</keyword>
|
||||
<keyword xml:lang="ar-SA">تصميم</keyword>
|
||||
<keyword xml:lang="ar-SA">هندسي</keyword>
|
||||
<keyword xml:lang="bg-BG">Чертеж</keyword>
|
||||
<keyword xml:lang="bg-BG">Проектиране</keyword>
|
||||
<keyword xml:lang="bg-BG">Инженерен</keyword>
|
||||
<keyword xml:lang="cs-CZ">Kreslení</keyword>
|
||||
<keyword xml:lang="cs-CZ">Návrh</keyword>
|
||||
<keyword xml:lang="cs-CZ">Strojírenství</keyword>
|
||||
<keyword xml:lang="de-DE">Zeichnung</keyword>
|
||||
<keyword xml:lang="de-DE">Konstruktion</keyword>
|
||||
<keyword xml:lang="de-DE">Technisch</keyword>
|
||||
<keyword xml:lang="el-GR">Σχέδιο</keyword>
|
||||
<keyword xml:lang="el-GR">Σχεδιασμός</keyword>
|
||||
<keyword xml:lang="el-GR">Μηχανολογικές</keyword>
|
||||
<keyword>Drawing</keyword>
|
||||
<keyword>Design</keyword>
|
||||
<keyword>Engineering</keyword>
|
||||
<keyword xml:lang="es-ES">Dibujo</keyword>
|
||||
<keyword xml:lang="es-ES">Diseño</keyword>
|
||||
<keyword xml:lang="es-ES">Ingeniería</keyword>
|
||||
<keyword xml:lang="fi-FI">Piirustus</keyword>
|
||||
<keyword xml:lang="fi-FI">Suunnittelu</keyword>
|
||||
<keyword xml:lang="fi-FI">Tekniikka</keyword>
|
||||
<keyword xml:lang="fr-FR">Dessin</keyword>
|
||||
<keyword xml:lang="fr-FR">Conception</keyword>
|
||||
<keyword xml:lang="fr-FR">Génie mécanique</keyword>
|
||||
<keyword xml:lang="hi-IN">ड्रॉइंग</keyword>
|
||||
<keyword xml:lang="hi-IN">डिज़ाइन</keyword>
|
||||
<keyword xml:lang="hi-IN">इंजीनियरिंग</keyword>
|
||||
<keyword xml:lang="hu-HU">Rajzolás</keyword>
|
||||
<keyword xml:lang="hu-HU">Tervezés</keyword>
|
||||
<keyword xml:lang="hu-HU">Mérnöki</keyword>
|
||||
<keyword xml:lang="it-IT">Disegno</keyword>
|
||||
<keyword xml:lang="it-IT">Progettazione</keyword>
|
||||
<keyword xml:lang="it-IT">Ingegneria</keyword>
|
||||
<keyword xml:lang="ja-JP">図面</keyword>
|
||||
<keyword xml:lang="ja-JP">設計</keyword>
|
||||
<keyword xml:lang="ja-JP">工学表記</keyword>
|
||||
<keyword xml:lang="ko-KR">그리기</keyword>
|
||||
<keyword xml:lang="ko-KR">설계</keyword>
|
||||
<keyword xml:lang="ko-KR">공학</keyword>
|
||||
<keyword xml:lang="nl-NL">Tekening</keyword>
|
||||
<keyword xml:lang="nl-NL">Ontwerp</keyword>
|
||||
<keyword xml:lang="nl-NL">Technisch</keyword>
|
||||
<keyword xml:lang="pl-PL">Rysunek</keyword>
|
||||
<keyword xml:lang="pl-PL">Projektowanie</keyword>
|
||||
<keyword xml:lang="pl-PL">Inżynieria</keyword>
|
||||
<keyword xml:lang="pt-BR">Desenho</keyword>
|
||||
<keyword xml:lang="pt-BR">Projeto</keyword>
|
||||
<keyword xml:lang="pt-BR">Engenharia</keyword>
|
||||
<keyword xml:lang="ru-RU">Чертёж</keyword>
|
||||
<keyword xml:lang="ru-RU">Проектирование</keyword>
|
||||
<keyword xml:lang="ru-RU">Инженерный</keyword>
|
||||
<keyword xml:lang="tr-TR">Çizim</keyword>
|
||||
<keyword xml:lang="tr-TR">Tasarım</keyword>
|
||||
<keyword xml:lang="tr-TR">Mühendislik</keyword>
|
||||
<keyword xml:lang="zh-CN">绘图</keyword>
|
||||
<keyword xml:lang="zh-CN">设计</keyword>
|
||||
<keyword xml:lang="zh-CN">工程学</keyword>
|
||||
<keyword xml:lang="zh-TW">繪圖</keyword>
|
||||
<keyword xml:lang="zh-TW">設計</keyword>
|
||||
<keyword xml:lang="zh-TW">工程學</keyword>
|
||||
</keywords>
|
||||
|
||||
<launchable type="desktop-id">io.github.HakanSeven12.OpenCadStudio.desktop</launchable>
|
||||
<categories>
|
||||
<category>Graphics</category>
|
||||
<category>Engineering</category>
|
||||
</categories>
|
||||
<url type="homepage">https://github.com/HakanSeven12/OpenCADStudio</url>
|
||||
<url type="bugtracker">https://github.com/HakanSeven12/OpenCADStudio/issues</url>
|
||||
|
||||
<developer id="io.github.hakanseven12">
|
||||
<name>Hakan Seven</name>
|
||||
</developer>
|
||||
|
||||
<content_rating type="oars-1.1" />
|
||||
|
||||
<provides>
|
||||
<mediatype>image/vnd.dwg</mediatype>
|
||||
<mediatype>image/vnd.dxf</mediatype>
|
||||
|
||||
+15
-90
@@ -1,26 +1,4 @@
|
||||
<?xml version='1.0' encoding='windows-1252'?>
|
||||
<!--
|
||||
WiX source for the Windows MSI installer.
|
||||
|
||||
Build (CI / locally with WiX Toolset 3.x in PATH):
|
||||
candle.exe -arch x64 -dVersion=<x.y.z> -dSource=target\release\OpenCADStudio.exe \
|
||||
-dIcon=packaging\windows\AppIcon.ico packaging\windows\main.wxs \
|
||||
-out packaging\windows\main.wixobj
|
||||
light.exe packaging\windows\main.wixobj -ext WixUIExtension -out OpenCADStudio.msi
|
||||
|
||||
Provides:
|
||||
* Per-machine install under Program Files\Open CAD Studio.
|
||||
* Start Menu shortcut under Programs\Open CAD Studio.
|
||||
* Desktop shortcut.
|
||||
* File associations for .dwg and .dxf via a single ProgID; both
|
||||
route through `OpenCADStudio.exe "%1"` so the OS hands the file
|
||||
path to the app as argv[1] (consumed in OpenCADStudio::boot).
|
||||
* Default Programs registration (Capabilities + RegisteredApplications)
|
||||
so the app shows up in Settings > Default Apps and can be set as the
|
||||
default handler for .dwg / .dxf.
|
||||
* Standard Add/Remove Programs entry with icon.
|
||||
* MajorUpgrade — installing a newer MSI replaces the old version.
|
||||
-->
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
|
||||
<Product
|
||||
Id='*'
|
||||
@@ -33,8 +11,8 @@
|
||||
|
||||
<Package
|
||||
Id='*'
|
||||
Keywords='Installer'
|
||||
Description='Open CAD Studio Installer'
|
||||
Keywords='!(loc.Installer)'
|
||||
Description='!(loc.InstallerDescription)'
|
||||
Manufacturer='Hakan Seven'
|
||||
InstallerVersion='450'
|
||||
Languages='1033'
|
||||
@@ -44,7 +22,7 @@
|
||||
|
||||
<MajorUpgrade
|
||||
Schedule='afterInstallInitialize'
|
||||
DowngradeErrorMessage='A newer version of [ProductName] is already installed. Setup will now exit.' />
|
||||
DowngradeErrorMessage='!(loc.DowngradeError)' />
|
||||
|
||||
<Media Id='1' Cabinet='product.cab' EmbedCab='yes' />
|
||||
|
||||
@@ -54,12 +32,7 @@
|
||||
<Property Id='ARPURLINFOABOUT' Value='https://github.com/HakanSeven12/OpenCADStudio' />
|
||||
<Property Id='ARPURLUPDATEINFO' Value='https://github.com/HakanSeven12/OpenCADStudio/releases' />
|
||||
<Property Id='ARPCONTACT' Value='Hakan Seven' />
|
||||
<Property Id='ARPCOMMENTS' Value='2D/3D CAD application for DWG and DXF drawings.' />
|
||||
<!--
|
||||
Hide "Repair" from the Apps & Features entry — there is no repair flow.
|
||||
"Modify" is deliberately left enabled: WixUI_FeatureTree supports it, so
|
||||
users can add/remove the optional Desktop shortcut feature later.
|
||||
-->
|
||||
<Property Id='ARPCOMMENTS' Value='!(loc.ApplicationDescription)' />
|
||||
<Property Id='ARPNOREPAIR' Value='1' />
|
||||
|
||||
<Directory Id='TARGETDIR' Name='SourceDir'>
|
||||
@@ -77,70 +50,40 @@
|
||||
Id='StartMenuShortcut'
|
||||
Directory='ProgramMenuDir'
|
||||
Name='Open CAD Studio'
|
||||
Description='Launch Open CAD Studio'
|
||||
Description='!(loc.Launch)'
|
||||
WorkingDirectory='APPLICATIONROOTDIRECTORY'
|
||||
Icon='AppIcon.ico'
|
||||
IconIndex='0'
|
||||
Advertise='yes' />
|
||||
</File>
|
||||
|
||||
<!-- DWG/DXF file-type icons, generated from the mimetype SVGs
|
||||
(CI: magick image-vnd.{dwg,dxf}.svg -> {dwg,dxf}.ico). -->
|
||||
<File Id='DwgIco' Name='dwg.ico' DiskId='1' Source='packaging\windows\dwg.ico' />
|
||||
<File Id='DxfIco' Name='dxf.ico' DiskId='1' Source='packaging\windows\dxf.ico' />
|
||||
|
||||
<!-- DWG thumbnail provider (IThumbnailProvider). Ships beside the
|
||||
exe; OpenCADStudio self-registers it under HKCU on startup
|
||||
(see file_association::install_thumbnailer). -->
|
||||
<File
|
||||
Id='DwgThumbDll'
|
||||
Name='dwg_thumbnailer_win.dll'
|
||||
DiskId='1'
|
||||
Source='target\release\dwg_thumbnailer_win.dll' />
|
||||
|
||||
<!--
|
||||
File associations. Two ProgIDs (one per extension) so the
|
||||
`<Verb Id='open'>` rows don't collide on the same registry
|
||||
primary key — both ProgIDs invoke the same exe with the
|
||||
file path as `argv[1]`.
|
||||
-->
|
||||
<ProgId
|
||||
Id='OpenCADStudio.DWG'
|
||||
Description='DWG Drawing'
|
||||
Description='!(loc.DwgDrawing)'
|
||||
Icon='DwgIco'
|
||||
IconIndex='0'>
|
||||
<Extension Id='dwg' ContentType='image/vnd.dwg'>
|
||||
<Verb Id='open' Command='Open' TargetFile='OpenCADStudioEXE' Argument='"%1"' />
|
||||
<Verb Id='open' Command='!(loc.Open)' TargetFile='OpenCADStudioEXE' Argument='"%1"' />
|
||||
</Extension>
|
||||
</ProgId>
|
||||
|
||||
<ProgId
|
||||
Id='OpenCADStudio.DXF'
|
||||
Description='DXF Drawing'
|
||||
Description='!(loc.DxfDrawing)'
|
||||
Icon='DxfIco'
|
||||
IconIndex='0'>
|
||||
<Extension Id='dxf' ContentType='image/vnd.dxf'>
|
||||
<Verb Id='open' Command='Open' TargetFile='OpenCADStudioEXE' Argument='"%1"' />
|
||||
<Verb Id='open' Command='!(loc.Open)' TargetFile='OpenCADStudioEXE' Argument='"%1"' />
|
||||
</Extension>
|
||||
</ProgId>
|
||||
</Component>
|
||||
|
||||
<!--
|
||||
Default Programs registration. The ProgId/Extension rows above
|
||||
register the handlers, but modern Windows (8+) guards the actual
|
||||
default via a per-user UserChoice hash an installer can't forge.
|
||||
Publishing Capabilities + a RegisteredApplications entry is the
|
||||
supported way in: it makes Open CAD Studio appear in Settings >
|
||||
Default Apps and the "Open with" list, so .dwg / .dxf can be set
|
||||
to it. The keys are HKLM-wide, so the shell picks them up on its
|
||||
next association query without a forced refresh.
|
||||
-->
|
||||
<Component Id='DefaultPrograms' Guid='6f3e9b2a-1c4d-4f8a-9b7e-2d5a8c1f0e63' Win64='yes'>
|
||||
<!--
|
||||
Applications\<exename>\DefaultIcon is what Windows shows in the
|
||||
"Open with" context-menu list and "Choose another app" picker.
|
||||
Without it the entry appears with a blank generic document icon.
|
||||
-->
|
||||
<RegistryValue
|
||||
Root='HKLM'
|
||||
Key='SOFTWARE\Classes\Applications\OpenCADStudio.exe\DefaultIcon'
|
||||
@@ -181,7 +124,7 @@
|
||||
Key='Software\Open CAD Studio\Capabilities'
|
||||
Name='ApplicationDescription'
|
||||
Type='string'
|
||||
Value='2D/3D CAD application for DWG and DXF drawings.' />
|
||||
Value='!(loc.ApplicationDescription)' />
|
||||
<RegistryValue
|
||||
Root='HKLM'
|
||||
Key='Software\Open CAD Studio\Capabilities\FileAssociations'
|
||||
@@ -219,18 +162,12 @@
|
||||
</Component>
|
||||
</Directory>
|
||||
</Directory>
|
||||
|
||||
<!--
|
||||
Desktop shortcut. A non-advertised shortcut with an explicit Target;
|
||||
the HKCU registry value is the component KeyPath (a shortcut on its own
|
||||
cannot be a KeyPath for a per-user resource).
|
||||
-->
|
||||
<Directory Id='DesktopFolder' Name='Desktop'>
|
||||
<Directory Id='DesktopFolder' Name='!(loc.Desktop)'>
|
||||
<Component Id='DesktopShortcutComp' Guid='c5c7f1c4-3d8a-4efd-b049-4662d9143dcd'>
|
||||
<Shortcut
|
||||
Id='DesktopShortcut'
|
||||
Name='Open CAD Studio'
|
||||
Description='Launch Open CAD Studio'
|
||||
Description='!(loc.Launch)'
|
||||
Target='[APPLICATIONROOTDIRECTORY]OpenCADStudio.exe'
|
||||
WorkingDirectory='APPLICATIONROOTDIRECTORY'
|
||||
Icon='AppIcon.ico'
|
||||
@@ -250,25 +187,15 @@
|
||||
<ComponentRef Id='MainExecutable' />
|
||||
<ComponentRef Id='DefaultPrograms' />
|
||||
<ComponentRef Id='ProgramMenuDirComp' />
|
||||
<!-- Optional, user-deselectable in the feature tree (default on). -->
|
||||
<Feature
|
||||
Id='DesktopShortcut'
|
||||
Title='Desktop shortcut'
|
||||
Description='Add a shortcut to Open CAD Studio on the desktop.'
|
||||
Title='!(loc.DesktopShortcut)'
|
||||
Description='!(loc.DesktopShortcutDescription)'
|
||||
Level='1'
|
||||
Absent='allow'>
|
||||
<ComponentRef Id='DesktopShortcutComp' />
|
||||
</Feature>
|
||||
</Feature>
|
||||
|
||||
<!--
|
||||
Refresh the shell after install so the new .dwg / .dxf file-type icons
|
||||
and associations appear immediately instead of only after a reboot or an
|
||||
icon-cache rebuild. `ie4uinit -show` rebuilds the per-user icon cache.
|
||||
Immediate execution keeps property access ([SystemFolder]); Return='ignore'
|
||||
means it can never fail the install, and the NOT REMOVE condition skips it
|
||||
on uninstall.
|
||||
-->
|
||||
<CustomAction
|
||||
Id='RefreshShellIcons'
|
||||
Directory='APPLICATIONROOTDIRECTORY'
|
||||
@@ -278,8 +205,6 @@
|
||||
<InstallExecuteSequence>
|
||||
<Custom Action='RefreshShellIcons' After='InstallFinalize'>NOT REMOVE</Custom>
|
||||
</InstallExecuteSequence>
|
||||
|
||||
<!-- Installer UI + finish-screen launch checkbox (see ui.wxs). -->
|
||||
<UIRef Id='OpenCADStudioUI' />
|
||||
|
||||
</Product>
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<WixLocalization xmlns="http://schemas.microsoft.com/wix/2006/localization" Culture="en-US" Codepage="1252">
|
||||
<String Id="Launch">Launch Open CAD Studio</String>
|
||||
<String Id="InstallerDescription">Open CAD Studio Installer</String>
|
||||
<String Id="Installer">Installer</String>
|
||||
<String Id="DwgDrawing">DWG Drawing</String>
|
||||
<String Id="DxfDrawing">DXF Drawing</String>
|
||||
<String Id="DesktopShortcut">Desktop shortcut</String>
|
||||
<String Id="DesktopShortcutDescription">Add a shortcut to Open CAD Studio on the desktop.</String>
|
||||
<String Id="DowngradeError">A newer version of [ProductName] is already installed. Setup will now exit.</String>
|
||||
<String Id="Open">Open</String>
|
||||
<String Id="Desktop">Desktop</String>
|
||||
<String Id="ApplicationDescription">2D/3D CAD application for DWG and DXF drawings</String>
|
||||
</WixLocalization>
|
||||
@@ -1,39 +1,9 @@
|
||||
<?xml version='1.0' encoding='windows-1252'?>
|
||||
<!--
|
||||
Installer UI for the Windows MSI, kept separate from the package/feature
|
||||
definition in main.wxs. Linked in via `<UIRef Id='OpenCADStudioUI' />`
|
||||
there; both files are compiled together by candle and linked by light
|
||||
(which needs `-ext WixUIExtension` for the WixUI_Minimal dialog set).
|
||||
|
||||
Provides:
|
||||
* WixUI_FeatureTree wizard (Welcome → License → Features → Progress →
|
||||
Finish). The Features page lets the user deselect the optional Desktop
|
||||
shortcut feature (default on).
|
||||
* A pre-ticked "Launch Open CAD Studio" checkbox on the finish screen
|
||||
that starts the freshly installed exe when the user clicks Finish.
|
||||
-->
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
|
||||
<Fragment>
|
||||
<!--
|
||||
Finish-screen "Launch Open CAD Studio" checkbox.
|
||||
WIXUI_EXITDIALOGOPTIONALCHECKBOX=1 pre-ticks the checkbox; the Publish
|
||||
below fires the launch action when the user clicks Finish with it checked.
|
||||
-->
|
||||
<Property Id='WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT' Value='Launch Open CAD Studio' />
|
||||
<Property Id='WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT' Value='!(loc.Launch)' />
|
||||
<Property Id='WIXUI_EXITDIALOGOPTIONALCHECKBOX' Value='1' />
|
||||
|
||||
<!--
|
||||
License shown on the WixUI_Minimal EULA page. Without this variable WiX
|
||||
falls back to its built-in placeholder (Lorem ipsum) RTF. Point it at the
|
||||
project's GPL-3 text (License.rtf, generated from the repo LICENSE).
|
||||
-->
|
||||
<WixVariable Id='WixUILicenseRtf' Value='$(var.License)' />
|
||||
|
||||
<!--
|
||||
Start the installed exe after the wizard closes. FileKey points at the
|
||||
File defined in main.wxs (light resolves the cross-fragment reference).
|
||||
asyncNoWait lets the installer exit cleanly while the app starts.
|
||||
-->
|
||||
<CustomAction
|
||||
Id='LaunchApplication'
|
||||
FileKey='OpenCADStudioEXE'
|
||||
|
||||
Reference in new issue
Block a user