Title: Re: How to get the Windows Source family ?
Post by: dazza on November 17, 2019, 07:12:55 PM
So it looks like question translates as how do you work out of x86 (32-bit) or x64 (64-bit) in a script?
Title: Re: How to get the Windows Source family ?
Post by: APT on November 17, 2019, 07:14:45 PM
Hi
Surely the source %OSFamily% in Win10XPE is fixed and so doesn't exist as a variable, whereas the macrolib used in Win10PESE was common to XP/W7/W10 projects and therefore required one
Title: Re: How to get the Windows Source family ?
Post by: Malok on November 17, 2019, 07:34:44 PM
Thanks APT,
XPE reports an Empty %OSFamily% Variable. So....
Going to test that, thanks.
Title: Re: How to get the Windows Source family ?
Post by: James on November 17, 2019, 08:39:24 PM
XPE does not use %OSFamily% variable - the Project is Win10 only, thus NT6
Title: Re: How to get the Windows Source family ?
Post by: Malok on November 18, 2019, 03:17:47 AM
yeah, normally it should return nt10. indeed not needed.