[wix-users] swidtag folder not installed when app already exists.

Rob Mensching rob at firegiant.com
Thu Sep 3 13:53:10 PDT 2015


The root question is why is the "WixSwidTag" feature that is added automatically to the root being disabled.

MSI (s) (78:F0) [13:10:44:505]: Feature: WixSwidTag; Installed: Absent;   Request: Null;   Action: Null

Can you look up in the log file and see if there is any mention to that feature or the Component "tag098E26650654137FDD70F9C99051DDE9" to explain why Windows Installer thought the feature was not to be enabled.  Feature Migration is a reasonable guess...

_______________________________________________________________
 FireGiant  |  Dedicated support for the WiX toolset  |  http://www.firegiant.com/

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Bob Arnson
Sent: Thursday, September 3, 2015 1:25 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] swidtag folder not installed when app already exists.

Sorry, I jumped to a conclusion and ended up breaking my ankles. The Tag extension manages that feature for you, which makes it all the more confusing why it's not being installed. 

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Phill Hogland
Sent: Thursday, 3 September, 2015 16:08
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] swidtag folder not installed when app already exists.

Maybe I don't understand how to use the swid:Tag, I just placed it under the Product element and assumed that the extension would hook it into a feature.

  <Product Id="*" Name="$(var.RdpPkgNameBldProp)" Version="$(var.ProductVer)" Manufacturer="Rimage" Language="!(loc.LCID)" UpgradeCode="$(var.Camera_UpgradeCode)" >
    <Package InstallerVersion="500" Compressed="yes" InstallScope="perMachine" InstallPrivileges="elevated" Manufacturer="Rimage" SummaryCodepage="!(loc.SummaryCodepage)"/>

    <swid:Tag Regid="rimage.com" InstallDirectory="CameraCalibratorDir"  Name="Rimage_$(var.RdpOutputNameBldProp)_msi_v$(var.ProductVer) $(var.RdpPkgNameBldProp) "/>
    <MajorUpgrade DowngradeErrorMessage="!(loc.DownVersionErrorMsg)" Schedule="afterInstallInitialize" />
    <MediaTemplate EmbedCab="no" CabinetTemplate="cmr{0}.cab" />

    <WixVariable Id="CompanyRegKey" Value="SOFTWARE\Rimage" />
    <WixVariable Id="PropertiesRegKey" Value="SOFTWARE\Rimage\Camera" />
    <WixVariable Id="InstallFolderName" Value="Rimage" />
    <WixVariable Id="CompanyMenuFolderName" Value="Rimage" />

    <Feature Id="Camera" Title="$(var.RdpPkgNameBldProp)" Level="1" InstallDefault="local" TypicalDefault="install" AllowAdvertise="no">
      <FeatureRef Id="Camera_properties"/>
      <FeatureRef Id="Camera_app"/>
    </Feature>
  </Product>

  <Fragment>
    <Feature Id="Camera_properties" Level="1" Display="hidden" AllowAdvertise="no" InstallDefault="followParent" TypicalDefault="install" Absent="disallow">
      <ComponentGroupRef Id="MsiProperties"/>
    </Feature>
  </Fragment>

  <Fragment>
    <!-- Since EdsClient app tries to interact with the cameracalibrator on startup, never advertise this feature.  Changed from advertise to install, 20150220.-->
   <Feature Id="Camera_app" Level="1" Display="hidden" AllowAdvertise="yes" InstallDefault="followParent" TypicalDefault="install" Absent="disallow">
        <!-- Harvested product tree.-->
      <ComponentGroupRef Id="CameraGroup"/>
      <ComponentGroupRef Id="STATIC_CameraGroup"/>
      <!-- Manually authored, not maintained in xslt-->
      <ComponentGroupRef Id="Aplication"/>
      <ComponentGroupRef Id="Registration"/>
      <!--<ComponentRef Id="Camera.exe.config" />-->
    </Feature>
  </Fragment>
</Wix>


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Bob Arnson
Sent: Thursday, September 03, 2015 2:54 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] swidtag folder not installed when app already exists.

What does your WixSwidTag feature look like?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Phill Hogland
Sent: Thursday, 3 September, 2015 15:43
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] swidtag folder not installed when app already exists.

Yes I saw that line.  I also later did a Repair with same line.
>> Is your major upgrading migrating feature states?

Sorry I am not sure I understand.  My MSI simply has:
    <MajorUpgrade DowngradeErrorMessage="!(loc.DownVersionErrorMsg)" Schedule="afterInstallInitialize" />

My Features are:
    <Feature Id="Camera" Title="$(var.RdpPkgNameBldProp)" Level="1" InstallDefault="local" TypicalDefault="install" AllowAdvertise="no">
      <FeatureRef Id="Camera_properties"/>
      <FeatureRef Id="Camera_app"/>
    </Feature>
  </Product>

  <Fragment>
    <Feature Id="Camera_properties" Level="1" Display="hidden" AllowAdvertise="no" InstallDefault="followParent" TypicalDefault="install" Absent="disallow">
      <ComponentGroupRef Id="MsiProperties"/>
    </Feature>
  </Fragment>

  <Fragment>
    <!-- Since EdsClient app tries to interact with the cameracalibrator on startup, never advertise this feature.  Changed from advertise to install, 20150220.-->
   <Feature Id="Camera_app" Level="1" Display="hidden" AllowAdvertise="yes" InstallDefault="followParent" TypicalDefault="install" Absent="disallow">
        <!-- Harvested product tree.-->
      <ComponentGroupRef Id="CameraGroup"/>
      <ComponentGroupRef Id="STATIC_CameraGroup"/>
      <!-- Manually authored, not maintained in xslt-->
      <ComponentGroupRef Id="Aplication"/>
      <ComponentGroupRef Id="Registration"/>
      <!--<ComponentRef Id="Camera.exe.config" />-->
    </Feature>
  </Fragment>

