-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With windows logos (VisualElementsManifest)
- Loading branch information
Showing
12 changed files
with
89 additions
and
18 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<Application xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'> | ||
<VisualElements | ||
DisplayName = "SizeOnDisk" | ||
Logo="WinAssets\LockScreenLogo.png" | ||
SmallLogo="WinAssets\LockScreenLogo.png" | ||
Description="Some text here" | ||
DisplayName='SizeOnDisk' | ||
Description='Get size of your files' | ||
ShowNameOnSquare150x150Logo='on' | ||
Square70x70Logo='WinAssets\Square71x71Logo.png' | ||
Square70x70Logo='WinAssets\Square70x70Logo.png' | ||
Square150x150Logo='WinAssets\Square150x150Logo.png' | ||
Square310x310Logo='WinAssets\Square310x310Logo.png' | ||
ForegroundText='light' | ||
BackgroundColor='teal'/> | ||
BackgroundColor='#383932' | ||
/> | ||
</Application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -343,7 +343,7 @@ private void FillProperties() | |
} | ||
} | ||
} | ||
catch (Exception ex) | ||
catch (Exception) | ||
{ | ||
} | ||
} | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
Manufacturer="Sebastien Gariepy ([email protected])" | ||
UpgradeCode="9d3f227e-e788-4982-a15a-056152359ef6"> | ||
<Package Description="SizeOnDisk !(bind.FileVersion.ApplicationFile)" | ||
Manufacturer="Sebastien Gariepy ([email protected])" | ||
Manufacturer="Sebastien Gariepy ([email protected])" | ||
InstallerVersion="200" | ||
Compressed="yes" | ||
InstallPrivileges='elevated' | ||
|
@@ -229,6 +229,45 @@ | |
KeyPath="yes" /> | ||
</Component> | ||
</DirectoryRef> | ||
<DirectoryRef Id="APPLICATIONFOLDER"> | ||
<Component Id="VisualElementsManifestComponent" | ||
Guid="*"> | ||
<File Id="VisualElementsManifestFile" | ||
Name="SizeOnDisk.VisualElementsManifest.xml" | ||
DiskId="1" | ||
Source="$(var.SizeOnDisk.TargetDir)SizeOnDisk.VisualElementsManifest.xml" | ||
KeyPath="yes" | ||
Checksum="yes" | ||
Vital="no" /> | ||
</Component> | ||
<Directory Id="WinAssets" | ||
Name="WinAssets"> | ||
<Component Id="Logo70Component" | ||
Guid="*"> | ||
<CreateFolder /> | ||
<RemoveFile Id="AllWinAssets" | ||
Name="*.*" | ||
On="both" /> | ||
<File Id="Logo70File" | ||
Name="Square70x70Logo.png" | ||
DiskId="1" | ||
Source="$(var.SizeOnDisk.TargetDir)WinAssets\Square70x70Logo.png" | ||
KeyPath="yes" | ||
Checksum="yes" | ||
Vital="no" /> | ||
</Component> | ||
<Component Id="Logo150Component" | ||
Guid="*"> | ||
<File Id="Logo150File" | ||
Name="Square150x150Logo.png" | ||
DiskId="1" | ||
Source="$(var.SizeOnDisk.TargetDir)WinAssets\Square150x150Logo.png" | ||
KeyPath="yes" | ||
Checksum="yes" | ||
Vital="no" /> | ||
</Component> | ||
</Directory> | ||
</DirectoryRef> | ||
<DirectoryRef Id="APPLICATIONFOLDER"> | ||
<Directory Id="de" | ||
Name="de"> | ||
|
@@ -367,8 +406,11 @@ | |
</Component> | ||
</Directory> | ||
</DirectoryRef> | ||
<Feature Id="AllFeatures" Display="expand" Title="SizeOnDisk" | ||
AllowAdvertise="no" Level="1"> | ||
<Feature Id="AllFeatures" | ||
Display="expand" | ||
Title="SizeOnDisk" | ||
AllowAdvertise="no" | ||
Level="1"> | ||
<Feature Id="ProductFeature" | ||
Absent="disallow" | ||
Title="Required files" | ||
|
@@ -395,6 +437,14 @@ | |
Level="1"> | ||
<ComponentRef Id="ApplicationFileDesktopShortcutComponent" /> | ||
</Feature> | ||
<Feature Id="WindowsLogosFeature" | ||
Title="Windows menu logos" | ||
AllowAdvertise="no" | ||
Level="1"> | ||
<ComponentRef Id="VisualElementsManifestComponent" /> | ||
<ComponentRef Id="Logo70Component" /> | ||
<ComponentRef Id="Logo150Component" /> | ||
</Feature> | ||
<Feature Id="ConfigurationFeature" | ||
Title="Configuration file" | ||
Level="2" | ||
|
@@ -588,7 +638,8 @@ | |
Return="check" | ||
Execute="immediate" | ||
BinaryKey="WixTools.CA.dll" | ||
DllEntry="GetLanguages" Impersonate="yes" /> | ||
DllEntry="GetLanguages" | ||
Impersonate="yes" /> | ||
|
||
<Property Id="WixShellExecTarget" | ||
Value="[#ApplicationFile]" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters