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

Phill Hogland phill.hogland at rimage.com
Thu Sep 3 12:43:17 PDT 2015


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/


More information about the wix-users mailing list