﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
4023	AutoIt v3.3.16.1 EXE-Installer updates existing none AutoIt3 Registry value with x86 path.	Jos		"[https://www.autoitscript.com/forum/topic/212239-autoit-v33161-exe-installer-modifies-psmodulepath-in-wrong-x86-way-on-x64-win10-os  Forum Support Post:]

Using AutoIt v3.3.16.1 EXE-Installer (default Installation options, just clicking next) modifies:
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

Value-Name: AutoIt v3.3.16.1 EXE-Installer
Value-Type: REG_EXPAND_SZ
'''Value before Installation:'''
'''%ProgramFiles%'''\WindowsPowerShell\Modules;%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules

'''Value after Installation:'''
'''%ProgramFiles(x86)%'''\WindowsPowerShell\Modules;%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\AutoIt3\AutoItX
 
Problem: %ProgramFiles%\WindowsPowerShell\Modules changed to '''%ProgramFiles(x86)%'''\WindowsPowerShell\Modules

Running Uninstall does the same! It correctly removes AutoItX Path from PSModulePath but again changes %ProgramFiles%\WindowsPowerShell\Modules to '''%ProgramFiles(x86)%'''\WindowsPowerShell\Modules

 "	Bug	new		AutoIt	3.3.16.1	None			
