forked from organicmaps/organicmaps
[win] Draft version of WIX installer script
This commit is contained in:
parent
0632abea24
commit
2f0e1dd452
2 changed files with 54 additions and 0 deletions
43
installer/win/MapsWithMe.wxs
Normal file
43
installer/win/MapsWithMe.wxs
Normal file
|
@ -0,0 +1,43 @@
|
|||
<?xml version='1.0'?>
|
||||
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
|
||||
<Product Id='42180640-750C-4d9e-9087-519705C069D5'
|
||||
Name='MapsWithMe'
|
||||
Language='1033'
|
||||
Version='1.0.0'
|
||||
Manufacturer='MapsWithMe'
|
||||
UpgradeCode='DFCB23C7-99B3-4228-93E5-625C48370982'>
|
||||
|
||||
<Package Description='MapsWithMe - offline maps and travel guide'
|
||||
Comments='Supports Windows XP SP3 and above'
|
||||
Manufacturer='MapsWithMe'
|
||||
InstallerVersion='300'
|
||||
Compressed='yes'
|
||||
InstallPrivileges='limited'
|
||||
InstallScope='perUser'
|
||||
Platform='x86' />
|
||||
|
||||
<Media Id='1' Cabinet='data.cab' EmbedCab='yes' />
|
||||
|
||||
<Directory Id='TARGETDIR' Name='SourceDir'>
|
||||
<Directory Id='ProgramFilesFolder' Name='PFiles'>
|
||||
<Directory Id='MapsWithMeDir' Name='MapsWithMe'>
|
||||
<Component Id='MapsWithMe.exe' Guid='67852405-8C7C-4ec4-81E7-698CE3CD9A67'>
|
||||
<File Id='MapsWithMe.exe' Name='MapsWithMe.exe' Source='..\..\..\omim-build-msvc2010\out\release\MapsWithMe.exe' DiskId='1' KeyPath='yes' Checksum='yes' />
|
||||
</Component>
|
||||
</Directory>
|
||||
</Directory>
|
||||
</Directory>
|
||||
|
||||
<Feature Id='MapsWithMeFeature' Title='MapsWithMe' Level='1'>
|
||||
<ComponentRef Id='MapsWithMe.exe' />
|
||||
</Feature>
|
||||
|
||||
<DirectoryRef Id="TARGETDIR">
|
||||
<Merge Id="VCRedist" SourceFile="\Program Files (x86)\Common Files\Merge Modules\Microsoft_VC100_CRT_x86.msm" DiskId="1" Language="0"/>
|
||||
</DirectoryRef>
|
||||
<Feature Id="VCRedist" Title="Visual C++ 10.0 Runtime" AllowAdvertise="no" Display="hidden" Level="1">
|
||||
<MergeRef Id="VCRedist"/>
|
||||
</Feature>
|
||||
|
||||
</Product>
|
||||
</Wix>
|
11
installer/win/makeSetup.bat
Normal file
11
installer/win/makeSetup.bat
Normal file
|
@ -0,0 +1,11 @@
|
|||
@echo on
|
||||
|
||||
set PATH="C:\Program Files\Windows Installer XML v3.5\bin";%PATH%
|
||||
|
||||
candle MapsWithMe.wxs
|
||||
|
||||
if NOT ERRORLEVEL 0 echo "candle returned error %ERRORLEVEL%"
|
||||
|
||||
light MapsWithMe.wixobj
|
||||
|
||||
if NOT ERRORLEVEL 0 echo "light returned error %ERRORLEVEL%"
|
Loading…
Add table
Reference in a new issue