Skip to content

Q-Dir script fails with x86 source #144

Closed

Description

@JonRFleming

Checklist

Report



Describe what is happening
A clear and concise description of the issue you are experiencing.

Variable %SetupFile%is not changed to reflect source architecture, so Q-Dir_x64.exe is extracted and the filename doesn't match %ProgramExe%. See enclosed script, search for "JonF" to find changes.

To Reproduce
Step-by-step instructions on how to reproduce the behavior:

  1. Select x64 source in PhoenixPE
  2. Build with Q-Dir selected
  3. Select x86 source in PhoenixPE
  4. Build with Q-Dir selected
  5. See error "[Error] FileVersion - E:\PhoenixPE\Workbench\PhoenixPE\Target\Program Files\Q-Dir\Q-Dir.exe (FileVersion,"%TargetPrograms%%ProgramFolder%%ProgramExe%",%ProgramExeVer%) (Line 67)"Expected behavior
    A clear and concise description of what you expected to happen.

Screenshots/Logs
If applicable provide any error messages, log files, screenshots, scripts, etc. that may be helpful for troubleshooting or further explain your issue.

2025-05-26-0858-PhoenixPE-SupportBundle.zip

Q-Dir.zip

Activity

  1. JonRFleming commented on May 26, 2025

    @JonRFleming
    Author

    Oops, forgot, you have to delete PhoenixPE\Workbench\PhoenixPE\Programs\Q-Dir\Q-Dir.zip before runing the modified script because it contains the x64 version.

  2. homes32 commented on May 28, 2025

    @homes32
    Contributor

    fix can be even simpler with PEBakery

    %SetupFile%="Q-Dir_%SourceArch%.zip"
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions