Can you not just run the DSIM command with the package source checked and skip xcopy to c:\temp all together? That is... if your Source package just includes the sxs folder and it's contents.
DISM.exe /Online /Enable-Feature /FeatureName:NetFx3 /all /limitaccess
Also, shouldn't you generate a Restart Computer (to currently installed OS) afterwards?
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.