Wampserver Upgrade 3.3.1 to 3.3.7 "preparing to install..."
Posted by: NuAngel (---.res.spectrum.com)
Date: April 03, 2025 04:05AM

I have 2 computers that are nearly identical in setup (one to serve as a Development environment and one as live). The development environment went smoothly, but today trying to upgrade the main server from 3.3.1 to 3.3.7 when I run wampserver3_x64_update3.3.7.exe, I click next at the "Wampserver colors" screen and then it sits at "Setup is preparing to install Wampserver 3 Update on your computer" indefinitely. It doesn't matter if I EXIT via wampmanger first or not... it just sits there. I let it sit for over 30 minutes.

Any ideas?



Edited 1 time(s). Last edit at 04/03/2025 04:05AM by NuAngel.

Options: ReplyQuote
Re: Wampserver Upgrade 3.3.1 to 3.3.7 "preparing to install..."
Posted by: NuAngel (---.res.spectrum.com)
Date: April 03, 2025 04:40AM

Attempted 3.3.1 to 3.3.5 upgrade as well (since I had the old x64_update3.3.5 update installer on another computer) and that does the same thing.

1. I have ensured that I used the latest "VisualCPP AIO Installer"
2. I have run sfc /scannow
3. I have run chkdsk /f
4. I have ensured all current Windows Updates for Windows 10 are installed and the system has been rebooted.

It is running normally, I just can't install a Wampserver any Update packages.



Edited 1 time(s). Last edit at 04/03/2025 04:51AM by NuAngel.

Options: ReplyQuote
Re: Wampserver Upgrade 3.3.1 to 3.3.7 "preparing to install..."
Posted by: Otomatic (Moderator)
Date: April 03, 2025 08:43AM

What anti-virus and/or anti-phishing software do you use?

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Wampserver Upgrade 3.3.1 to 3.3.7 "preparing to install..."
Posted by: NuAngel (---.res.spectrum.com)
Date: April 03, 2025 02:07PM

Just Windows Defender, but I didn't see anything being quarantined or in the detection history -- and I even temporarily disabled the 'real-time protection' because I suspected that may be what was happening. It still did not install for me.

Options: ReplyQuote
Re: Wampserver Upgrade 3.3.1 to 3.3.7 "preparing to install..."
Posted by: Otomatic (Moderator)
Date: April 03, 2025 05:04PM

Hi,

Run "wampserver3_x64_update3.3.7.exe /LOG" or "wampserver3_x64_update3.3.7.exe /LOG=filename" parameter

/LOG
Causes Setup to create a log file in the user's TEMP directory detailing file installation and [Run] actions taken during the installation process.
The log file is created with a unique name based on the current date. (It will not overwrite or append to existing files.)

/LOG="filename"
Same as /LOG, except it allows you to specify a fixed path/filename to use for the log file. If a file with the specified name already exists it will be overwritten. If the file cannot be created, Setup will abort with an error message.

A few moments after the update is running in circles, kill the process using the task manager and post the last 30 lines of the log file here.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Wampserver Upgrade 3.3.1 to 3.3.7 "preparing to install..."
Posted by: NuAngel (---.res.spectrum.com)
Date: April 03, 2025 05:07PM

I will not be able to try this again until 'after hours' tonight, but I will update when I can.

Thank you for your help!

Options: ReplyQuote
Re: Wampserver Upgrade 3.3.1 to 3.3.7 "preparing to install..."
Posted by: NuAngel (---.res.spectrum.com)
Date: April 04, 2025 01:16AM

2025-04-03 19:07:21.679 Log opened. (Time zone: UTC-04:00)
2025-04-03 19:07:21.679 Setup version: Inno Setup version 6.3.3
2025-04-03 19:07:21.679 Original Setup EXE: C:\Users\USERNAME\Downloads\March 2025\wampserver3_x64_update3.3.7.exe
2025-04-03 19:07:21.679 Setup command line: /SL5="$90370,28735745,1057280,C:\Users\USERNAME\Downloads\March 2025\wampserver3_x64_update3.3.7.exe" /SPAWNWND=$7036E /NOTIFYWND=$1003BC /LOG
2025-04-03 19:07:21.679 Compatibility mode: Yes (Installer)
2025-04-03 19:07:21.679 Windows version: 10.0.19045
2025-04-03 19:07:21.679 Windows architecture: x64 (64-bit)
2025-04-03 19:07:21.679 Machine types supported by system: x86 x64
2025-04-03 19:07:21.679 User privileges: Administrative
2025-04-03 19:07:21.679 Administrative install mode: Yes
2025-04-03 19:07:21.679 Install mode root key: HKEY_LOCAL_MACHINE
2025-04-03 19:07:21.679 64-bit install mode: Yes
2025-04-03 19:08:01.216 Created protected temporary directory: C:\Users\USERNA~1\AppData\Local\Temp\is-UMKQO.tmp
2025-04-03 19:08:01.342 -- DLL function import --
2025-04-03 19:08:01.342 Function name: MsiQueryProductStateW
2025-04-03 19:08:01.342 DLL name: msi.dll
2025-04-03 19:08:01.342 Dest DLL name: msi.dll
2025-04-03 19:08:01.342 Importing the DLL function.
2025-04-03 19:08:01.357 Successfully imported the DLL function. Delay loaded? No

Options: ReplyQuote
Re: Wampserver Upgrade 3.3.1 to 3.3.7 "preparing to install..."
Posted by: Otomatic (Moderator)
Date: April 04, 2025 09:05AM

Hi,

I don't know what could be causing this problem!

- Are the wampapache64, wampmysqld64 and wampmariadb64 services stopped before launching the update? Check in the services manager.

Here are the links to the updates between 3.3.1 and 3.3.7 for testing purposes. I advise you to make a backup or a disk image before running these test updates.

Wampserver Update 3.3.2
Wampserver Update 3.3.3
Wampserver Update 3.3.4
Wampserver Update 3.3.5
Wampserver Update 3.3.6

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Wampserver Upgrade 3.3.1 to 3.3.7 "preparing to install..."
Posted by: NuAngel (---.res.spectrum.com)
Date: April 04, 2025 02:11PM

Interesting! I have noticed that the WAMPManager Icon changes to orange and says something like "1 of 2 services are running." So perhaps one of the services isn't exiting all the way? I've tried left clicking and choosing "Stop All Services" before upgrading - but I didn't actually go in to taskmanager and ensure each one was stopped. I'll check on that tonight, and if necessary I'll try step-by-step upgrading 3.3.2 > 3 > 4 > 5 > 6 > 7.... thanks for providing the links!

I should have more 'down time' to tinker with this over the weekend.

Thanks for your help!

Options: ReplyQuote
Re: Wampserver Upgrade 3.3.1 to 3.3.7 "preparing to install..."
Posted by: Otomatic (Moderator)
Date: April 04, 2025 03:16PM

Before carrying out the update itself, it is essential that the services are stopped and that wampmanager.exe (Tray Menu Manager) is closed.
This is what the installer for the 3.3.7 update (and other versions too) attempts to do.
This is done, in the installer, by :
net stop service_name
and, before continuing, wait for the services to be stopped.
The InnoSetup command is :
Exec('net.exe', 'stop ' + ServiceToStop[Index], '', SW_HIDE, ewWaitUntilTerminated, CodErr);
If the service cannot be stopped, we wait indefinitely. Maybe that's the problem!

Before launching the update, check that wampmanager.exe is closed and that the services are also stopped.

> like "1 of 2 services are running." So perhaps one of the services isn't exiting all the way?
This can happen when Wampserver is launched after an update.
Simply Left-Click -> Restart services.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Wampserver Upgrade 3.3.1 to 3.3.7 "preparing to install..."
Posted by: NuAngel (---.res.spectrum.com)
Date: April 06, 2025 06:56PM

It's working now! I forgot that we had PHP pages running as a service (thanks to [pecl.php.net]) that I had to stop. as soon as they stopped, the wampmysqld64 service could finally stop!

Seeing the log just hung told me that something had to still be running! Once I took a look at it today, everything was much easier to fix!

Options: ReplyQuote
Re: Wampserver Upgrade 3.3.1 to 3.3.7 "preparing to install..."
Posted by: Otomatic (Moderator)
Date: April 07, 2025 08:41AM

Hi,

Thanks to Bill Stewart and his ServMan.exe command-line tool, for future updates I'll be able to warn that a service can't be stopped after a certain waiting time.

https://github.com/Bill-Stewart/ServMan

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.