Property containing value from another property #7611
Unanswered
BaaderKristineKristensen
asked this question in
Questions
Replies: 1 comment 4 replies
-
You're mixing up build time and install time variables. I did a series of Deployment Dojo episodes on exactly this topic, starting with Episode 12. I bet if you watch through to Episode 18, it'll all make a lot more sense. |
Beta Was this translation helpful? Give feedback.
4 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.
-
Hi,
I have a settings file I want to check if exists in a specific folder before I install the software. If it exists will I skip a if statement I have created. or else should it go inside the if.
I read in a discussion that the property were set to the full path if a file in file-search exists. I then created a property containing the directory and file search setting.
Then I wanted to create a expected path variable property to match with the result of the file search property. The second property does not show what I expected in my MS Install log ( which were generated by using msiexec command).
How can I make sure the if statement look as the right expeted paths?
The value of dir_Settings_Sharedis generated locally inside the wix using the Directory Id tag.
The value of $(var.GlobalSettingsFile) is generated from powershell and sent through into the install file as a parameter.
...
The outcome in logs are:
Property(C): dir_Settings_Shared = C:\FolderName\setting\Shared
...
AppSearch: Property: GLOBALSETTINGSFILESEARCH, Signature: Folder_dir_Settings_Shared
MSI (c) (E4:E4) [09:51:31:693]: Note: 1: 1322 2:
MSI (c) (E4:E4) [09:51:31:693]: Note: 1: 1322 2:
MSI (c) (E4:E4) [09:51:31:693]: Note: 1: 1325 2: GlobalSettings.xml
...
Property(C): GLOBALSETTINGSFILESEARCHALREADY = [dir_Settings_Shared].GlobalSettings.xml
...
Beta Was this translation helpful? Give feedback.
All reactions