Skip to content

Temporary mapped drive in install.bat breaks control panel uninstall/change/repair #4

@mhw-at-yg

Description

@mhw-at-yg

We use pushd \\server\share\Install_Pkg at beginning of install script to create and forget a mapped drive because msiexec doesn't like using UNC paths. A knock-on effect of this is that the temporary mapped drive is recorded as the SourceDirin the system registry, which breaks Control Panel Uninstall/Change/Repair function.

Investigate using command line reg.exe to fix the registry entry.

%WINDIR%\system32\reg.exe add HKLM\SOFTWARE\ESRI\ArcGISPro\Settings ^
/v CheckForUpdatesAtStartup /t REG_DWORD /d 0 /f

(Example from 94b508a, lines 113:117)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions