oryaaaaa
Posts: 3
Joined: Mon Jan 14, 2013 9:40 am
Location: Okazaki, Aichi, Japan
Contact: Website

[Pro] mixed installer about Condition element

Please add Condition element at Professional edition.

I use mixed installer. but I don't find Condition element.

Code: Select all

    <ROW Component="BugHead.exe" ComponentId="{...}" Directory_="APPDIR" Attributes="256" Condition="VersionNT64" KeyPath="BugHead.exe"/>
    <ROW Component="BugHead.exe_1" ComponentId="{...}" Directory_="AI_Bin32_Dir" Attributes="0" Condition="NOT VersionNT64" KeyPath="BugHead.exe_1"/>
add new executable. created RewriteData.exe entry and 32bit RewriteData.exe entry.
But I don't add Condition="VersionNT64" and Condition="NOT VersionNT64".
then I edited aip setup file.

Code: Select all

    <ROW Component="RewriteData.exe" ComponentId="{...}" Directory_="APPDIR" Attributes="256" KeyPath="RewriteData.exe"/>
    <ROW Component="RewriteData.exe_1" ComponentId="{...}" Directory_="AI_Bin32_Dir" Attributes="0" KeyPath="RewriteData.exe_1"/>
Fixed

Code: Select all

    <ROW Component="RewriteData.exe" ComponentId="{...}" Directory_="APPDIR" Attributes="256" Condition="VersionNT64" KeyPath="RewriteData.exe"/>
    <ROW Component="RewriteData.exe_1" ComponentId="{...}" Directory_="AI_Bin32_Dir" Attributes="0" Condition="NOT VersionNT64" KeyPath="RewriteData.exe_1"/>
Thank you.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: [Pro] mixed installer about Condition element

Hello,

In the Component properties from the Organization page you can find the Condition field as you can see below:
ComponentProps.png
ComponentProps.png (30.84 KiB) Viewed 3095 times
If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”