Skip to content

[SIMCMD] Unable to install an instance if it wasn't properly deleted #194

@sshushliapin

Description

@sshushliapin

Importance:
Critical (I need this issue to be fixed)

I'm using SIMCMD to deploy Sitecore instances on CI. I do like that the simplest command sim.exe install -n mysite gives me a ready to use instance. But, it appeared that quite often an old instance cannot be properly deleted leaving some garbage website files. Those files prevent further instances installations and make it fail with the following error:

{
  "Success": false,
  "Message": "Folder already exists: C:\\inetpub\\wwwroot\\mysite",
  "Elapsed": "00:00:07.8373647"
}

I'd like to extend the CLI install command to ask a user if the old files need to be deleted first before the installation. That is what happening when one uses the WinApp:

image

It should be also possible to specify -y (always Yes) key so that the tool does not wait for the user input and just go ahead with deleting the garbage files.

What do you think about that?

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