Skip to content

Installer uses always the same fix install path #1639

@Elmue

Description

@Elmue

Describe the bug

I installed V2026.2.0-beta1

Describe the expected result

The installer always shows the same fix install path:

Image

URL

No response

Download Options

But my previous installation was into another folder.
If I would just use this path I would have Nickvision installed twice on my disk occupying very much disk space!

Why don't you display the path where Nickvision is currently installed instead of always displaying the same path?

You can read this easily from the registry:

Image

I asked Copilot if this GUID {F0AE5CF5...} can be trusted to be constant and it tells me:

Image

So, as long as you don't modify the AppID in the Inno installer you can use this registry path.


If you don't like to use the Uninstall registry path you can make it as any other software on Windows does:
You create your own registry folder and write the install path there:

Image

Simply read the install path from the registry, check with Directory.Exists() if the path is a valid directory and display it to the user in the installer window.
The user can still select another path if he likes.
But then he will have the huge application installed twice !

So you should either automatically uninstall the previous installation or show a message that the user must remove the previous installation manually.

Debugging Information

...

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions