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 am trying to create an msi file by including several binaries into it. The path of the binaries are all relative, and I have tried using the following code to achieve this.
But my SourceDir definition right now is hardcoded so it wont work if I try building on other PCs or the pipeline machine... So is there any way I can get my sourceDir to be a relative path as well so that the code works on all PCs? I have tried replacing the SourceDir value with a path like "......\blah", and it works just for some of the binaries. I am not sure if this approach works for the few binaries just by fluke. Or is this the right way to go about with it, and the other binaries that are not working is the issue?
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.
-
I am trying to create an msi file by including several binaries into it. The path of the binaries are all relative, and I have tried using the following code to achieve this.
I have created a config.wxi file where I have included the definition of var.SourceDir, something like the code below.
But my SourceDir definition right now is hardcoded so it wont work if I try building on other PCs or the pipeline machine... So is there any way I can get my sourceDir to be a relative path as well so that the code works on all PCs? I have tried replacing the SourceDir value with a path like "......\blah", and it works just for some of the binaries. I am not sure if this approach works for the few binaries just by fluke. Or is this the right way to go about with it, and the other binaries that are not working is the issue?
Beta Was this translation helpful? Give feedback.
All reactions