Modify

Opened 8 years ago

Closed 7 years ago

#3590 closed Bug (Fixed)

Autoit product installation deleting all psmodulepath entries but its own

Reported by: whiggs.ITPRO@… Owned by: Jon
Milestone: Component: AutoIt
Version: 3.3.14.3 Severity: None
Keywords: Cc:

Description

Ok. So this has occurred on two machines that I have installed the newest version of autoit and scite for autoit on, and this occurs right after the installation. My process: I uninstall the beta version of autoit, download the most up-to-date production version of autoit, run the installer, uninstall the previous production version of autoit from the installer, proceed to install the latest production version of autoit. Then, I use the AutoITupdate script in Autoit's "extras" folder to download and re-install the beta. I then download the latest version of scite for Autoit and install it (I have done this both with and without uninstalling it). The result? One of these installers is completely wiping out all of the values in the PSModulepath environment variable. How do I know? Take a look at the only two remaining values that are configured for the environment variable (see picture 1 since I can't post image links due to the fact my submissions keep getting blocked as spam).
All I can say is thank god I had backups of my environment variables and I was able to restore them. I don't know which autoit product is doing this, but please fix it. This is what greets those who open powershell after installing the faulty autoit product (see picture 2 since I can't post image links due to the fact my submissions keep getting blocked as spam).
For those who are not familiar with PSModulepath, this is what it should look like (restored from backup) (see picture 3 since I can't post image links due to the fact my submissions keep getting blocked as spam).

Attachments (1)

pics.zip (137.6 KB ) - added by whiggs.ITPRO@… 8 years ago.
pictures

Download all attachments as: .zip

Change History (6)

by whiggs.ITPRO@…, 8 years ago

Attachment: pics.zip added

pictures

comment:1 by Jon, 8 years ago

It seems to work ok on my tests here. But I only have a few pre-existing variables whereas you have a lot of paths. It could be a bug due to path length within the NSIS installer that I'll have to investigate.

comment:2 by Jon, 8 years ago

Owner: set to Jon
Status: newassigned

comment:3 by Jos, 7 years ago

From which version was the upgrade done?

comment:4 by Jos, 7 years ago

This was fixed in version v3.3.13.14, so when upgrading from any version before v3.3.13.14, you can still have this issue as the uninstall is done by the old version installer.
I will close this for now and report if this issue occurs with uninstall of any version eq or gt v3.3.13.14.

Jos

comment:5 by Jos, 7 years ago

Resolution: Fixed
Status: assignedclosed

Modify Ticket

Action
as closed The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.