Winzip 14: A basic c4p file, uses InstallerEnvironment
<?xml version="1.0" encoding="UTF-8" ?>
<c4p>
<applications>
<!-- Winzip 14 -->
<app appid="com.codeweavers.c4.6678">
<cxversion product="cxoffice">9.0</cxversion>
<name>WinZip 14</name>
<name lang="en">WinZip 14</name>
<appprofile>
<description>Classic compression program for Windows.</description>
<description lang="en">Classic compression program for Windows.</description>
<category>Compression</category>
<flag>application</flag>
<installedkeypattern>WinZip</installedkeypattern>
<installeddisplaypattern>WinZip</installeddisplaypattern>
<bottletemplate>win2000</bottletemplate>
<downloadurl>http://download2.winzip.com/winzip140.exe</downloadurl>
<downloadpageurl>http://www.winzip.com</downloadpageurl>
</appprofile>
<installprofile>
<installnotes>It is recommended to uncheck "Include Quick Pick in taskbar tray"</installnotes>
<installerenvironment>
<name>WINE_WAIT_CHILD_PIPE_IGNORE</name>
<value>WZQKPICK.EXE</value>
</installerenvironment>
<alteassoc>.zip//open</alteassoc>
<alteassoc>.zip//new</alteassoc>
</installprofile>
</app>
</applications>
</c4p>
Notepad++: Demonstrates using InstalledRegistryGlob
<?xml version="1.0"?>
<c4p>
<applications>
<app appid="com.codeweavers.c4.2874">
<cxversion product="cxoffice">9.0</cxversion>
<name>Notepad++</name>
<name lang="en">Notepad++</name>
<appprofile>
<description>Open Source editor for Windows that includes templates for several programming languages.</description>
<description lang="en">Open Source editor for Windows that includes templates for several programming languages.</description>
<medal platform="Mac">untested</medal>
<medal platform="Linux">untested</medal>
<category>Productivity/Text Editors</category>
<flag>application</flag>
<installedkeypattern>Notepad\+\+</installedkeypattern>
<installeddisplaypattern>Notepad\+\+</installeddisplaypattern>
<installedregistryglob>
<key>HKEY_LOCAL_MACHINE/Software/Classes/CLSID/{00F3C2EC-A6EE-11DE-A03A-EF8F55D89593}</key>
<value>@</value>
<data>Notepad\+\+</data>
</installedregistryglob>
<bottletemplate>winxp</bottletemplate>
<bottletemplate>win98</bottletemplate>
<bottletemplate>win2000</bottletemplate>
<bottletemplate>winvista</bottletemplate>
<downloadurl>http://voxel.dl.sourceforge.net/project/notepad-plus/notepad%2B%2B%20releases%20binary/npp%205.6.6%20bin/npp.5.6.6.Installer.exe</downloadurl>
<downloadpageurl>http://notepad-plus.sourceforge.net/uk/site.htm</downloadpageurl>
</appprofile>
</app>
</applications>
</c4p>
Many of these match useful Wine registry keys so checking there for what you're trying to do could also help