[wix-users] Accessing VS command prompt only variable

Edwin Castro egcastr at gmail.com
Fri Aug 3 07:17:26 PDT 2018


Ensure the VS command prompt bat script is run before you run your build?

--
Edwin G. Castro


On Fri, Aug 3, 2018, 03:44 Ken Wood via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Hi,
>
> I can access the normal environment variables within wix but the Visual
> studio command prompt only variables don't seem available. In particular, I
> want to use VCToolsRedistDir as we have many versions of VS2017 installed
> on developers/build machines with different update versions and I don't
> want to hard code the update version number or the install type (some are
> professional and some enterprise).
>
> Any help will be very helpful
>
> Thanks in advance
>
> Ken
>
>
> --------------------------------------------------------------------------------------------------
> This email and any attachments are confidential and are for the use of the
> addressee only. If you are not the addressee, you must not use or disclose
> the
> contents to any other person. Please immediately notify the sender and
> delete the email. Statements and opinions expressed here may not
> represent those of the company. Email correspondence is monitored by
> the company. This information may be subject to export control
> regulation. You are obliged to comply with such regulations.
> Our data privacy notice<http://www.renishaw.com/privacy> sets out how any
> personal data that we collect about you will be handled.
>
> Renishaw plc (company number 1106260), Renishaw UK Sales Limited (company
> number 1418812) and Wotton Travel Limited (company
> number 01973158) are companies registered in England and Wales with a
> registered office
> at New Mills, Wotton-under-Edge, Gloucestershire, GL12 8JR,
> United Kingdom, Telephone +44 1453 524524.
>
> --------------------------------------------------------------------------------------------------
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list