[wpkg-users] How to define remove with logical or
Pendl Stefan
stefan.pendl at haidlmair.at
Thu Jan 29 19:46:09 CET 2009
Hello,
I do have an application that has different application ID's for MSIEXEC, one for the x86 and one for the x64 version.
I am installing both by running a batch file which runs the correct installer based on the processor architecture.
Currently I have the following two lines in the package:
<!-- remove 32-bit version -->
<remove cmd="msiexec /x {BF141CE6-067D-47E5-AEC0-B080B107BD02}" />
<!-- remove 64-bit version -->
<remove cmd="msiexec /x {78566424-2104-4258-84D3-AA050FDF8205}" />
Is ther something similar like the following:
<check type='logical' condition='or'>
<check type='file' condition='versiongreaterorequal' path='%ProgramFiles(x86)%\UGS\Teamcenter 2007\Visualization\Program\PLMXMLConverter.dll' value='7.1.0.8338' />
<check type='file' condition='versiongreaterorequal' path='%ProgramFiles%\UGS\Teamcenter 2007\Visualization\Program\PLMXMLConverter.dll' value='7.1.0.8338' />
</check>
Thanks in advance,
Stefan
More information about the wpkg-users
mailing list