Skip to content

Windows installer is not suitable for scripted installs / uninstalls . . . #3063

Description

@mwinkel-dev

Affiliation
TAE Technologies (PSFC submitted on behalf of @mrclary)

Version(s) Affected
All versions

Platform(s)
Windows

Installation Method(s)
Using the *.exe installer

Describe the bug
For scripted installs of MDSplus on Windows systems, it is useful to run the installer from a shell in silent mode and optionally with a specified user directory. For example . . .

MDSplus-alpha-7.160-0-x64.exe /S /D=C:\Users\rclary\MDSplus

Although the Nullsoft installer does support the /D directory flag, the *.nsi file is ignoring it and instead installing MDSplus for all users of a system.

Furthermore, when uninstalling MDSplus, the installer is not deleting all MDSplus files from the Windows system. (It is likely just removing it from the Windows registry.)

To Reproduce

  • Open a CMD or PowerShell window and then run the installer *.exe with the /D option and appropriate user directory.
  • Note that MDSplus is installed (with default settings) to the Program Files\MDSplus directory and not to the specified user's directory.
  • Then uninstall MDSplus and note that the files remain in Program Files\MDSplus.

Expected behavior
The /D flag should be supported, plus uninstall should delete the files.

Screenshots
n/a

Additional context
n/a

Metadata

Metadata

Assignees

Labels

bugAn unexpected problem or unintended behavioros/windowsThis is present on or relates to WindowspackagingRelates to packaging and distribution

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions