Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vs2015 installer build fails #4835

Closed
wixbot opened this issue Jul 23, 2015 · 14 comments
Closed

vs2015 installer build fails #4835

wixbot opened this issue Jul 23, 2015 · 14 comments
Labels

Comments

@wixbot
Copy link

wixbot commented Jul 23, 2015

Unable to execute transformation. Execution of the 'document()' function was prohibited. Use the XsltSettings.EnableDocumentFunction property to enable it. An error occurred at C:.......\XSLT\XslProjectOutput.xslt(0,0).

It works in vs2013 with 3.10

Originally opened by kcovell

@wixbot
Copy link
Author

wixbot commented Jul 27, 2015

Please post links to a verbose MSBuild log showing the error and the .wixproj that caused it.

Originally posted by barnson

@wixbot
Copy link
Author

wixbot commented Jul 28, 2015

@wixbot
Copy link
Author

wixbot commented Aug 4, 2015

This appears to be a problem with XslTransformation not in WiX.

Resolution set to notabug
Status changed from Untriaged to Resolved

@wixbot
Copy link
Author

wixbot commented Aug 5, 2015

You may wish to consider using the @Transforms attribute of HeatProject instead of using XslTransformation.

Originally posted by bmurri

@wixbot
Copy link
Author

wixbot commented Aug 5, 2015

the thing I'm puzzled by is why the same project works correctly in vs2013 on the same machine.

Originally posted by kcovell
Status changed from Resolved to Untriaged

@wixbot
Copy link
Author

wixbot commented Aug 5, 2015

Wouldn't be able to say. I assume that would be a good question to ask MSFT. The XslTransform MSBuild task is not from WiX, so it's nothing we have any control over.

Originally posted by bmurri

@wixbot
Copy link
Author

wixbot commented Aug 5, 2015

This is not a WiX bug.

Originally posted by robmen
Status changed from Untriaged to Resolved

@wixbot
Copy link
Author

wixbot commented Aug 6, 2015

In the interest of trying to be helpful, I did find this: XmlTransformation/@UseTrustedSettings ("false" by default). It doesn't show up in the task documentation, but it does show up in the class documentation (for the class that implements that task). Try adding that (string, needs to be set to "true") to see if that resolves your issue.

Originally posted by bmurri

@wixbot
Copy link
Author

wixbot commented Sep 29, 2015

So, while not a WIX bug, where would I set XmlTransformation/@UseTrustedSettings to true in a typical wix project?
My error is:
Unable to execute transformation. Execution of the 'document()' function was prohibited. Use the XsltSettings.EnableDocumentFunction property to enable it. An error occurred at \Setup_wix\XSLT\XslProjectOutput.xslt(0,0). Setup_wix \Setup_wix\Setup_wix.wixproj 104 Build

Originally posted by erikread
Status changed from Resolved to Untriaged

@wixbot
Copy link
Author

wixbot commented Sep 29, 2015

It's not a WiX task but you might get some help from the wix-users mailing.

Resolution changed from notabug to support
Status changed from Untriaged to Resolved

@wixbot wixbot added this to the v3.10 milestone Dec 20, 2015
@wixbot wixbot closed this as completed Dec 20, 2015
@adampound
Copy link

Was a work around ever found? Im having same issue using vs2015.

@Shujee
Copy link

Shujee commented Feb 7, 2016

Where do I set XmlTransformation/@UseTrustedSettings to true?

@Mafus1
Copy link

Mafus1 commented Dec 7, 2021

Did anyone ever find a solution?

@rseanhall rseanhall removed this from the v3.10 milestone May 19, 2022
@rseanhall
Copy link
Contributor

See #6784 (comment).

@wixtoolset wixtoolset locked as resolved and limited conversation to collaborators May 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants