[wix-users] Accessing VS command prompt only variable

Ken Wood Ken.Wood at Renishaw.com
Fri Aug 3 03:44:28 PDT 2018


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


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.

More information about the wix-users mailing list