Commit 3fde8c35 authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Jean-Baptiste Kempf

Win32: MSI package

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent bbf8c217
...@@ -693,4 +693,5 @@ update-po: ...@@ -693,4 +693,5 @@ update-po:
############################################################################### ###############################################################################
include extras/package/macosx/package.mak include extras/package/macosx/package.mak
include extras/package/win32/package.mak include extras/package/win32/package.mak
include extras/package/win32/msi.mak
...@@ -4147,6 +4147,7 @@ AM_COND_IF([HAVE_WIN32], [ ...@@ -4147,6 +4147,7 @@ AM_COND_IF([HAVE_WIN32], [
AC_CONFIG_FILES([ AC_CONFIG_FILES([
extras/package/win32/NSIS/spad.nsi extras/package/win32/NSIS/spad.nsi
extras/package/win32/NSIS/vlc.win32.nsi extras/package/win32/NSIS/vlc.win32.nsi
extras/package/win32/msi/config.wxi
]) ])
]) ])
......
WIXPATH=`winepath -u 'C:\\Program Files\\Windows Installer XML v3.5\\bin'`
HEAT=wine "$(WIXPATH)/heat.exe"
CANDLE=wine "$(WIXPATH)/candle.exe"
LIGHT=wine "$(WIXPATH)/light.exe"
VLCDIR=`winepath -w '$(win32_destdir)'`
MSIDIR=$(abs_srcdir)/extras/package/win32/msi
W_MSIDIR=`winepath -w '$(MSIDIR)'`
MSIBUILDDIR=$(abs_top_builddir)/extras/package/win32/msi
W_MSIBUILDDIR=`winepath -w '$(MSIBUILDDIR)'`
packagemsi: heat candle light
heat:
$(HEAT) dir $(VLCDIR)/plugins -cg CompPluginsGroup -gg -scom -sreg -sfrag -srd -dr PLUGINSDIR -out $(W_MSIBUILDDIR)/Plugins.fragment.wxs
$(HEAT) dir $(VLCDIR)/locale -cg CompLocaleGroup -gg -scom -sreg -sfrag -srd -dr LOCALEDIR -out $(W_MSIBUILDDIR)/Locale.fragment.wxs
$(HEAT) dir $(VLCDIR)/lua -cg CompLuaGroup -gg -scom -sreg -sfrag -srd -dr LUADIR -out $(W_MSIBUILDDIR)/Lua.fragment.wxs
$(HEAT) dir $(VLCDIR)/skins -cg CompSkinsGroup -gg -scom -sreg -sfrag -srd -dr SKINSDIR -out $(W_MSIBUILDDIR)/Skins.fragment.wxs
candle:
$(am__cd) $(MSIBUILDDIR) && $(CANDLE) -ext WiXUtilExtension $(W_MSIDIR)\\product.wxs $(W_MSIDIR)\\axvlc.wxs $(W_MSIDIR)\\extensions.wxs $(W_MSIBUILDDIR)\\*.fragment.wxs
light:
$(LIGHT) -sval -ext WixUIExtension -ext WixUtilExtension -cultures:en-us -b $(W_MSIDIR) -b $(VLCDIR)/plugins -b $(VLCDIR)/locale -b $(VLCDIR)/lua -b $(VLCDIR)/skins $(W_MSIBUILDDIR)\\product.wixobj $(W_MSIBUILDDIR)\\axvlc.wixobj $(W_MSIBUILDDIR)\\extensions.wixobj $(W_MSIBUILDDIR)\\*.fragment.wixobj -o vlc-$(VERSION).msi
cleanmsi:
-rm -f $(MSIBUILDDIR)/*.wixobj
-rm -f $(MSIBUILDDIR)/*.wixpdb
-rm -f $(MSIBUILDDIR)/*.fragment.wxs
distcleanmsi: cleanmsi
-rm -f vlc-installer.msi
This diff is collapsed.
This diff is collapsed.
<?xml version='1.0'?>
<Include>
<?define ShortProductName = "VLC" ?>
<?define ProductName = "VLC media player" ?>
<?define Manufacturer = "VideoLAN" ?>
<?define AboutURL = "http://www.videolan.org/vlc/" ?>
<?define SupportURL = "http://www.videolan.org/support/" ?>
<?define UpdatesURL = "http://www.videolan.org/vlc/" ?>
<?define Platform= "x86" ?>
<?define VerMajor = "@VERSION_MAJOR@" ?>
<?define VerMinor = "@VERSION_MINOR@" ?>
<?define VerPatch = "@VERSION_REVISION@" ?>
<?define Version = "$(var.VerMajor).$(var.VerMinor).$(var.VerPatch)" ?>
<?define VersionLong = "$(var.Version).0" ?>
<?define SourceDir = "vlc-@VERSION@" ?>
<!--<?define PluginsPath = "$(var.BinPath)\plugins" ?>
<?define LocalePath = "$(var.BinPath)\locale" ?>
<?define SdkPath = "$(var.BinPath)\sdk" ?>-->
<?if $(var.Platform) = x64 ?>
<?define Win64 = "yes" ?>
<?else ?>
<?define Win64 = "no" ?>
<?endif ?>
<?define AppFolder = "VLC" ?>
<?define BaseGuid = "d2e0205b-0d3a-46e2-adf7-0504ff48cf" ?>
<?define CompInstallRegDir = "$(var.BaseGuid)10" ?>
<?define CompVLCexe = "$(var.BaseGuid)11" ?>
</Include>
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment