[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] [PATCH virt-viewer] win: add virt-viewer-x86.msi build rule



In order to build the MSI, you will need msitools:
http://ftp.gnome.org/pub/GNOME/sources/msitools/

Granted, the WiX syntax is quite verbose. I have ideas to provide a
simpler syntax or an alternative for packaging entire directories in
the future, so that all installed files would be packaged.
---
 configure.ac            |   1 +
 data/Makefile.am        |  11 +-
 data/virt-viewer.wxi    | 556 ++++++++++++++++++++++++++++++++++++++++++++++++
 data/virt-viewer.wxs.in |  81 +++++++
 4 files changed, 648 insertions(+), 1 deletion(-)
 create mode 100644 data/virt-viewer.wxi
 create mode 100644 data/virt-viewer.wxs.in

diff --git a/configure.ac b/configure.ac
index 251b134..339acbe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -199,6 +199,7 @@ fi
 AC_OUTPUT([
     Makefile
     data/Makefile
+    data/virt-viewer.wxs
     data/virt-viewer.nsis
     data/virt-viewer-debug.nsis
     icons/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index 2c3d739..d60f58c 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -2,6 +2,8 @@ NULL=
 
 EXTRA_DIST =					\
 	spice-xpi-client-remote-viewer		\
+	virt-viewer.wxi				\
+	virt-viewer.wxs.in			\
 	virt-viewer.nsis.in			\
 	virt-viewer-debug.nsis.in			\
 	$(NULL)
@@ -16,7 +18,14 @@ virt-viewer-$(VERSION).exe: virt-viewer.nsis deps.txt
 	makensis -NOCD -DDESTDIR=$$DESTDIR $< >/dev/null && \
 	rm -rf $$DESTDIR
 
-CLEANFILES = deps.txt virt-viewer-$(VERSION).exe
+virt-viewer-$(VERSION)-x86.msi: virt-viewer.wxs virt-viewer.wxi deps.txt
+	$(AM_V_GEN)DESTDIR=`mktemp -d` && \
+	make -C $(top_builddir) install DESTDIR=$$DESTDIR  && \
+	wixl -D SourceDir=/usr/i686-w64-mingw32/sys-root/mingw \
+             -D DESTDIR=$$DESTDIR/usr/i686-w64-mingw32/sys-root/mingw -o $@ $< && \
+	rm -rf $$DESTDIR
+
+CLEANFILES = deps.txt virt-viewer-$(VERSION).exe virt-viewer-$(VERSION)-x86.msi
 endif
 
 -include $(top_srcdir)/git.mk
diff --git a/data/virt-viewer.wxi b/data/virt-viewer.wxi
new file mode 100644
index 0000000..34bbc06
--- /dev/null
+++ b/data/virt-viewer.wxi
@@ -0,0 +1,556 @@
+<?xml version="1.0" encoding="utf-8"?>
+<?require gtk2.wxi?>
+<?require spice-gtk.wxi?>
+<?require gtk-vnc.wxi?>
+<?require libvirt.wxi?>
+
+<Include xmlns="http://schemas.microsoft.com/wix/2006/wi";>
+  <Fragment>
+    <DirectoryRef Id="INSTALLDIR">
+      <Directory Id="dir2D973457716DC38DFD33CF876AF6F657" Name="bin">
+        <Component Id="cmpD665063EC50E504183A9019D7837D214" Guid="*">
+          <File Id="fil1BEC4FF6A1CCD22895904DBE11E974DF" KeyPath="yes" Source="$(var.DESTDIR)/bin/debug-helper.exe"/>
+        </Component>
+        <Component Id="cmpB91987671AB53F042BD18A8FD3AF66F7" Guid="*">
+          <File Id="fil808B4A5BAB4ACD727D3823632E798743" KeyPath="yes" Source="$(var.DESTDIR)/bin/remote-viewer.exe"/>
+        </Component>
+        <Component Id="cmpA709FCEBEADC16789311644F5F6C2328" Guid="*">
+          <File Id="fil7CEDAE9C4D14F041984FFC61AE4B2D4E" KeyPath="yes" Source="$(var.DESTDIR)/bin/virt-viewer.exe"/>
+        </Component>
+      </Directory>
+      <Directory Id="dir0146537B9AA8DF6308794EC49B5A042E" Name="share">
+        <Directory Id="dirC73C3F0A7DED810BF1D367543DD5FF95" Name="locale">
+          <Directory Id="dir86B706FF3F6A51635B804E90BB8EEF2A" Name="zh_TW">
+            <Directory Id="dirC735F210B48AB54DEB1CD450266EF6CD" Name="LC_MESSAGES">
+              <Component Id="cmp53912B02786E05C7B00F6CADE34739F0" Guid="*">
+                <File Id="fil48982C9BA579D6AF9EF6CF3F46736CF0" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/zh_TW/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir01AED2EFDDC84FDA893D9AB6F8FDA3DA" Name="zh_HK">
+            <Directory Id="dir982916DA9F474855C076C2FAE173D542" Name="LC_MESSAGES">
+              <Component Id="cmpDD11E9C169701786C9F80B6AC8F65246" Guid="*">
+                <File Id="fil107090E5ABEE0879B828BD96791BC14F" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/zh_HK/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirEE813B07B14956B257DE3A05DB6BC233" Name="zh_CN">
+            <Directory Id="dirE00EBAD9935F2A8CBD31B12B2F77E04C" Name="LC_MESSAGES">
+              <Component Id="cmpD4237AC29C40724846A43972C15274D4" Guid="*">
+                <File Id="fil5E5C81E1BB863B3A212510E28722F6CB" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/zh_CN/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir0AA94B0803B8CE4811CCE3294E4FC6BB" Name="vi">
+            <Directory Id="dir1888336D2B8330FC888D0F9F03AF0938" Name="LC_MESSAGES">
+              <Component Id="cmp571B11B52AFA16749AD89D966220D326" Guid="*">
+                <File Id="filBD1AB5A7B74236D371ED3E762A021D18" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/vi/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirE9DDE4EB3EE2076C125172C4689186D6" Name="uk">
+            <Directory Id="dir5B248A12A7B45093EC4C0534F3F928E9" Name="LC_MESSAGES">
+              <Component Id="cmp587DEAAA204864BEFB42940420C5C7FE" Guid="*">
+                <File Id="filBA3F091D8C219B64B7DED0690B225BF1" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/uk/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir3622E37C89DFD0F141374FA392222059" Name="tr">
+            <Directory Id="dirB4605F60C8CBD71107C3A1BF299BA4AA" Name="LC_MESSAGES">
+              <Component Id="cmpB65A953024FB9B7454FFF5F458AD6410" Guid="*">
+                <File Id="filB819188735F396EA9C3DAB45BEE60066" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/tr/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir91CDD0414C4EA7551BAC15260429ED86" Name="te">
+            <Directory Id="dir266FCFC14894D8A3C754EC43706D2F82" Name="LC_MESSAGES">
+              <Component Id="cmp8D698617E61A2596F7685BBB903E8060" Guid="*">
+                <File Id="fil9826323D16B662F3F898E6BCA7A3C0DC" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/te/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirF6F4D8CE388502088B1296F57A922CED" Name="ta">
+            <Directory Id="dirCDCCA9A3714B36EBF739328F2E90ADBD" Name="LC_MESSAGES">
+              <Component Id="cmp467D97EAA825EF6A345B48BB3B54D3B5" Guid="*">
+                <File Id="fil6C0779D348D3DD9795108403EC20EB55" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/ta/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir2639AFB47C105310A279EA2AF010A368" Name="sv">
+            <Directory Id="dirF62EDC5C345B1501FAEEFEC7688A9128" Name="LC_MESSAGES">
+              <Component Id="cmp47E5782BA49558532ECA551EC0F40621" Guid="*">
+                <File Id="fil6B4828F6F33190E58D8C54BFE2DDC980" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/sv/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir52F360C86783B9B945F2D041CCC910BD" Name="sr">
+            <Directory Id="dirB21D8DD05442E1D3AFF7FE7B8E511233" Name="LC_MESSAGES">
+              <Component Id="cmp89F38FDDE04C2CC7F38A4C01855E4397" Guid="*">
+                <File Id="filC07662175CA8E6238B9B0E463FBA8482" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/sr/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirEBD6D9FDB3FAEB1E1389E6E37BF5FE0B" Name="sq">
+            <Directory Id="dirF6DDB46270306855FCD6F59119EBCD52" Name="LC_MESSAGES">
+              <Component Id="cmp078D82C4171623EF7695A6C3A55DB1C8" Guid="*">
+                <File Id="fil863FDAD77C8D8A3413AB913ACCF3D19E" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/sq/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirFB4327B05DCA758B0F6AAF85EC4B0AAB" Name="sk">
+            <Directory Id="dirE7F913D345D5E5751373D83B604E1EFD" Name="LC_MESSAGES">
+              <Component Id="cmp17E3CC093B023B28579D52B060B2B92E" Guid="*">
+                <File Id="filA4E35BDC88EA7D51EFFFAC8F641948CD" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/sk/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir91F0AD1088B2DB3AD56FBBDD34F7D13E" Name="si">
+            <Directory Id="dirDF0B73AA521F1859B77A4AB535F4DFAC" Name="LC_MESSAGES">
+              <Component Id="cmpEA07EEB909CAC7F15FF65341970B8755" Guid="*">
+                <File Id="fil3E52B91CD4E750CB77B92270A594FCA0" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/si/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirF52A50C95EF9A6340B4FBE511A5870BF" Name="ru">
+            <Directory Id="dirA09F874AE697E82B1B45EF34D025B90D" Name="LC_MESSAGES">
+              <Component Id="cmp29D5BE4D1716B41CCC79DCBF45207157" Guid="*">
+                <File Id="filF8E4AFD13B0D91F8B200367C173D89A4" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/ru/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirCF029FE7C3668260AAC2EF0140CA05A1" Name="ro">
+            <Directory Id="dirC4769952E49F685B55CB2A5563C4FEC9" Name="LC_MESSAGES">
+              <Component Id="cmp0B6F27DF0195FEFDDC960BEB29059CAE" Guid="*">
+                <File Id="fil794CF49AAF57F36FD6D126866A7509EA" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/ro/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir306D7A435C0446B5665BB40EA66C4FEA" Name="pt">
+            <Directory Id="dir0747F22B697BFB5D906A9E5C0D574BDB" Name="LC_MESSAGES">
+              <Component Id="cmp03B7BADC0A4D0A7303B77035A447E0D3" Guid="*">
+                <File Id="filF2AD89C3C742B7933148131D8781858C" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/pt/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirDE0478E1DFF488AF1510A77E6D9727C9" Name="pt_BR">
+            <Directory Id="dirA22C0D9F5533C824961056361224C624" Name="LC_MESSAGES">
+              <Component Id="cmp802DBD499A35B8B1C039A149177EA16D" Guid="*">
+                <File Id="fil41705E47BDE7E1D13E4179D6FF07F701" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/pt_BR/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir26CD1C06DC81F68BEA5A73056B982402" Name="pl">
+            <Directory Id="dir189353B7038FF8763803439809167DD7" Name="LC_MESSAGES">
+              <Component Id="cmpC84ABC6F9429D89184E1303F8E788720" Guid="*">
+                <File Id="filDFA0331FB7987F59079B92A46FC2D661" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/pl/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirAF97A57428631400487E32AE099C9245" Name="pa">
+            <Directory Id="dir1CD163E53A4C4ECFC178BFE7B3EF152F" Name="LC_MESSAGES">
+              <Component Id="cmp56ACDA8FB677BD670E90890D2EFFB481" Guid="*">
+                <File Id="fil40FD9EE11E80502B0CAF23BFF7C096EA" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/pa/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir536F3D5C7483FCD2D3C895CE51EE68AC" Name="or">
+            <Directory Id="dirA0F70BB4A5C886163E5CBF2DECF775C2" Name="LC_MESSAGES">
+              <Component Id="cmp792C9DED4FCC7F80F94822053B02921A" Guid="*">
+                <File Id="fil433DAC8545BB2D337CB6E5642AB05EA1" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/or/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirD56F0CD788088F61FFF3DB2647A6CCED" Name="nl">
+            <Directory Id="dir285D230C5FA3DB8C2421C0482990D90E" Name="LC_MESSAGES">
+              <Component Id="cmp8ED0F0524985A196C127E60880DCBC68" Guid="*">
+                <File Id="fil11C43BB0F52C08E6236189753F5562D5" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/nl/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir546175C87E8A4D1176E1DCEA273F3233" Name="nb">
+            <Directory Id="dir2D10813904D4BF632222D41A8711D3CF" Name="LC_MESSAGES">
+              <Component Id="cmpD25DE11C6B04493AA306E4965A96F25A" Guid="*">
+                <File Id="filE70A5CA14AF2F1A86F6DC0D2D24AA46D" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/nb/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirF78BCC6EC16DC214D8F29C3E447875FE" Name="mr">
+            <Directory Id="dir5DC2A5532689CE60F664963452368809" Name="LC_MESSAGES">
+              <Component Id="cmp90258B17CCEABAF71E9717FAC81840AD" Guid="*">
+                <File Id="fil83E1E9AE7B85C185D58D478D17DAAE25" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/mr/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirE8FA16D2C574D676B4C34C49EECEE838" Name="ml">
+            <Directory Id="dir3645BB8BAB51783A34FCE5A2789C1F54" Name="LC_MESSAGES">
+              <Component Id="cmp04B54B3449EC8C3FB0A80AAEDAEF7E48" Guid="*">
+                <File Id="filC6D5BE62B141CF412ADD2A59A2BE4308" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/ml/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir7E6C27F4D10F0818B7F64C6E916A00C4" Name="lv">
+            <Directory Id="dirEF2D42C401F5CC57E73DC7C357329612" Name="LC_MESSAGES">
+              <Component Id="cmp1BCDDDFEEB4A83F4EC101DB988A32A9E" Guid="*">
+                <File Id="filE2516272FD756E6E80388D7F30711888" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/lv/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir7D2F7161CB1A766B3E3DE30200938636" Name="ks">
+            <Directory Id="dir0E7A8578EE2115DC2A3FC7CABC414408" Name="LC_MESSAGES">
+              <Component Id="cmpBE52E31DE73DB1663DF698E1395644D8" Guid="*">
+                <File Id="filD99AFA9AA3E50B654DB58E6D0BDBDAF5" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/ks/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirC5B03DB05A014F98427DA2EBA7DE08EA" Name="ko">
+            <Directory Id="dir442BE2F38F10FA65F6CBC33833D56B98" Name="LC_MESSAGES">
+              <Component Id="cmp4D19B2587061C3ABFB613A408BC6D6F0" Guid="*">
+                <File Id="fil43D05F9854B5281F6EC1F40CCE3CE99F" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/ko/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir17DDBE48CE4AF285381D35246091AD29" Name="kn">
+            <Directory Id="dir9602192456DD60DA9AE2C79D093730F1" Name="LC_MESSAGES">
+              <Component Id="cmp340662A6D88F72C828468890CDDD0FB6" Guid="*">
+                <File Id="filD1B07971752682E974D5A4B8B6B9E388" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/kn/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir39F609938DF0762A96039F8EE17BAD2A" Name="kk">
+            <Directory Id="dir673C334AF68AE76EF359C4BFE8A72835" Name="LC_MESSAGES">
+              <Component Id="cmpFB7781AB3BDD417A6A3CFDCEFD401952" Guid="*">
+                <File Id="fil26FFBA0FA28092F8D10E6E1B1433574B" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/kk/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirFD545AFEF6120F740352ED8EA2732094" Name="ka">
+            <Directory Id="dir65786EF1304D5BEAF065323A5A97B838" Name="LC_MESSAGES">
+              <Component Id="cmp3309761D1DD72F70EC69852577DED242" Guid="*">
+                <File Id="fil6189089F60078908635D99618AE54626" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/ka/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirBA468BFD9060E0AA929FE9C438ED87F4" Name="ja">
+            <Directory Id="dir55765020F5FE80B34E53E888BC173501" Name="LC_MESSAGES">
+              <Component Id="cmp64037708385E0EC11021D6794605BF38" Guid="*">
+                <File Id="fil47406CC583B0DDDBDDBFC31B43FAF0D2" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/ja/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir6E4DC3DBF5BB55184DA31414AE87C5B0" Name="it">
+            <Directory Id="dirB50AD11AA0A6A99C9B74ED52A8D55B15" Name="LC_MESSAGES">
+              <Component Id="cmp3A6D8BD08A4B01C13E107CE23AC349D8" Guid="*">
+                <File Id="filAD1B51D3741A4AB6475A30610D9A5396" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/it/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir0226F9CB73F379A2EE47052F2679CBDA" Name="id">
+            <Directory Id="dir3600E6245CEE7B59DB530A1FACC8C84D" Name="LC_MESSAGES">
+              <Component Id="cmp6A7D26BA26C406B63E073EA535556CBE" Guid="*">
+                <File Id="fil5092D95B1B70E473176E2C76EA2CA7F8" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/id/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir68F7E4618C857DE21E8A5D6124C851DC" Name="hu">
+            <Directory Id="dir63BAEF5718333305E72A01A4547C8C41" Name="LC_MESSAGES">
+              <Component Id="cmpF9966968129B12B26E2ED707D24235A3" Guid="*">
+                <File Id="fil5ABAA46F40F3AC8ED7C96EF57F742AE4" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/hu/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir350E818970511220594669D3A0FD15A4" Name="hi">
+            <Directory Id="dir5C19B23B4949431A8A1EC14E1EDF9D3D" Name="LC_MESSAGES">
+              <Component Id="cmpBAE24916E7DDD9F15078883DC5A9C281" Guid="*">
+                <File Id="fil876CF5EC2524C69DE5CA017D51B8409A" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/hi/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir521C2AE02355C43239E67A17553097ED" Name="he">
+            <Directory Id="dir57B056B6F9D63F20248825B816E03632" Name="LC_MESSAGES">
+              <Component Id="cmp075C882B5E7A0439DF6BFA75F5E19986" Guid="*">
+                <File Id="fil8336AA0FF4515F93B3C563ABF8C8C985" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/he/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir02C28859BBE7B4D4AF06D9AD3D7FAE49" Name="gu">
+            <Directory Id="dirA7F65B3A3807FE9ECA8AED6E865990EA" Name="LC_MESSAGES">
+              <Component Id="cmpDD324A84562572850697D2D0E2AF1702" Guid="*">
+                <File Id="filD45C3E62AABA22B29B1C67F965A677C5" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/gu/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirB95AF509E047A7474E13F2594A1E2391" Name="gl">
+            <Directory Id="dirAC05FE9D916F5B46D202B07255B4DA3A" Name="LC_MESSAGES">
+              <Component Id="cmp306581C85379152BBCC75F8896EF074F" Guid="*">
+                <File Id="fil8EA369F1B0E73A95C7238F76CF1F5202" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/gl/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirE37A483BCDA718367F3452AB5B891804" Name="fr">
+            <Directory Id="dirC9950ADD8AD0D6452504A434FF5DE14C" Name="LC_MESSAGES">
+              <Component Id="cmp867815C1283E342315802A915BD94538" Guid="*">
+                <File Id="filA261FC0C0ACAD64328114F45599F936E" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/fr/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirE81F4378959A81F7BEF8E75C6C2DD42D" Name="fi">
+            <Directory Id="dir271E76C393F14D94CE11CB1091DAE096" Name="LC_MESSAGES">
+              <Component Id="cmp2F5CD954B4ACFF2852F6153228A173AC" Guid="*">
+                <File Id="filE0B9CB83E026AC6C9656706AB74307B6" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/fi/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir46A0D678AF8E85E2A9D62FDE08D81D09" Name="fa">
+            <Directory Id="dirE2FEEDB18722EDBE51A1F1FB6069266E" Name="LC_MESSAGES">
+              <Component Id="cmpF707774A1D29CB00B55442C4111DCBCB" Guid="*">
+                <File Id="fil5A9250D09987AA13BAD9A3396D6EC214" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/fa/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirF4553466E52484176FBA87AD75060562" Name="eu">
+            <Directory Id="dirA0F426B0CD901A83F27798AFF59B8D2B" Name="LC_MESSAGES">
+              <Component Id="cmpC0A51068B79B7A71CB4764A178548001" Guid="*">
+                <File Id="fil5E2E72798DB0858DB56ADC965FB55D16" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/eu/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirA3C18D86BAD75CC14F477F8EF55C4A0B" Name="es">
+            <Directory Id="dir2E2C13B4C4D50516DDA734118C4B4A75" Name="LC_MESSAGES">
+              <Component Id="cmpA621EB8A4A9D8FB3909882BA2C1D61D7" Guid="*">
+                <File Id="fil16EB658246B6E9519C7E7303EB3C78F6" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/es/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir5E4A891C34C1D16BA66F15FBE0ACFD8F" Name="el">
+            <Directory Id="dir76ECB07B9E6BAC3F4003B5AE800C98D8" Name="LC_MESSAGES">
+              <Component Id="cmp96064ED3F5D5EAB6D63EB28C9A90EA48" Guid="*">
+                <File Id="filFB67734378CD5CABE2518E2AA47C64A2" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/el/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirDE1D6F13C2001B7F09E1E5732C22CE5A" Name="de">
+            <Directory Id="dirB7A2323E88C542AABD669765C27CA82C" Name="LC_MESSAGES">
+              <Component Id="cmpD8EBA5CA3728638F6BA2E19B76F435E9" Guid="*">
+                <File Id="fil377A340E59C36330A4FE8E786A355213" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/de/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirF206179366C61B71CC28E0C11AF2D399" Name="cs">
+            <Directory Id="dir7663745AF0F5B8814D55CBB9E048DE53" Name="LC_MESSAGES">
+              <Component Id="cmp519498C153DFF8466CCD8D6DF75D4CFB" Guid="*">
+                <File Id="filEBFF0AAFCB4442C8CE1D00374E81A4FF" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/cs/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir0B0E31BC1FCE63260DEAFB03DDCDC128" Name="ca">
+            <Directory Id="dir2B2434B532CC1E250BA638EFC45221FD" Name="LC_MESSAGES">
+              <Component Id="cmpF9FF42666ADB0AA51E9E9796DE7656BE" Guid="*">
+                <File Id="fil4EC8F9300748BBA194CF90D7FEB70A03" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/ca/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir2C8D53F61D2BFE169435F5C03EDAAA02" Name="br">
+            <Directory Id="dir0F3EB8BEB737F54CB954D97EEC6EC818" Name="LC_MESSAGES">
+              <Component Id="cmpB9991B1EB46031BE4D8F7E573091205E" Guid="*">
+                <File Id="fil30A9427A385FBD3F26A2E1FF26CD6FFE" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/br/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir42E93564A0FFFC06EF91975B2CFC51CC" Name="bn">
+            <Directory Id="dir79DDB9F2C9AA172D7FC46E7DFEE34A21" Name="LC_MESSAGES">
+              <Component Id="cmpEF19AE1E80A8A627DC8B5463083969A8" Guid="*">
+                <File Id="fil4FB2A7EE7773AA9CD4BB172B0B918A1B" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/bn/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir7A61C600D84D30BDBEDBC3D9F1A0CAB3" Name="bn_IN">
+            <Directory Id="dirAECF2250DA5807814380E80BE1446F93" Name="LC_MESSAGES">
+              <Component Id="cmp1407028AE5E91CDB58691CDF320283AA" Guid="*">
+                <File Id="fil9F8D7425B86430395A1C1BCB3C456CA3" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/bn_IN/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirB169CE21299A6DA940F23537CBDFBE85" Name="bg">
+            <Directory Id="dirD992D14012BF11A1BCC9AF5167F455BA" Name="LC_MESSAGES">
+              <Component Id="cmp729AF10571823D5D768B2A8AE15EA066" Guid="*">
+                <File Id="fil78B554A9E2F6CFD48639DB040F95B35E" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/bg/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirEC2A333B093B48FFEEF1363EB7F172C8" Name="ast">
+            <Directory Id="dir1B5C0D3A0B498A8B0D6DFB8F19D4378A" Name="LC_MESSAGES">
+              <Component Id="cmpB9E226AF35DD6DF7C5CBE17ABE476791" Guid="*">
+                <File Id="fil1CA76E50843934D8F03CD8DECE3C59EF" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/ast/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dirB335EE0F1256EC47A7983AC92DF9DB6F" Name="as">
+            <Directory Id="dir37522C456E29BFA6C9E5E0CFB1641DAA" Name="LC_MESSAGES">
+              <Component Id="cmpF0B78DE72630FAA52E715F518B0EEA96" Guid="*">
+                <File Id="fil894CE241EF3F483AE6F9B4380669841F" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/as/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+          <Directory Id="dir027FC06488B69577190C80C757399774" Name="ar">
+            <Directory Id="dir2C9011DA52F825DF01F657FC948989ED" Name="LC_MESSAGES">
+              <Component Id="cmpD6839A3ADDDFBF09E5A69F78DE8E3408" Guid="*">
+                <File Id="filF580E3BC49460E3E7DA4CA92819C9F34" KeyPath="yes" Source="$(var.DESTDIR)/share/locale/ar/LC_MESSAGES/virt-viewer.mo"/>
+              </Component>
+            </Directory>
+          </Directory>
+        </Directory>
+        <Directory Id="dir34ACB5F6DE1D0FF49E791D631A18D819" Name="man">
+          <Directory Id="dir1CC6B86026F5C38B4E92EF9B88CADFC9" Name="man1">
+            <Component Id="cmpF8042C459AED0D0106B4894EC758B1F0" Guid="*">
+              <File Id="fil19DC0F1475CE220376173F1054F4777D" KeyPath="yes" Source="$(var.DESTDIR)/share/man/man1/virt-viewer.1"/>
+            </Component>
+            <Component Id="cmpE18DFD61F89E13D6B67D7FA720337753" Guid="*">
+              <File Id="fil7DF0C9A4C8189ACE1DDA282B2099B7B2" KeyPath="yes" Source="$(var.DESTDIR)/share/man/man1/remote-viewer.1"/>
+            </Component>
+          </Directory>
+        </Directory>
+        <Directory Id="dir95018A33DA0B6472E567EB365CA30968" Name="applications">
+          <Component Id="cmpC0CFBF963E03DB3F55CE60D60EA938CC" Guid="*">
+            <File Id="filAC2EC31DCD6FE5969638279468978BF3" KeyPath="yes" Source="$(var.DESTDIR)/share/applications/remote-viewer.desktop"/>
+          </Component>
+        </Directory>
+        <Directory Id="dir336ACF75F30396BFFE4BBE5AE6900F69" Name="virt-viewer">
+          <Directory Id="dir8FB461B995FFC2936862DB906306B945" Name="ui">
+            <Component Id="cmp61E2F5B3E40715975BF9159CA59A3A3C" Guid="*">
+              <File Id="filEBA006303A4CBC828D134FE87252AA7E" KeyPath="yes" Source="$(var.DESTDIR)/share/virt-viewer/ui/virt-viewer-auth.xml"/>
+            </Component>
+            <Component Id="cmpCA6E7D1E850F5D317E4C0CA437E6E41E" Guid="*">
+              <File Id="fil3243BFE180F842905C0BBA46FEFF9FC2" KeyPath="yes" Source="$(var.DESTDIR)/share/virt-viewer/ui/virt-viewer-about.xml"/>
+            </Component>
+            <Component Id="cmp448FBC118D47FF6117CB311F107C096B" Guid="*">
+              <File Id="fil2CF7D28E5A862D52913D4B886694EEF9" KeyPath="yes" Source="$(var.DESTDIR)/share/virt-viewer/ui/virt-viewer.xml"/>
+            </Component>
+          </Directory>
+        </Directory>
+        <Directory Id="dir01FB8D8FEB7DC3A59284EC93FEB49B35" Name="icons">
+          <Directory Id="dir5AA12250A515E4EBC4DE3FEABC3BDBBE" Name="hicolor">
+            <Directory Id="dir72CC184CA9E7FB56A1BEBECDDA1F8844" Name="256x256">
+              <Directory Id="dir0567121C841D9D1845AFD84E446A7931" Name="apps">
+                <Component Id="cmp19B0573560E75E00D7545EE1624E2258" Guid="*">
+                  <File Id="filE30594BBB9932B5B79832A9C160FDBBE" KeyPath="yes" Source="$(var.DESTDIR)/share/icons/hicolor/256x256/apps/virt-viewer.png"/>
+                </Component>
+              </Directory>
+            </Directory>
+            <Directory Id="dirF2A1A19DA667938CD351B02D90CE3144" Name="48x48">
+              <Directory Id="dir4CF9F282A02B5DEA096436A8AF7581D1" Name="apps">
+                <Component Id="cmpF2E36FD2FF1BBCE22081868EBEF5E2AF" Guid="*">
+                  <File Id="filF2D4412BA168DF6A549D6C21E9F7E49E" KeyPath="yes" Source="$(var.DESTDIR)/share/icons/hicolor/48x48/apps/virt-viewer.png"/>
+                </Component>
+              </Directory>
+            </Directory>
+            <Directory Id="dirB97BB383D123335A55B8E8126DF15E3F" Name="32x32">
+              <Directory Id="dir4898AC990CDFDE3C5D16B19AE6758BEE" Name="apps">
+                <Component Id="cmpCCA2293F26971FB9DF20908FDA51F11F" Guid="*">
+                  <File Id="fil02682A643EEAE36E7990DBBD3FCA9892" KeyPath="yes" Source="$(var.DESTDIR)/share/icons/hicolor/32x32/apps/virt-viewer.png"/>
+                </Component>
+              </Directory>
+            </Directory>
+            <Directory Id="dirA9EE3874A8EE283E2CC066B340265994" Name="24x24">
+              <Directory Id="dir431DECBDC07B9274E52C5A9B3B9C7D44" Name="apps">
+                <Component Id="cmpE69F58170E8A8B743301B8FBE7EF0BFF" Guid="*">
+                  <File Id="filE0EB7A69AA3867933B3757FB66325B6F" KeyPath="yes" Source="$(var.DESTDIR)/share/icons/hicolor/24x24/apps/virt-viewer.png"/>
+                </Component>
+              </Directory>
+            </Directory>
+            <Directory Id="dir04B4A34348854A37EE67CD4DACE81116" Name="22x22">
+              <Directory Id="dir81C1A3CA7AE3A29C6F26C04EAF26522E" Name="apps">
+                <Component Id="cmp655DFEA1A2CAC1814F56F62DEEBF1E4C" Guid="*">
+                  <File Id="fil02900ECFA5DE9C4F0E12B74C943EA429" KeyPath="yes" Source="$(var.DESTDIR)/share/icons/hicolor/22x22/apps/virt-viewer.png"/>
+                </Component>
+              </Directory>
+            </Directory>
+            <Directory Id="dirD1A23FCFD28F5C89849019A2C3D6AC91" Name="16x16">
+              <Directory Id="dir63DA0EEEA3AA79C1860B97C112141871" Name="apps">
+                <Component Id="cmp7AB3CBF76241050E0F6D39EC5818B8EA" Guid="*">
+                  <File Id="filD7E0A205A8B4DD7B9062E03A733FF49B" KeyPath="yes" Source="$(var.DESTDIR)/share/icons/hicolor/16x16/apps/virt-viewer.png"/>
+                </Component>
+              </Directory>
+            </Directory>
+          </Directory>
+        </Directory>
+      </Directory>
+    </DirectoryRef>
+  </Fragment>
+  <Fragment>
+    <ComponentGroup Id="CG.virt-viewer">
+      <ComponentGroupRef Id="CG.gtk2"/>
+      <ComponentGroupRef Id="CG.spice-gtk"/>
+      <ComponentGroupRef Id="CG.libvirt"/>
+      <ComponentGroupRef Id="CG.gtk-vnc"/>
+      <ComponentRef Id="cmpD665063EC50E504183A9019D7837D214"/>
+      <ComponentRef Id="cmpB91987671AB53F042BD18A8FD3AF66F7"/>
+      <ComponentRef Id="cmpA709FCEBEADC16789311644F5F6C2328"/>
+      <ComponentRef Id="cmp53912B02786E05C7B00F6CADE34739F0"/>
+      <ComponentRef Id="cmpDD11E9C169701786C9F80B6AC8F65246"/>
+      <ComponentRef Id="cmpD4237AC29C40724846A43972C15274D4"/>
+      <ComponentRef Id="cmp571B11B52AFA16749AD89D966220D326"/>
+      <ComponentRef Id="cmp587DEAAA204864BEFB42940420C5C7FE"/>
+      <ComponentRef Id="cmpB65A953024FB9B7454FFF5F458AD6410"/>
+      <ComponentRef Id="cmp8D698617E61A2596F7685BBB903E8060"/>
+      <ComponentRef Id="cmp467D97EAA825EF6A345B48BB3B54D3B5"/>
+      <ComponentRef Id="cmp47E5782BA49558532ECA551EC0F40621"/>
+      <ComponentRef Id="cmp89F38FDDE04C2CC7F38A4C01855E4397"/>
+      <ComponentRef Id="cmp078D82C4171623EF7695A6C3A55DB1C8"/>
+      <ComponentRef Id="cmp17E3CC093B023B28579D52B060B2B92E"/>
+      <ComponentRef Id="cmpEA07EEB909CAC7F15FF65341970B8755"/>
+      <ComponentRef Id="cmp29D5BE4D1716B41CCC79DCBF45207157"/>
+      <ComponentRef Id="cmp0B6F27DF0195FEFDDC960BEB29059CAE"/>
+      <ComponentRef Id="cmp03B7BADC0A4D0A7303B77035A447E0D3"/>
+      <ComponentRef Id="cmp802DBD499A35B8B1C039A149177EA16D"/>
+      <ComponentRef Id="cmpC84ABC6F9429D89184E1303F8E788720"/>
+      <ComponentRef Id="cmp56ACDA8FB677BD670E90890D2EFFB481"/>
+      <ComponentRef Id="cmp792C9DED4FCC7F80F94822053B02921A"/>
+      <ComponentRef Id="cmp8ED0F0524985A196C127E60880DCBC68"/>
+      <ComponentRef Id="cmpD25DE11C6B04493AA306E4965A96F25A"/>
+      <ComponentRef Id="cmp90258B17CCEABAF71E9717FAC81840AD"/>
+      <ComponentRef Id="cmp04B54B3449EC8C3FB0A80AAEDAEF7E48"/>
+      <ComponentRef Id="cmp1BCDDDFEEB4A83F4EC101DB988A32A9E"/>
+      <ComponentRef Id="cmpBE52E31DE73DB1663DF698E1395644D8"/>
+      <ComponentRef Id="cmp4D19B2587061C3ABFB613A408BC6D6F0"/>
+      <ComponentRef Id="cmp340662A6D88F72C828468890CDDD0FB6"/>
+      <ComponentRef Id="cmpFB7781AB3BDD417A6A3CFDCEFD401952"/>
+      <ComponentRef Id="cmp3309761D1DD72F70EC69852577DED242"/>
+      <ComponentRef Id="cmp64037708385E0EC11021D6794605BF38"/>
+      <ComponentRef Id="cmp3A6D8BD08A4B01C13E107CE23AC349D8"/>
+      <ComponentRef Id="cmp6A7D26BA26C406B63E073EA535556CBE"/>
+      <ComponentRef Id="cmpF9966968129B12B26E2ED707D24235A3"/>
+      <ComponentRef Id="cmpBAE24916E7DDD9F15078883DC5A9C281"/>
+      <ComponentRef Id="cmp075C882B5E7A0439DF6BFA75F5E19986"/>
+      <ComponentRef Id="cmpDD324A84562572850697D2D0E2AF1702"/>
+      <ComponentRef Id="cmp306581C85379152BBCC75F8896EF074F"/>
+      <ComponentRef Id="cmp867815C1283E342315802A915BD94538"/>
+      <ComponentRef Id="cmp2F5CD954B4ACFF2852F6153228A173AC"/>
+      <ComponentRef Id="cmpF707774A1D29CB00B55442C4111DCBCB"/>
+      <ComponentRef Id="cmpC0A51068B79B7A71CB4764A178548001"/>
+      <ComponentRef Id="cmpA621EB8A4A9D8FB3909882BA2C1D61D7"/>
+      <ComponentRef Id="cmp96064ED3F5D5EAB6D63EB28C9A90EA48"/>
+      <ComponentRef Id="cmpD8EBA5CA3728638F6BA2E19B76F435E9"/>
+      <ComponentRef Id="cmp519498C153DFF8466CCD8D6DF75D4CFB"/>
+      <ComponentRef Id="cmpF9FF42666ADB0AA51E9E9796DE7656BE"/>
+      <ComponentRef Id="cmpB9991B1EB46031BE4D8F7E573091205E"/>
+      <ComponentRef Id="cmpEF19AE1E80A8A627DC8B5463083969A8"/>
+      <ComponentRef Id="cmp1407028AE5E91CDB58691CDF320283AA"/>
+      <ComponentRef Id="cmp729AF10571823D5D768B2A8AE15EA066"/>
+      <ComponentRef Id="cmpB9E226AF35DD6DF7C5CBE17ABE476791"/>
+      <ComponentRef Id="cmpF0B78DE72630FAA52E715F518B0EEA96"/>
+      <ComponentRef Id="cmpD6839A3ADDDFBF09E5A69F78DE8E3408"/>
+      <ComponentRef Id="cmpF8042C459AED0D0106B4894EC758B1F0"/>
+      <ComponentRef Id="cmpE18DFD61F89E13D6B67D7FA720337753"/>
+      <ComponentRef Id="cmpC0CFBF963E03DB3F55CE60D60EA938CC"/>
+      <ComponentRef Id="cmp61E2F5B3E40715975BF9159CA59A3A3C"/>
+      <ComponentRef Id="cmpCA6E7D1E850F5D317E4C0CA437E6E41E"/>
+      <ComponentRef Id="cmp448FBC118D47FF6117CB311F107C096B"/>
+      <ComponentRef Id="cmp19B0573560E75E00D7545EE1624E2258"/>
+      <ComponentRef Id="cmpF2E36FD2FF1BBCE22081868EBEF5E2AF"/>
+      <ComponentRef Id="cmpCCA2293F26971FB9DF20908FDA51F11F"/>
+      <ComponentRef Id="cmpE69F58170E8A8B743301B8FBE7EF0BFF"/>
+      <ComponentRef Id="cmp655DFEA1A2CAC1814F56F62DEEBF1E4C"/>
+      <ComponentRef Id="cmp7AB3CBF76241050E0F6D39EC5818B8EA"/>
+    </ComponentGroup>
+  </Fragment>
+</Include>
diff --git a/data/virt-viewer.wxs.in b/data/virt-viewer.wxs.in
new file mode 100644
index 0000000..1b41396
--- /dev/null
+++ b/data/virt-viewer.wxs.in
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
+
+  <?include virt-viewer.wxi?>
+
+  <?define Version = "@VERSION@"?>
+  <?define UpgradeCode = "5B027138-1A63-49E6-877E-055E5EEC1903"?>
+  <Product Id="*" Name="VirtViewer" Manufacturer="Red Hat, Inc."
+           Version="$(var.Version)" UpgradeCode="$(var.UpgradeCode)"
+           Language="1033">
+
+    <Package InstallerVersion="200" Compressed="yes" Comments="comments"/>
+    <Media Id="1" Cabinet="cabinet.cab" EmbedCab="yes"/>
+
+    <Property Id="ARPHELPLINK" Value="http://www.spice-space.org"/>
+    <Property Id="ARPNOMODIFY" Value="1"/>
+    <Property Id="ARPNOREPAIR" Value="1"/>
+    <Property Id="ARPPRODUCTICON" Value="virt-viewer.ico"/>
+<!-- <Property Id="ARPURLINFOABOUT" Value="http://www.spice-space.org/info"/> -->
+    <Upgrade Id="$(var.UpgradeCode)">
+      <UpgradeVersion Minimum="$(var.Version)" OnlyDetect="yes" Property="NEWERVERSIONDETECTED"/>
+      <UpgradeVersion Minimum="0.0.0" Maximum="$(var.Version)" IncludeMinimum="yes" IncludeMaximum="no" Property="OLDERVERSIONBEINGUPGRADED"/>
+    </Upgrade>
+    <Condition Message="VirtViewer is already installed.">NOT NEWERVERSIONDETECTED</Condition>
+
+    <DirectoryRef Id="TARGETDIR">
+      <Component Id="CRegistryEntries" Guid="*">
+        <RegistryKey Root='HKLM' Key='Software\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{96190E9D-6FBB-64DB-9095-29F6FDE0B897}'>
+          <RegistryValue Type='string' Name='AppPath' Value='[INSTALLDIR]\bin'/>
+          <RegistryValue Type='string' Name='AppName' Value='remote-viewer.exe'/>
+          <RegistryValue Type='integer' Name='Policy' Value='3'/>
+        </RegistryKey>
+        <RegistryKey Root='HKLM' Key='Software\spice-space.org\spicex'>
+          <RegistryValue Type='string' Name='client' Value='[INSTALLDIR]\bin\remote-viewer.exe --spice-controller'/>
+        </RegistryKey>
+      </Component>
+      <Component Id="CProgIds" Guid="*">
+        <ProgId Id='VirtViewer.vvfile' Description='VirtViewer connection file'>
+          <Extension Id='vv' ContentType='application/x-virt-viewer'>
+            <Verb Id='open' Command='Open' TargetFile='fil808B4A5BAB4ACD727D3823632E798743' Argument='"%1"' />
+            <MIME ContentType="application/x-virt-viewer" Default="yes"/>
+          </Extension>
+        </ProgId>
+      </Component>
+    </DirectoryRef>
+
+    <Directory Id="TARGETDIR" Name="SourceDir">
+      <Directory Id="ProgramFilesFolder">
+        <Directory Id="INSTALLDIR" Name="VirtViewer"/>
+      </Directory>
+      <Directory Id="ProgramMenuFolder">
+        <Directory Id="MENUDIR" Name="VirtViewer"/>
+      </Directory>
+    </Directory>
+
+    <DirectoryRef Id="MENUDIR">
+      <Component Id="CShortcut" Guid="*">
+        <Shortcut Id="ApplicationStartMenuShortcut"
+                  Name="Remote viewer"
+                  Description="A SPICE/VNC client"
+                  Target="[INSTALLDIR]\bin\remote-viewer.exe"
+                  Icon="virt-viewer.ico"/>
+        <RemoveFolder Id="MENUDIR" On="uninstall"/>
+        <RegistryValue Root="HKCU" Key="Software\VirtViewer\remote-viewer-shortcut" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
+      </Component>
+    </DirectoryRef>
+
+    <Feature Id="Complete"  Level="1">
+      <ComponentGroupRef Id="CG.virt-viewer"/>
+      <ComponentRef Id="CShortcut"/>
+      <ComponentRef Id="CRegistryEntries"/>
+      <ComponentRef Id="CProgIds"/>
+    </Feature>
+
+    <InstallExecuteSequence>
+      <RemoveExistingProducts After="InstallValidate"/>
+    </InstallExecuteSequence>
+
+    <Icon Id="virt-viewer.ico" SourceFile="virt-viewer.ico"/>
+  </Product>
+</Wix>
-- 
1.8.1.rc1.17.g75ed918


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]