ERROR: CabLib Compress ERROR: Could not create FCI context: The name of the CAB file must never contain characters above ASCII 127 #73

Open
oliverkan opened this Issue May 26, 2014 · 5 comments

Projects

None yet

2 participants

@oliverkan

hi,
i have an error like in title 'ERROR: CabLib Compress ERROR: Could not create FCI context: The name of the CAB file must never contain characters above ASCII 127'. I use dotnetinstaller 2.1
How can i solve this error?

my config file is like this:

<?xml version="1.0" encoding="utf-8"?>
< configurations lcid_type="UserExe" show_language_selector="True" language_selector_title="Select language" language_selector_ok="OK" language_selector_cancel="Cancel" configuration_no_match_message="" ui_level="full" fileversion="ProductVersionVariable" productversion="ProductVersionVariable" log_enabled="False" log_file="installerLog.txt">
  < schema version="2.1.528.0" generator="dotNetInstaller InstallerEditor" />
  < fileattributes>
    < fileattribute name="CompanyName" value="trial.-XX.com" />
    < fileattribute name="FileDescription" value="trial PDF Viewer" />
    < fileattribute name="ProductName" value="trial PDF Viewer" />
    < fileattribute name="LegalCopyright" value="trial.- xx.com (c) 2012. All rights reserved." />
  < /fileattributes>
  < configuration dialog_caption="trial PDF Viewer Installer" dialog_message="In order to install trial PDF Viewer you must first install these components:" dialog_message_uninstall="" dialog_bitmap="#APPPATH\banner.bmp" skip_caption="Skip" install_caption="Install" uninstall_caption="Uninstall" cancel_caption="Close" status_installed=" (Installed)" status_notinstalled="" failed_exec_command_continue="Failed to install %s. Continue with other components?" installation_completed="trial PDF Viewer installed successfully!" uninstallation_completed="trial PDF Viewer uninstalled successfully!" installation_none="trial PDF Viewer is already installed!" uninstallation_none="trial PDF Viewer is not installed!" installing_component_wait="Installing %s. Wait, this operation could take some time ..." uninstalling_component_wait="Uninstalling %s. Wait, this operation could take some time ..." reboot_required="To continue the installation you must restart your computer. Restart now?" must_reboot_required="False" dialog_otherinfo_caption="" dialog_otherinfo_link="" complete_command="" complete_command_silent="" complete_command_basic="" wait_for_complete_command="True" auto_close_if_installed="True" auto_close_on_error="False" reload_on_error="True" dialog_show_installed="True" dialog_show_uninstalled="True" dialog_show_required="True" cab_dialog_message="%s" cab_cancelled_message="" cab_dialog_caption="" cab_path="#TEMPPATH\#GUID" cab_path_autodelete="True" dialog_default_button="cancel" dialog_position="" dialog_components_list_position="" dialog_message_position="" dialog_bitmap_position="" dialog_otherinfo_link_position="" dialog_osinfo_position="" dialog_install_button_position="" dialog_cancel_button_position="" dialog_skip_button_position="" auto_start="False" auto_continue_on_reboot="False" reboot_cmd="" show_progress_dialog="True" show_cab_dialog="True" disable_wow64_fs_redirection="False" administrator_required="True" administrator_required_message="trial PDF Viewer installation requires administration rights." type="install" lcid_filter="!1043,!1030" language_id="1033" language="English" os_filter="" os_filter_min="winXP" os_filter_max="" processor_architecture_filter="" supports_install="True" supports_uninstall="True">
    <component package="#CABPATH\edpt.msi" cmdparameters="/passive" cmdparameters_silent="/qn" cmdparameters_basic="/qb-" uninstall_package="" uninstall_cmdparameters="/qb-" uninstall_cmdparameters_silent="/qn" uninstall_cmdparameters_basic="/qb-" disable_wow64_fs_redirection="False" id="Runtime" display_name="trial Runtime" uninstall_display_name="" os_filter="" os_filter_min="" os_filter_max="" os_filter_lcid="" type="msi" installcompletemessage="" uninstallcompletemessage="" mustreboot="False" reboot_required="" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="True" default_continue_on_error="False" required_install="True" required_uninstall="False" selected_install="True" selected_uninstall="True" note="" processor_architecture_filter="" status_installed="" status_notinstalled="" supports_install="True" supports_uninstall="True" show_progress_dialog="True" show_cab_dialog="True">
      < embedfile sourcefilepath="#APPPATH\files\edpt.msi" targetfilepath="" />
      < installedcheck id="b2bfe2bb-43ed-4dfb-bf15-8da1318872ba" id_type="upgradecode" propertyname="VersionString" propertyvalue="runtimeVersion" comparison="version_ge" defaultvalue="False" type="check_product" description="Installed Check" />
    < /component>
    < component package="#CABPATH\eptPdfViewer.msi" cmdparameters="" cmdparameters_silent="/qn" cmdparameters_basic="/qb-" uninstall_package="" uninstall_cmdparameters="/qb-" uninstall_cmdparameters_silent="/qn" uninstall_cmdparameters_basic="/qb-" disable_wow64_fs_redirection="False" id="PDF Viewer" display_name="trial PDF Viewer" uninstall_display_name="" os_filter="" os_filter_min="" os_filter_max="" os_filter_lcid="" type="msi" installcompletemessage="" uninstallcompletemessage="" mustreboot="False" reboot_required="" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="True" default_continue_on_error="False" required_install="True" required_uninstall="False" selected_install="True" selected_uninstall="True" note="" processor_architecture_filter="" status_installed="" status_notinstalled="" supports_install="True" supports_uninstall="True" show_progress_dialog="True" show_cab_dialog="True">
      < embedfile sourcefilepath="#APPPATH\files\eptPdfViewer.msi" targetfilepath="" />
      < installedcheck id="650c084f-7d58-4325-80bc-796d3c060bd9" id_type="upgradecode" propertyname="VersionString" propertyvalue="viewerVersion" comparison="version_ge" defaultvalue="False" type="check_product" description="Installed Check" />
    < /component>
  < /configuration>
  < /configurations>
