Skip to content

When Assembly name has spaces shortcuts wont work #713

@jordyvaneijk

Description

@jordyvaneijk

If I have a space in my Assembly name (I.E.: Hello World) then my applications executable will be Hello World.exe When the startmenu shortcuts are created the Taget at that time will be something like:
C:\PathToApplication\Update.exe --processStart Hello World.exe
This will give the following exception while trying to start the application from the startmenu

2016-05-26 09:24:57> Program: File C:\PathToApplication\app-1.0.0.3\Hello doesn't exist in current release
2016-05-26 09:24:57> Unhandled exception: System.ArgumentException: Value does not fall within the expected range.
at Squirrel.Update.Program.ProcessStart(String exeName, String arguments, Boolean shouldWait)
at Squirrel.Update.Program.executeCommandLine(String[] args)
at Squirrel.Update.Program.main(String[] args)

This can be fixed by putting puting qoutes around the executables name in the Target of the shortcut C:\PathToApplication\Update.exe --processStart "Hello World.exe". Maybe this can be fixed?

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