[wix-users] How to change temporary path detail to use with torch.exe ?
manish duggal
duggal_sunny at yahoo.com
Thu Feb 1 13:20:25 PST 2018
Hi
We are using Wix 3.7.3501 for building MSI and MSP using pure wix. Lately, we started to observe an error where torch command action is failing due to some permission error.
Command to create Installer Transformfailed with detail as Microsoft (R) Windows Installer Xml Transform Builder version 3.7.3503.1 Copyright (C) MicrosoftCorporation. All rights reserved. torch.exe : error TRCH0001 : Could not find a part of the path<path>\Temp\amd64fre\dtf4zwl2\dtf4zwl2.cab'. Exception Type: System.IO.DirectoryNotFoundException StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) atSystem.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShareshare, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy,Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccessaccess, FileShare share, Int32 bufferSize) at Microsoft.Tools.WindowsInstallerXml.Pdb.Load(Stream stream, Uri uri,Boolean suppressVersionCheck, Boolean suppressSchema) at Microsoft.Tools.WindowsInstallerXml.Pdb.Load(String path,Boolean suppressVersionCheck, Boolean suppressSchema) atMicrosoft.Tools.WindowsInstallerXml.Tools.Torch.Run(String[] args) Binder temporary directory located at<path>\Temp\amd64fre\ev04lszf\ev04lszf'. Unbinder temporary directory located at'<path>\Temp\amd64fre\ev04lszf\ev04lszf'. Torch temporary directory located at'<path>\Temp\amd64fre\3hxf2wwl\3hxf2wwl'. False + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,
Even though, I have tried to fix the folder permissions I am still thrown this error. This temporary path is where torch is pushing cab files for temporarily.
Is there a way to specify temporary path value when using the torch command? I tried to use switch "x" in torch command but no luck :(
Appreciate the help as how can I change the path value so I can try another path
ThxManish
More information about the wix-users
mailing list