As indicated in the comment for the Feature Camera_app this structure was originally authorted to allow Camera_app to be advertised, but that change to force it to always be local was made long ago.  So I expect all files to be installed local.

What migrating should I be doing?
Phill



-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Bob Arnson
Sent: Thursday, September 03, 2015 2:33 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] swidtag folder not installed when app already exists.

This line

MSI (s) (78:F0) [13:10:44:505]: Feature: WixSwidTag; Installed: Absent;   Request: Null;   Action: Null

Says the feature wasn't selected for install. Do you have a condition? Is your major upgrading migrating feature states?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Phill Hogland
Sent: Thursday, 3 September, 2015 15:09
To: WiX Uses (wix-users at lists.wixtoolset.org) <wix-users at lists.wixtoolset.org>
Subject: [wix-users] swidtag folder not installed when app already exists.

Using wix 3.10.0.2103, all of the issues discussed previously on the list seem to have acceptable results (although I am not using long version strings or filename strings).  I had also noticed the different line terminations between the Bundle tag file and the Product tag file which now seems to be the same between the two when I use notepad++ to open the files.

I added swid:Tag (s) to a small 'Addon' bundle which has two MSI packages.  One of the MSI packages is in the base bundle, but was rebuilt as a MajorUpgrade after adding the swid:tag to each of the Product elements and the Bundle element.  The Bundle swid:tag and the Product swid:tag (for the app which is not common to the two bundles) appear to be 'correct' or as expected.

For the MSI package which is common to the two bundles (although a newer build in this addon Bundle) the swidtag folder was not created.  Here are parts of the log (and I duplicated this issue on two different test configurations Win7 x86 and Win7 x64).  From the log for the common MSI (which is a camera utility).

MSI (s) (78:F0) [13:10:44:363]: PROPERTY CHANGE: Adding WixTagFolder property. Its value is 'C:\Program Files (x86)\Rimage\Utilities\CameraCalibrator\swidtag\'.

MSI (s) (78:F0) [13:10:44:505]: Note: 1: 2205 2:  3: Dialog
MSI (s) (78:F0) [13:10:44:505]: Feature: Camera; Installed: Absent;   Request: Local;   Action: Local
MSI (s) (78:F0) [13:10:44:505]: Feature: WixSwidTag; Installed: Absent;   Request: Null;   Action: Null
MSI (s) (78:F0) [13:10:44:505]: Feature: Camera_properties; Installed: Absent;   Request: Local;   Action: Local
MSI (s) (78:F0) [13:10:44:505]: Feature: Camera_app; Installed: Absent;   Request: Local;   Action: Local
MSI (s) (78:F0) [13:10:44:505]: Component: tag098E26650654137FDD70F9C99051DDE9; Installed: Absent;   Request: Null;   Action: Null

MSI (s) (78:F0) [13:10:45:567]: Dir (source): Key: WixTagInstallFolder       , Object: C:\ProgramData\Package Cache\{7CDD032C-F5FA-461A-8871-DF28FEFD1836}v9.0.235.0\Camera\ , LongSubPath: Rimage\Utilities\CameraCalibrator\        , ShortSubPath: l1gma2wj\wovczz36\qslaqvho\
MSI (s) (78:F0) [13:10:45:567]: Dir (source): Key: WixTagFolder   , Object: C:\ProgramData\Package Cache\{7CDD032C-F5FA-461A-8871-DF28FEFD1836}v9.0.235.0\Camera\ , LongSubPath: Rimage\Utilities\CameraCalibrator\swidtag\       , ShortSubPath: l1gma2wj\wovczz36\qslaqvho\swidtag\
MSI (s) (78:F0) [13:10:45:567]: Note: 1: 2205 2:  3: ActionText MSI (s) (78:F0) [13:10:45:567]: Note: 1: 2205 2:  3: ActionText MSI (s) (78:F0) [13:10:45:569]: Note: 1: 2205 2:  3: ActionText MSI (s) (78:F0) [13:10:45:572]: Doing action: UnpublishFeatures MSI (s) (78:F0) [13:10:45:572]: Note: 1: 2205 2:  3: ActionText Action ended 13:10:45: ProcessComponents. Return value 1.
Action start 13:10:45: UnpublishFeatures.
MSI (s) (78:F0) [13:10:45:573]: Doing action: RemoveRegistryValues MSI (s) (78:F0) [13:10:45:573]: Note: 1: 2205 2:  3: ActionText Action ended 13:10:45: UnpublishFeatures. Return value 1.
Action start 13:10:45: RemoveRegistryValues.
MSI (s) (78:F0) [13:10:45:573]: Doing action: RemoveShortcuts MSI (s) (78:F0) [13:10:45:573]: Note: 1: 2205 2:  3: ActionText Action ended 13:10:45: RemoveRegistryValues. Return value 1.
Action start 13:10:45: RemoveShortcuts.

MSI (s) (78:F0) [13:10:46:540]: Executing op: FeaturePublish(Feature=WixSwidTag,,Absent=3,Component=IA,9zIGHOEj9*MnX[@+D)
MSI (s) (78:F0) [13:10:46:544]: Executing op: ActionStart(Name=PublishProduct,Description=Publishing product information,)

Please let me know how I can collect better information if needed.
Phill

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list