Some of this was generated by VS11.

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>  
        <Product Id="*" Name="SmartList" Language="1033" Version="1.0.0.0"
Manufacturer="TirNanOg.com"
UpgradeCode="{FDABE1EF-2F24-4F9B-A06F-7B2F12C09B65}">
                <Package InstallerVersion="200" Compressed="yes"
InstallScope="perMachine" />
    <UIRef Id="WixUI_Minimal" />
                <MajorUpgrade DowngradeErrorMessage="A newer version of
[ProductName] is already installed." />
                <MediaTemplate />

                <Feature Id="ProductFeature" Title="SmartListW32 Setup"
Level="1">
                        <ComponentGroupRef Id="ProductComponents" />
                </Feature>
    <PropertyRef Id="NETFRAMEWORK40CLIENT"/>
    <Condition Message='This setup requires the .NET Framework 4.0 Client.'>
      <![CDATA[Installed OR (NETFRAMEWORK40CLIENT  = "#1")]]>
    </Condition>
        </Product>

        <Fragment>
                <Directory Id="TARGETDIR" Name="SourceDir">
                        <Directory Id="ProgramFilesFolder">
                                <Directory Id="INSTALLFOLDER"
Name="SmartList" />
                        </Directory>
        
    <Directory Id="ProgramMenuFolder" Name="Programs">
      <Directory Id="ProgramMenuDir" Name="SmartList">
        <Component Id="ProgramMenuDir"
Guid="998C2B06-B2D3-4785-8A68-3262967ACFF0">
          <RemoveFolder Id='ProgramMenuDir' On='uninstall' />
          <RegistryValue Root='HKCU'
Key='Software\[Manufacturer]\[ProductName]' Type='string' Value=''
KeyPath='yes' />
        </Component>
      </Directory>
    </Directory>

    <Directory Id="DesktopFolder" Name="Desktop" />
    </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="MainExecutable"
Guid="8102CC39-A548-4E64-8A41-0E29DEF3FB64">
         <File Id='SmartListW32EXE'
Name="$(var.SmartListW32.TargetFileName)"
Source="$(var.SmartListW32.TargetPath)"
          DiskId="1" KeyPath="yes" >

           <Shortcut Id="startmenuSmartListW32" Directory="ProgramMenuDir"
Name="SmartList"
                 WorkingDirectory='INSTALLDIR' Icon="SmartListW32.exe"
IconIndex="0" Advertise="yes" />
           <Shortcut Id="desktopSmartListW32" Directory="DesktopFolder"
Name="SmartList"
             WorkingDirectory='INSTALLDIR' Icon="SmartListW32.exe"
IconIndex="0" Advertise="yes" />
         </File>
       
         <RegistryKey Id='SmartListW32RegURLHandler' Root='HKCR'
Key='SmartList' Action='createAndRemoveOnUninstall'>
           <Permission User="Administrators" GenericAll="yes" />
           <Permission User="Users" GenericAll="yes" />
           <RegistryValue Type='string'  Value='"URL:SmartList Protocol"'/>
           <RegistryValue Type='string' Name='URL Protocol' Value='""' />
          </RegistryKey>
         <RegistryKey Id='SmartListW32RegDefaultIcon' Root='HKCR'
Key='SmartList\DefaultIcon' Action='createAndRemoveOnUninstall'>
           <Permission User="Administrators" GenericAll="yes" />
           <Permission User="Users" GenericAll="yes" />
           <RegistryValue Type='string' Value='"smartlistw32.exe.1"'/>
         </RegistryKey>
         <RegistryKey Id='SmartListW32RegShell' Root='HKCR'
Key='SmartList\Shell' Action='createAndRemoveOnUninstall'>
           <Permission User="Administrators" GenericAll="yes" />
           <Permission User="Users" GenericAll="yes" />
         </RegistryKey>
        
         <RegistryKey Id='SmartListW32RegShellOpen' Root='HKCR'
Key='SmartList\Shell\open' Action='createAndRemoveOnUninstall'>
           <Permission User="Administrators" GenericAll="yes" />
           <Permission User="Users" GenericAll="yes" />
         </RegistryKey>
                                       
       </Component>
      <Component Id="SmartListW32RegShellOpenCommand32bit"
Guid="726CF30C-BC18-45A1-BAB1-3EEF08B8C10A"  KeyPath="yes">
        <Condition>  VersionNT64 >= 600 </Condition>
        <RegistryKey Id='SmartListW32RegShellOpenCommand32' Root='HKCR'
