Question:
I am creating a WIX bundle which calls an executable. In that call I’m trying to pass the installfolder as an argument but for some reason this doesn’t seem to work.The bundle:
[7A60:546C][2022-06-16T16:44:15]i301: Applying execute package: Database.CLI.Attach, action: Install, path: C:\ProgramData\Package Cache\0FD93FB1FD9BBE5B46CC123351ECE9DBCEC54E9D\Database.CLI.exe, arguments: '"C:\ProgramData\Package Cache\0FD93FB1FD9BBE5B46CC123351ECE9DBCEC54E9D\Database.CLI.exe" attach Target="\Analytics\Database"'
But I’m missing the contents of the [INSTALLFOLDER]
so what I expect should be something like Target=”c:\temp\Analytics\Database”.What am I missing here?
p.s. Is it also possible to provide an INSTALLFOLDER when launching the setup-bundle for silent installs? Like
Database.Setup.exe InstallLocation=c:\temp
Many thanks in advance.
Answer:
Burn variables are case-sensitive, so use[InstallFolder]
, not [INSTALLFOLDER]
.If you have better answer, please add a comment about this, thank you!