Hi all.
I want to write a certain registry key during an installation
and the same key with a different value during uninstall.
So I thought I could have something like
<Component Id='install_reques' Guid='x'>
<RegistryValue Id='InstallNetlmCommand' Root='HKLM'
Key='$(var.InstallerHKLM)\Netlm'
Name='InstallCommand' Action='write' Type='string' Value='msiexec /i
[SourceDir] netlm.msi' />
<Condition> (&Netlm = 3) AND NOT (!Netlm = 3) </Condition>
</Component>
<Component Id='uninstall_request' Guid='x'>
<RegistryValue Id='InstallNetlmCommand' Root='HKLM'
Key='$(var.InstallerHKLM)\Netlm'
Name='InstallCommand' Action='write' Type='string' Value='msiexec /qb
/x "{x}"'/>
<Condition> (&Netlm = 2) AND (!Netlm = 3) </Condition>
</Component>
under the main <Feature> ('Netlm' is a sub-feature)
but I get:
u:\src\fesetup\wix\setup.wxs(562) : error CNDL0104 : Not a valid source file;
detail: Beim Analysieren von 'EntityName' ist ein Fehler aufgetreten. Zeile
562, Position 22.
["When analizing 'EntityName' an error occured"].
It compiles when I replace the condition with, say, '1'.
What am I doing wrong here?
Andre'
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users