[wix-users] ConfiguresmbUninstall is failing when 'Installing' on French system.

Phill Hogland phill.hogland at rimage.com
Wed Jun 22 04:53:36 PDT 2016


Sorry, it is:
The data area passed to a system call is too small.

The log indicates:
Début de l’action 14:52:00 : ConfigureSmbUninstall.
ConfigureSmbUninstall:  Error 0x8007007a: Failed to copy description string to smb object
ConfigureSmbUninstall:  Error 0x8007007a: failed to read FileShare table
CustomAction ConfigureSmbUninstall returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)


________________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Bob Arnson <bob at firegiant.com>
Sent: Tuesday, June 21, 2016 4:13:45 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] ConfiguresmbUninstall is failing when 'Installing'     on      French system.

What's the HRESULT?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Phill Hogland
Sent: Tuesday, 21 June, 2016 17:04
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] ConfiguresmbUninstall is failing when 'Installing' on French system.

I just got this report from QA and have done limited research, so I plan to dig deeper tomorrow.  But maybe someone has advice on how to sort out this issue.


I have a MSI (in my bundle chain) which is batch built for eight locales with a common external cab file.  This package has been working on EN, DE, JP, and KO that I am aware of, but when tested on FR, while doing an Install on a clean system, the MSI fails when calling ConfiguresmbUninstall action.


The log indicates first that "Failed to copy description string to smb object" then it indicates "failed to read FileShare table"


So it is tripping on this code in ScaSmbRead() of scasmbsched.cpp:

        hr = WcaGetRecordFormattedString(hRec, ssqDescription, &pwzData);
        ExitOnFailure1(hr, "Failed to get Share Description for FileShare: '%ls'", pss->wzShareName);
        hr = ::StringCchCopyW(pss->wzDescription, countof(pss->wzDescription), pwzData);
        ExitOnFailure(hr, "Failed to copy description string to smb object");

My wxl is authored as:
      <Component Id="shareMyFolder" Directory="MYFOLDER">
        <RegistryValue Root="HKMU" Key="!(wix.PropertiesRegKey)" Name="shareMyFolder_Ver" Value="[ProductVersion]" Type="string" KeyPath="yes" />
        <util:FileShare Id="shareMyFolder" Name="MyFolder" Description="!(loc.MyFolder_Description)">
          <util:FileSharePermission GenericAll="yes" User="Everyone" />
        </util:FileShare>
      </Component>


When I look at the FR MSI with orca the entries are the same for each MSI, except that the Description is a French string.

"Le dossier du système MyFolder est utilisé par les systèmes Company et les clients."


  Tomorrow I hope to substitute out that string to see if that makes any difference. The WixUtilExtesion is only localized for EN, PT, DE, and JP, but I have strings for the other locales in my MSI.  I guess I am looking for any advice as to why ::StringCchCopyW would fail in this situation.  Is the countof yielding an incorrect result for the accented chars?


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