-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ManagedUI] backgroup image dimensions #109
Comments
oleg-shilo
added a commit
that referenced
this issue
Jul 23, 2017
Done. The error message indeed needed the change. Thank you for that. Please note that "WelcomeDialog.scaling.cs#L50-L51" reference is not an active code but a non-compilable records of the experiments with MSI UI. The actual most accurate ratio is dictated by the runtime size of the PictureBox of the |
Thanks |
oleg-shilo
added a commit
that referenced
this issue
Aug 2, 2017
---- * Issue #111: Display attribute & Reset link doesn't work in FeaturesDialog window * Issue #107: ManagedBootstrapperApplication Payloads * issue #108: [ManagedUI] feature checkbox can be unchecked when allowChange is false * Issue #109: [ManagedUI] backgroup image dimensions * Issue #103: Compiler.WixLocation, WixSharp.wix.bin and new csproj format in Visual Studio 2017 * Issue #99: Working with embedded WPF UI and MSI; Updated code sample. * Issue #102: Update nuget package WixSharp.bin to include WIX (Windows Installer Xml) Toolset v3.11 * Migration of WiX Toolset from v3.10.3 (v3.10.3007.0) to v3.11.0 (v3.11.1701.0)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The exception thrown when the backgroup image ratio is invalid is not helpfull.
ProjectValidator
suggests a size of 492x312 which throws aValidationException
. The exception is thrown when width > height:wixsharp/Source/src/WixSharp/ProjectValidator.cs
Lines 98 to 119 in a248dd6
It is suggested to use a size of 156x312 or 164x497:
wixsharp/Source/src/WixSharp.UI/ManagedUI/Forms/WelcomeDialog.scaling.cs
Lines 50 to 51 in c766ea4
It would be better if the validation exception indicates the size to use.
The text was updated successfully, but these errors were encountered: