Skip to content

NanaZip.Core.Setup.sfx installer shows "Can't load config info" #795

@kbarnes3

Description

@kbarnes3

I built NanaZip.Core.Setup.sfx using the latest version from main. When I produce an .exe with this version, I always get an error "Can't load config info". I produced an .exe by running:

cmd /c copy /b .\NanaZip.Core.Setup.sfx + .\config.txt + .\bootstrap.7z Installer.exe

Where config.txt looks like:

,!@Install@!UTF-8!
Title="My Team Program Installer"
BeginPrompt="This will install My Team Program."
ExecuteFile="powershell.exe"
ExecuteParameters="-ExecutionPolicy Bypass -NoProfile -File bootstrap.ps1"
GUIMode="2"
OverwriteMode="2"
DeleteGifOnComplete="1"
,!@InstallEnd@!

If I instead produce a non-setup SFX by running:

cmd /c copy /b .\NanaZip.Core.Windows.sfx + .\bootstrap.7z Installer.exe

I do get a working executable, although obviously without the setup happening. Is this expected to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions