Hi,
I have a file that I've modified from a (working) WiX 2.0 file. light.exe
complains about ProgramMenuMyApplicationFolder being in the user profile, but
not being in the RemoveFile table. I added a <RemoveFolder/> tag in the
appropriate place, but this then got me an error about not having a registry
key.
Can anyone tell me what I need to add, where and why to get this thing working?
I'd like to use WiX for my installer, but I'm stumped.
The full content of my install file is listed below. If you want to compile it,
add MyApplication.exe and MyApplication.ico files in the same directory as the
wxs file.
Thanks,
Debbie
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="{D2059C88-8C28-4B0A-BA1F-E23E7A78CCD2}" Name="MyApplication"
Version="2.0.0" Manufacturer="MyCompany"
UpgradeCode="{12F4AFDB-386F-4DF0-B711-3320311F4B49}" Language="1031"
Codepage="1252">
<Package Description="MyApplication Installer" Manufacturer="MyCompany"
Comments="MyApplication is a trademark of MyCompany" Keywords="Installer"
InstallerVersion="100" Compressed="yes" Languages="1031"
SummaryCodepage="1252"/>
<Condition Message="MyApplication requires Windows 2000 or
higher.">VersionNT >= 500</Condition>
<Condition Message="MyApplication requires the .NET Framework 2.0 or
higher."><![CDATA[MsiNetAssemblySupport >= "2.0.50727"]]></Condition>
<Media Id="1" Cabinet="Contents.cab" EmbedCab="yes" DiskPrompt="CD"/>
<Property Id="DiskPrompt" Value="MyApplication Installation [1]"/>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="MyCompany" Name="MyCompany">
<Directory Id="INSTALLDIR" Name="MyApplication">
<Component Id="Executable"
Guid="{717DF426-13B6-412D-A99F-DA9ABCA883A0}">
<File Id="MyApplicationExe"
Name="MyApplication.exe" DiskId="1" Source="MyApplication.exe" Vital="yes">
<Shortcut Id="ProgramMenuMyApplication"
Directory="ProgramMenuMyApplicationFolder" Name="MyApplication"
Icon="MyApplication.ico" IconIndex="0" Advertise="yes"
WorkingDirectory="INSTALLDIR"/>
<Shortcut Id="DesktopMyApplication"
Directory="DesktopFolder" Name="MyApplication" Icon="MyApplication.ico"
IconIndex="0" Advertise="yes" WorkingDirectory="INSTALLDIR"/>
</File>
</Component>
</Directory>
</Directory>
</Directory>
<Directory Id="ProgramMenuFolder">
<Directory Id="ProgramMenuMyApplicationFolder"
Name="MyCompany's MyApplication"/>
</Directory>
<Directory Id="DesktopFolder" Name="Desktop"/>
</Directory>
<Feature Id="Complete" Level="1">
<ComponentRef Id="Executable"/>
</Feature>
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR"/>
<UIRef Id="WixUI_InstallDir"/>
<UIRef Id="WixUI_ErrorProgressText"/>
<Icon Id="MyApplication.ico" SourceFile="MyApplication.ico"/>
<Property
Id="ARPHELPLINK">http://www.mycompany.com/myapplication/</Property>
<Property Id="ARPHELPTELEPHONE">+1 (555)555-5555</Property>
<Property Id="ARPCONTACT">MyCompany</Property>
<Property
Id="ARPURLINFOABOUT">http://www.mycompany.com/myapplication/</Property>
<Property
Id="ARPURLUPDATEINFO">http://www.mycompany.com/myapplication/</Property>
</Product>
</Wix>
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo!
FareChase.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users