Key='SmartList\Shell\open\command'  Action='createAndRemoveOnUninstall'>
          <Permission User="Administrators" GenericAll="yes" />
          <Permission User="Users" GenericAll="yes" />
          <RegistryValue Type='string' Value='"C:\Program Files
(x86)\SmartList\smartlistw32.exe" "%1"' />
        </RegistryKey>
      </Component>
        <Component Id="SmartListW32RegShellOpenCommand64bit"
Guid="9ADF87DE-D138-4AF1-ADE9-BDCB21736A0E"  KeyPath="yes">
          <Condition>  VersionNT >= 600</Condition>
          <RegistryKey Id='SmartListW32RegShellOpenCommand64' Root='HKCR'
Key='SmartList\Shell\open\command' Action='createAndRemoveOnUninstall'>
            <Permission User="Administrators" GenericAll="yes" />
            <Permission User="Users" GenericAll="yes" />
            <RegistryValue Type='string' Value='"C:\Program Files
(x86)\SmartList\smartlistw32.exe" "%1"' />
          </RegistryKey>
      </Component>
      

      <Component Id='DropNetLibrary'
Guid='139EC187-C49C-46C3-BEBC-3F25E4CBC20A'>
           <File Id='DropNetDLL' Name='DropNet.dll' DiskId='1' 
                 Source="C:\Users\Public\Documents\Visual Studio
Projects\SmartListW32\SmartListW32\bin\Release\DropNet.dll" KeyPath='yes' />
         </Component>
         <Component Id='Newtonsoft.JsonLibrary'
Guid='D530D1A8-C959-4C97-A002-1993CB0311FE'>
           <File Id='NewtonsoftDLL' Name='Newtonsoft.Json.dll' DiskId='1'
Source='C:\Users\Public\Documents\Visual Studio
Projects\SmartListW32\SmartListW32\bin\Release\Newtonsoft.Json.dll'
KeyPath='yes' />
         </Component>
         <Component Id='RestSharpLibrary'
Guid='8459DC8E-B17F-4623-B54E-325277FB6CB2'>
           <File Id='RestSharpDLL' Name='RestSharp.dll' DiskId='1'
Source='C:\Users\Public\Documents\Visual Studio
Projects\SmartListW32\SmartListW32\bin\Release\RestSharp.dll' KeyPath='yes'
/>
         </Component>
      <!--<Component Id='Manual'
Guid='5B30A71B-D33F-4882-93B0-171344331093'>
        <File Id='Manual' Name='Manual.pdf' DiskId='1' Source='Manual.pdf'
KeyPath='yes'>
          <Shortcut Id='startmenuManual' Directory='ProgramMenuDir'
Name='Instruction Manual' Advertise='yes' />
        </File>
      </Component>-->
     

    </ComponentGroup>
    
    
    <Feature Id='Complete' Level='1'>
      <ComponentRef Id='MainExecutable' />
      <ComponentRef Id='DropNetLibrary' />
      <ComponentRef Id='Newtonsoft.JsonLibrary' />
      <ComponentRef Id='RestSharpLibrary' />
      <!--<ComponentRef Id='Manual' />-->
      <ComponentRef Id='ProgramMenuDir' />
    </Feature>
    <Icon Id="SmartListW32.exe" SourceFile="$(var.SmartListW32.TargetPath)"
/>
        </Fragment>
</Wix>

-----Original Message-----
From: John H Bergman (XPedient) [mailto:john.berg...@xpdnt.com] 
Sent: Friday, March 09, 2012 11:36 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] vs11beta how to embed cab?

We'd need to see the rest of your wix file

-----Original Message-----
From: Rick Hantz (Hotmail) [mailto:rick_ha...@hotmail.com]
Sent: Friday, March 09, 2012 1:09 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] vs11beta how to embed cab?

New to WiX.
I created a simple install project that has basic functionality.
However, its creating a separate cab file.

When I add:
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /> I get a compile error
of duplicate media id.
I can't find the duplicate anywhere. Can't find a way to specify that the
cab is embedded.

Any ideas?

Thanks,
RickH


--
I am using the free version of SPAMfighter.
We are a community of 7 million users fighting spam.
SPAMfighter has removed 102293 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len

The Professional version does not have this message


----------------------------------------------------------------------------
--
Virtualization & Cloud Management Using Capacity Planning Cloud computing
makes use of virtualization - but cloud computing also focuses on allowing
computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

----------------------------------------------------------------------------
--
Virtualization & Cloud Management Using Capacity Planning Cloud computing
makes use of virtualization - but cloud computing also focuses on allowing
computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to