• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: WIX; How can I pass the [installfolder] as argument in an ExePackage

Resolved: WIX; How can I pass the [installfolder] as argument in an ExePackage

0
By Isaac Tonny on 17/06/2022 Issue
Share
Facebook Twitter LinkedIn

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:
And the part that is calling the ExePackage:
When I look in the logs I see as argument: [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!

wix wix3.11
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: significance letter above bar graphic in wrong order

01/04/2023

Resolved: VBA – Applying border around the areas with value/text

01/04/2023

Resolved: How can I implement a function depending on picked up items?

01/04/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.