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

Unknown '' tag name from a WiX Object (wixobj) file #299

Open
nazar-pc opened this issue Nov 9, 2024 · 0 comments
Open

Unknown '' tag name from a WiX Object (wixobj) file #299

nazar-pc opened this issue Nov 9, 2024 · 0 comments

Comments

@nazar-pc
Copy link

nazar-pc commented Nov 9, 2024

I was trying to add some conditional logic inside of <Wix> element like this:

<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'
     xmlns:bal='http://schemas.microsoft.com/wix/BalExtension'
     xmlns:util='http://schemas.microsoft.com/wix/UtilExtension'>
<?ifdef env.WIX_BUNDLE ?>
<?define WIX_BUNDLE = $(env.WIX_BUNDLE) ?>
<?else?>
<?define WIX_BUNDLE = 0 ?>
<?endif?>
<?if $(var.WIX_BUNDLE) = "1" ?>

But got the following error:

Error[2] (Generic): Unknown '' tag name from a WiX Object (wixobj) file.

Would be nice to improve parsing logic a little bit to ignore various preprocessor elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant