How to use the results of an optional FileSearch to populate an ImageControl ImageFile #9129
Unanswered
kbosland-curtiss-wright
asked this question in
Questions
Replies: 1 comment
-
Pretty sure the images in the Bootstrapper UI have to be present when the UI is first shown so |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I would like to optionally display an image if there is a file in a directory next to where the Bootstrapper is run from. I am running a FileSearch and trying to use the results in the ImageFile, but it complains that the result is (null) (it is null, the file is optional so I am testing not having the file there). I have tried to set the variable conditionally to a default if the file is not found, but that is not working. Any help is appreciated, thanks!
simplified code:
Bundle.wxs:
<util:FileSearch Id="LogoFile" Path="[WixBundleOriginalSourceFolder]Logo\Logo.png" Variable="LogoFilePath" />
BootstrapTheme.xml:
Open Source Maintenance Fee
wixtoolset
project because I support the maintainers.Beta Was this translation helpful? Give feedback.
All reactions