You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a setup project to generate an msi installer. I am looking for a way to read the version of the binaries used to generate this installer, before installation so that I can hold the version in a variable and incorporate conditional installation of my msi. Is there any way to achieve this? I know I can use the filesearch element to check if the binaries are present, but how do I read the version and specify that it should be done before installation?
Currently this is how my code looks, I have included a wxi file with the version hardcoded in my bundle project
<?xml version="1.0" encoding="utf-8"?>
<Include>
<!-- TODO: Put your code here. -->
<?define OpenTapDllCompareVersion = v9.18.5.0?>
</Include>
I want to completely eliminate hardcoding 9.18.5.0, and instead just read the version from the dll and assign it to a variable. Is this possible?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a setup project to generate an msi installer. I am looking for a way to read the version of the binaries used to generate this installer, before installation so that I can hold the version in a variable and incorporate conditional installation of my msi. Is there any way to achieve this? I know I can use the filesearch element to check if the binaries are present, but how do I read the version and specify that it should be done before installation?
Currently this is how my code looks, I have included a wxi file with the version hardcoded in my bundle project
I want to completely eliminate hardcoding 9.18.5.0, and instead just read the version from the dll and assign it to a variable. Is this possible?
Beta Was this translation helpful? Give feedback.
All reactions