-
-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add wix installer toolset in appveyor setup #3204
Conversation
.appveyor.yml
Outdated
- choco install --allow-empty-checksums dmd | ||
- choco install --allow-empty-checksums ldc | ||
- choco install --allow-empty-checksums swig | ||
- choco install --allow-empty-checksums vswhere | ||
- choco install --allow-empty-checksums vixtoolset |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be wixtoolset
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aaaargh
Hmmm, it installs fine but apparently isn't being found, as the tests are still skipped. I had this working after manual installation, does chocolatey not add the path?
|
expecting is to have landed in |
So not sure where to go with this. I checked in a clean windows VM; chocolatey installs wix just fine, but does not add it either to the user's or system environment's path. Do we have an extra step for provisioning to do this, or should the tests be more aggressive about seeking out the executables and adding their path to the scons construction environment PATH? |
Take a look at what I did with clang and java for windows. Something similar is likely right, and/or we add chocolatey's path to the default windows path.. That might be the simplest.. Try that? |
No, the choco path won't help, that's mainly its own internal stuff. If the thing it's installing is a standard pkg, it just goes the normal place, for wix it's the one a few comments above in the 32-bit Program FIles. If it's not a full installer thing, it goes into whatever is the ChocolateyToolsLocation path, but even there you get subdirs, keeping the helpful Windows model of everything-gets-their-very-own-directory. All this from experimentation the other day, I'm no choco expert. I had to learn about ChocolateyToolsLocation because it defaults to C:\tools, which an anti-ransomware tool I have objects to and end ends up blocking - things can't write to the "root directory'. |
I have a blurb of logic to check reasonable default paths for wix install and add to PATH. All the msi tests then fail with undefined X_MSI_LANGUAGE. Care to chase it down? |
Hmmm, choco does make shims for some of the things it installs, I think only for the ones that don't have a classic installer and end up in Program Files* ... so that doesn't include wix. |
I added a note with a pointer to a commit on a branch in my repo which
fixes finding the tool, but then yields some errors in the logic.
Care to take on resolving that and pulling in my location finding logic?
…On Sat, Oct 6, 2018 at 10:52 AM Mats Wichmann ***@***.***> wrote:
Hmmm, choco does make shims for *some* of the things it installs, I think
only for the ones that don't have a classic installer and end up in Program
Files* ... so that doesn't include wix.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3204 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFBNDJHasHjrx6sBUIghqxN9KmaiuXqks5uiO3tgaJpZM4W_p66>
.
|
I seem to
Sure. I think I put a note on that other commit... it's listed as a required parameter to |
Hmmm, magical new failure, about multiple environments. e.g. the file-placement test. I don't recall seeing this when I was creating the patch. Guess this will need more work.
|
4743f3c
to
da5db9e
Compare
So I still don't get this: all three msi tests fail with the same kind of error, which claims multiple environments. I see only one environment being created... this is the one from
|
The msi packaging tests won't be run if this is not installed. Signed-off-by: Mats Wichmann <[email protected]>
Signed-off-by: Mats Wichmann <[email protected]>
Signed-off-by: Mats Wichmann <[email protected]>
Signed-off-by: Mats Wichmann <[email protected]>
Signed-off-by: Mats Wichmann <[email protected]>
ffab26a
to
db59b0e
Compare
So this should be finding candle and light without adding the toolset with choco, since we hear the Appveyor images already come with it. Should I remove the .appveyor.yml bit and see if it does find it? I have installed the standard package and it sets the WIX environment varialble, which the patch now fetches; and also the last-chance location should be the correct one. |
It doesn't. they're not all in choco's path.
I've gone down this route before trust me on this...
…On Mon, Feb 4, 2019 at 5:49 PM Mats Wichmann ***@***.***> wrote:
So this should be finding candle and light *without* adding the toolset
with choco, since we hear the Appveyor images already come with it. Should
I remove the .appveyor.yml bit and see if it does find it? I have installed
the standard package and it sets the WIX environment varialble, which the
patch now fetches; and also the last-chance location should be the correct
one.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3204 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFBNMY8bzOLdvSL4KGpOwfCowkrQuP3ks5vKLj4gaJpZM4W_p66>
.
|
Appveyor responded this:
http://help.appveyor.com/discussions/questions/34138-where-is-the-wix-binaries-located
…On Mon, Feb 4, 2019, 5:25 PM William Deegan ***@***.*** wrote:
It doesn't. they're not all in choco's path.
I've gone down this route before trust me on this...
On Mon, Feb 4, 2019 at 5:49 PM Mats Wichmann ***@***.***>
wrote:
> So this should be finding candle and light *without* adding the toolset
> with choco, since we hear the Appveyor images already come with it.
Should
> I remove the .appveyor.yml bit and see if it does find it? I have
installed
> the standard package and it sets the WIX environment varialble, which the
> patch now fetches; and also the last-chance location should be the
correct
> one.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#3204 (comment)>, or
mute
> the thread
> <
https://github.com/notifications/unsubscribe-auth/AAFBNMY8bzOLdvSL4KGpOwfCowkrQuP3ks5vKLj4gaJpZM4W_p66
>
> .
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3204 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AF2YzMIyuEQbo88mLRxV0tK45TP8Q_tXks5vKMFjgaJpZM4W_p66>
.
|
In my test VM it does find it with the code in this PR, I just tried - and the location is the same as we just heard back from appveyor. |
Closing this, will proceed with #3294 instead. |
The msi packaging tests won't be run if this is not installed.
These is no change at all to scons itself - so no doc or test, and no change to CHANGES.txt.
Signed-off-by: Mats Wichmann [email protected]
Contributor Checklist:
master/src/CHANGES.txt
directory (and read theREADME.txt
in that directory)