Hi, I'm new to WiX and I'm trying to create a simple installer of a 64 bit 
program (called CalcLab) using Wix and VS2012.  I made a new VS project by 
choosing Project|New and then choosing Windows-Installer-XML and Setup-Project. 
 Then I modified the default Product.wxs file to suit my situation.  I did this 
by browsing examples on the web without really understanding the details of 
WiX.  I ended up with the Product.wxs file below which almost works.  CalcLab 
appears to install ok but if I try to associate a file type with it (CalcLab 
loads files with a .clb ext), I can't.  If I right click on a .clb file and 
choose "open with" and "choose default program" and then click "browse" and 
then choose CalcLab.exe, CalcLab doesn't appear in the list of programs to 
choose from.  If I go to "Add or Remove Programs", CalcLab is in the list so 
Windows7 knows it's installed.  Any help would definitely be appreciated, Brett.

<?xml version="1.0" encoding="UTF-8"?><Wix 
xmlns="http://schemas.microsoft.com/wix/2006/wi";>  <Product Id="*" 
Name="CalcLab64" Language="1033" Version="2.0.0.0" Manufacturer="CalcLab" 
UpgradeCode="7e775f56-3133-4d75-a730-8432e4bbaba0">    <Package 
InstallerVersion="200" Compressed="yes" InstallScope="perMachine" 
Platform="x64"/>
    <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is 
already installed." />    <MediaTemplate />
    <Feature Id="ProductFeature" Title="CalcLab64" Level="1">      
<ComponentGroupRef Id="ProductComponents" />    </Feature>  </Product>
  <Fragment>    <Directory Id="TARGETDIR" Name="SourceDir">      <Directory 
Id="ProgramFiles64Folder">        <Directory Id="INSTALLFOLDER" Name="CalcLab" 
/>      </Directory>    </Directory>  </Fragment>
  <Fragment>    <ComponentGroup Id="ProductComponents" 
Directory="INSTALLFOLDER">      <!-- TODO: Remove the comments around this 
Component element and the ComponentRef below in order to add resources to this 
installer. -->      <Component Id="CalcLab.exe" Win64 ="yes">        <!-- TODO: 
Insert files, registry keys, and other resources here. -->        <File 
Id="CalcLab.exe" Source="C:\Development\CalcLab64\x64\Release\CalcLab.exe" 
KeyPath="yes" Checksum="yes"/>      </Component>    </ComponentGroup>  
</Fragment></Wix> 
                                          
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to