mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Clean up indentation in the WiX template
This commit is contained in:
parent
47841f1e0f
commit
96abc72ed1
@ -2,8 +2,7 @@
|
|||||||
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"
|
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"
|
||||||
>
|
>
|
||||||
|
|
||||||
<Product Name='{app}{x64}' Id='*' UpgradeCode='{upgrade_code}'
|
<Product Name='{app}{x64}' Id='*' UpgradeCode='{upgrade_code}' Language='1033' Codepage='1252' Version='{version}' Manufacturer='Kovid Goyal'>
|
||||||
Language='1033' Codepage='1252' Version='{version}' Manufacturer='Kovid Goyal'>
|
|
||||||
|
|
||||||
<Package Id='*' Keywords='Installer' Description="{app} Installer"
|
<Package Id='*' Keywords='Installer' Description="{app} Installer"
|
||||||
Comments='{app} is a registered trademark of Kovid Goyal' Manufacturer='Kovid Goyal'
|
Comments='{app} is a registered trademark of Kovid Goyal' Manufacturer='Kovid Goyal'
|
||||||
@ -12,15 +11,14 @@
|
|||||||
|
|
||||||
<Media Id="1" Cabinet="{app}.cab" CompressionLevel="{compression}" EmbedCab="yes" />
|
<Media Id="1" Cabinet="{app}.cab" CompressionLevel="{compression}" EmbedCab="yes" />
|
||||||
<!-- The following line ensures that DLLs are replaced even if
|
<!-- The following line ensures that DLLs are replaced even if
|
||||||
their version is the same as before or they dont have
|
their version is the same as before or they dont have versions.
|
||||||
versions. Microsoft's brain dead installer will otherwise
|
Microsoft's brain dead installer will otherwise use file dates to
|
||||||
use file dates to determine whether to install a file or
|
determine whether to install a file or not. Simply not robust. And
|
||||||
not. Simply not robust. And since we dont install any
|
since we dont install any system files whatsoever, we can never replace
|
||||||
system files whatsoever, we can never replace a system
|
a system file with an older version. This way the calibre install
|
||||||
file with an older version. This way the calibre install
|
should always result in a consistent set of files being present in the
|
||||||
should always result in a consistent set of files being
|
installation folder, though of course, with Microsoft there are no
|
||||||
present in the installation folder, though of course, with
|
guarantees of anything. -->
|
||||||
Microsoft there are no guarantees of anything. -->
|
|
||||||
<Property Id='REINSTALLMODE' Value='amus'/>
|
<Property Id='REINSTALLMODE' Value='amus'/>
|
||||||
|
|
||||||
<Upgrade Id="{upgrade_code}">
|
<Upgrade Id="{upgrade_code}">
|
||||||
@ -46,10 +44,9 @@
|
|||||||
<Directory Id='TARGETDIR' Name='SourceDir'>
|
<Directory Id='TARGETDIR' Name='SourceDir'>
|
||||||
<Directory Id='{ProgramFilesFolder}' Name='PFiles'>
|
<Directory Id='{ProgramFilesFolder}' Name='PFiles'>
|
||||||
<!-- The name must be calibre on 32 bit to ensure
|
<!-- The name must be calibre on 32 bit to ensure
|
||||||
that the component guids dont change compared
|
that the component guids dont change compared to previous msis.
|
||||||
to previous msis. However, on 64 bit it must
|
However, on 64 bit it must be Calibre2 otherwise by default it
|
||||||
be Calibre2 otherwise by default it will
|
will install to C:\Program Files\calibre -->
|
||||||
install to C:\Program Files\calibre -->
|
|
||||||
<Directory Id='APPLICATIONFOLDER' Name="{appfolder}" />
|
<Directory Id='APPLICATIONFOLDER' Name="{appfolder}" />
|
||||||
</Directory>
|
</Directory>
|
||||||
<Directory Id="ProgramMenuFolder">
|
<Directory Id="ProgramMenuFolder">
|
||||||
@ -110,7 +107,6 @@
|
|||||||
</DirectoryRef>
|
</DirectoryRef>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Feature Id="Complete" Title="{app}" Display="expand" Level="1"
|
<Feature Id="Complete" Title="{app}" Display="expand" Level="1"
|
||||||
ConfigurableDirectory="APPLICATIONFOLDER">
|
ConfigurableDirectory="APPLICATIONFOLDER">
|
||||||
|
|
||||||
@ -195,11 +191,7 @@
|
|||||||
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch {app}" />
|
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch {app}" />
|
||||||
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1"/>
|
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1"/>
|
||||||
<Property Id="WixShellExecTarget" Value="[#{exe_map[calibre]}]" />
|
<Property Id="WixShellExecTarget" Value="[#{exe_map[calibre]}]" />
|
||||||
<CustomAction Id="LaunchApplication" BinaryKey="WixCA"
|
<CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes"/>
|
||||||
DllEntry="WixShellExec" Impersonate="yes"/>
|
|
||||||
|
|
||||||
</Product>
|
</Product>
|
||||||
</Wix>
|
</Wix>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user