Skip to content

StartIsBack++ build fails silently with x86 sources. #154

@vitouch

Description

@vitouch

Checklist

  • I looked at https://github.com/PhoenixPE/PhoenixPE/wiki/FAQ to see if my question has already been answered.
  • I performed a search in the issue tracker for similar issues using keywords relevant to my problem, such as the error message I got from the log.

Report



Describe what is happening
StartIsBack++ doesn't get set up as default start menu in x86 build (clicking start button does nothing), because the x86 part of the script that sets up the registry gets immediately overwritten by the .reg file included in the script that sets up the x64 environment. To fix one needs to swap the order of these two script functions.

To Reproduce
Build using x86 source and include StartIsBack++

Expected behavior
Start Menu Works after loading the created image.

Screenshots/Logs
These two parts of the StartIsBack building script need to be swapped, I'm creating a pull request with a fix. I believe the problem is self evident from the code.

If,%SourceArch%,Equal,x86,Begin
  RegWrite,HKLM,0x1,"Tmp_Software\Classes\CLSID\{865e5e76-ad83-4dca-a109-50dc2113ce9b}\InProcServer32","","X:\Program Files\StartIsBack\StartIsBack32.dll"
  RegWrite,HKLM,0x1,"Tmp_Software\Classes\CLSID\{99E2B362-3E4E-4255-9B29-41A7F40777BA}\InProcServer32","","X:\Program Files\StartIsBack\StartIsBack32.dll"
  RegWrite,HKLM,0x1,"Tmp_Software\Classes\CLSID\{99E2B362-3E4E-4255-9B29-41A7F40777BB}\InProcServer32","","X:\Program Files\StartIsBack\StartIsBack32.dll"
  RegWrite,HKLM,0x1,"Tmp_Software\Classes\CLSID\{a2a9545d-a0c2-42b4-9708-a0b2badd77c9}\InprocServer32","","X:\Program Files\StartIsBack\StartIsBack32.dll"
  RegWrite,HKLM,0x1,"Tmp_Software\Classes\CLSID\{AD1405D2-30CF-4877-8468-1EE1C52C759F}\InProcServer32","","X:\Program Files\StartIsBack\StartIsBack32.dll"
  RegWrite,HKLM,0x1,"Tmp_Software\Classes\CLSID\{c71c41f1-ddad-42dc-a8fc-f5bfc61df958}\InProcServer32","","X:\Program Files\StartIsBack\StartIsBack32.dll"
  RegWrite,HKLM,0x1,"Tmp_Software\Classes\CLSID\{E5C31EC8-C5E6-4E07-957E-944DB4AAD85E}\InProcServer32","","X:\Program Files\StartIsBack\StartIsBack32.dll"
  RegWrite,HKLM,0x2,"Tmp_Software\Classes\CLSID\{FCEA18FF-BC55-4E63-94D7-1B2EFBFE706F}","LocalizedString","@X:\Program Files\StartIsBack\StartIsBack32.dll,-510"
End

// Default StartIsBack Config
RegImport,%ProjectTemp%\StartIsBack-RegDefault.reg
RegImport,%ProjectTemp%\StartIsBack-RegSoftware.reg
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell","TabletMode",0

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