I am creating a WIX installer with upgrade functions. Here is our target: we want the installer informs the user that it finds a related product by outputting the version number of the found one in installer UI. And only after the user confirms this upgrade the installation will go on. However, I don't know how to set a property (or variable), to be displayed in a dialog UI. Currently I have already added one confirm dialog which has the condition "NOT Installed AND UPGRADEFOUND". I just need to put the version number string into this dialog. Can anyone tell me how to do that? Thanks in advance!
1 に答える
1
You have two options here. You can either use the FileSearch element to get the version stored in the main binary of your application or you can store the version in the registry using the remember property pattern on install and then re-read that when you upgrade.
于 2012-07-24T07:16:07.683 に答える