@dblock
Owner
dblock commented May 26, 2014

What's the command line output of this? It will tell you the CAB filename it's trying to make. Likely some component's ID is causing this. Also upgrade to the latest version first just to double-check whether it's a bug or something fixed more recently, I couldn't find for sure.

@dblock dblock added the bug? label May 26, 2014
@oliverkan

thank you for your reply.
I updated to the latest version but nothing has changed. Here Command line output is:

InstallerLinker: dotNetInstaller Packager (2.3.16.0)

Creating "K:\data-prace\disc\projects\pdfViewer\installers\setupBuilder_26052014\target\eptPdfViewerSetup-2.0.1.exe" from "K:\data-prace\disc\projects\pdf
Viewer\installers\setupBuilder_26052014\dotNetInstaller 2.3\Bin\dotNetInstaller.exe"
Updating binary attributes in "K:\data-prace\disc\projects\pdfViewer\installers\setupBuilder_26052014\target\eptPdfViewerSetup-2.0.1.exe"
CompanyName: trial.- xxx.com
FileDescription: trial PDF Viewer
ProductName: trial PDF Viewer
LegalCopyright: trial.- xxx.com (c) 2012. All rights reserved.
Embedding icon "K:\data-prace\disc\projects\pdfViewer\installers\setupBuilder_26052014\xx.ico"
48x48, 32x32, 16x16, 48x48, 32x32, 16x16, 48x48, 32x32, 16x16
Writing CABs to "C:\Users\dusan\AppData\Local\Temp\00d7f6c7-4fe2-49d6-a0c8-ecea30c03c85"
Compressing files in "K:\data-prace\disc\projects\pdfViewer\installers\setupBuilder_26052014"
K:\data-prace\disc\projects\pdfViewer\installers\setupBuilder_26052014\files\edpt.msi (edpt.msi)
Cleaning up "C:\Users\dusan\AppData\Local\Temp\00d7f6c7-4fe2-49d6-a0c8-ecea30c03c85"
ERROR: CabLib Compress ERROR: Could not create FCI context: The name of the CAB file must never contain characters above ASCII 127.

@dblock
Owner
dblock commented May 26, 2014

Fyi, there's a bug open with this exact error,
#29. There's a link to a
repro, but it's not working. Maybe since you're looking at this you can
check out the project and find the place where this error is generated and
append the name of the file to the error? This way it will just say where
the problem is ...

On Mon, May 26, 2014 at 7:47 AM, oliverkan notifications@github.com wrote:

thank you for your reply.
I updated to the latest version but nothing has changed. Here Command line
output is:

InstallerLinker: dotNetInstaller Packager (2.3.16.0)

Creating
"K:\data-prace\disc\projects\pdfViewer\installers\setupBuilder_26052014\target\eptPdfViewerSetup-2.0.1.exe"
from "K:\data-prace\disc\projects\pdf
Viewer\installers\setupBuilder_26052014\dotNetInstaller
2.3\Bin\dotNetInstaller.exe"
Updating binary attributes in
"K:\data-prace\disc\projects\pdfViewer\installers\setupBuilder_26052014\target\eptPdfViewerSetup-2.0.1.exe"
CompanyName: trial.- xxx.com
FileDescription: trial PDF Viewer
ProductName: trial PDF Viewer
LegalCopyright: trial.- xxx.com (c) 2012. All rights reserved.
Embedding icon
"K:\data-prace\disc\projects\pdfViewer\installers\setupBuilder_26052014\xx.ico"
48x48, 32x32, 16x16, 48x48, 32x32, 16x16, 48x48, 32x32, 16x16
Writing CABs to
"C:\Users\dusan\AppData\Local\Temp\00d7f6c7-4fe2-49d6-a0c8-ecea30c03c85"
Compressing files in
"K:\data-prace\disc\projects\pdfViewer\installers\setupBuilder_26052014"
K:\data-prace\disc\projects\pdfViewer\installers\setupBuilder_26052014\files\edpt.msi
(edpt.msi)
Cleaning up
"C:\Users\dusan\AppData\Local\Temp\00d7f6c7-4fe2-49d6-a0c8-ecea30c03c85"
ERROR: CabLib Compress ERROR: Could not create FCI context: The name of
the CAB file must never contain characters above ASCII 127.


Reply to this email directly or view it on GitHubhttps://github.com/dblock/dotnetinstaller/issues/73#issuecomment-44181968
.

dB. | Moscow - Geneva - Seattle - New York
code.dblock.org - @dblockdotorg http://twitter.com/#!/dblockdotorg -
artsy.net - github/dblock https://github.com/dblock

@oliverkan

Hi Daniel,
I found the reason of error. In windows Language and region causes this problem. I was using Turkish(Turkey) format, when i change to English format all of process completed succesfully.
I think some converting method causes an exception. Anyway problem is resolved.
Thanks.

@dblock
Owner
dblock commented May 27, 2014

This is still a bug in DNI. It would be great if you took the time to debug it and submit a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment