Skip to content

inno setup bug when no dlls #41

@Neurofibromin

Description

@Neurofibromin

Hi!

When using PublishSingleFile=true there are no published dll files in \Temp\KuiperZone.PupNet\my-..-project\AppDir\Publish*.dll". This is a problem because Inno Setup throws error about this when running.

The problematic line is SetupBuilder.cs line 212

sb.AppendLine($"Source: \"{BuildAppBin}\\*.dll\"; DestDir: \"{{app}}\"; Flags: ignoreversion recursesubdirs createallsubdirs signonce;");

Example of this:
4_pupnet-innosetup (windows-latest).txt
github action run here

Possible solution:
After running dotnet publish but before running iscc check if there are dll files and if not remove that line from the iss file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions