Save settings before reinstalling?

Support for Windows 10 users and the Microsoft Store package
Post Reply
Blaq
Posts: 6
Joined: 06 Sep 2016, 23:26

Save settings before reinstalling?

Post by Blaq » 30 Aug 2018, 12:38

I have FileBot installed as a Windows 10 app from the app store. My BitTorrent client is set to automatically run FB after a download completes, calling FB to rename/move the file and importing it into the Plex library.

My latest download didn't do that, so I launched FB to manually rename/move the file. FB didn't appear. When I try to run it, the following appears in the Event log:

Code: Select all

Log Name:      Application
Source:        Windows Error Reporting
Date:          8/30/2018 8:12:08 AM
Event ID:      1001
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      Charles-Dell
Description:
Fault bucket 1934780142005640418, type 5
Event Name: AppxDeploymentFailureBlue
Response: Not available
Cab Id: 0

Problem signature:
P1: 80070005
P2: 19
P3: 3
P4: windows.fileTypeAssociation
P5: 10.0.17134.228
P6: 6801
P7: 
P8: 
P9: 
P10: 

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERBE24.tmp.WERInternalMetadata.xml

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_80070005_3d4438517ee509f7e75204d20bbbef6ff7f24a7_00000000_0bbdc047

Analysis symbol: 
Rechecking for solution: 0
Report Id: 5c4b4dee-549e-499b-a1fa-3e317703aede
Report Status: 268435456
Hashed bucket: 6b01c61b37dec04bcad9b849cab9dce2
Cab Guid: 0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Windows Error Reporting" />
    <EventID Qualifiers="0">1001</EventID>
    <Level>4</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2018-08-30T12:12:08.046897000Z" />
    <EventRecordID>8867</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Charles-Dell</Computer>
    <Security />
  </System>
  <EventData>
    <Data>1934780142005640418</Data>
    <Data>5</Data>
    <Data>AppxDeploymentFailureBlue</Data>
    <Data>Not available</Data>
    <Data>0</Data>
    <Data>80070005</Data>
    <Data>19</Data>
    <Data>3</Data>
    <Data>windows.fileTypeAssociation</Data>
    <Data>10.0.17134.228</Data>
    <Data>6801</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERBE24.tmp.WERInternalMetadata.xml</Data>
    <Data>C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_80070005_3d4438517ee509f7e75204d20bbbef6ff7f24a7_00000000_0bbdc047</Data>
    <Data>
    </Data>
    <Data>0</Data>
    <Data>5c4b4dee-549e-499b-a1fa-3e317703aede</Data>
    <Data>268435456</Data>
    <Data>6b01c61b37dec04bcad9b849cab9dce2</Data>
    <Data>0</Data>
  </EventData>
</Event>

Log Name:      Application
Source:        Windows Error Reporting
Date:          8/30/2018 8:12:07 AM
Event ID:      1001
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      Charles-Dell
Description:
Fault bucket , type 0
Event Name: AppxDeploymentFailureBlue
Response: Not available
Cab Id: 0

Problem signature:
P1: 80070005
P2: 19
P3: 3
P4: windows.fileTypeAssociation
P5: 10.0.17134.228
P6: 6801
P7: 
P8: 
P9: 
P10: 

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\NonCritical_80070005_3d4438517ee509f7e75204d20bbbef6ff7f24a7_00000000_00d9bde5

Analysis symbol: 
Rechecking for solution: 0
Report Id: 5c4b4dee-549e-499b-a1fa-3e317703aede
Report Status: 4
Hashed bucket: 
Cab Guid: 0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Windows Error Reporting" />
    <EventID Qualifiers="0">1001</EventID>
    <Level>4</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2018-08-30T12:12:07.419906400Z" />
    <EventRecordID>8866</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Charles-Dell</Computer>
    <Security />
  </System>
  <EventData>
    <Data>
    </Data>
    <Data>0</Data>
    <Data>AppxDeploymentFailureBlue</Data>
    <Data>Not available</Data>
    <Data>0</Data>
    <Data>80070005</Data>
    <Data>19</Data>
    <Data>3</Data>
    <Data>windows.fileTypeAssociation</Data>
    <Data>10.0.17134.228</Data>
    <Data>6801</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>C:\ProgramData\Microsoft\Windows\WER\ReportQueue\NonCritical_80070005_3d4438517ee509f7e75204d20bbbef6ff7f24a7_00000000_00d9bde5</Data>
    <Data>
    </Data>
    <Data>0</Data>
    <Data>5c4b4dee-549e-499b-a1fa-3e317703aede</Data>
    <Data>4</Data>
    <Data>
    </Data>
    <Data>0</Data>
  </EventData>
</Event>
I assume I should reinstall FB, but first want to export its settings and formats. Here's what happens in the command line. I thought maybe I needed to be inside the FB directory (second command), but that doesn't work either.

Code: Select all

C:\Users\Charles\Documents>filebot -script fn:preferences --output .
The system cannot execute the specified program.

C:\Users\Charles\Documents>cd "C:\ProgramData\Microsoft\Windows\AppRepository\Packages\PointPlanck.FileBot_4.8.4.0_x64__49ex9gnthnt12"
Access is denied.
How can I run FB from the command line to safeguard my settings and formats, given the above output? Thanks.

User avatar
rednoah
The Source
Posts: 16810
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Save settings before reinstalling?

Post by rednoah » 30 Aug 2018, 15:46

1.
If the command-line tool works, then you can import / export settings like this:
viewtopic.php?f=3&t=4205


2.
Regardless of application, user settings are always found in your user app data folder, and never in the install folder, since applications themselves usually can't write-access their own install folder without admin permissions:

Code: Select all

%USERPROFILE%\AppData\Local\Packages\PointPlanck.FileBot_*\LocalCache\Roaming\FileBot
:idea: This folder is managed by the UWP runtime though. If you copy everything you might be able to restore the settings, but I'm not sure. There should be a "virtual registry" file somewhere which stores registry entries / settings for UWP apps.
:idea: Please read the FAQ and How to Request Help.

Blaq
Posts: 6
Joined: 06 Sep 2016, 23:26

Re: Save settings before reinstalling?

Post by Blaq » 30 Aug 2018, 23:24

Hi Noah,

The command-line tool doesn't work, as documented above.

In C:\Users\Charles\AppData\Local\Packages\PointPlanck.FileBot_49ex9gnthnt12\LocalCache\Roaming\FileBot , I found the following in the preferences.backup.xml file:

Code: Select all

    <node name="net">
      <map/>
      <node name="filebot">
        <map>
          <entry key="dialog.open.folder" value="D:\Charles\Downloads\~Torrent (completed)\BBC Call the Midwife S07E07 4th Mar 2018 HD 1920x1080 (Deep61) [WWRG]"/>
          <entry key="getting.started" value="1"/>
        </map>
        <node name="ui">
          <map>
            <entry key="panel.selected" value="0"/>
            <entry key="window.x" value="749"/>
            <entry key="window.y" value="0"/>
            <entry key="window.width" value="1178"/>
            <entry key="window.height" value="823"/>
          </map>
          <node name="episodelist">
            <map/>
            <node name="language.favorites">
              <map/>
            </node>
          </node>
          <node name="rename">
            <map>
              <entry key="dialog.select.repeat" value="false"/>
              <entry key="dialog.select.width" value="824"/>
              <entry key="dialog.select.height" value="541"/>
            </map>
            <node name="format.recent.episode">
              <map>
                <entry key="0" value="M:/TV SHOWS/{plex}"/>
              </map>
            </node>
            <node name="format.recent.movie">
              <map>
                <entry key="0" value="M:/{plex}"/>
              </map>
            </node>
            <node name="presets">
              <map>
                <entry key="My Preset" value="{"@type":"net.filebot.ui.rename.Preset","name":"My Preset","path":null,"includes":null,"format":"M:/{plex}","database":"TheTVDB","sortOrder":"Airdate","matchMode":"Opportunistic","language":"en","action":"MOVE"}"/>
                <entry key="Movies → M:" value="{"@type":"net.filebot.ui.rename.Preset","name":"Movies → M:","path":null,"includes":null,"format":"M:/{plex}","database":"TheMovieDB","sortOrder":null,"matchMode":"Opportunistic","language":"en","action":"MOVE"}"/>
              </map>
            </node>
          </node>
          <node name="subtitle">
            <map/>
            <node name="language.favorites">
              <map/>
            </node>
          </node>
        </node>
      </node>
    </node>
This gives me enough information to be able to recreate my preferred formats for movies and TV shows, should the preferences be wiped out when I reinstall FileBot.

Post Reply